5 releases
Uses old Rust 2015
0.1.4 | Nov 8, 2017 |
---|---|
0.1.3 | Oct 10, 2017 |
0.1.2 | Oct 6, 2017 |
0.1.1 | Oct 6, 2017 |
0.1.0 | Oct 5, 2017 |
#5 in #gist
11KB
277 lines
rust-gist
Yet another Gist publishing client.
How to install
If you have cargo installed, you can install via cargo:
$ cargo install rust-gist
Otherwise, grab a release tarball with binary.
How to use
-
Grab a personal token from Github settings page. Then run
rust-gist token YOUR_TOKEN
. This would save token to~/.config/rust-gist
directory in plain text. -
After that, just run
rust-gist filename.txt
to upload it to Github Gist (you'll get a link to uploaded file back.
Pro tips
Stdin redirection
You can pipe text to rust-gist and it would upload that text to the gist.github.com:
$ tail longlog.txt | rust-gist
Copying to clipboard
On Mac OS, add | pbcopy
to automatically copy URL to the clipboard:
$ rust-gist some-file.js | pbcopy
License
rust-git was written in 2017 by Tim Marinin and is licensed under terms of MIT license.
Dependencies
~21–30MB
~558K SLoC