mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-27 07:50:47 +00:00
16 lines
384 B
JavaScript
16 lines
384 B
JavaScript
import { Command } from 'commander';
|
|
|
|
const program = new Command();
|
|
program
|
|
.version('0.0.1')
|
|
.requiredOption('-r, --release <type>', 'Version to use')
|
|
.option('-s, --sha <type>', 'Git sha to use')
|
|
.option('-t, --tag <type>', 'Npm dist-tag to publish to')
|
|
.option('-d, --dry-run');
|
|
|
|
program.parse(process.argv);
|
|
|
|
export const options = program.opts();
|
|
|
|
export { program };
|