diff options
| author | sigoden <sigoden@gmail.com> | 2023-03-20 23:20:48 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-20 23:20:48 +0800 |
| commit | 601a5134d047bda03415432aa3250802e2e15554 (patch) | |
| tree | d32795aabdc360ff37fa4b9ec1a1657df49f337f /src/cli.rs | |
| parent | 19ce62ab769b74a8e417cd1213b7711a5ed55638 (diff) | |
| download | aichat-601a5134d047bda03415432aa3250802e2e15554.tar.gz | |
feat: add `--dry-run` (#83)
Diffstat (limited to 'src/cli.rs')
| -rw-r--r-- | src/cli.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -27,6 +27,9 @@ pub struct Cli { /// Print information #[clap(long)] pub info: bool, + /// Run in dry run mode + #[clap(long)] + pub dry_run: bool, /// Input text text: Vec<String>, } |
