An opinionated way of working with gists for note-taking.
Requires Ruby and Bundler to be installed. Bundler comes by default starting from ruby 2.6.
gh extension install https://github.com/vikdotdev/gh-note
- Make folder for keeping local copies configurable.
- Add
deletecommand. - Add
statuscommand. - Add
--verboseoption to some commands. - Add
--alloption topush,editandviewcommands. Paginate results. - Add automatic less paging support for
viewcommand. - Colorize
viewcommand file contents. - Clean up
main.rbrequire code.
This might be useful to fetch token from gh:
gh config get -h github.com oauth_token