Describe
Turn real command definitions into an OpenCLI document with a framework adapter.
Learn more →Built upon the OpenCLI specification
Generate a CLI document from yargs, Commander.js, or oclif, then publish it with Docusaurus or VitePress.
Use built-in adapters for yargs, Commander.js, and oclif to generate an OpenCLI document from the command definitions you already maintain.
Explore the adapters →Publishing plugins generate command pages for Docusaurus and VitePress. You can also render Markdown for other documentation sites.
Explore publishing plugins →Give your CLI a docgen command with an adapter, then validate its OpenCLI document with clidoc.
Read the CLI guide →$ npm install -g @clidoc/cli
$ mycli docgen --output cli.json
$ clidoc validate cli.jsonTurn real command definitions into an OpenCLI document with a framework adapter.
Learn more →Validate a JSON or YAML document against the OpenCLI specification.
Learn more →Generate command pages for Docusaurus, VitePress, or Markdown.
Learn more →