Enum perseus_cli::parse::Subcommand [−][src]
pub enum Subcommand {
Build(BuildOpts),
Export(ExportOpts),
Serve(ServeOpts),
Test(ServeOpts),
Clean(CleanOpts),
Eject,
Deploy(DeployOpts),
Prep,
Tinker(TinkerOpts),
Snoop(SnoopSubcommand),
}Variants
Build(BuildOpts)
Tuple Fields
0: BuildOptsExport(ExportOpts)
Tuple Fields
0: ExportOptsServe(ServeOpts)
Tuple Fields
0: ServeOptsTest(ServeOpts)
Tuple Fields
0: ServeOptsServes your app as perseus serve does, but puts it in testing mode
Clean(CleanOpts)
Tuple Fields
0: CleanOptsEject
Ejects you from the CLI harness, enabling you to work with the internals of Perseus
Deploy(DeployOpts)
Tuple Fields
0: DeployOptsPrep
Prepares the .perseus/ directory (done automatically by build and serve)
Tinker(TinkerOpts)
Tuple Fields
0: TinkerOptsSnoop(SnoopSubcommand)
Tuple Fields
Runs one of the underlying commands that builds your app, allowing you to see more detailed logs
Trait Implementations
Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Assign values from ArgMatches to self.
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.
Test whether Self can parse a specific subcommand
Auto Trait Implementations
impl RefUnwindSafe for Subcommand
impl Send for Subcommand
impl Sync for Subcommand
impl Unpin for Subcommand
impl UnwindSafe for Subcommand
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
