cli: add Pakku-parity command flags

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ib1afd8838dfbd1b70a35d313ed3505f26a6a6964
This commit is contained in:
raf 2026-01-29 21:13:28 +03:00
commit a50657bad5
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -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<String>,
/// 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)]