JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q23440F
  • License MIT

CLI for scaffolding NestJs projects

Package Exports

  • @atarraya/creatorcli
  • @atarraya/creatorcli/src/cli.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@atarraya/creatorcli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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