@vizualmodel/vmblu-cli
v0.4.2
Published
This folder contains the CLI commands that are available for vmblu.
Readme
CLI for vmblu
This folder contains the CLI commands that are available for vmblu.
Folder layout
vmblu/
cli/ # your CLI source
bin/
vmblu.js # discovers and adds commands
commands/
init/
make-app/
make-test/
profile/
migrate/
templates/
x.y.z/ # a directory per version x.y.z
blueprint.schema.json
blueprint.annex.md
vizual.schema.json
profile.schema.json
system-prompt.project.md
system-prompt.dev.md
system-prompt.test.md
package.json
README.md
LICENSE.txtAdd more commands
Create commands/migrate/index.js with the same export shape { command, describe, builder, handler }. The router auto-discovers it.
Dev/test workflow
from vmblu/cli
npm link # exposes "vmblu" globally
vmblu init my-app --schema 0.8.2
vmblu --help
vmblu init --helpPublish & use
npm publish --access publicUsage
npx @vizualmodel/vmblu-cli init my-app --schema 0.8.2or, after global install:
vmblu init my-appTips
- Keep templates inside the package and list them in "files" so npx works offline.
- If you later prefer a richer UX, you can swap the router to commander/yargs without changing your command folders.
- If your main repo houses both runtime and CLI, publish the CLI from vmblu/cli (separate package.json). This keeps runtime installs lean.
- This gives you one tidy package for all current and future commands, with zero drift and easy discoverability.
