gistit-0.1.1 has been yanked.
gistit-cli
Multi platform command line application to share code
snippets
Subcommands
gistit-cli has two main subcommands:
gistit-send
Send code
snippets to the cloud
gistit-fetch
Fetch an external gistit, preview it or save to local filesystem.
Features
-
Send
flag/argument | value | does |
---|---|---|
-c --clipboard | - | Copies generated hash to clipboard |
-a --author | author name | Append an author name |
-d --description | description | Append a description |
-s --secret | secret key | Encrypts the gistit with a secret |
-t --theme | colorscheme | Changes the default colorscheme |
-
Fetch
flag/argument | value | does |
---|---|---|
-h --hash | gistit hash | Fetches the gistit via its hash |
-u --url | gistit url | Fetches the gistit via its url |
-t --theme | colorscheme | Overwrites the suggested colorscheme |
-s --secret | secret key | Decrypts the protected gistit |
--save | - | Immediately save to fs after fetching |
--preview | - | Immediately preview after fetching |
Installation
Wait for compiled binaries
Building from source:
# Grab gistit source code
$ git clone https://github.com/fabricio7p/gistit.git
# move into /cli folder
$ cd cli
# build
$ cargo build --release
Your binary will be in /target/release
folder