Skip to content

tigawanna/bonita

Repository files navigation

BONITA CLI

Ultimate CLI tool for frontend frameworks

run

npx/pnpm dlx/yarn bonita [add] or [page]

you can also add it asadev dependancy

npm i -D bonita
yarn add -D bonita
pnpm i -D bonita

commands

bonita add

  • Adding tailwind
npx bonita add tailwind
yarn bonita add tailwind
pnpm dlx bonita add tailwind

This command currently works for

  • tailwind
  • pandacss
  • tanstack

Currently supported frameworks:

React

- Vite SPA
- Next.js
- Redwood
- Rakkasjs

running

bonita add tanstack

In Nextjs or rakkas will only add tanstack query ,and will add query + router in vite SPA

bonita gen

sub commands

  • route : generate a route , which will create boilerplate for
    • The route directory
    • a layout file
    • a route file
    • a dynamic route file
bonita gen route Route1 Route2

example

pnpm bonita gen route user about

to generate the user and about routes

  • model: 🚧

bonita create 🚧

Currentlt only supports rakkasjs