aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/package/version/version_guesser.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-14 00:15:52 +0900
committernsfisis <nsfisis@gmail.com>2026-06-14 00:15:52 +0900
commitfe15d4dba4530f574856a6c443a3f665aa5abe7a (patch)
treed7dc0433e40a2c38c50daf399ec8a3de5c2ac307 /crates/shirabe/src/package/version/version_guesser.rs
parente165b2ffa32e21c50787ae7227dc5333131d1414 (diff)
downloadphp-shirabe-fe15d4dba4530f574856a6c443a3f665aa5abe7a.tar.gz
php-shirabe-fe15d4dba4530f574856a6c443a3f665aa5abe7a.tar.zst
php-shirabe-fe15d4dba4530f574856a6c443a3f665aa5abe7a.zip
feat(console): implement get_command_name_before_binding via input clone
Replace the todo!() stub with the real Symfony logic: clone the input, bind it against the application definition (ignoring binding errors), and read the first argument so the command name is detected even when global options precede it. Add a dup() method to InputInterface to model PHP's clone, derive Clone on the input types, and treat InvalidArgument/InvalidOption/MissingInput as ignorable ExceptionInterface errors during the pre-binding probe.
Diffstat (limited to 'crates/shirabe/src/package/version/version_guesser.rs')
0 files changed, 0 insertions, 0 deletions