summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 5f35df4..344e2a6 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -12,13 +12,16 @@ pub struct Cli {
/// Create or reuse a session
#[clap(short = 's', long)]
pub session: Option<Option<String>>,
+ /// Whether to save the session automatically
+ #[clap(long)]
+ pub save_session: bool,
/// Execute commands using natural language
#[clap(short = 'e', long)]
pub execute: bool,
/// Generate only code
#[clap(short = 'c', long)]
pub code: bool,
- /// Attach files to the message to be sent.
+ /// Attach files to the message to be sent
#[clap(short = 'f', long, num_args = 1.., value_name = "FILE")]
pub file: Option<Vec<String>>,
/// Disable syntax highlighting