Enum clap::Shell
[−]
[src]
pub enum Shell { Bash, Fish, Zsh, PowerShell, }
Describes which shell to produce a completions file for
Variants
Bash
Generates a .bash-completion completion file for the Bourne Again SHell (BASH)
Fish
Generates a .fish completion file for the Friendly Interactive SHell (fish)
Zsh
Generates a completion file for the Z SHell (ZSH)
PowerShell
Generates a completion file for PowerShell
Methods
impl Shell
[src]
Trait Implementations
impl Debug for Shell
[src]
impl Copy for Shell
[src]
impl Clone for Shell
[src]
fn clone(&self) -> Shell
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl FromStr for Shell
[src]
type Err = String
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s
to return a value of this type. Read more