forked from codeaholicguy/ai-devkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcli.ts
More file actions
28 lines (21 loc) · 832 Bytes
/
Copy pathcli.ts
File metadata and controls
28 lines (21 loc) · 832 Bytes
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
#!/usr/bin/env node
import { Command } from 'commander';
import { initCommand } from './commands/init';
import { phaseCommand } from './commands/phase';
const program = new Command();
program
.name('ai-devkit')
.description('AI-assisted software development toolkit')
.version('0.1.0');
program
.command('init')
.description('Initialize AI DevKit in the current directory')
.option('-e, --environment <env>', 'Development environment (cursor|claude|both)')
.option('-a, --all', 'Initialize all phases')
.option('-p, --phases <phases>', 'Comma-separated list of phases to initialize')
.action(initCommand);
program
.command('phase [name]')
.description('Add a specific phase template (requirements|design|planning|implementation|testing|deployment|monitoring)')
.action(phaseCommand);
program.parse();