fgp-cli
v0.0.1
Published
CLI for generating resources in NestJS projects
Downloads
81
Readme
nest-cli/
├── src/
│ ├── commands/
│ │ ├── generate.ts
│ ├── index.ts
├── package.json
├── tsconfig.json
npm install -g fgp
fgp g res user
# 1. Instala Plop.js
npm install --save-dev plop
# build
npm run build
# install
npm link
# run
fgp g res user
# Crear un recurso HTML
fgp g html user user-folder
# Crear un módulo de NestJS
fgp g nest moduleName folderName
# Crear un CRUD de Express
fgp g express crudName folderName