From 7f606f36fef0c0467c3c0db3d0da33af486dae8a Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 17 May 2026 02:25:52 +0900 Subject: feat(port): add stub implementations of shirabe-external-packages --- .../symfony/component/console/command/command.rs | 81 ++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 crates/shirabe-external-packages/src/symfony/component/console/command/command.rs (limited to 'crates/shirabe-external-packages/src/symfony/component/console/command/command.rs') diff --git a/crates/shirabe-external-packages/src/symfony/component/console/command/command.rs b/crates/shirabe-external-packages/src/symfony/component/console/command/command.rs new file mode 100644 index 0000000..cf18378 --- /dev/null +++ b/crates/shirabe-external-packages/src/symfony/component/console/command/command.rs @@ -0,0 +1,81 @@ +use shirabe_php_shim::PhpMixed; +use crate::symfony::component::console::input::input_interface::InputInterface; +use crate::symfony::component::console::output::output_interface::OutputInterface; +use crate::symfony::component::console::input::input_definition::InputDefinition; + +#[derive(Debug)] +pub struct Command; + +impl Command { + pub fn new(name: Option<&str>) -> Self { + todo!() + } + + pub fn set_name(&mut self, name: &str) -> &mut Self { + todo!() + } + + pub fn get_name(&self) -> Option { + todo!() + } + + pub fn set_description(&mut self, description: &str) -> &mut Self { + todo!() + } + + pub fn get_description(&self) -> String { + todo!() + } + + pub fn set_help(&mut self, help: &str) -> &mut Self { + todo!() + } + + pub fn set_definition(&mut self, definition: PhpMixed) -> &mut Self { + todo!() + } + + pub fn get_definition(&self) -> &InputDefinition { + todo!() + } + + pub fn add_argument(&mut self, name: &str, mode: Option, description: &str, default: PhpMixed) -> &mut Self { + todo!() + } + + pub fn add_option(&mut self, name: &str, shortcut: Option<&str>, mode: Option, description: &str, default: PhpMixed) -> &mut Self { + todo!() + } + + pub fn set_aliases(&mut self, aliases: &[String]) -> &mut Self { + todo!() + } + + pub fn get_aliases(&self) -> Vec { + todo!() + } + + pub fn set_hidden(&mut self, hidden: bool) -> &mut Self { + todo!() + } + + pub fn is_hidden(&self) -> bool { + todo!() + } + + pub fn run( + &mut self, + input: &mut dyn InputInterface, + output: &mut dyn OutputInterface, + ) -> anyhow::Result { + todo!() + } + + pub fn get_helper(&self, name: &str) -> PhpMixed { + todo!() + } + + pub fn get_helper_set(&self) -> PhpMixed { + todo!() + } +} -- cgit v1.3.1