completions

gest generate completions: generate shell completions.

struct Command

source

pub struct Command

Generate shell completions.

Field Type Description
shell Shell The shell to generate completions for.

Implements FromArgMatches, Args, Debug.

Command::call

source

pub async fn call(&self, _context: &AppContext) -> Result<(), Error>

Write shell completions for the requested shell to stdout.

Parameter Type Description
_context &AppContext the application context, which this command does not use
returns Result<(), Error> Ok(()) when the command succeeds, or the error that stopped it.