Skip to content

Releases: jmcdo29/nest-commander

nest-commander@1.2.0

20 May 02:11
1479dea
Compare
Choose a tag to compare

Minor Changes

  • 7cce284: Add ability to use error handler for commander errors

    Within the CommandFactory.run() now as a second parameter you can either keep passing just the logger, or you can pass in an object with the logger and an errorHandler. Ths errorHandler is a method that takes in an Error and returns void. The errorHandler will be passed to commander's exitOverride method, if it exists. This is useful for better handling errors and giving the dev more control over what is seen. There is also no longer an unhandledPromiseRejection on empty commands.

nest-commander-schematics@1.0.0

11 Apr 17:12
4ff1d85
Compare
Choose a tag to compare

Major Changes

  • 28cc116: Releases two schematics for the angular and nest CLI's to make use of command and question. To use one, you can pass --collection nest-commander-schematic to Nest's CLI and then the schematic name followed by the name of the feature. e.g. nest g --collection nest-commander-schematics command foo.

V1.1.0

08 Apr 16:55
f96f3e6
Compare
Choose a tag to compare

Features

  • new InquirerService to allow for integration with Inquirer. Check this blog post for more info

V1.0.0

15 Jan 07:32
Compare
Choose a tag to compare

The first release of the nest-commander and nest-commander-testing packages. Most everything you need to know is in the documentation, but it'll at least be nice to have some tags to go along with things as I make updates.