talon_cli/cli/changes_args.rs
1//! Arguments for `talon changes`.
2
3use clap::Args;
4
5use crate::cli::SharedScopeArgs;
6
7/// Arguments for the `changes` subcommand.
8#[derive(Debug, Clone, Args)]
9#[command(about = "Show vault changes since a timestamp.")]
10pub struct ChangesArgs {
11 /// Filter results indexed since this timestamp (ISO 8601, epoch ms, or relative like 7d/3h).
12 #[arg(long)]
13 pub since: String,
14
15 /// Search result limit.
16 #[arg(short = 'n', long)]
17 pub limit: Option<u16>,
18
19 #[command(flatten)]
20 pub scope: SharedScopeArgs,
21}