pub enum ContextCommands {
Set(ContextSetArgs),
Get(ContextGetArgs),
List(ContextListArgs),
History(ContextHistoryArgs),
Edit(ContextEditArgs),
Supersede(ContextSupersedeArgs),
Rm(ContextRmArgs),
Check(ContextCheckArgs),
Suggest(ContextSuggestArgs),
Audit(ContextAuditArgs),
}Expand description
Context subcommands.
Variants§
Set(ContextSetArgs)
Attach a context annotation to a file, symbol, line range, or state.
Get(ContextGetArgs)
Show current context annotations for a file or state target.
List(ContextListArgs)
List all active context targets.
History(ContextHistoryArgs)
Show full revision history for one logical annotation.
Edit(ContextEditArgs)
Add a new revision to an existing logical annotation.
Supersede(ContextSupersedeArgs)
Create a replacement logical annotation and supersede an older one.
Rm(ContextRmArgs)
Remove context annotations.
Check(ContextCheckArgs)
Check annotation staleness against current code.
Suggest(ContextSuggestArgs)
Suggest low-noise targets that may benefit from context.
Audit(ContextAuditArgs)
Audit stale, superseded, and duplicate context.
Trait Implementations§
Source§impl Clone for ContextCommands
impl Clone for ContextCommands
Source§fn clone(&self) -> ContextCommands
fn clone(&self) -> ContextCommands
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContextCommands
impl Debug for ContextCommands
Source§impl FromArgMatches for ContextCommands
impl FromArgMatches for ContextCommands
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 ContextCommands
impl Subcommand for ContextCommands
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 ContextCommands
impl RefUnwindSafe for ContextCommands
impl Send for ContextCommands
impl Sync for ContextCommands
impl Unpin for ContextCommands
impl UnsafeUnpin for ContextCommands
impl UnwindSafe for ContextCommands
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request