@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 +7 -1
- package/package.json +1 -1
- package/src/cli/dotenvx.js +16 -1
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.
|
|
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
package/src/cli/dotenvx.js
CHANGED
|
@@ -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)
|