Enum clap_generate::Shell
source · [−]#[non_exhaustive]
pub enum Shell {
Bash,
Elvish,
Fish,
PowerShell,
Zsh,
}
Expand description
Shell with auto-generated completion script available.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Bash
Bourne Again SHell (bash)
Elvish
Elvish shell
Fish
Friendly Interactive SHell (fish)
PowerShell
PowerShell
Zsh
Z SHell (zsh)
Implementations
Report all possible_values
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Shell
impl UnwindSafe for Shell
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.