Node Framework Based On Koa
npm install -g nost-cli
nost -h
| options | desc |
|---|---|
| -v, --version | Output the current version |
| -h, --help | Output usage information |
| command | desc |
|---|---|
| init | i <project-name> | Initialization Nost application |
| start | Run Nost application |
| build | b | Build Nost application. |
| info | Display Nost project details |
| config | cfg <config-filename> | Generate a configuration file |
| controller | c <controller-filename> | Generate a controller declaration |
| error | e <error-types-filename> | Generate a error declaration |
| middleware | m <middleware-filename> | Generate a middleware declaration |
| router | r <router-filename> | Generate a router declaration |
| service | s <service-filename> | Generate a service declaration |