pub enum RunCommand {
Android(AndroidRunCommand),
Apple(AppleRunCommand),
}
Variants§
Android(AndroidRunCommand)
Executes build
command and then deploy and launches the application on the Android device/emulator
Apple(AppleRunCommand)
Executes build
command and then deploy and launches the application on the iOS device/emulator
Implementations§
Source§impl RunCommand
impl RunCommand
pub fn handle_command(&self, config: &Config) -> Result<()>
Trait Implementations§
Source§impl Clap for RunCommand
impl Clap for RunCommand
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§impl Clone for RunCommand
impl Clone for RunCommand
Source§fn clone(&self) -> RunCommand
fn clone(&self) -> RunCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RunCommand
impl Debug for RunCommand
Source§impl FromArgMatches for RunCommand
impl FromArgMatches for RunCommand
Source§fn from_arg_matches(matches: &ArgMatches) -> Self
fn from_arg_matches(matches: &ArgMatches) -> Self
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
Source§impl IntoApp for RunCommand
impl IntoApp for RunCommand
Source§impl Subcommand for RunCommand
impl Subcommand for RunCommand
Source§fn augment_subcommands<'b>(app: App<'b>) -> App<'b>
fn augment_subcommands<'b>(app: App<'b>) -> App<'b>
@TODO @release @docs
Source§fn from_subcommand(subcommand: Option<(&str, &ArgMatches)>) -> Option<Self>
fn from_subcommand(subcommand: Option<(&str, &ArgMatches)>) -> Option<Self>
@TODO @release @docs
Auto Trait Implementations§
impl Freeze for RunCommand
impl RefUnwindSafe for RunCommand
impl Send for RunCommand
impl Sync for RunCommand
impl Unpin for RunCommand
impl UnwindSafe for RunCommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more