Skip to main content

Verb

Enum Verb 

Source
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

§strict: bool
§fix: bool
§no_cache: bool
§change: Option<PathBuf>
§read_set: Option<PathBuf>
§register: Option<PathBuf>
§format: Option<String>
§json: bool
§

Change

Fields

§

Gate

Fields

§read_set: Option<PathBuf>
§json: bool
§

Conformance

Fields

§json: bool
§

Derived

§

MergeDriver

Fields

§ancestor: Option<String>
§current: Option<String>
§

Route

Fields

§task: Vec<String>
§budget: Option<usize>
§json: bool
§

Neighbors

Fields

§task: Vec<String>
§json: bool
§

Explain

Fields

§target: Option<String>
§json: bool
§

Query

Fields

§expression: Vec<String>
§

Capture

Fields

§format: Option<String>
§json: bool
§

Mcp

Fields

§write: bool
§

New

Fields

§summary: Option<String>
§relates: Vec<(String, String)>
§facet: Vec<(String, String)>
§

Infer

Fields

§until: Option<Date>
§write: bool
§

Generate

Fields

§check: bool
§

Import

Fields

§expect: Option<String>
§write: bool
§

Export

Fields

§profile: Option<String>
§format: Option<String>
§check: bool
§json: bool
§

Sweep

Fields

§

Probe

Fields

§

Init

Fields

§corpus: Option<String>
§package: Option<String>
§git: bool
§git_config: bool
§

Taxonomy

Fields

§

Json

Fields

§

Help

Fields

§verb: Vec<String>
§

Completions

Fields

§shell: Option<Shell>
§

Other(Vec<String>)

Trait Implementations§

Source§

impl Debug for Verb

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl FromArgMatches for Verb

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

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>

Assign values from ArgMatches to self.
Source§

impl Subcommand for Verb

Source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate Self via FromArgMatches::from_arg_matches_mut Read more
Source§

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 more
Source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto 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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.