Enums§
- Shell
Error - Errors produced by shell integration commands.
Constants§
- ENV_
ENTRIES - Static environment variable entries for the ENVIRONMENT section.
- EXIT_
CODES - Static exit code entries for the EXIT CODES section.
- KNOWN_
BUILTINS - The fixed set of built-in CLI command names.
Functions§
- build_
synopsis - Build the roff SYNOPSIS line from a clap Command’s arguments.
- cmd_
completion - Handler: generate a shell completion script and return it as a String.
- cmd_man
- Handler: look up a subcommand and return its roff man page.
- completion_
command - Build the
completionclap subcommand. - generate_
grouped_ bash_ completion - Generate a bash completion script with grouped module support.
- generate_
grouped_ fish_ completion - Generate a fish completion script with grouped module support.
- generate_
grouped_ zsh_ completion - Generate a zsh completion script with grouped module support.
- generate_
man_ page - Build a complete roff man page string for a CLI subcommand.
- man_
command - Build the
manclap subcommand. - register_
shell_ commands - Attach the
completionandmansubcommands to the given root command and return it. Uses the clap v4 builder idiom (consume + return).