pub fn make_completion_option(complete_var: &str) -> CompletionOptionExpand description
Add the shell completion option to a command.
This returns options that can be added to a command to enable shell completion script generation.
ยงExample
use click::completion::make_completion_option;
let opt = make_completion_option("_MYAPP_COMPLETE");
assert!(!opt.is_completion_requested());