pub fn cmd_describe(
registry: &dyn RegistryProvider,
module_id: &str,
explicit_format: Option<&str>,
) -> Result<String, DiscoveryError>Expand description
Execute the describe subcommand logic.
Returns Ok(String) with the formatted output on success.
Returns Err(DiscoveryError) on invalid module ID or module not found.
Exit code mapping for the caller:
DiscoveryError::InvalidModuleId→ exit 2DiscoveryError::ModuleNotFound→ exit 44