#![cfg_attr(coverage_nightly, coverage(off))]
use super::super::CommandExecutor;
use crate::cli::Commands;
use anyhow::Result;
impl CommandExecutor {
pub(super) async fn execute_extended(&self, command: Commands) -> Result<()> {
match command {
cmd @ (Commands::Demo { .. }
| Commands::QualityGate { .. }
| Commands::Report { .. }
| Commands::RepoScore { .. }
| Commands::RustProjectScore { .. }
| Commands::BrickScore { .. }
| Commands::PopperScore { .. }
| Commands::DemoScore { .. }) => self.execute_ext_scoring(cmd).await,
cmd @ (Commands::Diagnose(..)
| Commands::Refactor(..)
| Commands::Enforce(..)
| Commands::Roadmap(..)
| Commands::Test { .. }
| Commands::Memory { .. }
| Commands::Cache { .. }
| Commands::Telemetry { .. }
| Commands::Config { .. }
| Commands::Agent { .. }
| Commands::QualityGates { .. }
| Commands::Maintain { .. }) => self.execute_ext_tools(cmd).await,
other => self.execute_ext_advanced(other).await,
}
}
}