nest-commander
Advanced tools
Comparing version
# nest-commander | ||
## 3.12.2 | ||
### Patch Changes | ||
- 15297ce: Use attributeName to handle dashed options | ||
## 3.12.1 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "nest-commander", | ||
"version": "3.12.1", | ||
"version": "3.12.2", | ||
"description": "A module for making CLI applications with NestJS. Decorators for running commands and separating out config parsers included. This package works on top of commander.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -140,3 +140,4 @@ "use strict"; | ||
newCommand.addOption(commandOption); | ||
optionNameMap[commandOption.name()] = optionName || commandOption.name(); | ||
optionNameMap[commandOption.attributeName()] = | ||
optionName || commandOption.attributeName(); | ||
} | ||
@@ -143,0 +144,0 @@ for (const help of (_b = command.help) !== null && _b !== void 0 ? _b : []) { |
Sorry, the diff of this file is not supported yet
124321
0.1%1107
0.09%