MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / run

Function run

src/cli/status.rs:20–40  ·  view source on GitHub ↗
(api_client: &CodSpeedAPIClient, config: &CodSpeedConfig)

Source from the content-addressed store, hash-verified

18}
19
20pub async fn run(api_client: &CodSpeedAPIClient, config: &CodSpeedConfig) -> Result<()> {
21 // Auth status
22 super::auth::status(api_client, config).await?;
23 info!("");
24
25 // Setup/tools status
26 super::setup::status(&[])?;
27 info!("");
28
29 // System info
30 info!("{}", style("System").bold());
31 info!(" codspeed {VERSION}");
32 let system_info = SystemInfo::new()?;
33 info!(" {} ({})", system_info.os, system_info.arch);
34 info!(
35 " {} ({}C / {}GB)",
36 system_info.cpu_brand, system_info.cpu_cores, system_info.total_memory_gb
37 );
38
39 Ok(())
40}

Callers

nothing calls this directly

Calls 1

statusFunction · 0.70

Tested by

no test coverage detected