A nestjs module that provide a cli to your application.
Full Changelog: https://github.com/Pop-Code/nestjs-console/compare/v7.0.1...v9.0.0
Full Changelog: https://github.com/Pop-Code/nestjs-console/compare/v7.0.0...v7.0.1
Full Changelog: https://github.com/Pop-Code/nestjs-console/compare/v6.0.0...v7.0.0
Full Changelog: https://github.com/Pop-Code/nestjs-console/compare/v5.0.1...v6.0.0
@Console
decorator has been updated.name
by command
.@Console({name: "myCommand"})
=> @Console({command: "myCommand"})
npm install commander@^7.2.0
or using yarn yarn add commander@^7.2.0
command.exitOverride()
to simplify codeConsoleService.getCommand(name: string)
. Name is a command path separated by dots. eg: parent.command.subcommand
command.parent.opts()
inside the executed subCommand. This allow you to create group of command with global options based on parent optionsFull Changelog: https://github.com/Pop-Code/nestjs-console/compare/v4.0.0...v5.0.1
Fix #140 and Fix #145 remove allowSyntheticDefaultImports to fit default nest application