Module Generator
Generate CRUD modules with Gravis via the Gravis CLI.
Installation
npm install -g @gravis-os/cli
tip
Run gravis -v
to print version output to ensure that you have installed the cli successfully.
Usage
- Go to the package root of your app.
- Run
gravis generate <SingularModuleName>
in pascal case. - Answer the prompt for the plural version of your module name in pascal case as well.
- Done! Check and update the generated files in
pages
andsrc/modules
folder.