diff options
Diffstat (limited to 'crates/shirabe/src/command/search_command.rs')
| -rw-r--r-- | crates/shirabe/src/command/search_command.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/crates/shirabe/src/command/search_command.rs b/crates/shirabe/src/command/search_command.rs index 3b0d52e..40ef4fe 100644 --- a/crates/shirabe/src/command/search_command.rs +++ b/crates/shirabe/src/command/search_command.rs @@ -13,6 +13,7 @@ use crate::{command::base_command::BaseCommand, composer::Composer}; use anyhow::Result; use indexmap::IndexMap; use shirabe_external_packages::symfony::component::console::command::command::Command; +use shirabe_external_packages::symfony::component::console::command::command::CommandBase; use shirabe_external_packages::symfony::console::formatter::output_formatter::OutputFormatter; use shirabe_external_packages::symfony::console::input::input_interface::InputInterface; use shirabe_external_packages::symfony::console::output::output_interface::OutputInterface; @@ -20,7 +21,7 @@ use shirabe_php_shim::{InvalidArgumentException, PhpMixed, implode, in_array, pr #[derive(Debug)] pub struct SearchCommand { - inner: Command, + inner: CommandBase, composer: Option<Composer>, io: Option<Box<dyn IOInterface>>, } @@ -183,11 +184,11 @@ impl SearchCommand { } impl BaseCommand for SearchCommand { - fn inner(&self) -> &Command { + fn inner(&self) -> &CommandBase { &self.inner } - fn inner_mut(&mut self) -> &mut Command { + fn inner_mut(&mut self) -> &mut CommandBase { &mut self.inner } @@ -207,3 +208,5 @@ impl BaseCommand for SearchCommand { &mut self.io } } + +impl Command for SearchCommand {} |
