aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command/bump_command.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-12 01:01:35 +0900
committernsfisis <nsfisis@gmail.com>2026-06-12 01:01:43 +0900
commit1e44f5723e4c0e0903d00a61f254901e612fe5e1 (patch)
tree9c2e1eec364bbf6418a4072ee7767b04c3df0297 /crates/shirabe/src/command/bump_command.rs
parentddf0a624145b618c05c2ee47414545b99b685f37 (diff)
downloadphp-shirabe-1e44f5723e4c0e0903d00a61f254901e612fe5e1.tar.gz
php-shirabe-1e44f5723e4c0e0903d00a61f254901e612fe5e1.tar.zst
php-shirabe-1e44f5723e4c0e0903d00a61f254901e612fe5e1.zip
feat(symfony-console): port Symfony Console and make the workspace compile
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/command/bump_command.rs')
-rw-r--r--crates/shirabe/src/command/bump_command.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/shirabe/src/command/bump_command.rs b/crates/shirabe/src/command/bump_command.rs
index 92b1331..6f947c2 100644
--- a/crates/shirabe/src/command/bump_command.rs
+++ b/crates/shirabe/src/command/bump_command.rs
@@ -62,7 +62,7 @@ impl BumpCommand {
) -> Result<i64> {
let packages_filter: Vec<String> = input
.borrow()
- .get_argument("packages")
+ .get_argument("packages")?
.as_list()
.map(|l| {
l.iter()
@@ -73,17 +73,17 @@ impl BumpCommand {
let dev_only = input
.borrow()
- .get_option("dev-only")
+ .get_option("dev-only")?
.as_bool()
.unwrap_or(false);
let no_dev_only = input
.borrow()
- .get_option("no-dev-only")
+ .get_option("no-dev-only")?
.as_bool()
.unwrap_or(false);
let dry_run = input
.borrow()
- .get_option("dry-run")
+ .get_option("dry-run")?
.as_bool()
.unwrap_or(false);
let io = self.get_io().clone();