@bunito/cli
v0.0.15
Published
Command-line tools for initializing, generating, running, and building bunito projects.
Downloads
989
Maintainers
Readme
@bunito/cli
Command-line tools for initializing, generating, running, and building bunito projects.
It provides the bunito binary. The CLI discovers the root app from src/main.ts,
workspace apps from apps/*/src/main.ts, and libraries from libs/*/index.ts; no
project config file is required.
Installation 📦
Run the CLI without installing it globally:
bunx @bunito/cli --helpOr install it globally if you want the bunito binary available everywhere:
bun install --global @bunito/cliUsage 🚀
bunito --help
bunito init my-app
bunito init my-workspace --app api --app worker
bunito start
bunito start api worker
bunito start api --root
bunito build
bunito build api worker
bunito build api --root
bunito generate app worker
bunito generate lib sharedstart and build target every discovered app by default. Pass app names to
target selected workspace apps, and add --root when the root app should be
included with that selection. The CLI loads .env for the root app and
apps/<name>/.env for workspace apps.
License
MIT
