Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Usage Integrations

Integrations that generate usage specs from CLI framework definitions, enabling shell completions, docs, and man pages from a single source.

For the full list of available and planned integrations, see the Integrations documentation.

How Integrations Work

An integration extracts the CLI definition (commands, flags, args, completions) from a framework's internal representation and outputs a usage spec in KDL format. This spec can then drive:

  • Shell completions for bash, zsh, fish, PowerShell, and nushell
  • Markdown documentation
  • Man pages
  • --help output

See clap_usage for a reference implementation.