@atarraya/nestcli
v1.1.3
Published
CLI for scaffolding NestJs projects
Downloads
8
Readme
NestJs Scaffolding generation
Usage
$ npm install -g @atarraya/nestcli
$ nestcli COMMAND
running command...
USAGE
...
Commands
nestcli help
Display help about use this CLI
USAGE
$ nestcli help
DESCRIPTION
Display help about use this CLI
See code: dist/commands/help/index.ts
nestcli new NAME
Create a new NestJs project
USAGE
$ nestcli new [NAME] [-t http|microservice|hybrid] [--auth apiKey|jwt|all|none] [--db
postgres|mongodb|mysql|mariadb|mssql|none] [-h] [-n <value>]
ARGUMENTS
NAME Name of project (kebab-case)
FLAGS
-h, --healthchecks Add healthchecks to project
-n, --dockerNodeImage=<value> Docker NodeJs image
-t, --type=<option> Type of project
<options: http|microservice|hybrid>
--auth=<option> Especify an strategy
<options: apiKey|jwt|all|none>
--db=<option> Database driver (just for http/hybrids projects)
<options: postgres|mongodb|mysql|mariadb|mssql|none>
DESCRIPTION
Create a new NestJs project
See code: dist/commands/new/index.ts
nestcli help
Display help about use this CLI
USAGE
$ nestcli help
DESCRIPTION
Display help about use this CLI
nestcli new project-name
Create a new NestJs project
USAGE
$ nestcli new <project-name>
DESCRIPTION
Create a new NestJs project