cargo-mate 1.8.0

Rust development companion that enhances cargo with intelligent workflows, state management, performance optimization, and comprehensive project monitoring.
Documentation
1
2
3
4
5
6
7
8
use anyhow::Result;
pub fn handle_license_command(command: &str) -> Result<()> {
    let license_manager = crate::captain::license::LicenseManager::new();
    match license_manager?.enforce_license(command) {
        Ok(_) => Ok(()),
        Err(e) => Err(e),
    }
}