1use clap::Subcommand;
2use std::path::PathBuf;
3
4#[derive(Subcommand, Debug, Clone)]
5pub enum AppAction {
6 List {
8 #[arg(long, help = "Optional custom storage path")]
9 storage: Option<PathBuf>,
10 },
11 Install {
13 source: PathBuf,
15 #[arg(long, help = "Optional custom storage path")]
16 storage: Option<PathBuf>,
17 #[arg(long, help = "Require signed content manifest")]
18 production: bool,
19 },
20 Uninstall {
22 package_id: String,
24 #[arg(long, help = "Optional custom storage path")]
25 storage: Option<PathBuf>,
26 #[arg(long, help = "Purge application data directory alongside package")]
27 purge_data: bool,
28 },
29 Info {
31 target: String,
33 #[arg(long, help = "Optional custom storage path")]
34 storage: Option<PathBuf>,
35 },
36 Reconcile {
38 #[arg(long, help = "Optional custom storage path")]
39 storage: Option<PathBuf>,
40 },
41}