cli_doc

Crates.iocli_doc
lib.rscli_doc
version0.1.2
created_at2025-06-18 18:52:17.888738+00
updated_at2025-08-28 10:49:05.090342+00
descriptionDocumentation generator for CLI
homepage
repositoryhttps://github.com/spirali/cli-doc
max_upload_size
id1717493
size505,340
Ada Böhm (spirali)

documentation

README

cli_doc - Documentation generator for CLI

cli_doc generates HTML documentation for an application's command-line interface.

cli_doc does not need to be compiled with the application; it just needs its executable. It automatically extracts information by (recursively) calling the application with the --help option.

Currently, cli_doc supports only CLIs that are generated by clap (or applications with a similar help format).

Examples

Cargo

$ cli_doc cargo

Output: doc.html

HyperQueue

Generating documentation for HyperQueue

$ cli_doc hq

Output: doc.html

Installation

$ cargo install cli_doc
Commit count: 0

cargo fmt