@dotenvx/dotenvx 1.6.3 → 1.6.4

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.
package/CHANGELOG.md CHANGED
@@ -2,7 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- ## [Unreleased](https://github.com/dotenvx/dotenvx/compare/v1.6.3...main)
5
+ ## [Unreleased](https://github.com/dotenvx/dotenvx/compare/v1.6.4...main)
6
+
7
+ ## 1.6.4
8
+
9
+ ### Changed
10
+
11
+ * fix `dotenvx help` (command was missing)
6
12
 
7
13
  ## 1.6.3
8
14
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.6.3",
2
+ "version": "1.6.4",
3
3
  "name": "@dotenvx/dotenvx",
4
4
  "description": "a better dotenv–from the creator of `dotenv`",
5
5
  "author": "@motdotla",
@@ -30,7 +30,7 @@ program
30
30
  setLogLevel(options)
31
31
  })
32
32
 
33
- program.addHelpText('after', ' pro 🏆 pro')
33
+ program.addHelpText('after', ' pro 🏆 pro\n')
34
34
 
35
35
  program
36
36
  .argument('[command]', 'dynamic command')
@@ -181,6 +181,21 @@ program.command('scan')
181
181
  scanAction.apply(this, args)
182
182
  })
183
183
 
184
+ program.command('help [command]')
185
+ .description('display help for command')
186
+ .action((command) => {
187
+ if (command) {
188
+ const subCommand = program.commands.find(c => c.name() === command)
189
+ if (subCommand) {
190
+ subCommand.outputHelp()
191
+ } else {
192
+ program.outputHelp()
193
+ }
194
+ } else {
195
+ program.outputHelp()
196
+ }
197
+ })
198
+
184
199
  // overide helpInformation to hide DEPRECATED commands
185
200
  program.helpInformation = function () {
186
201
  const originalHelp = Command.prototype.helpInformation.call(this)