pub struct Command {
    pub python_binary: Option<String>,
    pub project_path: Option<String>,
    pub production: bool,
    pub system_site_packages: bool,
    pub sub_cmd: SubCommand,
}

Fields

python_binary: Option<String>project_path: Option<String>production: boolsystem_site_packages: boolsub_cmd: SubCommand

Trait Implementations

Formats the value using the given formatter. Read more

Returns the corresponding clap::App.

Creates the struct from clap::ArgMatches. It cannot fail with a parameter generated by clap by construction. Read more

Gets the struct from the command line arguments. Print the error message and quit the program in case of failure. Read more

Gets the struct from any iterator such as a Vec of your making. Print the error message and quit the program in case of failure. Read more

Gets the struct from any iterator such as a Vec of your making. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.