Skip to main content

Commands

Enum Commands 

Source
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

§query: Option<String>

Single query (non-interactive mode)

§image: Option<String>

Optional local image path to attach

§system: Option<String>

System prompt override

§toolsets: Option<String>

Comma-separated toolsets to enable

§skills: Option<Vec<String>>

Preload one or more skills (repeat flag)

§provider: Option<String>

Inference provider

§chat_verbose: bool

Verbose output (chat-specific)

§quiet: bool

Quiet mode: suppress banner, spinner, tool previews

§resume: Option<String>

Resume a previous session by ID

§continue_last: Option<Option<String>>

Resume session by name, or most recent

§worktree: bool

Run in isolated git worktree

§checkpoints: bool

Enable filesystem checkpoints before destructive ops

§max_turns: Option<u32>

Max tool-calling iterations per turn

§yolo: bool

Bypass all dangerous command approval prompts

§pass_session_id: bool

Include session ID in system prompt

§source: Option<String>

Session source tag for filtering (default: cli)

§

Auth(AuthCommand)

§

Model

Fields

§current: bool
§global: bool
§portal_url: Option<String>
§inference_url: Option<String>
§client_id: Option<String>
§no_browser: bool
§timeout: f64
§ca_bundle: Option<String>
§insecure: bool
§

Tools(ToolsCommand)

§

Skills(SkillsCommand)

§

Gateway(GatewayCommand)

§

Cron(CronCommand)

§

Config(ConfigCommand)

§

Setup

Fields

§section: Option<String>

Run setup section: model|tts|terminal|gateway|tools|agent

§skip_auth: bool
§skip_model: bool
§non_interactive: bool
§reset: bool
§

Doctor

Fields

§all: bool
§check: Option<String>

Check a specific component

§fix: bool
§

Status

Fields

§all: bool
§deep: bool
§

Sessions(SessionsCommand)

§

Logs

Fields

§log_name: Option<String>

Log to view: agent (default), errors, gateway, or ‘list’

§lines: u32

Number of lines to show

§follow: bool

Follow the log in real time

§level: Option<String>

Minimum log level (DEBUG, INFO, WARNING, ERROR)

§session: Option<String>

Filter by session ID

§since: Option<String>

Show lines since TIME ago (e.g. 1h, 30m, 2d)

§component: Option<String>

Filter by component: gateway, agent, tools, cli, cron

§

Profile(ProfileCommand)

§

Mcp(McpCommand)

§

Memory(MemoryCommand)

§

Webhook(WebhookCommand)

§

Pairing(PairingCommand)

§

Plugins(PluginsCommand)

§

Backup

Fields

§output: Option<String>

Output path for the zip file

§quick: bool

Quick snapshot of critical state files only

§label: Option<String>

Label for the snapshot (with –quick)

§

Import

Fields

§zipfile: String

Path to the backup zip file

§force: bool

Overwrite existing files without confirmation

§

Debug(DebugCommand)

§

Dump

Fields

§show_keys: bool

Show redacted API key prefixes

§

Completion

Fields

§shell: Option<String>

Shell type

§

Insights

Fields

§days: u32

Number of days to analyze

§source: Option<String>

Filter by platform source

§

Login

Fields

§provider: Option<String>
§portal_url: Option<String>
§inference_url: Option<String>
§client_id: Option<String>
§no_browser: bool
§timeout: f64
§ca_bundle: Option<String>
§insecure: bool
§

Logout

Fields

§provider: Option<String>
§

Whatsapp

§

Acp

§

Dashboard

Fields

§port: u16
§host: String
§no_open: bool
§

Claw(ClawCommand)

§

Models

Fields

§provider: Option<String>

Filter by provider name

§tools: bool

Show only models supporting tool use

§pricing: bool

Show pricing information

§

Version

§

Update

Fields

§gateway: bool
§

Uninstall

Fields

§full: bool
§yes: bool

Trait Implementations§

Source§

impl Clone for Commands

Source§

fn clone(&self) -> Commands

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Commands

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl FromArgMatches for Commands

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

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>

Assign values from ArgMatches to self.
Source§

impl Subcommand for Commands

Source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate Self via FromArgMatches::from_arg_matches_mut Read more
Source§

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 more
Source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more