~ $ fac --help
Usage: index [options]
Final API CLI for creating a Node.js REST API
Options:
-v, --version output the version number
-i, --init [project-name] initialize a new project
-r, --route [route-name] create a new route
-c, --controller [controller-name] create a new controller
-m, --model [model-name] create a new model
-e, --endpoint [endpoint-name] create a new endpoint
-h, --help display help for command
~ $ fac --version
1.0.2
~ $ fac --init demo
Choose your database type:
Choose your database:
Template downloaded successfully.
Template extracted successfully.
Npm packages installed successfully.
Total Directories: 11
Total Files: 36
~ $ fac --route demo
~ $ fac --model demo
~ $ fac --controller demo
~ $ fac --endpoint demo