apisurf
Version:
Analyze API surface changes between npm package versions to catch breaking changes
15 lines (14 loc) • 530 B
JavaScript
import { Command } from 'commander';
import { diffCommand } from './commands/diff.js';
import { validateCommand } from './commands/validate.js';
import { inspectCommand } from './commands/inspect.js';
const program = new Command();
program
.name('apisurf')
.description('Analyze API surface changes between npm package versions to catch breaking changes')
.version('1.0.0');
program.addCommand(diffCommand);
program.addCommand(validateCommand);
program.addCommand(inspectCommand);
program.parse();