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.
- 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_TOKENenvironment variable to a classic personal access token (PAT) with theadmin:orgscope. - Run
npx github-migration-monitor --organization ORGANIZATION, replacingORGANIZATIONwith your organization name.
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.
Instead of specifying your access token using the GITHUB_TOKEN environment variable, you can alternatively use the --github-token argument