Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 886 Bytes

README.md

File metadata and controls

47 lines (32 loc) · 886 Bytes

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>