pub enum Verb {
Show 25 variants
Check {
strict: bool,
fix: bool,
no_cache: bool,
now: Option<Date>,
change: Option<PathBuf>,
read_set: Option<PathBuf>,
register: Option<PathBuf>,
format: Option<String>,
json: bool,
},
Change {
base: Option<String>,
out: Option<PathBuf>,
},
Gate {
read_set: Option<PathBuf>,
now: Option<Date>,
json: bool,
},
Conformance {
level: Option<String>,
now: Option<Date>,
json: bool,
},
Derived {},
MergeDriver {
ancestor: Option<String>,
current: Option<String>,
other: Option<String>,
path: Option<String>,
},
Route {
task: Vec<String>,
budget: Option<usize>,
json: bool,
},
Neighbors {
task: Vec<String>,
model: Option<PathBuf>,
top: Option<usize>,
json: bool,
},
Explain {
target: Option<String>,
json: bool,
},
Query {
expression: Vec<String>,
},
Capture {
format: Option<String>,
json: bool,
},
Mcp {
now: Option<Date>,
write: bool,
},
New {
kind: Option<String>,
title: Option<String>,
summary: Option<String>,
relates: Vec<(String, String)>,
facet: Vec<(String, String)>,
now: Option<Date>,
},
Infer {
owner: Option<String>,
until: Option<Date>,
write: bool,
now: Option<Date>,
},
Generate {
check: bool,
},
Import {
name: Option<String>,
expect: Option<String>,
write: bool,
},
Export {
profile: Option<String>,
format: Option<String>,
at: Option<String>,
check: bool,
json: bool,
},
Sweep {
word: Option<SweepWord>,
},
Probe {
word: Option<ProbeWord>,
},
Init {
corpus: Option<String>,
package: Option<String>,
git: bool,
git_config: bool,
},
Taxonomy {
word: Option<TaxonomyWord>,
},
Json {
word: Option<JsonWord>,
},
Help {
verb: Vec<String>,
},
Completions {
shell: Option<Shell>,
},
Other(Vec<String>),
}Variants§
Check
Fields
Change
Gate
Conformance
Derived
MergeDriver
Route
Neighbors
Explain
Query
Capture
Mcp
New
Fields
Infer
Generate
Import
Export
Sweep
Probe
Init
Taxonomy
Fields
§
word: Option<TaxonomyWord>Json
Help
Completions
Other(Vec<String>)
Trait Implementations§
Source§impl FromArgMatches for Verb
impl FromArgMatches for Verb
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 Verb
impl Subcommand for Verb
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 Verb
impl RefUnwindSafe for Verb
impl Send for Verb
impl Sync for Verb
impl Unpin for Verb
impl UnsafeUnpin for Verb
impl UnwindSafe for Verb
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