nest-clean
Nestjs Clean Architecture CLI Tool
As an example, the resulting folder structure could end like this:
todo |_application |_command |_create-todo.command |_create-todo.handler |_domain |_event |_todo-created |_exception |_todo-id-already-registered |_model |_todo |_todo-id |_todo-title |_todo-is-complete |_repository |_todos |_infrastructure |_controller |_rest-todo |_dto |_todo |_repository |_mysql-todos
Usage
$ npm install -g nest-clean$ nest-clean COMMANDrunning command...$ nest-clean (-v|--version|version)nest-clean/1.0.2 win32-x64 node-v12.8.0$ nest-clean --help [COMMAND]USAGE $ nest-clean COMMAND...
Commands
nest-clean bootstrap
Describe the command here
USAGE
$ nest-clean bootstrap
DESCRIPTION
...
Extra documentation goes here
See code: src\commands\bootstrap.js
nest-clean generate
Describe the command here
USAGE
$ nest-clean generate
DESCRIPTION
...
Extra documentation goes here
See code: src\commands\generate.js
nest-clean hello
Describe the command here
USAGE
$ nest-clean hello
OPTIONS
-n, --name=name name to print
DESCRIPTION
...
Extra documentation goes here
See code: src\commands\hello.js
nest-clean help [COMMAND]
display help for nest-clean
USAGE
$ nest-clean help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help