-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
executable file
·17 lines (15 loc) · 1.12 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env node
const { program } = require('commander');
const programVersion = require('./lib/version');
// Define CLI
program
.version(programVersion)
.command('add-issues-to-project', 'Appends all open issues of a repository to a certain column of a organization project.')
.command('bulk-update-repositories', 'Runs the passed script in the root of all repositories and pushes the resulting changes.')
.command('issue-labels', 'Unifies the issue labels of all repositories based on a config file.')
.command('issue-templates', 'Unifies the issue templates of all repositories based on a config file as well as separate issue template files.')
.command('move-column-to-project', 'Moves a project column incl. all its cards to a different project.')
.command('repository-permissions', 'Organizes the team permissions on repositories based on a config file.')
.command('repository-settings', 'Updates (some) settings of all (or some) repositories based on a config file.')
.command('transfer-open-issues', 'Transfers all open issues of a repository to another repository.')
.parse(process.argv);