pub trait CommandFactoryExtra: CommandFactory {
    fn get_completion<Completion, Name>(name: Name, shell: Shell) -> Completion
    where
        Completion: Write + Default,
        Name: Into<String>
, { ... } fn get_completion_string(
        name: impl Into<String>,
        shell: Shell
    ) -> Result<String, Utf8Error> { ... } fn generate_completion(generator: CompletionGenerator) -> Result<(), Error> { ... } fn run_completion_generator() -> ExitCode { ... } }
Expand description

Additional methods for CommandFactory.

Provided Methods

Get completion content.

Get completion string.

Generate a shell completion file.

Create and run the completion generator.

Implementors