summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-03-06 09:27:49 +0800
committerGitHub <noreply@github.com>2023-03-06 09:27:49 +0800
commitcfb46ca0de8493a1ab5026cd44f88f092b26f91d (patch)
tree5b160da9ff653ee5158d5434e5aa6027515c1c92 /src/cli.rs
parent7def9aef0179ad11ac29e401da8856e972c6ae7b (diff)
downloadaichat-cfb46ca0de8493a1ab5026cd44f88f092b26f91d.tar.gz
feat: add `--no-highlight` option (#24)
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 e1adde7..5d709ea 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -6,9 +6,12 @@ pub struct Cli {
/// List all roles
#[clap(short = 'L', long)]
pub list_roles: bool,
- /// Specify the role that the AI will play
+ /// Select a role
#[clap(short, long)]
pub role: Option<String>,
+ /// Turn off highlight
+ #[clap(short = 'H', long)]
+ pub no_highlight: bool,
/// Input text, if no input text, enter interactive mode
text: Vec<String>,
}