summaryrefslogtreecommitdiff
path: root/src/args.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/args.rs')
-rw-r--r--src/args.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/args.rs b/src/args.rs
index 274bb1e..7f7ca3a 100644
--- a/src/args.rs
+++ b/src/args.rs
@@ -13,6 +13,10 @@ pub enum Command {
/// Installs an AppImage
#[command(name = "install", alias = "i")]
Install(InstallArgs),
+
+ /// Removes an AppImage
+ #[command(name = "remove", alias = "rm")]
+ Remove(RemoveArgs),
}
#[derive(Debug, Args)]
@@ -27,3 +31,8 @@ pub struct InstallArgs {
#[arg(long)]
pub executable: Option<String>,
}
+
+#[derive(Debug, Args)]
+pub struct RemoveArgs {
+ pub appname: String,
+}