-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
contributordocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestkilo-auto-fixAuto-generated label by KiloAuto-generated label by Kilokilo-triagedAuto-generated label by KiloAuto-generated label by Kilo
Description
Summary
Use generateHelp from src/kilocode/help.ts to auto-generate CLI reference documentation, eliminating manual maintenance of the command table in cli.md and adding a full detailed reference page.
Problem
packages/kilo-docs/pages/code-with-ai/platforms/cli.md contains a hand-written command table that is already stale — lists kilo github (disabled), missing acp and help. Every command add/remove/rename requires a manual docs update that is easy to forget.
Design
Two generated artifacts, one source of truth:
- Quick reference table — a Markdoc partial (
cli-commands-table.md) included in the existing CLI docs page via{% partial %}. Replaces the hand-written table. - Full CLI reference page — a standalone page (
cli-reference.md) with detailed help for every command and subcommand, generated bygenerateHelp({ all: true, format: "md" }).
Both are generated by script/generate.ts and auto-committed by the existing generate.yml workflow on push to dev.
Depends on
kilo help --allfeature (PR feat: add kilo help --all command and auto-generated CLI reference docs kilo#571 / issue [FEATURE]: addkilo help --allto dump full CLI reference as markdown #6294)
Status
🚧 Work in progress on branch feat/help-all-command
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
contributordocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestkilo-auto-fixAuto-generated label by KiloAuto-generated label by Kilokilo-triagedAuto-generated label by KiloAuto-generated label by Kilo