pub struct Cli {Show 19 fields
pub command: Option<Commands>,
pub tui: bool,
pub web: bool,
pub json: bool,
pub autonomy: Option<String>,
pub model: Option<String>,
pub local: bool,
pub budget: Option<f64>,
pub max_cost_usd: Option<f64>,
pub max_wall_secs: Option<u64>,
pub max_tokens: Option<u64>,
pub bind: Option<String>,
pub sandbox: Option<String>,
pub profile: Option<String>,
pub no_checkpoint: bool,
pub agent: Option<String>,
pub continue_last: bool,
pub fresh: bool,
pub yes: bool,
}Fields§
§command: Option<Commands>§tui: boolLaunch terminal TUI (native)
web: boolLaunch webview console (HTTP + WebSocket)
json: boolJSON output (NDJSON event stream)
autonomy: Option<String>Override autonomy level
model: Option<String>Force a specific model
local: boolPrefer local/offline models
budget: Option<f64>Session budget cap (USD)
max_cost_usd: Option<f64>Hard stop on cumulative USD spent in this run (alias for –budget, kept separately to match competitor tools’ UX).
max_wall_secs: Option<u64>Hard stop on wall-clock seconds elapsed in this run.
max_tokens: Option<u64>Hard stop on total tokens consumed in this run.
bind: Option<String>Bind address for daemon / cockpit servers (default 127.0.0.1). Use 0.0.0.0 when running under WSL or in a container.
sandbox: Option<String>Sandbox backend
profile: Option<String>Profile name
no_checkpoint: boolDisable checkpointing
agent: Option<String>Run as a named agent
continue_last: boolContinue the most recent session (any surface) instead of this directory’s session
fresh: boolStart with a fresh context (ignore this directory’s saved session)
yes: boolSkip the pre-run quote confirmation
Trait Implementations§
Source§impl Args for Cli
impl Args for Cli
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl CommandFactory for Cli
impl CommandFactory for Cli
Source§impl FromArgMatches for Cli
impl FromArgMatches for Cli
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Parser for Cli
impl Parser for Cli
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for Cli
impl RefUnwindSafe for Cli
impl Send for Cli
impl Sync for Cli
impl Unpin for Cli
impl UnsafeUnpin for Cli
impl UnwindSafe for Cli
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more