Skip to main content

register_completion_command

Function register_completion_command 

Source
pub fn register_completion_command(cli: Command, prog_name: &str) -> Command
Expand description

Attach the completion subcommand to the given command. Returns the command with the subcommand added. prog_name is accepted for API symmetry and future dynamic use; the builder itself is currently static.