Enum cli::commands::Commands [−][src]
pub enum Commands { Build(BuildCommand), Run(RunCommand), New(NewCommand), Log(LogCommand), }
Variants
Build(BuildCommand)
Starts the process of building/packaging/signing of the rust crate
Run(RunCommand)
Executes build
command and then deploy and launches the application on the device/emulator
New(NewCommand)
Creates a new Cargo package in the given directory. Project will be ready to build with creator
Log(LogCommand)
Attach logger to device with running application
Implementations
Trait Implementations
fn parse_from<I, T>(itr: I) -> Self where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
[src]
fn parse_from<I, T>(itr: I) -> Self where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
[src]Parse from iterator, exit on error
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
[src]
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
[src]Parse from iterator, return Err on error.
It’s common to have an “application context” struct (sometimes called config) that represents all the normalized values after being processed by the CLI. Read more
@TODO @release @docs
@TODO @release @docs
Auto Trait Implementations
impl RefUnwindSafe for Commands
impl UnwindSafe for Commands
Blanket Implementations
Mutably borrows from an owned value. Read more