Skip to main content

Documentation from your CLI definitions

clidoc turns a command-line interface into a portable description that can be validated and rendered as documentation. It is built upon the OpenCLI specification, which defines the format. clidoc is the TypeScript tooling and CLI for producing and using that format.

Pick a starting point

The CLI reference is generated from the CLI's own command definitions. The core API reference is generated from its TSDoc comments.