diff --git a/src/args.rs b/src/args.rs index 9f579f4..4a004ec 100644 --- a/src/args.rs +++ b/src/args.rs @@ -15,6 +15,10 @@ pub struct Args { #[arg(short, long)] pub ask: bool, + /// Create a backup of ~/Applications that can be restored from + #[arg(short, long)] + pub backup: bool, + /// One of the commands: install , remove , upgrade, etc. #[command(subcommand)] pub command: Commands @@ -47,6 +51,9 @@ pub enum Commands { /// Arguments to pass to the application. app_args: Option> - } + }, + + /// Restore ~/Applications from backup + Restore }