@mono-labs/cli 0.0.117 → 0.0.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -136,7 +136,8 @@ export function buildCommands(files) {
|
|
|
136
136
|
// });
|
|
137
137
|
console.log('optionsData:', optionsData);
|
|
138
138
|
console.log('envDefaults', envDefaults);
|
|
139
|
-
|
|
139
|
+
console.log('cmd', cmd);
|
|
140
|
+
const optionVals = { ...envDefaults, ...(cmd.opts ? cmd.opts() : cmd) };
|
|
140
141
|
console.log('optionVals before verify:', optionVals);
|
|
141
142
|
Object.keys(optionVals).forEach((k) => {
|
|
142
143
|
optionVals[k] = verifyOptionValue(k, optionVals[k], optionsData);
|