1 2 3 4 5 6 7 8 9 10
use anyhow::Result; use crate::config::KRAVEN_ACTIVE; pub fn run() -> Result<()> { let profile = std::env::var(KRAVEN_ACTIVE).map_err(|_| anyhow::anyhow!("No profile active."))?; println!("{profile}"); Ok(()) }