Pop-Code / nestjs-console

A nestjs module that provide a cli to your application.
https://www.npmjs.com/package/nestjs-console
MIT License
561 stars 26 forks source link

required options is not supported #168

Closed Rmannn closed 4 years ago

Rmannn commented 4 years ago

The service is using cli.option() to register an option on the command. With latest version of commander, we must use requiredOption to specify a required option.

We must add a flag to specify that an option is required in the CommandOption interface of the nestjs-console module.

Documentation must be added to explain how to use and parse options and arguments. We must also test options and arguments.

Rmannn commented 4 years ago

fixed in a32d2653cb507a4eaf5c2a2fa0404c77c3057f8e