pub enum WebCommand {
List,
Explain {
id: Option<String>,
},
Validate {
artifacts: bool,
},
Manifest,
Report {
report: ReportCommand,
},
Compose {
destination: Option<String>,
},
}Expand description
The subcommands of majordomus web.
Variants§
List
Every discovered surface: id, kind, mount, producer
Explain
Why each surface exists and where each of its values came from
Validate
Check the topology’s invariants; exit 10 on any error finding
Manifest
Write the resolved topology to the generated manifest
Report
Render a generated report into its own surface under the generated web root
Fields
§
report: ReportCommandWhich report to render.
Compose
Compose every published surface into one publishable tree
Trait Implementations§
Source§impl Debug for WebCommand
impl Debug for WebCommand
Source§impl FromArgMatches for WebCommand
impl FromArgMatches for WebCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for WebCommand
impl Subcommand for WebCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for WebCommand
impl RefUnwindSafe for WebCommand
impl Send for WebCommand
impl Sync for WebCommand
impl Unpin for WebCommand
impl UnsafeUnpin for WebCommand
impl UnwindSafe for WebCommand
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