Enum cargo_ghp_upload::CargoArgs
[−]
[src]
enum CargoArgs { GhpUpload(Args), }
Variants
GhpUpload(Args)
Methods
impl CargoArgs
[src]
pub fn augment_clap<'a, 'b>(app: App<'a, 'b>) -> App<'a, 'b>
[src]
pub fn from_subcommand<'a, 'b>(
sub: (&'b str, Option<&'b ArgMatches<'a>>)
) -> Option<Self>
[src]
sub: (&'b str, Option<&'b ArgMatches<'a>>)
) -> Option<Self>
Trait Implementations
impl Debug for CargoArgs
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl StructOpt for CargoArgs
[src]
fn clap<'a, 'b>() -> App<'a, 'b>
[src]
Returns the corresponding clap::App
.
fn from_clap(matches: &ArgMatches) -> Self
[src]
Creates the struct from clap::ArgMatches
. It cannot fail with a parameter generated by clap
by construction. Read more
fn from_args() -> Self
Gets the struct from the command line arguments. Print the error message and quit the program in case of failure. Read more
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
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