0.1.2 β’ Published 5 years ago
gistash v0.1.2
π§ About
Gistash is a CLI tool that lets you save your local changes or stashed file to GitHub gist.
The whole concept of git-stash to stash the changes in a dirty working directory away.
There is no option to share your stashed file with other conbtributors.
π‘ Features
- π Upload multiple files at once
- β± Reports each step
- π Safely storing your GitHub token on your local machine
- π Public or private gist
- π Copy url to clipboard or open in browser
- β Maintained
π° Installation
npm
$ npm i -g gistashyarn
$ yarn global add gistashπΆπ»ββοΈ Usage
$ gistash --help
Upload your local changes or stashed files to GitHub Gist.
Usage
$ gistash <single|multiple file>
Options
-p, --public Set GitHub gist as public (default: false)
-c, --copy Copy GitHub gist url to clipboard (default: false)
-o, --open Open GitHub gist url in browser
-m, --message GitHub gist description
-v, --version gistash CLI version
-h, --help Showing all available commandsExample
$ gistash ./hello-world.js --open --public- Upload
hello-world.jsfile - Set gist to public using
--public - Open in browser with
--open