ockam_command 0.150.0

End-to-end encryption and mutual authentication for distributed applications.
1
2
3
4
5
6
7
8
9
10
11
12
13
use ockam_api::command::Commands;
use once_cell::sync::Lazy;

pub(crate) fn name(name: &'static str) -> &'static str {
    CUSTOM_COMMANDS.name(name)
}

pub(crate) fn hide(name: &'static str) -> bool {
    CUSTOM_COMMANDS.hide(name)
}

pub(crate) static CUSTOM_COMMANDS: Lazy<Commands> =
    Lazy::new(|| Commands::new(super::BrandingCompileEnvVars::commands()));