pub struct Cli {
pub cmd: Command,
pub verbosity: u8,
}
π¦ β¨ pack and publish your wasm!
Log verbosity is based off the number of v used
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
π¬ This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
π¬ This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
π¬ This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
π¬ This is a nightly-only experimental API. (try_from
)
π¬ This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static