pub enum StandardCommand {
Version {
output: JsonOutput,
},
License,
Completions {
shell: Shell,
},
Doctor {
output: JsonOutput,
},
Agent {
command: AgentSubcommand,
},
}Expand description
Shared metadata commands exposed by workspace binaries.
Variants§
Version
Show version information.
Fields
§
output: JsonOutputOutput format to render.
License
Show license text.
Completions
Generate shell completion scripts.
Doctor
Run health checks.
Fields
§
output: JsonOutputOutput format to render.
Agent
Inspect or emit agent-skill artifacts.
Fields
§
command: AgentSubcommandAgent-skill subcommand to dispatch.
Trait Implementations§
Source§impl Clone for StandardCommand
impl Clone for StandardCommand
Source§fn clone(&self) -> StandardCommand
fn clone(&self) -> StandardCommand
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 StandardCommand
impl Debug for StandardCommand
impl Eq for StandardCommand
Source§impl PartialEq for StandardCommand
impl PartialEq for StandardCommand
Source§fn eq(&self, other: &StandardCommand) -> bool
fn eq(&self, other: &StandardCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StandardCommand
Auto Trait Implementations§
impl Freeze for StandardCommand
impl RefUnwindSafe for StandardCommand
impl Send for StandardCommand
impl Sync for StandardCommand
impl Unpin for StandardCommand
impl UnsafeUnpin for StandardCommand
impl UnwindSafe for StandardCommand
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