MCPcopy Create free account
hub / github.com/MigoXLab/coderio / registerCommands

Function registerCommands

src/cli/init.ts:5–12  ·  view source on GitHub ↗
(program: Command)

Source from the content-addressed store, hash-verified

3
4/* Register all commands to the program */
5export function registerCommands(program: Command): void {
6 const version = typeof __VERSION__ === 'undefined' ? '0.0.1' : __VERSION__;
7 program
8 .name(CLI_NAME)
9 .description(`${CLI_NAME} - Convert Figma designs to code`)
10 .version(version, '-v, -V, --version', 'Output the version number')
11 .showHelpAfterError();
12}

Callers 1

mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected