From 9148d0c707394f6e2529f04a767a602163d5bd95 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 21 Feb 2026 14:30:17 +0900 Subject: feat(install): add InstallConfig, platform warnings, and download progress Replace positional boolean parameters in install_from_lock with a structured InstallConfig. Add platform requirement warnings, download progress display, classmap-authoritative autoloader support, and prefer-source detection across install/update/require/remove commands. Co-Authored-By: Claude Opus 4.6 --- crates/mozart/src/commands/remove.rs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'crates/mozart/src/commands/remove.rs') diff --git a/crates/mozart/src/commands/remove.rs b/crates/mozart/src/commands/remove.rs index 350ea39..b227df8 100644 --- a/crates/mozart/src/commands/remove.rs +++ b/crates/mozart/src/commands/remove.rs @@ -417,9 +417,16 @@ pub fn execute(args: &RemoveArgs, cli: &super::Cli) -> anyhow::Result<()> { &new_lock, &working_dir, &vendor_dir, - dev_mode, - false, // dry_run already handled above - false, // no_autoloader: always generate autoloader + &super::install::InstallConfig { + dev_mode, + dry_run: false, // dry_run already handled above + no_autoloader: false, // always generate autoloader + no_progress: args.no_progress, + ignore_platform_reqs: args.ignore_platform_reqs, + ignore_platform_req: args.ignore_platform_req.clone(), + optimize_autoloader: args.optimize_autoloader, + classmap_authoritative: args.classmap_authoritative, + }, )?; } -- cgit v1.3.1