feat: add MOMENTRY_CLI_DIR configuration
添加 CLI 工具路徑配置: - admin_config.rs: 新增 cli_dir 字段和 get_cli_dir() 函數 - config.rs: 新增 CLI_DIR 常量 - 默認路徑: /Users/accusys/momentry_core_0.1/tools/cli 環境變數: - MOMENTRY_SCRIPTS_DIR: Python 腳本路徑 - MOMENTRY_CLI_DIR: Swift/Rust CLI 工具路徑 文檔更新: - tools/README.md: 環境變數配置說明 - AGENTS.md: 環境變數列表更新
This commit is contained in:
@@ -197,6 +197,8 @@ pub static BACKUP_DIR: Lazy<String> = Lazy::new(|| crate::core::admin_config::ge
|
||||
|
||||
pub static SCRIPTS_DIR: Lazy<String> = Lazy::new(|| crate::core::admin_config::get_scripts_dir());
|
||||
|
||||
pub static CLI_DIR: Lazy<String> = Lazy::new(|| crate::core::admin_config::get_cli_dir());
|
||||
|
||||
pub static PYTHON_PATH: Lazy<String> = Lazy::new(|| crate::core::admin_config::get_python_path());
|
||||
|
||||
pub static MEDIA_BASE_URL: Lazy<String> = Lazy::new(|| {
|
||||
|
||||
Reference in New Issue
Block a user