completions
gest generate completions: generate shell completions.struct Command
pub struct CommandGenerate shell completions.
| Field | Type | Description |
|---|---|---|
shell |
Shell | The shell to generate completions for. |
Implements FromArgMatches, Args, Debug.
Command::call
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. |