@crustjs/extensions 0.3.6 → 0.4.0

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -1331,7 +1331,7 @@ function formatFlagsSection(flags) {
1331
1331
  const lines = [bold(cyan("Options:"))];
1332
1332
  for (const flag of flags) {
1333
1333
  const rendered = `${padEnd(cyan(flag.spellings.join(", ")), FLAG_COLUMN_WIDTH, " ")} `;
1334
- lines.push(` ${rendered}${formatDescription(flag.description, flag.default, flag.choices, dim)}`.trimEnd());
1334
+ lines.push(` ${rendered}${formatDescription(flag.description, flag.default, flag.choices, dim, flag.env?.name)}`.trimEnd());
1335
1335
  }
1336
1336
  return lines;
1337
1337
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crustjs/extensions",
3
- "version": "0.3.6",
3
+ "version": "0.4.0",
4
4
  "description": "Official Extensions for the Crust CLI framework",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -52,11 +52,11 @@
52
52
  },
53
53
  "devDependencies": {
54
54
  "@crustjs/config": "0.0.0",
55
- "@crustjs/core": "0.3.6",
55
+ "@crustjs/core": "0.4.0",
56
56
  "tsdown": "^0.23.0"
57
57
  },
58
58
  "peerDependencies": {
59
- "@crustjs/core": "^0.3.6",
59
+ "@crustjs/core": "^0.4.0",
60
60
  "typescript": "^7.0.0"
61
61
  },
62
62
  "peerDependenciesMeta": {