pub enum CapabilitiesCommand {
List {
kind: Option<String>,
exposure: Option<String>,
format: OutputFormat,
},
Describe {
id: String,
format: OutputFormat,
},
Schema {
id: String,
side: SchemaSide,
},
Projections {
module: Option<String>,
unmet: bool,
format: OutputFormat,
},
Validate,
}Expand description
The introspection commands; list and describe dispatch through the registry’s CLI exposure.
Variants§
List
Every capability, one line each, with its projections
Fields
§
format: OutputFormatOutput shape.
Describe
One capability by canonical id: schemas, provenance, every projection
Schema
The canonical input or output JSON Schema of one capability
Projections
Where each capability is projected, and every claim its surface does not answer
Fields
§
format: OutputFormatOutput shape.
Validate
Build the registry and every projection; exit 10 with every violation named
Trait Implementations§
Source§impl Debug for CapabilitiesCommand
impl Debug for CapabilitiesCommand
Source§impl FromArgMatches for CapabilitiesCommand
impl FromArgMatches for CapabilitiesCommand
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 CapabilitiesCommand
impl Subcommand for CapabilitiesCommand
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 CapabilitiesCommand
impl RefUnwindSafe for CapabilitiesCommand
impl Send for CapabilitiesCommand
impl Sync for CapabilitiesCommand
impl Unpin for CapabilitiesCommand
impl UnsafeUnpin for CapabilitiesCommand
impl UnwindSafe for CapabilitiesCommand
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