aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command/remove_command.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-24 04:51:47 +0900
committernsfisis <nsfisis@gmail.com>2026-06-24 05:02:54 +0900
commita8623a5e867825400073d2597dfb3118d6624ef7 (patch)
tree7df29f68596765dc3914209e14af4999b721815f /crates/shirabe/src/command/remove_command.rs
parente87d37a294a4c754585309d391d793a2c9a1287e (diff)
downloadphp-shirabe-a8623a5e867825400073d2597dfb3118d6624ef7.tar.gz
php-shirabe-a8623a5e867825400073d2597dfb3118d6624ef7.tar.zst
php-shirabe-a8623a5e867825400073d2597dfb3118d6624ef7.zip
chore: unwrap meaningless PhpMixed::String()
Diffstat (limited to 'crates/shirabe/src/command/remove_command.rs')
-rw-r--r--crates/shirabe/src/command/remove_command.rs44
1 files changed, 22 insertions, 22 deletions
diff --git a/crates/shirabe/src/command/remove_command.rs b/crates/shirabe/src/command/remove_command.rs
index 0cac581..d880ca0 100644
--- a/crates/shirabe/src/command/remove_command.rs
+++ b/crates/shirabe/src/command/remove_command.rs
@@ -67,112 +67,112 @@ impl Command for RemoveCommand {
InputArgument::new("packages",
Some(InputArgument::IS_ARRAY),
"Packages that should be removed.",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("dev",
None,
Some(InputOption::VALUE_NONE),
"Removes a package from the require-dev section.",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("dry-run",
None,
Some(InputOption::VALUE_NONE),
"Outputs the operations but will not execute anything (implicitly enables --verbose).",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("no-progress",
None,
Some(InputOption::VALUE_NONE),
"Do not output download progress.",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("no-update",
None,
Some(InputOption::VALUE_NONE),
"Disables the automatic update of the dependencies (implies --no-install).",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("no-install",
None,
Some(InputOption::VALUE_NONE),
"Skip the install step after updating the composer.lock file.",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("no-audit",
None,
Some(InputOption::VALUE_NONE),
"Skip the audit step after updating the composer.lock file (can also be set via the COMPOSER_NO_AUDIT=1 env var).",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("audit-format",
None,
Some(InputOption::VALUE_REQUIRED),
"Audit output format. Must be \"table\", \"plain\", \"json\", or \"summary\".",
- Some(PhpMixed::String(Auditor::FORMAT_SUMMARY.to_string())),).unwrap().into(),
+ Some(PhpMixed::String(Auditor::FORMAT_SUMMARY.to_string()))).unwrap().into(),
InputOption::new("no-security-blocking",
None,
Some(InputOption::VALUE_NONE),
"Allows installing packages with security advisories or that are abandoned (can also be set via the COMPOSER_NO_SECURITY_BLOCKING=1 env var).",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("update-no-dev",
None,
Some(InputOption::VALUE_NONE),
"Run the dependency update with the --no-dev option.",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("update-with-dependencies",
Some(PhpMixed::String("w".to_string())),
Some(InputOption::VALUE_NONE),
"Allows inherited dependencies to be updated with explicit dependencies (can also be set via the COMPOSER_WITH_DEPENDENCIES=1 env var). (Deprecated, is now default behavior)",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("update-with-all-dependencies",
Some(PhpMixed::String("W".to_string())),
Some(InputOption::VALUE_NONE),
"Allows all inherited dependencies to be updated, including those that are root requirements (can also be set via the COMPOSER_WITH_ALL_DEPENDENCIES=1 env var).",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("with-all-dependencies",
None,
Some(InputOption::VALUE_NONE),
"Alias for --update-with-all-dependencies",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("no-update-with-dependencies",
None,
Some(InputOption::VALUE_NONE),
"Does not allow inherited dependencies to be updated with explicit dependencies.",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("minimal-changes",
Some(PhpMixed::String("m".to_string())),
Some(InputOption::VALUE_NONE),
"During an update with -w/-W, only perform absolutely necessary changes to transitive dependencies (can also be set via the COMPOSER_MINIMAL_CHANGES=1 env var).",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("unused",
None,
Some(InputOption::VALUE_NONE),
"Remove all packages which are locked but not required by any other package.",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("ignore-platform-req",
None,
Some(InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY),
"Ignore a specific platform requirement (php & ext- packages).",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("ignore-platform-reqs",
None,
Some(InputOption::VALUE_NONE),
"Ignore all platform requirements (php & ext- packages).",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("optimize-autoloader",
Some(PhpMixed::String("o".to_string())),
Some(InputOption::VALUE_NONE),
"Optimize autoloader during autoloader dump",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("classmap-authoritative",
Some(PhpMixed::String("a".to_string())),
Some(InputOption::VALUE_NONE),
"Autoload classes from the classmap only. Implicitly enables `--optimize-autoloader`.",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("apcu-autoloader",
None,
Some(InputOption::VALUE_NONE),
"Use APCu to cache found/not-found classes.",
- None,).unwrap().into(),
+ None).unwrap().into(),
InputOption::new("apcu-autoloader-prefix",
None,
Some(InputOption::VALUE_REQUIRED),
"Use a custom prefix for the APCu autoloader cache. Implicitly enables --apcu-autoloader",
- None,).unwrap().into(),
+ None).unwrap().into(),
]);
self.set_help(
"The <info>remove</info> command removes a package from the current\n\