Expand description
Clap subcommand integration and shell completion installation helpers.
This module exposes reusable commands for generating config templates, printing shell completions, and installing or uninstalling completions in common shell startup locations.
Enums§
- Config
Command - Built-in clap subcommands for config templates and shell completions.
Functions§
- handle_
config_ command - Handles a built-in config subcommand for a consumer CLI.
- install_
shell_ completion - Generates shell completion files and updates shell startup files when needed.
- print_
shell_ completion - Writes shell completion output to stdout.
- uninstall_
shell_ completion - Removes shell completion files and managed shell startup-file blocks.
- upsert_
managed_ block - Inserts or replaces a managed shell configuration block in a startup file.