CLI tool to clone GitHub repositories, zip them up and — if specified — delete the repository from GitHub.
This project requires NodeJS v8.0+.
Install via npm:
npm i -g @doberman/github-repo-cleanup
Create a config file at ~/.githubrepocleanuprc
, add your
Dropbox access token
and GitHub access token accordingly, e.g.:
export DROPBOX_ACCESS_TOKEN=...
export GITHUB_ACCESS_TOKEN=...
github-repo-cleanup <github-repo-slug>
...where <github-repo-slug>
is the path to the repository on Github,
e.g. username/repo
.
For more help, try github-repo-cleanup -h
;