Struct wasm_pack::Cli[][src]

pub struct Cli {
    pub cmd: Command,
    pub verbosity: u8,
}

📦 ✨ pack and publish your wasm!

Fields

The subcommand to run.

Log verbosity is based off the number of v used

Trait Implementations

impl Debug for Cli
[src]

Formats the value using the given formatter. Read more

impl StructOpt for Cli
[src]

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

impl Send for Cli

impl Sync for Cli