diff options
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -36,14 +36,21 @@ pub enum Commands { /// View Registered data View { - /// Filter history data (only works with -H) - filter: Option<String>, + /// Filter registers by agent + agent: Option<String>, + /// View register history #[arg(short='H', long, conflicts_with = "total")] history: bool, - /// Transaction accumulation by person + + /// Sum registers by agent #[arg(short, long, conflicts_with = "history")] - total: bool + total: bool, + + /// Filter registers by note (sql match syntax) + #[arg(short='n', long)] + filter_note: Option<String>, + }, /// Add, update or remove an agent |