Skip to content

EndemolShineGroup/github-backup-cli

Repository files navigation

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