nestjs-console

A nestjs module that provide a cli to your application.

MIT License

Downloads
117.4K
Stars
543
Committers
17

Bot releases are visible (Hide)

nestjs-console - Release v9.0.0 Latest Release

Published by github-actions[bot] over 1 year ago

What's Changed

New Contributors

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

nestjs-console - Release v7.0.1

Published by github-actions[bot] almost 3 years ago

What's Changed

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

nestjs-console - Release v7.0.0

Published by github-actions[bot] about 3 years ago

nestjs-console - Release v6.0.0

Published by github-actions[bot] over 3 years ago

What's Changed

New Contributors

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

nestjs-console - Release v5.0.1

Published by github-actions[bot] over 3 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

nestjs-console - Release v4.0.0

Published by github-actions[bot] about 4 years ago

nestjs-console - Release v3.1.2

Published by github-actions[bot] about 4 years ago

nestjs-console - Release v3.1.1

Published by github-actions[bot] about 4 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 instead [option])

nestjs-console - Release v3.0.6

Published by github-actions[bot] over 4 years ago

nestjs-console - Release v3.0.5

Published by github-actions[bot] over 4 years ago

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

nestjs-console - Release v3.0.4

Published by github-actions[bot] over 4 years ago

  • Update dependencies
  • Remove ignored files from npm build
  • Fix #140 replace esModuleInterop by allowSyntheticDefaultImports
nestjs-console - Release v3.0.2

Published by github-actions[bot] over 4 years ago

nestjs-console - Release v2.0.3

Published by github-actions[bot] over 4 years ago

nestjs-console - Release v2.1.0

Published by github-actions[bot] over 4 years ago

nestjs-console - Release v2.0.2

Published by github-actions[bot] over 4 years ago

nestjs-console - Release v2.0.1

Published by github-actions[bot] almost 5 years ago

nestjs-console - Release v2.0.0

Published by github-actions[bot] almost 5 years ago

nestjs-console - Release v1.2.2

Published by github-actions[bot] almost 5 years ago

nestjs-console - Release v1.2.1

Published by github-actions[bot] almost 5 years ago