pub enum CliCommand {
Show 21 variants
Version,
Run(RunCommand),
Session {
command: SessionCommand,
},
Profile {
command: ProfileCommand,
},
Setup(SetupCommand),
Auth {
command: AuthCommand,
},
Skill {
command: CatalogCommand,
},
Subagent {
command: CatalogCommand,
},
Mcp {
command: CatalogCommand,
},
Tools {
command: ToolsCommand,
},
Tui(TuiCommand),
Approval {
command: ApprovalCommand,
},
Deferred {
command: DeferredCommand,
},
Resume(ResumeCommand),
Reset(ResetCommand),
Diagnostics,
Rpc(RpcCommand),
ReplayCheck,
Update(UpdateCommand),
Config {
command: ConfigCommand,
},
Completion {
shell: Shell,
},
}Expand description
CLI command families.
Variants§
Version
Print SDK identity.
Run(RunCommand)
Run a prompt.
Session
Manage local sessions.
Fields
command: SessionCommandSession subcommand.
Profile
Manage agent profiles.
Fields
command: ProfileCommandProfile subcommand.
Setup(SetupCommand)
Initialize local CLI configuration and catalogs.
Auth
Inspect OAuth-backed provider authentication.
Fields
command: AuthCommandAuth subcommand.
Skill
Inspect configured skills.
Fields
command: CatalogCommandSkill subcommand.
Subagent
Inspect configured subagents.
Fields
command: CatalogCommandSubagent subcommand.
Mcp
Inspect configured MCP servers.
Fields
command: CatalogCommandMCP subcommand.
Tools
Inspect default CLI tool catalog and policy.
Fields
command: ToolsCommandTools subcommand.
Tui(TuiCommand)
Render a retained terminal UI from local session display messages.
Approval
Manage persisted approval requests.
Fields
command: ApprovalCommandApproval subcommand.
Deferred
Manage deferred tool calls.
Fields
command: DeferredCommandDeferred subcommand.
Resume(ResumeCommand)
Resume a waiting session by appending a continuation run.
Reset(ResetCommand)
Remove runtime session state while preserving configuration.
Diagnostics
Print diagnostics.
Rpc(RpcCommand)
Run the JSON-RPC host service.
ReplayCheck
Print replay-check guidance.
Update(UpdateCommand)
Update installed Starweaver components.
Config
Get or set configuration values.
Fields
command: ConfigCommandConfig subcommand.
Completion
Generate shell completion scripts.
Trait Implementations§
Source§impl Clone for CliCommand
impl Clone for CliCommand
Source§fn clone(&self) -> CliCommand
fn clone(&self) -> CliCommand
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CliCommand
impl Debug for CliCommand
Source§impl FromArgMatches for CliCommand
impl FromArgMatches for CliCommand
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>
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>
ArgMatches to self.Source§impl Subcommand for CliCommand
impl Subcommand for CliCommand
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
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
Self can parse a specific subcommand