refactor(cli): add nerve create command, remove init workflow

- Add top-level `nerve create` with `workflow` and `sense` subcommands
- Move workflow scaffold from `init workflow` to `nerve create workflow`
- Add `nerve create sense <name>` to scaffold sense boilerplate
- Keep `nerve init` for workspace initialization only
- Add tests for create workflow, create sense, and e2e

Closes #188
This commit is contained in:
2026-04-27 18:16:19 +08:00
parent c6c3e0142d
commit d13fbe08db
12 changed files with 455 additions and 108 deletions
+1 -3
View File
@@ -4,9 +4,7 @@
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"files": ["dist"],
"publishConfig": {
"access": "public"
},