From e87d37a294a4c754585309d391d793a2c9a1287e Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 24 Jun 2026 04:16:08 +0900 Subject: feat(console): implement application description for `list` Replace the todo!() in TextDescriptor::describe_application with a real option-only InputDefinition built via InputDefinition::from_options, which shares InputOption behind Rc instead of reconstructing by value. Drop the now-unused Command::clone_box and switch the descriptors to borrow the shared commands directly. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../src/symfony/console/command/command.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'crates/shirabe-external-packages/src/symfony/console/command/command.rs') diff --git a/crates/shirabe-external-packages/src/symfony/console/command/command.rs b/crates/shirabe-external-packages/src/symfony/console/command/command.rs index 652463f..840f11a 100644 --- a/crates/shirabe-external-packages/src/symfony/console/command/command.rs +++ b/crates/shirabe-external-packages/src/symfony/console/command/command.rs @@ -334,12 +334,6 @@ macro_rules! delegate_command_trait_impls_to_inner { /// Object-safe so `dyn Command` works. All methods take `&self`; the command's mutable /// state is interior-mutable (see [`CommandData`]). pub trait Command: std::fmt::Debug + shirabe_php_shim::AsAny { - fn clone_box(&self) -> Box { - todo!() - } - - // --- behavior hooks (PHP-overridable; defaults match the PHP `Command` class) --- - /// Configures the current command. fn configure(&self) -> anyhow::Result<()> { Ok(()) -- cgit v1.3.1