From e3afbe42d7985cf8257fdf9a7ef0faa4f35e1e54 Mon Sep 17 00:00:00 2001 From: jamesk Date: Fri, 29 Mar 2024 17:01:13 -0400 Subject: [PATCH] . --- src/options.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/options.rs b/src/options.rs index 428d9cf..4048778 100644 --- a/src/options.rs +++ b/src/options.rs @@ -9,19 +9,27 @@ pub struct Arguments { #[derive(Subcommand, Clone, Debug)] pub enum Commands { + /// Create a snapshot Create { + /// Directory to create snapshot from #[arg(short, long)] root_dir: String, + /// Snapshot output/save location #[arg(short, long)] output_path: String, }, + /// Compare two snapshots Compare { + /// left side of diff #[arg(short, long)] left: String, + /// right side of diff #[arg(short, long)] right: String, + /// OPTIONAL: specify which change type specifically to return #[arg(short, long)] selection: Option, + /// OPTIONAL: when using selection specify to return count only or not #[arg(short)] count_only: Option, },