@antora/cli 3.2.0-alpha.8 → 3.2.0-alpha.9
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/lib/cli.js +2 -2
- package/package.json +5 -5
package/lib/cli.js
CHANGED
|
@@ -112,7 +112,7 @@ cli
|
|
|
112
112
|
.description('Generate a documentation site as specified by <playbook>.')
|
|
113
113
|
.optionsFromConvict(convict(buildPlaybook.defaultSchema), { exclude: 'playbook' })
|
|
114
114
|
.trackOptions()
|
|
115
|
-
.action(async (playbookFile,
|
|
115
|
+
.action(async (playbookFile, _options, command) => {
|
|
116
116
|
const errorOpts = { stacktrace: cli.stacktrace, silent: command.silent }
|
|
117
117
|
const playbookDir = ospath.resolve(playbookFile, '..')
|
|
118
118
|
const userRequireContext = { dot: playbookDir, paths: [playbookDir, __dirname] }
|
|
@@ -152,7 +152,7 @@ cli
|
|
|
152
152
|
})
|
|
153
153
|
.options.sort((a, b) => a.long.localeCompare(b.long))
|
|
154
154
|
|
|
155
|
-
cli.command('help [command]', { hidden: true }).action((name
|
|
155
|
+
cli.command('help [command]', { hidden: true }).action((name) => {
|
|
156
156
|
if (name) {
|
|
157
157
|
const helpCommand = cli._findCommand(name)
|
|
158
158
|
if (helpCommand) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antora/cli",
|
|
3
|
-
"version": "3.2.0-alpha.
|
|
3
|
+
"version": "3.2.0-alpha.9",
|
|
4
4
|
"description": "The command line interface for Antora.",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"author": "OpenDevise Inc. (https://opendevise.com)",
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"antora": "bin/antora"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@antora/logger": "3.2.0-alpha.
|
|
33
|
-
"@antora/playbook-builder": "3.2.0-alpha.
|
|
32
|
+
"@antora/logger": "3.2.0-alpha.9",
|
|
33
|
+
"@antora/playbook-builder": "3.2.0-alpha.9",
|
|
34
34
|
"@antora/user-require-helper": "~3.0",
|
|
35
35
|
"commander": "~12.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@antora/site-generator": "3.2.0-alpha.
|
|
39
|
-
"@antora/site-publisher": "3.2.0-alpha.
|
|
38
|
+
"@antora/site-generator": "3.2.0-alpha.9",
|
|
39
|
+
"@antora/site-publisher": "3.2.0-alpha.9",
|
|
40
40
|
"@asciidoctor/core": "~2.2",
|
|
41
41
|
"convict": "~6.2",
|
|
42
42
|
"kapok-js": "~0.10"
|