mirror of
https://github.com/Syping/ragephoto-cli.git
synced 2025-11-09 13:15:17 +01:00
add README.md
This commit is contained in:
parent
bbbc5727e7
commit
33f0de23b5
1 changed files with 36 additions and 0 deletions
36
README.md
Normal file
36
README.md
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
## ragephoto-cli
|
||||||
|
Open Source Rage Photo CLI based on libragephoto
|
||||||
|
|
||||||
|
- Read/Write RAGE Photos with get/set commands
|
||||||
|
- Support for stdin/stdout in JPEG option and output
|
||||||
|
|
||||||
|
#### Build ragephoto-cli
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git clone https://github.com/Syping/ragephoto-cli
|
||||||
|
dotnet publish -c Release ragephoto-cli
|
||||||
|
```
|
||||||
|
|
||||||
|
#### How to Use ragephoto-cli
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# Exporting JPEG
|
||||||
|
ragephoto-cli get PGTA5123456789 --output photo.jpg
|
||||||
|
|
||||||
|
# Getting Format
|
||||||
|
ragephoto-cli get PGTA5123456789 format
|
||||||
|
|
||||||
|
# Getting JSON
|
||||||
|
ragephoto-cli get PGTA5123456789 json
|
||||||
|
|
||||||
|
# Getting Title
|
||||||
|
ragephoto-cli get PGTA5123456789 title
|
||||||
|
|
||||||
|
# Replacing JPEG (Patching Signature is required after)
|
||||||
|
ragephoto-cli set PGTA5123456789 --jpeg photo.jpg
|
||||||
|
ragephoto-cli set PGTA5123456789 --json "$(ragephoto-cli get PGTA5123456789 json \
|
||||||
|
| jq -c ".sign = $(ragephoto-cli get PGTA5123456789 sign)")"
|
||||||
|
|
||||||
|
# Updating Title
|
||||||
|
ragephoto-cli set PGTA5123456789 --title "New Photo Title"
|
||||||
|
```
|
||||||
Loading…
Add table
Add a link
Reference in a new issue