From fd733a87364b877d5e66b4973bd61b5379ec4d61 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 16 Jun 2026 21:59:35 +0900 Subject: feat(command): implement Symfony Command --- crates/shirabe/src/console/input/input_argument.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crates/shirabe/src/console/input/input_argument.rs') diff --git a/crates/shirabe/src/console/input/input_argument.rs b/crates/shirabe/src/console/input/input_argument.rs index 81f38ac..53576dd 100644 --- a/crates/shirabe/src/console/input/input_argument.rs +++ b/crates/shirabe/src/console/input/input_argument.rs @@ -29,4 +29,10 @@ impl InputArgument { )?; Ok(Self { inner }) } + + /// Unwraps to the underlying Symfony `InputArgument` (used when forwarding a Composer-typed + /// definition to the Symfony command state). + pub(crate) fn to_base(&self) -> BaseInputArgument { + self.inner.clone() + } } -- cgit v1.3.1