Nestjs Console Versions Save

A nestjs module that provide a cli to your application.

v9.0.0

10 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/Pop-Code/nestjs-console/compare/v7.0.1...v9.0.0

v7.0.1

2 years ago

What's Changed

Full Changelog: https://github.com/Pop-Code/nestjs-console/compare/v7.0.0...v7.0.1

v7.0.0

2 years ago

v6.0.0

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/Pop-Code/nestjs-console/compare/v5.0.1...v6.0.0

v5.0.1

2 years ago

BREAKING CHANGE

  • Signature of @Console decorator has been updated.
    ConsoleOptions has been replaced by CreateCommandOptions, to update from ^4.0.0 you simply have to change property name by command.
    eg: @Console({name: "myCommand"}) => @Console({command: "myCommand"})
  • Command handler signature has changed. Options are now passed to the handler. See the command handler signature for more details
  • Commander@< 7.2.0 is not any more supported. Please upgrade to latest version npm install commander@^7.2.0 or using yarn yarn add commander@^7.2.0
  • The helper formatResponse has been removed

Changed

  • Update tests
  • Remove calls to command.exitOverride() to simplify code
  • Native errors handling with commander
  • update docs
  • update dependencies
  • Update to work with [email protected]

Added

  • All commands and sub commands are stored in the ConsoleService and can be found using the ConsoleService.getCommand(name: string). Name is a command path separated by dots. eg: parent.command.subcommand
  • Sub commands can now be registered on other subCommand without any args. If a parent command define options, they can be retrieved using command.parent.opts() inside the executed subCommand. This allow you to create group of command with global options based on parent options

What's Changed

New Contributors

Full Changelog: https://github.com/Pop-Code/nestjs-console/compare/v4.0.0...v5.0.1

v4.0.0

3 years ago

v3.1.2

3 years ago

v3.1.1

3 years ago

Changed

Update dependencies Update commander to v6

Added

Support required options (Warning, required options means option is required not the value. To force a required value use

v3.0.6

3 years ago

v3.0.5

4 years ago

Fix #140 and Fix #145 remove allowSyntheticDefaultImports to fit default nest application