2019.5.3 • Published 5 years ago

gist-delete v2019.5.3

Weekly downloads
1
License
Unlicense
Repository
-
Last release
5 years ago

npm.io

: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;: