From 91813e3f6a9b93b92fb4b99d2e9512d41726c9d9 Mon Sep 17 00:00:00 2001 From: Naz Date: Mon, 28 Jul 2025 09:50:56 +0100 Subject: =?UTF-8?q?=E2=9C=A8feat:=20add=20AppImage=20removal=20functionali?= =?UTF-8?q?ty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/args.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/args.rs') 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, } + +#[derive(Debug, Args)] +pub struct RemoveArgs { + pub appname: String, +} -- cgit v1.2.3