diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-12 01:01:35 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-12 01:01:43 +0900 |
| commit | 1e44f5723e4c0e0903d00a61f254901e612fe5e1 (patch) | |
| tree | 9c2e1eec364bbf6418a4072ee7767b04c3df0297 /crates/shirabe/src/command/archive_command.rs | |
| parent | ddf0a624145b618c05c2ee47414545b99b685f37 (diff) | |
| download | php-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/archive_command.rs')
| -rw-r--r-- | crates/shirabe/src/command/archive_command.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crates/shirabe/src/command/archive_command.rs b/crates/shirabe/src/command/archive_command.rs index 53159f8..f657ef4 100644 --- a/crates/shirabe/src/command/archive_command.rs +++ b/crates/shirabe/src/command/archive_command.rs @@ -88,7 +88,7 @@ impl ArchiveCommand { let format = input .borrow() - .get_option("format") + .get_option("format")? .as_string() .map(|s| s.to_string()) .unwrap_or_else(|| { @@ -102,7 +102,7 @@ impl ArchiveCommand { let dir = input .borrow() - .get_option("dir") + .get_option("dir")? .as_string() .map(|s| s.to_string()) .unwrap_or_else(|| { @@ -120,24 +120,24 @@ impl ArchiveCommand { &config, input .borrow() - .get_argument("package") + .get_argument("package")? .as_string() .map(|s| s.to_string()), input .borrow() - .get_argument("version") + .get_argument("version")? .as_string() .map(|s| s.to_string()), &format, &dir, input .borrow() - .get_option("file") + .get_option("file")? .as_string() .map(|s| s.to_string()), input .borrow() - .get_option("ignore-filters") + .get_option("ignore-filters")? .as_bool() .unwrap_or(false), composer.as_ref(), |
