pub enum WhyCommand {
List,
Show {
id: String,
},
Audiences,
Areas,
Diagnose {
signals: Vec<String>,
},
Validate,
}Expand description
The subcommands of majordomus why.
Variants§
List
Every operational moment, narrowed by any facet the catalogue reports
Show
One moment in full, with every relation derived from its metadata
Audiences
Every audience, with the moments that name it
Areas
Every operational area, with the moments that fall under it
Diagnose
What the symptoms you recognise imply: the areas they weigh towards and the mechanisms that answer them
Fields
Validate
Every finding over the catalogue; exit 10 when any is an error
Trait Implementations§
Source§impl Debug for WhyCommand
impl Debug for WhyCommand
Source§impl FromArgMatches for WhyCommand
impl FromArgMatches for WhyCommand
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 WhyCommand
impl Subcommand for WhyCommand
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 WhyCommand
impl RefUnwindSafe for WhyCommand
impl Send for WhyCommand
impl Sync for WhyCommand
impl Unpin for WhyCommand
impl UnsafeUnpin for WhyCommand
impl UnwindSafe for WhyCommand
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