0.1.0 |
|
---|
#11 in #gist
25KB
615 lines
unstable work in progress
gist-rs
client tool for gist.github.com
install
cargo install gist-rs
Build dependency
git, rustc, cargo, gnu make, binutils, upx
Build and install
# build and install gist-rs
git clone https://github.com/robatipoor/gist-rs && cd gist-rs && make
run
# usage gist-rs
gist-rs
# login github gist
gist-rs --login 'token string'
# sync list gist
gist-rs -s
# list gist
gist-rs -l
# sync and list gist
gist-rs -sl
# verbose list gist
gist-rs -lv
# post gist
echo 'Hello !' | gist-rs post
# post gist
gist-rs post -p file.txt
# get file
gist-rs get -u url
# delete file by id
gist-rs delete -i id
Dependencies
~20–31MB
~539K SLoC