API Reference Cheer v#0.2.0

Copy Markdown View Source

Modules

A clap-inspired CLI argument parsing framework for Elixir.

Behaviour and macros for defining CLI commands.

Compile-time hook that materializes command metadata from module attributes and validates command definitions.

Macros for declaring commands, arguments, options, subcommands, lifecycle hooks, param groups, and validation.

Shell completion script generation for bash, zsh, fish, and PowerShell.

Auto-generates help text from command metadata.

Build a Mix task from a Cheer command.

Generate a reference document for a command tree, suitable for a docs site or a repository reference page. Derives everything from Cheer.tree/1, so hidden options, arguments, and subcommands are omitted.

Interactive REPL mode for a command tree.

Routes argv through the command tree and dispatches to the matched command.

In-process test runner for CLI commands.