2019.5.3 • Published 5 years ago
gist-delete v2019.5.3
:octocat: delete gist(s) by ID
Installation
$ [sudo] npm i -g gist-delete
Config
$ export GITHUB_TOKEN="<GITHUB_TOKEN>"
Scripts usage
usage: gist-delete id ...
Examples
$ gist-id <id1> <id2>
delete orphaned gists
$ pip install gist-id gists-id
$ python -m gists_id | grep -v "$(find ~/git/gists -maxdepth 1 -exec gist-id {} \; 2> /dev/null)" | xargs gist-delete;:
2019.5.3
5 years ago