pub enum Commands {
Show 35 variants
Chat {Show 17 fields
model: Option<String>,
query: Option<String>,
image: Option<String>,
system: Option<String>,
toolsets: Option<String>,
skills: Option<Vec<String>>,
provider: Option<String>,
chat_verbose: bool,
quiet: bool,
resume: Option<String>,
continue_last: Option<Option<String>>,
worktree: bool,
checkpoints: bool,
max_turns: Option<u32>,
yolo: bool,
pass_session_id: bool,
source: Option<String>,
},
Auth(AuthCommand),
Model {
current: bool,
global: bool,
model: Option<String>,
portal_url: Option<String>,
inference_url: Option<String>,
client_id: Option<String>,
scope: Option<String>,
no_browser: bool,
timeout: f64,
ca_bundle: Option<String>,
insecure: bool,
},
Tools(ToolsCommand),
Skills(SkillsCommand),
Gateway(GatewayCommand),
Cron(CronCommand),
Config(ConfigCommand),
Setup {
section: Option<String>,
skip_auth: bool,
skip_model: bool,
non_interactive: bool,
reset: bool,
},
Doctor {
all: bool,
check: Option<String>,
fix: bool,
},
Status {
all: bool,
deep: bool,
},
Sessions(SessionsCommand),
Logs {
log_name: Option<String>,
lines: u32,
follow: bool,
level: Option<String>,
session: Option<String>,
since: Option<String>,
component: Option<String>,
},
Profile(ProfileCommand),
Mcp(McpCommand),
Memory(MemoryCommand),
Webhook(WebhookCommand),
Pairing(PairingCommand),
Plugins(PluginsCommand),
Backup {
output: Option<String>,
quick: bool,
label: Option<String>,
},
Import {
zipfile: String,
force: bool,
},
Debug(DebugCommand),
Dump {
show_keys: bool,
},
Completion {
shell: Option<String>,
},
Insights {
days: u32,
source: Option<String>,
},
Login {
provider: Option<String>,
portal_url: Option<String>,
inference_url: Option<String>,
client_id: Option<String>,
scope: Option<String>,
no_browser: bool,
timeout: f64,
ca_bundle: Option<String>,
insecure: bool,
},
Logout {
provider: Option<String>,
},
Whatsapp,
Acp,
Dashboard {
port: u16,
host: String,
no_open: bool,
},
Claw(ClawCommand),
Models {
provider: Option<String>,
tools: bool,
pricing: bool,
},
Version,
Update {
gateway: bool,
},
Uninstall {
full: bool,
yes: bool,
},
}Variants§
Chat
Fields
Auth(AuthCommand)
Model
Fields
Tools(ToolsCommand)
Skills(SkillsCommand)
Gateway(GatewayCommand)
Cron(CronCommand)
Config(ConfigCommand)
Setup
Fields
Doctor
Status
Sessions(SessionsCommand)
Logs
Fields
Profile(ProfileCommand)
Mcp(McpCommand)
Memory(MemoryCommand)
Webhook(WebhookCommand)
Pairing(PairingCommand)
Plugins(PluginsCommand)
Backup
Fields
Import
Fields
Debug(DebugCommand)
Dump
Completion
Insights
Login
Fields
Logout
Acp
Dashboard
Claw(ClawCommand)
Models
Fields
Version
Update
Uninstall
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
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 Commands
impl Subcommand for Commands
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 Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnsafeUnpin for Commands
impl UnwindSafe for Commands
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