granite-cli 0.0.1

CLI for discovering, configuring, and launching AI workflows powered by IBM Granite models.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Standard
use std::sync::LazyLock;

/*-- Public API --------------------------------------------------------------*/

pub static CAPABILITY_REGISTRY: LazyLock<base::CapabilityFactory> = LazyLock::new(|| {
    // NOTE: Remove this allow once concrete capabilities are added
    #[allow(unused_mut, unused)]
    let mut factory = base::CapabilityFactory::new();
    // Register instances here
    factory
});

// Re-export types from base
mod base;
pub use base::{
    Capability, ConfigureResult, Dependency, EnvBinding, Factory, LaunchContext, ToolConfig,
};