0.1.0 |
|
---|
#11 in #gist
25KB
615 代码行
不稳定的工作进展
gist-rs
gist.github.com 的客户端工具
安装
cargo install gist-rs
构建依赖
git, rustc, cargo, gnu make, binutils, upx
构建和安装
# build and install gist-rs
git clone https://github.com/robatipoor/gist-rs && cd gist-rs && make
运行
# 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
依赖项
~20–31MB
~539K SLoC