feat(boss-engine): 增加项目派生命令

新增 fork-boss-engine,从 AbyssBossEngine 源项目生成独立 BOSS 模组,并重建 UUID、命名空间和脚本包。

校验项目名称与命名空间,同时阻止输出目录落入源目录,避免路径穿越和递归复制。
This commit is contained in:
2026-07-21 20:17:49 +08:00
parent 410b2e64e9
commit bc9221d4cc
5 changed files with 657 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
mod boss_engine;
mod commands;
mod debug;
mod entity;
@@ -17,5 +18,6 @@ fn main() {
Commands::Components(args) => commands::components::execute(args),
Commands::Debug(args) => commands::debug::execute(args),
Commands::Bbmodel(args) => commands::bbmodel::execute(args),
Commands::ForkBossEngine(args) => commands::fork_boss_engine::execute(args),
}
}