Compare commits

...

2 Commits

Author SHA1 Message Date
Jeremy Rose
c5cf8c5d70 typo 2025-09-04 15:28:05 -07:00
Jeremy Rose
c5f200d6c3 tweak cli help 2025-09-04 15:20:23 -07:00

View File

@@ -16,19 +16,19 @@ pub struct Cli {
/// Open an interactive picker to resume a previous session recorded on disk
/// instead of starting a new one.
///
/// Notes:
/// - Mutually exclusive with `--continue`.
/// - The picker displays recent sessions and a preview of the first real user
/// message to help you select the right one.
/// The picker displays recent sessions and a preview of the first real user
/// message to help you select the right one.
///
/// Mutually exclusive with `--continue`.
#[arg(long = "resume", default_value_t = false, conflicts_with = "continue")]
pub resume: bool,
/// Continue the most recent conversation without showing the picker.
///
/// Notes:
/// - Mutually exclusive with `--resume`.
/// - If no recorded sessions are found, this behaves like starting fresh.
/// - Equivalent to picking the newest item in the resume picker.
/// Equivalent to picking the newest item in the resume picker. If no
/// recorded sessions are found, starts a fresh session.
///
/// Mutually exclusive with `--resume`.
#[arg(
id = "continue",
long = "continue",
@@ -42,7 +42,8 @@ pub struct Cli {
pub model: Option<String>,
/// Convenience flag to select the local open source model provider.
/// Equivalent to -c model_provider=oss; verifies a local Ollama server is
///
/// Equivalent to -c model_provider=oss. Verifies a local Ollama server is
/// running.
#[arg(long = "oss", default_value_t = false)]
pub oss: bool,
@@ -60,11 +61,14 @@ pub struct Cli {
#[arg(long = "ask-for-approval", short = 'a')]
pub approval_policy: Option<ApprovalModeCliArg>,
/// Convenience alias for low-friction sandboxed automatic execution (-a on-failure, --sandbox workspace-write).
#[arg(long = "full-auto", default_value_t = false)]
/// Convenience alias for low-friction sandboxed automatic execution.
///
/// Equivalent to -a on-failure --sandbox workspace-write.
#[arg(long = "full-auto", default_value_t = false, conflicts_with_all = ["approval_policy", "sandbox_mode"])]
pub full_auto: bool,
/// Skip all confirmation prompts and execute commands without sandboxing.
///
/// EXTREMELY DANGEROUS. Intended solely for running in environments that are externally sandboxed.
#[arg(
long = "dangerously-bypass-approvals-and-sandbox",