From 7ce605a6c9f2c59da97f5a288848c204c3e00eba Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 17 May 2026 15:14:11 +0900 Subject: fix(compile): add stubs for missing trait implementations --- crates/shirabe/src/command/init_command.rs | 50 ++++++++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 2 deletions(-) (limited to 'crates/shirabe/src/command/init_command.rs') diff --git a/crates/shirabe/src/command/init_command.rs b/crates/shirabe/src/command/init_command.rs index b43fdea..3148d20 100644 --- a/crates/shirabe/src/command/init_command.rs +++ b/crates/shirabe/src/command/init_command.rs @@ -45,8 +45,54 @@ pub struct InitCommand { git_config: Option>, } -impl CompletionTrait for InitCommand {} -impl PackageDiscoveryTrait for InitCommand {} +impl CompletionTrait for InitCommand { + fn require_composer( + &self, + disable_plugins: Option, + disable_scripts: Option, + ) -> Composer { + todo!() + } +} + +impl PackageDiscoveryTrait for InitCommand { + fn get_repos_mut(&mut self) -> &mut Option { + todo!() + } + + fn get_repository_sets_mut( + &mut self, + ) -> &mut IndexMap { + todo!() + } + + fn get_io(&self) -> &dyn IOInterface { + todo!() + } + + fn try_composer(&self) -> Option { + todo!() + } + + fn require_composer( + &self, + disable_plugins: Option, + disable_scripts: Option, + ) -> Composer { + todo!() + } + + fn get_platform_requirement_filter( + &self, + input: &dyn InputInterface, + ) -> Box{ + todo!() + } + + fn normalize_requirements(&self, requires: Vec) -> Vec> { + todo!() + } +} impl InitCommand { pub fn configure(&mut self) { -- cgit v1.3.1