github-migration-monitor
v2.2.3
Published
Monitors GitHub Enterprise Importer (GEI) migrations for an organization
Downloads
25
Readme
GitHub Migration Monitor
This command line tool allows you to monitor an organization's GitHub Enterprise Importer (GEI) migrations.
It'll watch your organization's migrations and display a UI with your queued, in progress, successful and failed migrations, plus an event log.
Usage
- Make sure you have Node.js installed. You can double check by running
node --version
. - Make sure you have npm installed. You can double check by running
npm --version
. - Set the
GITHUB_TOKEN
environment variable to a classic personal access token (PAT) with theadmin:org
scope. - Run
npx github-migration-monitor --organization ORGANIZATION
, replacingORGANIZATION
with your organization name.
Customizing how often the CLI polls for updates
By default, the CLI will poll for updates to your migrations every 10 seconds.
You can customize this by setting the --interval-in-seconds
argument with a value in seconds.
Setting the GitHub token using a command line argument
Instead of specifying your access token using the GITHUB_TOKEN
environment variable, you can alternatively use the --github-token
argument