469f893888
Add generateCommandTable() to help.ts and a generation script that produces two artifacts: a Markdoc partial for the command table and a full CLI reference page. Both are generated by script/generate.ts and auto-committed by the generate.yml workflow on push to dev. Replace hand-written command table in cli.md with the generated partial and add a nav entry for the new CLI Command Reference page. Closes #572
6 lines
144 B
TypeScript
Executable File
6 lines
144 B
TypeScript
Executable File
#!/usr/bin/env bun
|
|
|
|
import { $ } from "bun"
|
|
|
|
await $`bun run --conditions=browser ./src/kilocode/generate-cli-docs.ts`.cwd("packages/opencode")
|