diff options
| author | sigoden <sigoden@gmail.com> | 2023-03-06 09:27:49 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-06 09:27:49 +0800 |
| commit | cfb46ca0de8493a1ab5026cd44f88f092b26f91d (patch) | |
| tree | 5b160da9ff653ee5158d5434e5aa6027515c1c92 /src/cli.rs | |
| parent | 7def9aef0179ad11ac29e401da8856e972c6ae7b (diff) | |
| download | aichat-cfb46ca0de8493a1ab5026cd44f88f092b26f91d.tar.gz | |
feat: add `--no-highlight` option (#24)
Diffstat (limited to 'src/cli.rs')
| -rw-r--r-- | src/cli.rs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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>, } |
