diff options
| author | sigoden <sigoden@gmail.com> | 2023-03-16 17:02:09 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-16 17:02:09 +0800 |
| commit | 1ef97b2f32caecdb2eef9fe3755390f36d96eae5 (patch) | |
| tree | 269d9504e5959d2ca161862e0935103adc84b393 /src/cli.rs | |
| parent | 4a74f5cd72160585721dbce1e92c110125d046dd (diff) | |
| download | aichat-1ef97b2f32caecdb2eef9fe3755390f36d96eae5.tar.gz | |
feat: support multiple models (#71)
Diffstat (limited to 'src/cli.rs')
| -rw-r--r-- | src/cli.rs | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3,6 +3,9 @@ use clap::Parser; #[derive(Parser, Debug)] #[command(author, version, about, long_about = None)] pub struct Cli { + /// Choose a model + #[clap(short, long)] + pub model: Option<String>, /// Add a GPT prompt #[clap(short, long)] pub prompt: Option<String>, @@ -15,6 +18,9 @@ pub struct Cli { /// List all roles #[clap(long)] pub list_roles: bool, + /// List all models + #[clap(long)] + pub list_models: bool, /// Select a role #[clap(short, long)] pub role: Option<String>, |
