@diplodoc/cli 4.30.0 → 4.31.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.
- package/build/index.js +5 -2
- package/build/index.js.map +2 -2
- package/package.json +1 -1
- package/src/cmd/build/index.ts +4 -0
package/build/index.js
CHANGED
|
@@ -260108,6 +260108,9 @@ function handler(args2) {
|
|
|
260108
260108
|
const userOutputFolder = (0, import_path31.resolve)(args2.output);
|
|
260109
260109
|
const tmpInputFolder = (0, import_path31.resolve)(args2.output, TMP_INPUT_FOLDER);
|
|
260110
260110
|
const tmpOutputFolder = (0, import_path31.resolve)(args2.output, TMP_OUTPUT_FOLDER);
|
|
260111
|
+
if (true) {
|
|
260112
|
+
console.log(`Using v${"4.31.0"} version`);
|
|
260113
|
+
}
|
|
260111
260114
|
try {
|
|
260112
260115
|
argv_default2.init(__spreadProps(__spreadValues({}, args2), {
|
|
260113
260116
|
rootInput: args2.input,
|
|
@@ -260217,7 +260220,7 @@ var parser3 = import_yargs.default.command(build).option("config", {
|
|
|
260217
260220
|
default: false,
|
|
260218
260221
|
describe: "Run in quiet mode. Don't write logs to stdout",
|
|
260219
260222
|
type: "boolean"
|
|
260220
|
-
}).group(["config", "strict", "quiet", "help", "version"], "Common options:").version(true ? "4.
|
|
260223
|
+
}).group(["config", "strict", "quiet", "help", "version"], "Common options:").version(true ? "4.31.0" : "").help();
|
|
260221
260224
|
var Build = class extends BaseProgram(command, {
|
|
260222
260225
|
config: {
|
|
260223
260226
|
// scope: 'build',
|
|
@@ -264665,7 +264668,7 @@ var Program = class extends BaseProgram("Program", {
|
|
|
264665
264668
|
constructor() {
|
|
264666
264669
|
super(...arguments);
|
|
264667
264670
|
this.command = new Command2(NAME).helpOption(true).allowUnknownOption(false).version(
|
|
264668
|
-
true ? "4.
|
|
264671
|
+
true ? "4.31.0" : "",
|
|
264669
264672
|
"--version",
|
|
264670
264673
|
"Output the version number"
|
|
264671
264674
|
).usage(USAGE);
|