From a50657bad53530afa078df2ed836c60125ebb4ac Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Thu, 29 Jan 2026 21:13:28 +0300 Subject: [PATCH] cli: add Pakku-parity command flags Signed-off-by: NotAShelf Change-Id: Ib1afd8838dfbd1b70a35d313ed3505f26a6a6964 --- src/cli.rs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/cli.rs b/src/cli.rs index 715d727..a4b4b25 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -118,6 +118,10 @@ pub struct ImportArgs { /// Path to modpack file pub file: String, + /// Resolve dependencies + #[clap(short = 'D', long = "deps")] + pub deps: bool, + /// Skip confirmation prompts #[clap(short, long)] pub yes: bool, @@ -203,6 +207,10 @@ pub struct RmArgs { #[clap(required = true)] pub inputs: Vec, + /// Remove all projects + #[clap(short = 'a', long)] + pub all: bool, + /// Skip confirmation prompt #[clap(short, long)] pub yes: bool, @@ -356,6 +364,16 @@ pub struct ExportArgs { /// Default is Pakker layout (exports/...) #[clap(long)] pub pakker_layout: bool, + + /// Show file IO errors during export + #[clap(long = "show-io-errors")] + pub show_io_errors: bool, + + /// Export modpack without server content + /// Modrinth: exclude server-overrides and SERVER mods + /// ServerPack: skip export + #[clap(long = "no-server")] + pub no_server: bool, } #[derive(Args)]