1.5.0 • Published 3 years ago
@chris7ca/cmb v1.5.0
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 >= 12
- Nest Js CLI (global installation)
Installation
$ npm install -g @chris7ca/cmb
Commands
It's possible execute two commands at the moment:
Help
$ cmb help
# Shows help documnentations
Create project
$ cmb 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