@antora/cli
Advanced tools
Comparing version 3.0.0-alpha.1 to 3.0.0-alpha.2
@@ -22,4 +22,9 @@ #!/usr/bin/env node | ||
function exitWithError (err, showStack, msg = undefined) { | ||
msg = showStack ? err.stack : `error: ${msg || err.message}\nAdd the --stacktrace option to see the cause.` | ||
console.error(msg) | ||
msg = `error: ${msg || err.message || err}` | ||
// NOTE: the fallback for locating the stack can likely be removed after upgrading to Asciidoctor 2 | ||
console.error( | ||
showStack | ||
? err.stack || (err.backtrace ? [msg, ...err.backtrace.slice(1)].join('\n') : `${msg} (no stack)`) | ||
: `${msg}\nAdd the --stacktrace option to see the cause.` | ||
) | ||
process.exit(1) | ||
@@ -26,0 +31,0 @@ } |
{ | ||
"name": "@antora/cli", | ||
"version": "3.0.0-alpha.1", | ||
"version": "3.0.0-alpha.2", | ||
"description": "The command line interface for Antora.", | ||
@@ -21,7 +21,7 @@ "license": "MPL-2.0", | ||
"dependencies": { | ||
"@antora/playbook-builder": "3.0.0-alpha.1", | ||
"commander": "~6.1" | ||
"@antora/playbook-builder": "3.0.0-alpha.2", | ||
"commander": "~6.2" | ||
}, | ||
"devDependencies": { | ||
"@antora/site-publisher": "3.0.0-alpha.1", | ||
"@antora/site-publisher": "3.0.0-alpha.2", | ||
"convict": "~6.0", | ||
@@ -45,3 +45,3 @@ "kapok-js": "~0.10" | ||
], | ||
"gitHead": "337ff6d2ed11e1f4d0a8ef993ddc8eaac7a73e9f" | ||
"gitHead": "997231474334311f3e5ff55d68534f5ae6e5d7ee" | ||
} |
@@ -38,3 +38,3 @@ # Antora CLI | ||
To run Antora, you'll need a playbook file and at least one content (source) repository. | ||
Consult the [evaluation quickstart](https://gitlab.com/antora/antora#readme) to find an example. | ||
Consult the [quickstart](https://docs.antora.org/antora/latest/install-and-run-quickstart/) to find an example. | ||
@@ -51,4 +51,4 @@ Once you have your content sources set up, just point the `antora` command at your playbook file: | ||
Copyright (C) 2017-2020 [OpenDevise Inc.](https://opendevise.com) and the [Antora Project](https://antora.org). | ||
Copyright (C) 2017-present [OpenDevise Inc.](https://opendevise.com) and the [Antora Project](https://antora.org). | ||
Use of this software is granted under the terms of the [Mozilla Public License Version 2.0](https://www.mozilla.org/en-US/MPL/2.0/) (MPL-2.0). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26310
153
+ Added@antora/playbook-builder@3.0.0-alpha.2(transitive)
+ Addedargparse@2.0.1(transitive)
+ Addedcommander@6.2.1(transitive)
+ Addedjs-yaml@4.0.0(transitive)
+ Addedjson5@2.2.3(transitive)
- Removed@antora/playbook-builder@3.0.0-alpha.1(transitive)
- Removedargparse@1.0.10(transitive)
- Removedcommander@6.1.0(transitive)
- Removedesprima@4.0.1(transitive)
- Removedjs-yaml@3.14.1(transitive)
- Removedjson5@2.1.3(transitive)
- Removedminimist@1.2.8(transitive)
- Removedsprintf-js@1.0.3(transitive)
Updatedcommander@~6.2