- Root Commander program with version + description - Subcommand groups: coord, prdy, queue, quality-rails - Single `mosaic` binary entry point - Depends on all @mosaic/* workspace packages
14 lines
429 B
TypeScript
14 lines
429 B
TypeScript
import { Command } from 'commander';
|
|
import pc from 'picocolors';
|
|
|
|
// TODO(wave3): Replace this temporary shim once @mosaic/prdy lands in main.
|
|
export function registerPrdyCommand(program: Command): void {
|
|
program
|
|
.command('prdy')
|
|
.description('PRD workflow commands')
|
|
.action(() => {
|
|
console.error(pc.yellow('@mosaic/prdy CLI is not available in this workspace yet.'));
|
|
process.exitCode = 1;
|
|
});
|
|
}
|