Skip to content

Latest commit

 

History

History
70 lines (53 loc) · 3.09 KB

README.md

File metadata and controls

70 lines (53 loc) · 3.09 KB

Banner

MIT Licensed NPM Version Build Status Greenkeeper Status

Code Issues Codebase Maintainability Test Coverage Jest

Commitizen Semantic Release Prettier

A CLI tool to back up GitHub repositories. Currently only supports backing up to AWS CodeCommit.

Installation

yarn global add @endemolshinegroup/github-backup-cli

Usage

Installing via NPM

export GH_TOKEN=123
github-backup-cli list EndemolShineGroup --is-organization
github-backup-cli backup EndemolShineGroup/github-backup-cli --region us-east-1

Using the Docker image

export GH_TOKEN=123
docker run -it -e "GH_TOKEN=${GH_TOKEN}" github-backup