Skip to content

Clones GitHub repositories, zips them up and uploads them to Dropbox. Also, if specified, deletes the repository from GitHub.

License

Notifications You must be signed in to change notification settings

doberman/dbrmn-github-repo-cleanup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-repo-cleanup

CLI tool to clone GitHub repositories, zip them up and — if specified — delete the repository from GitHub.

Requirements

This project requires NodeJS v8.0+.

Installation

Install via npm:

npm i -g @doberman/github-repo-cleanup

Setup

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=...

Usage

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;

About

Clones GitHub repositories, zips them up and uploads them to Dropbox. Also, if specified, deletes the repository from GitHub.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published