Generate beautiful static documentation websites for CLI tools.
clidoc renders a searchable, themeable static site from a
commands.json document that describes your CLI.
📖 Live demo → (clidoc documents itself)
- Beautiful UI — dark/light theme, responsive, column / tree / list views.
- Smart search — filter by name and description.
- LLM-friendly — emits
llms.txtalongside the site. - Framework-agnostic — any tool that can emit
commands.jsonworks. Ships with a companion NuGet for System.CommandLine apps (including DI-heavy ones). - Metadata enrichment — add examples, taglines, and prose sections via
cli-docs.yaml.
- Getting started
- Companion NuGet (
Clidoc.SystemCommandLine) - CLI reference
commands.jsonschemacli-docs.yamlmetadata- Architecture
Contributions welcome — see CONTRIBUTING.md.
MIT.
- UI design inspired by SonarQube CLI Documentation, designed by Clifford Goh.
- Schema shape inspired by SonarQube's
commands.json. - Built on System.CommandLine and YamlDotNet.