feat: add kilo help --all to dump full CLI reference as markdown#570
feat: add kilo help --all to dump full CLI reference as markdown#570Githubguy132010 wants to merge 4 commits intoKilo-Org:devfrom
kilo help --all to dump full CLI reference as markdown#570Conversation
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
Code Review SummaryStatus: 3 Issues Found (from prior review) | Recommendation: Address before merge Fix these issues in Kilo Cloud Overview
Issue Details (click to expand)WARNING
SUGGESTION
Other Observations (not in diff)
Files Reviewed (3 files)
|
|
Hi! Thank you for taking the time to contribute to this project—we really appreciate it. 🙏 We are currently working on re-platforming the core of our VS Code and JetBrains extensions to be based on our new Kilo CLI, with a complete rebuild based on OpenCode as our new foundation, and the moment has come to promote this repository to become the main repository. To do that, we moved the code from this repository to the kilocode repository. This unfortunately means we cannot merge this branch here anymore. Please add https://github.com/Kilo-Org/kilocode.git as a remote, and push your branch there and create a new PR in https://github.com/Kilo-Org/kilocode . We unfortunately cannot do this for you as then the PR would not be in your name anymore. If you need any help, feel free to ask on our Discord in #kilo-dev-contributors Sorry for the inconvenience and thank you for contributing to Kilo! |
Context
Fixes #560 — adds a
kilo helpcommand that outputs the complete CLI reference as Markdown or plain text.Useful for generating LLM context files, documentation, and quick offline reference. Inspired by Fossil SCM's
fossil help --all.Implementation
Added a new
packages/opencode/src/cli/cmd/help.tscommand with a static registry of all commands, subcommands, options, and descriptions. Key design choices:formatMarkdown(default) andformatTextproduce pipeable output viaprocess.stdout.write.debugandgenerateare taggedinternal: trueand rendered with an[internal]callout.kilo help <command>filters to a single top-level command and its full subcommand tree.--helpflag without conflict.Supported usage:
Screenshots
N/A
How to Test
Get in Touch
thomas07374