Enum clap::Shell [] [src]

pub enum Shell {
    Bash,
    Fish,
    Zsh,
    PowerShell,
}

Describes which shell to produce a completions file for

Variants

Generates a .bash-completion completion file for the Bourne Again SHell (BASH)

Generates a .fish completion file for the Friendly Interactive SHell (fish)

Generates a completion file for the Z SHell (ZSH)

Generates a completion file for PowerShell

Methods

impl Shell
[src]

A list of possible variants in &'static str form

Trait Implementations

impl Debug for Shell
[src]

Formats the value using the given formatter.

impl Copy for Shell
[src]

impl Clone for Shell
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl FromStr for Shell
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl Display for Shell
[src]

Formats the value using the given formatter. Read more