Comparing version 1.0.0-alpha8 to 1.0.0-alpha9
@@ -48,2 +48,3 @@ 'use strict'; | ||
var parentPath = arguments.length <= 3 || arguments[3] === undefined ? '' : arguments[3]; | ||
var parentCommander = arguments.length <= 4 || arguments[4] === undefined ? '' : arguments[4]; | ||
@@ -54,3 +55,3 @@ var program = _commander2['default']; | ||
var param = parentName ? parentName + '-' + key : key; | ||
var commanderParam = parentName ? '' + parentName + capitalizeFirstLetter(key) : key; | ||
var commanderParam = parentName ? '' + parentCommander + capitalizeFirstLetter(key) : key; | ||
@@ -60,3 +61,3 @@ var objectPath = parentPath ? parentPath + '.' + key : key; | ||
if (_lodashLangIsPlainObject2['default'](toOptions[key]) && Object.keys(toOptions[key]).length > 0) { | ||
return createOptions(toOptions[key], toMetaOptions[key], param, objectPath); | ||
return createOptions(toOptions[key], toMetaOptions[key], param, objectPath, commanderParam); | ||
} | ||
@@ -63,0 +64,0 @@ |
{ | ||
"name": "roc", | ||
"version": "1.0.0-alpha8", | ||
"version": "1.0.0-alpha9", | ||
"description": "CLI for the Roc ecosystem", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
66971
548