|
1
|
import { Command } from "commander" |
|
2
|
import { registerAnalyzeCommand } from "./commands/analyze.js" |
|
3
|
import { registerAnalyzeCloudCommand } from "./commands/analyze-cloud.js" |
|
4
|
import { registerAnalyzeWebhooksCommand } from "./commands/analyze-webhooks.js" |
|
5
|
|
|
6
|
const program = new Command() |
|
7
|
|
|
8
|
program |
|
9
|
.name("docs-automator") |
|
10
|
.description( |
|
11
|
"Analyzes package changes and builds documentation update context for Claude" |
|
12
|
) |
|
13
|
.version("0.0.1") |
|
14
|
|
|
15
|
registerAnalyzeCommand(program) |
|
16
|
registerAnalyzeCloudCommand(program) |
|
17
|
registerAnalyzeWebhooksCommand(program) |
|
18
|
|
|
19
|
program.parse(process.argv) |