init: chongming-cli 命令脚本集合(build / build_plugin / gen_models / gen_plugin / code_content),从 chongming-core 的 src/chongming/scripts 抽离

This commit is contained in:
chakcy
2026-08-19 14:37:51 +08:00
commit 0bf60021cb
10 changed files with 1662 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
name = "chongming-cli"
version = "0.1.0"
description = "chongming 命令脚本集合:构建打包 / 进程插件打包 / 插件脚手架 / 模型生成"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"chongming-config",
"module-bank",
"sqlite-vfs",
"tomli",
]
[tool.hatch.build.targets.wheel]
packages = ["src/chongming_cli"]
[project.scripts]
build = "chongming_cli.build:build"
build_plugin = "chongming_cli.build_plugin:build_plugin"
gen_models = "chongming_cli.gen_models:gen_models"
gen_plugin = "chongming_cli.gen_plugin:gen_plugin"