Fast, super productive and aphrodisiac web-framework written in golang
curl -L https://github.com/dayvsonlima/catuaba/releases/latest/download/catuaba-darwin-amd64.tar.gz | tar xz && sudo mv catuaba /usr/local/bin/
curl -L https://github.com/dayvsonlima/catuaba/releases/latest/download/catuaba-darwin-arm64.tar.gz | tar xz && sudo mv catuaba /usr/local/bin/
curl -L https://github.com/dayvsonlima/catuaba/releases/latest/download/catuaba-linux-amd64.tar.gz | tar xz && sudo mv catuaba /usr/local/bin/
Download the exe and add the path to your environment variables
https://github.com/dayvsonlima/catuaba/releases/latest/download/catuaba-windows-amd64.zip
Command | Description | Usage |
---|---|---|
--help | provide cli instructions | catuaba --help |
new | Create a New project | catuaba new <project-name> |
server | Starts the catuaba web server | Run catuaba server in the project root |
generator | Call some catuaba generator | catuaba generator <generator-name> ...<generator-params> |
Command | Description | Usage |
---|---|---|
scaffold | scaffold is a full set of model, controller and router for one RESTFUL resource | catuaba g scaffold <model-name> ...<attribute:type> |
model | generates a new model file in app/models directory |
catuaba g model <model-name> ...<attribute:type> |
controller | generates a new controller package in app/controller |
catuaba g controller <controller-name> ...<method-name (index, new, create, update, delete, all)> . if you don't specify the method name, catuaba will create them all by default |