/gist-utils

save file to github gist from terminal

Primary LanguageNimBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Gist utils

Build-Test
gist on terminal

feature

  • get github gist list
  • create github gist (github token set GITHUB_GIST_TOKEN env)

compile

nimble build

run

 ./gist 
Copyright (c) 2023 by aerphanas

gist [Options]

Options:
  --public:GITHUB_USERNAME      show all public github gist item
  --uname:GITHUB_USERNAME       show all github gist item (need github token)
  --create:DESCRIPTION FILENAME create github gist with description and file (need github token)

list all public gist

./gist --public:aerphanas

list gist (need git token)

./gist --uname:aerphanas

create new gist (need git token)

./gist --create:<description> <file>