diff options
| author | sigoden <sigoden@gmail.com> | 2023-03-07 22:33:34 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-07 22:33:34 +0800 |
| commit | 360264121ca2931cb7f2fa40594ba590b245ace5 (patch) | |
| tree | 71e81208cf50b02116c89974aca17a3cc762b1fc /src/cli.rs | |
| parent | c7fcdb174440817706b818154a6bbcaf58948caa (diff) | |
| download | aichat-360264121ca2931cb7f2fa40594ba590b245ace5.tar.gz | |
feat: command mode supports stream out (#31)
* feat: command mode supports stream out
* update cli
Diffstat (limited to 'src/cli.rs')
| -rw-r--r-- | src/cli.rs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -6,8 +6,11 @@ pub struct Cli { /// Turn off highlight #[clap(short = 'H', long)] pub no_highlight: bool, + /// No stream output + #[clap(short = 'S', long)] + pub no_stream: bool, /// List all roles - #[clap(short = 'L', long)] + #[clap(long)] pub list_roles: bool, /// Select a role #[clap(short, long)] |
