pub fn register_shell_commands(cli: Command, prog_name: &str) -> CommandExpand description
Attach the completion and man subcommands to the given root command and
return it. Uses the clap v4 builder idiom (consume + return).
completion <shell>— emit shell completion script to stdout Supported shells:bash,zsh,fish,powershell,elvishman— emit a man page to stdout