@banana-universe/bananajs-cli
v0.5.1
Published
A command-line interface (CLI) tool to create a new Bananajs app with different configurations, such as MongoDB or SQL-based setups. This CLI helps you quickly set up a project with your desired backend configuration.
Readme
@banana-universe/bananajs-cli
CLI toolkit for scaffolding, generating, and inspecting BananaJS projects.
Homepage
https://surya-manne.github.io/banana-universe/
Installation
npm install -g @banana-universe/bananajs-cliCore CLI Commands
bananajs new(orbjs new) to scaffold appsbananajs routesto inspect controller routesbananajs openapi exportto export API docsbananajs ai generateto generate modules from prompts or schemas
Minimal Working Setup
bjs new my-app --preset sql
cd my-app
npm install
npm run devAPI-Level Examples
Route inspection
bjs routes --project ./srcOpenAPI export
bjs openapi export --out openapi.jsonAI generation
bjs ai generate --from-prompt "Create Product module with list and create endpoints"Documentation
- Project docs: https://surya-manne.github.io/banana-universe/
License
MIT
