@nwire/cli
v0.7.1
Published
Nwire CLI — branded TUI on top of @nwire/kernel. Dev, run, please, build, test, fmt, lint, check, ps, logs, cache, ls, studio. One surface for the whole framework.
Readme
@nwire/cli
The
nwireumbrella CLI —dev,run,cache,studio,call,please,ls,infra, …
What it does
Built on citty: one root command per file under commands/. Long-lived processes (dev, run, studio) go through @nwire/kernel; build/quality passthroughs (fmt, lint, check) shell out. Reads nwire.config.ts (or falls back to convention) to locate the consumer's apps registry and .nwire/ cache.
Install
pnpm add -D @nwire/cliAfter install the nwire binary is on your node_modules/.bin. With pnpm dlx (or aliased globally) you can run anywhere.
Quick start
nwire dev # boot every app in the registry, hot-reload
nwire run learnflow-api # boot one wire
nwire cache # rebuild.nwire/*.json from source
nwire studio # open Studio against the cache + live runtime
nwire please <action> # dispatch an action from the command line
nwire ls # list actions / events / actors per app
nwire infra up # docker-compose up (postgres/redis/mongo/mailhog/logto/minio)API surface
nwireCLI binary (one subcommand per file).loadConfig(cwd)/resolveAppsEntry(cwd, config)— programmatic entry resolution.
When to use
Every Nwire project after pnpm install. Fits every level.
