1.1.3 • Published 2 years ago
@atarraya/creatorcli v1.1.3
CLI for scaffoling NestJs projects
This is a simple CLI package for helping into creating new projects based on NestJs and custom templates: Microservice and Http Service
Requiremnets
- Node Js >= 14
- Nest Js CLI (global installation)
Installation
$ npm install -g @atarraya/creatorcli
Commands
It's possible execute two commands at the moment:
Help
$ nestcli help
# Shows help documnentations
Create project
$ nestcli new <name-of-project>
# You can pass --module=<name-of-main-module> to set main module of project
# To set template pass --microservice (-m) or --httpservice (-h)
# If you work with http service, can pass --db=<type> to establish the type of database (types: mariadb | mysql | postgres | mssql | oracle)
# If you do not pass arguments, the CLI will ask for them