@mono-labs/cli 0.0.236 → 0.0.238

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.
@@ -74,13 +74,13 @@ export function buildCommands(files) {
74
74
  `${shortcut}--${optionKey} <${optionKey}>`,
75
75
  meta.description || ''
76
76
  );
77
- if (meta.default !== undefined) setData(optionKey, meta.default);
77
+ //if (meta.default !== undefined) setData(optionKey, meta.default);
78
78
  } else {
79
79
  current = current.option(
80
80
  `${shortcut}--${optionKey}`,
81
81
  meta.description || ''
82
82
  );
83
- if (meta.default !== undefined) setData(optionKey, meta.default);
83
+ //if (meta.default !== undefined) setData(optionKey, meta.default);
84
84
  }
85
85
  });
86
86
  config.prodFlag = config.prodFlag || 'prod';
@@ -146,6 +146,8 @@ export function buildCommands(files) {
146
146
 
147
147
  const argVal = arg || configObject.argument?.default;
148
148
 
149
+ console.log('defualts', optionVals);
150
+
149
151
  mergeData({ ...optionVals, arg: argVal });
150
152
  await runMonoCommand(configObject, optionVals);
151
153
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mono-labs/cli",
3
- "version": "0.0.236",
3
+ "version": "0.0.238",
4
4
  "description": "A CLI tool for building and deploying projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types.d.ts",