From be03071241c0fb54a7dfbfa1980a64a6e8686fec Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 9 Aug 2026 19:39:44 +0800 Subject: feat(class-add): implement class-add command Add the `class-add` command to create project classes from templates registered in `.mling/classes.toml`. Supports name derivation (snake_case, PascalCase, etc.), template expansion, and shell completions. --- mingling_cli/help/help.txt | 2 +- mingling_cli/src/proj_mgr.rs | 1 + mingling_cli/src/proj_mgr/cmd_class_add.rs | 267 +++++++++++++++++++++++++++++ 3 files changed, 269 insertions(+), 1 deletion(-) create mode 100644 mingling_cli/src/proj_mgr/cmd_class_add.rs (limited to 'mingling_cli') diff --git a/mingling_cli/help/help.txt b/mingling_cli/help/help.txt index dd6ea3d..04bb972 100644 --- a/mingling_cli/help/help.txt +++ b/mingling_cli/help/help.txt @@ -22,7 +22,7 @@ __ explain *Explain the meaning of the specified Lint* __ **PROJECT MANAGE:** __ proj-init