Enum perseus_cli::parse::Subcommand [−][src]
pub enum Subcommand {
Build(BuildOpts),
Export(ExportOpts),
Serve(ServeOpts),
Test(ServeOpts),
Clean(CleanOpts),
Eject,
Deploy(DeployOpts),
Prep,
}Variants
Build(BuildOpts)Tuple Fields of Build
0: BuildOptsExport(ExportOpts)Tuple Fields of Export
0: ExportOptsServe(ServeOpts)Tuple Fields of Serve
0: ServeOptsTest(ServeOpts)Serves your app as perseus serve does, but puts it in testing mode
Tuple Fields of Test
0: ServeOptsClean(CleanOpts)Tuple Fields of Clean
0: CleanOptsEjects you from the CLI harness, enabling you to work with the internals of Perseus
Deploy(DeployOpts)Tuple Fields of Deploy
0: DeployOptsPrepares the .perseus/ directory (done automatically by build and serve)
Trait Implementations
fn parse_from<I, T>(itr: I) -> Self where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn parse_from<I, T>(itr: I) -> Self where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Parse from iterator, exit on error
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Parse from iterator, return Err on error.
fn update_from<I, T>(&mut self, itr: I) where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn update_from<I, T>(&mut self, itr: I) where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Update from iterator, exit on error
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Update from iterator, return Err on error.
Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Assign values from ArgMatches to self.
Test whether Self can parse a specific subcommand