update README.md

This commit is contained in:
Syping 2025-10-27 21:22:10 +01:00
parent 43902dcbfb
commit 74018fc3b6

View file

@ -15,24 +15,23 @@ dotnet publish -c Release ragephoto-cli
```sh ```sh
# Exporting JPEG # Exporting JPEG
ragephoto-cli get PGTA5123456789 --output photo.jpg ragephoto-cli get "$INPUT" --output "photo.jpg"
# Getting Format # Getting Format
ragephoto-cli get PGTA5123456789 format ragephoto-cli get "$INPUT" format
# Getting JSON # Getting JSON
ragephoto-cli get PGTA5123456789 json ragephoto-cli get "$INPUT" json
# Getting Title # Getting Title
ragephoto-cli get PGTA5123456789 title ragephoto-cli get "$INPUT" title
# Replacing JPEG # Replacing JPEG
ragephoto-cli set PGTA5123456789 --jpeg photo.jpg ragephoto-cli set "$INPUT" --jpeg "photo.jpg"
# Patching Signature # Patching Signature
ragephoto-cli set PGTA5123456789 --json "$(ragephoto-cli get PGTA5123456789 json \ ragephoto-cli set "$INPUT" --update-sign
| jq -c ".sign = $(ragephoto-cli get PGTA5123456789 sign)")"
# Updating Title # Updating Title
ragephoto-cli set PGTA5123456789 --title "New Photo Title" ragephoto-cli set "$INPUT" --title "New Photo Title"
``` ```