From 8ab57ed74ea67d3f023aa0fcd695cb107b676501 Mon Sep 17 00:00:00 2001 From: sigoden Date: Sat, 20 Apr 2024 21:07:30 +0800 Subject: refactor: update description for cli options and config fields (#423) --- src/cli.rs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/cli.rs') diff --git a/src/cli.rs b/src/cli.rs index 20192c8..d3e1075 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -3,43 +3,43 @@ use clap::Parser; #[derive(Parser, Debug)] #[command(author, version, about, long_about = None)] pub struct Cli { - /// Choose a LLM model + /// Select a LLM model #[clap(short, long)] pub model: Option, - /// Choose a role + /// Select a role #[clap(short, long)] pub role: Option, - /// Create or reuse a session + /// Start or join a session #[clap(short = 's', long)] pub session: Option>, - /// Whether to save the session + /// Forces the session to be saved #[clap(long)] pub save_session: bool, - /// Execute commands using natural language + /// Execute commands in natural language #[clap(short = 'e', long)] pub execute: bool, - /// Generate only code + /// Output code only #[clap(short = 'c', long)] pub code: bool, - /// Attach files to the message + /// Include files with the message #[clap(short = 'f', long, value_name = "FILE")] pub file: Vec, - /// Disable syntax highlighting + /// Turn off syntax highlighting #[clap(short = 'H', long)] pub no_highlight: bool, - /// No stream output + /// Turns off stream mode #[clap(short = 'S', long)] pub no_stream: bool, - /// Specify the text-wrapping mode (no, auto, ) + /// Control text wrapping (no, auto, ) #[clap(short = 'w', long)] pub wrap: Option, /// Use light theme #[clap(long)] pub light_theme: bool, - /// Run in dry run mode + /// Display the message without sending it #[clap(long)] pub dry_run: bool, - /// Print related information + /// Dispaly information #[clap(long)] pub info: bool, /// List all available models -- cgit v1.2.3