summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-03-20 23:20:48 +0800
committerGitHub <noreply@github.com>2023-03-20 23:20:48 +0800
commit601a5134d047bda03415432aa3250802e2e15554 (patch)
treed32795aabdc360ff37fa4b9ec1a1657df49f337f /src/cli.rs
parent19ce62ab769b74a8e417cd1213b7711a5ed55638 (diff)
downloadaichat-601a5134d047bda03415432aa3250802e2e15554.tar.gz
feat: add `--dry-run` (#83)
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index fd56e8b..5531283 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -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>,
}