All files / scripts/package-release cli.js

0% Statements 0/11
100% Branches 0/0
100% Functions 0/0
0% Lines 0/11

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30                                                           
#!/usr/bin/env node
 
import { Command } from 'commander';
import { registerStatusCommand } from './commands/status.js';
import { registerStartCommand } from './commands/start.js';
import { registerVersionCommand } from './commands/version.js';
import { registerPrCommand } from './commands/pr.js';
import { registerDetectBumpsCommand } from './commands/detect-bumps.js';
import { registerTagCommand } from './commands/tag.js';
import { registerGithubCommand } from './commands/github.js';
import { registerChangelogCommand } from './commands/changelog.js';
 
const program = new Command();
 
program
  .name('package-release')
  .description('Transparent, scriptable package release CLI for the SDS monorepo')
  .version('1.0.0');
 
registerStatusCommand(program);
registerStartCommand(program);
registerVersionCommand(program);
registerPrCommand(program);
registerDetectBumpsCommand(program);
registerTagCommand(program);
registerGithubCommand(program);
registerChangelogCommand(program);
 
program.parse(process.argv);