skillnet 0.6.0

Manage canonical AI skill stores, derived views, and calibration data for multi-phase-plan.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::process::ExitCode;

fn main() -> ExitCode {
    match skillnet::cli::run() {
        Ok(()) => ExitCode::SUCCESS,
        Err(error) => {
            if let Some(exit) = error.downcast_ref::<skillnet::exit::ExitError>() {
                if exit.code() != 4 {
                    eprintln!("Error: {exit}");
                }
                ExitCode::from(exit.code())
            } else {
                eprintln!("Error: {error:?}");
                ExitCode::FAILURE
            }
        }
    }
}