Simple script to show and open your gist files in terminal.
go get "github.com/lccezinha/gistfinder"
You need a github token with repo permission allowed. More info here
Then you need to copy your github token and export through an environment variable
export GITHUB_TOKEN=YOUR_AWESOME_TOKEN
source ~/.YOUR_DOT_FILE
After install script, just run the command gistfinder
in your terminal and then select the number of Gist file you wanna open in browser:
You can use options when run the gistfinder
command. For now only -p
option is available:
gistfinder -p=false
More informations about options:
gistfinder -h
Usage of gistfinder:
-p Use false value to do not list private gists. (default true)