pub fn run_with_completion(
cmd: &dyn CommandLike,
prog_name: &str,
complete_var: &str,
)Expand description
Run a command/group with optional shell-completion handling.
If completion is requested via complete_var, completion output is handled and this
function returns immediately. Otherwise, it behaves like run.