@optique/man 0.10.0-dev.328 → 0.10.0-dev.330
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/dist/cli.cjs +5 -5
- package/dist/cli.js +6 -6
- package/dist/{generator-DFTQgmHv.cjs → generator-Bmnn5LVV.cjs} +1 -1
- package/dist/{generator-DQks_OLj.js → generator-DJuVin4B.js} +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/dist/{man-BmhJz56F.js → man-BUYUKcwR.js} +1 -1
- package/dist/{man-K9LPAprq.cjs → man-DKA-oVEE.cjs} +1 -1
- package/dist/man.cjs +2 -2
- package/dist/man.js +2 -2
- package/dist/{roff-i3JSYqke.js → roff-BOuYhZQh.js} +1 -0
- package/dist/{roff-DzxoXJIL.cjs → roff-BQ0kRTkl.cjs} +1 -0
- package/dist/roff.cjs +1 -1
- package/dist/roff.js +1 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const require_generator = require('./generator-
|
|
3
|
-
require('./roff-
|
|
4
|
-
require('./man-
|
|
2
|
+
const require_generator = require('./generator-Bmnn5LVV.cjs');
|
|
3
|
+
require('./roff-BQ0kRTkl.cjs');
|
|
4
|
+
require('./man-DKA-oVEE.cjs');
|
|
5
5
|
const __optique_core_constructs = require_generator.__toESM(require("@optique/core/constructs"));
|
|
6
6
|
const __optique_core_primitives = require_generator.__toESM(require("@optique/core/primitives"));
|
|
7
7
|
const __optique_core_valueparser = require_generator.__toESM(require("@optique/core/valueparser"));
|
|
@@ -17,7 +17,7 @@ const node_url = require_generator.__toESM(require("node:url"));
|
|
|
17
17
|
|
|
18
18
|
//#region deno.json
|
|
19
19
|
var name = "@optique/man";
|
|
20
|
-
var version = "0.10.0-dev.
|
|
20
|
+
var version = "0.10.0-dev.330+04823df7";
|
|
21
21
|
var license = "MIT";
|
|
22
22
|
var exports$1 = {
|
|
23
23
|
".": "./src/index.ts",
|
|
@@ -127,7 +127,7 @@ Write output to a file:
|
|
|
127
127
|
Override the program name:
|
|
128
128
|
|
|
129
129
|
${(0, __optique_core_message.commandLine)("optique-man ./src/cli.ts -s 1 --name myapp")}`,
|
|
130
|
-
bugs: __optique_core_message.message`Report bugs to:
|
|
130
|
+
bugs: __optique_core_message.message`Report bugs to: ${(0, __optique_core_message.url)("https://github.com/dahlia/optique/issues")}.`
|
|
131
131
|
}
|
|
132
132
|
});
|
|
133
133
|
/**
|
package/dist/cli.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import "./roff-
|
|
3
|
-
import "./man-
|
|
4
|
-
import { generateManPageAsync } from "./generator-
|
|
2
|
+
import "./roff-BOuYhZQh.js";
|
|
3
|
+
import "./man-BUYUKcwR.js";
|
|
4
|
+
import { generateManPageAsync } from "./generator-DJuVin4B.js";
|
|
5
5
|
import { object } from "@optique/core/constructs";
|
|
6
6
|
import { argument, option } from "@optique/core/primitives";
|
|
7
7
|
import { choice, string } from "@optique/core/valueparser";
|
|
8
8
|
import { optional, withDefault } from "@optique/core/modifiers";
|
|
9
|
-
import { commandLine, message, metavar, optionName } from "@optique/core/message";
|
|
9
|
+
import { commandLine, message, metavar, optionName, url } from "@optique/core/message";
|
|
10
10
|
import { defineProgram } from "@optique/core/program";
|
|
11
11
|
import { printError, runSync } from "@optique/run";
|
|
12
12
|
import { existsSync } from "node:fs";
|
|
@@ -17,7 +17,7 @@ import { fileURLToPath, pathToFileURL } from "node:url";
|
|
|
17
17
|
|
|
18
18
|
//#region deno.json
|
|
19
19
|
var name = "@optique/man";
|
|
20
|
-
var version = "0.10.0-dev.
|
|
20
|
+
var version = "0.10.0-dev.330+04823df7";
|
|
21
21
|
var license = "MIT";
|
|
22
22
|
var exports = {
|
|
23
23
|
".": "./src/index.ts",
|
|
@@ -127,7 +127,7 @@ Write output to a file:
|
|
|
127
127
|
Override the program name:
|
|
128
128
|
|
|
129
129
|
${commandLine("optique-man ./src/cli.ts -s 1 --name myapp")}`,
|
|
130
|
-
bugs: message`Report bugs to:
|
|
130
|
+
bugs: message`Report bugs to: ${url("https://github.com/dahlia/optique/issues")}.`
|
|
131
131
|
}
|
|
132
132
|
});
|
|
133
133
|
/**
|
|
@@ -21,7 +21,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
21
21
|
}) : target, mod));
|
|
22
22
|
|
|
23
23
|
//#endregion
|
|
24
|
-
const require_man = require('./man-
|
|
24
|
+
const require_man = require('./man-DKA-oVEE.cjs');
|
|
25
25
|
const __optique_core_parser = __toESM(require("@optique/core/parser"));
|
|
26
26
|
|
|
27
27
|
//#region src/generator.ts
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_generator = require('./generator-
|
|
2
|
-
const require_roff = require('./roff-
|
|
3
|
-
const require_man = require('./man-
|
|
1
|
+
const require_generator = require('./generator-Bmnn5LVV.cjs');
|
|
2
|
+
const require_roff = require('./roff-BQ0kRTkl.cjs');
|
|
3
|
+
const require_man = require('./man-DKA-oVEE.cjs');
|
|
4
4
|
|
|
5
5
|
exports.escapeHyphens = require_roff.escapeHyphens;
|
|
6
6
|
exports.escapeRoff = require_roff.escapeRoff;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { escapeHyphens, escapeRoff, formatMessageAsRoff } from "./roff-
|
|
2
|
-
import { formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-
|
|
3
|
-
import { generateManPage, generateManPageAsync, generateManPageSync } from "./generator-
|
|
1
|
+
import { escapeHyphens, escapeRoff, formatMessageAsRoff } from "./roff-BOuYhZQh.js";
|
|
2
|
+
import { formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-BUYUKcwR.js";
|
|
3
|
+
import { generateManPage, generateManPageAsync, generateManPageSync } from "./generator-DJuVin4B.js";
|
|
4
4
|
|
|
5
5
|
export { escapeHyphens, escapeRoff, formatDateForMan, formatDocPageAsMan, formatMessageAsRoff, formatUsageTermAsRoff, generateManPage, generateManPageAsync, generateManPageSync };
|
package/dist/man.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require('./roff-
|
|
2
|
-
const require_man = require('./man-
|
|
1
|
+
require('./roff-BQ0kRTkl.cjs');
|
|
2
|
+
const require_man = require('./man-DKA-oVEE.cjs');
|
|
3
3
|
|
|
4
4
|
exports.formatDateForMan = require_man.formatDateForMan;
|
|
5
5
|
exports.formatDocPageAsMan = require_man.formatDocPageAsMan;
|
package/dist/man.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./roff-
|
|
2
|
-
import { formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-
|
|
1
|
+
import "./roff-BOuYhZQh.js";
|
|
2
|
+
import { formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-BUYUKcwR.js";
|
|
3
3
|
|
|
4
4
|
export { formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff };
|
|
@@ -74,6 +74,7 @@ function formatTermAsRoff(term) {
|
|
|
74
74
|
return term.values.map((v) => `"${escapeBackslashes(v)}"`).join(" ");
|
|
75
75
|
case "envVar": return `\\fB${escapeBackslashes(term.envVar)}\\fR`;
|
|
76
76
|
case "commandLine": return `\\fB${escapeHyphens(escapeBackslashes(term.commandLine))}\\fR`;
|
|
77
|
+
case "url": return `\\fI${escapeHyphens(escapeBackslashes(term.url.href))}\\fR`;
|
|
77
78
|
default: {
|
|
78
79
|
const _exhaustive = term;
|
|
79
80
|
throw new TypeError(`Unknown message term type: ${_exhaustive.type}.`);
|
|
@@ -75,6 +75,7 @@ function formatTermAsRoff(term) {
|
|
|
75
75
|
return term.values.map((v) => `"${escapeBackslashes(v)}"`).join(" ");
|
|
76
76
|
case "envVar": return `\\fB${escapeBackslashes(term.envVar)}\\fR`;
|
|
77
77
|
case "commandLine": return `\\fB${escapeHyphens(escapeBackslashes(term.commandLine))}\\fR`;
|
|
78
|
+
case "url": return `\\fI${escapeHyphens(escapeBackslashes(term.url.href))}\\fR`;
|
|
78
79
|
default: {
|
|
79
80
|
const _exhaustive = term;
|
|
80
81
|
throw new TypeError(`Unknown message term type: ${_exhaustive.type}.`);
|
package/dist/roff.cjs
CHANGED
package/dist/roff.js
CHANGED