llman 0.0.79

A tool for managing LLM application rules(prompts) ...
Documentation
#[macro_use]
extern crate rust_i18n;

i18n!("locales");

use std::sync::OnceLock;

pub mod arg_utils;
pub mod cli;
pub mod config;
pub mod config_schema;
pub mod editor;
pub mod error;
pub mod external_command;
// 顶层工具层已拆至 llman-core crate(T11);此处重导出保持历史路径零漂移:
// `crate::fs_utils` / `llman::path_utils` / `llman_core::git_utils` 均可。
pub(crate) use llman_core::fs_utils;
pub use llman_core::{
    env_safety, ext_subcommand, git_utils, managed_block, path_utils, schema_utils,
};
pub mod prompts;
// 全局 inquire 主题(❯/✔/▸/◉ 现代终端符号,一处配置全 CLI 生效)。
pub mod theme;
// SDD 工作流实现已迁移至独立项目 llman-sdd v2(npm `@llman-sdd/cli`)。
// 本仓库不再内置任何 `sdd` 子命令:`llman sdd <args>` 未命中内置命令,
// 经 `llman-*` 外部子命令发现自动委托给 PATH 上的 `llman-sdd`(cli.feature r56)。
pub mod self_command;
pub mod skills;
pub mod tool;
pub mod x;

#[cfg(test)]
pub mod test_utils;

static LOCALE_INIT: OnceLock<()> = OnceLock::new();

pub fn init_locale() {
    LOCALE_INIT.get_or_init(|| {
        rust_i18n::set_locale("en");
    });
}