mirror of
https://github.com/Syping/ragephoto-cli.git
synced 2025-11-09 21:25:18 +01:00
update README.md
This commit is contained in:
parent
43902dcbfb
commit
74018fc3b6
1 changed files with 7 additions and 8 deletions
15
README.md
15
README.md
|
|
@ -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"
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue