pub enum WorkspaceCommand {
Create {
name: String,
},
Add {
workspace: String,
file: PathBuf,
role: String,
language: Option<String>,
},
List {
workspace: String,
},
Query {
workspace: String,
query: String,
},
Compare {
workspace: String,
symbol: String,
},
Xref {
workspace: String,
symbol: String,
},
}Variants§
Create
Create a workspace.
Add
Add an .acb context to a workspace.
List
List contexts in a workspace.
Query
Query symbols across all workspace contexts.
Compare
Compare a symbol across contexts.
Xref
Cross-reference a symbol across contexts.
Trait Implementations§
Source§impl FromArgMatches for WorkspaceCommand
impl FromArgMatches for WorkspaceCommand
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 WorkspaceCommand
impl Subcommand for WorkspaceCommand
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 WorkspaceCommand
impl RefUnwindSafe for WorkspaceCommand
impl Send for WorkspaceCommand
impl Sync for WorkspaceCommand
impl Unpin for WorkspaceCommand
impl UnsafeUnpin for WorkspaceCommand
impl UnwindSafe for WorkspaceCommand
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