From 6ae7e0d4b3eaf20e2d2cd3d000cf61ab0c9b6e83 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 11 Jun 2026 02:39:35 +0900 Subject: feat(console): resolve phase-b TODOs in doRun and IO wiring Wire up ConsoleIO with HelperSet/QuestionHelper, register the ErrorHandler with the IO instance, and fall back to a default output in run(). Replace resolved phase-b TODOs across the console, command, io, factory, installer, dependency_resolver, and util modules; reclassify the remaining blockers (typed Symfony command registry, stdin resource caching) as phase-c. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../src/symfony/console/application.rs | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'crates/shirabe-external-packages/src/symfony/console/application.rs') diff --git a/crates/shirabe-external-packages/src/symfony/console/application.rs b/crates/shirabe-external-packages/src/symfony/console/application.rs index f937473..a939bee 100644 --- a/crates/shirabe-external-packages/src/symfony/console/application.rs +++ b/crates/shirabe-external-packages/src/symfony/console/application.rs @@ -1,3 +1,4 @@ +use crate::symfony::console::input::InputDefinition; use crate::symfony::console::input::InputInterface; use crate::symfony::console::output::OutputInterface; use shirabe_php_shim::PhpMixed; @@ -105,4 +106,28 @@ impl Application { pub fn has(&self, _name: &str) -> bool { todo!() } + + pub fn do_run( + &mut self, + _input: std::rc::Rc>, + _output: std::rc::Rc>, + ) -> anyhow::Result { + todo!() + } + + pub fn get_help(&self) -> String { + todo!() + } + + pub fn are_exceptions_caught(&self) -> bool { + todo!() + } + + pub fn get_default_input_definition(&self) -> InputDefinition { + todo!() + } + + pub fn get_default_commands(&self) -> Vec { + todo!() + } } -- cgit v1.3.1