1.0.10 • Published 4 years ago
foton-cli v1.0.10
Foton Cli
Command line interface for Foton framework FotonJS
Installation
You need to install globally and run with sudo previllages
$ sudo npm install -g foton-cli
Usage
Create new project
creating fresh project
$ foton create --project <project-name>
Generate model
$ foton create --model <model-name>
Generate controller
$ foton create --controller <controller-name>
Generate http rules
$ foton create --rules <rules-name>
Generate migration
$ foton create --migration <migration-name>
Generatr testing
$ foton create --testing <test-name>