@optique/man 0.10.0-dev.363 → 0.10.0-dev.368
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 +4 -4
- package/dist/cli.js +4 -4
- package/dist/{generator-Bmnn5LVV.cjs → generator-Ce1Cp92I.cjs} +1 -1
- package/dist/{generator-DJuVin4B.js → generator-CogCcLy4.js} +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/{man-DKA-oVEE.cjs → man-BzwYMoSb.cjs} +1 -1
- package/dist/{man-BUYUKcwR.js → man-x67FIIPq.js} +1 -1
- package/dist/man.cjs +2 -2
- package/dist/man.js +2 -2
- package/dist/{roff-Cs3_UBG5.d.cts → roff-72Am6STB.d.cts} +1 -0
- package/dist/{roff-CK3-yKaY.d.ts → roff-B36zMxYc.d.ts} +1 -0
- package/dist/{roff-BOuYhZQh.js → roff-C_MiRXVS.js} +2 -0
- package/dist/{roff-BQ0kRTkl.cjs → roff-EpcecLXU.cjs} +2 -0
- package/dist/roff.cjs +1 -1
- package/dist/roff.d.cts +1 -1
- package/dist/roff.d.ts +1 -1
- package/dist/roff.js +1 -1
- package/package.json +3 -3
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-Ce1Cp92I.cjs');
|
|
3
|
+
require('./roff-EpcecLXU.cjs');
|
|
4
|
+
require('./man-BzwYMoSb.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.368+9dbf7490";
|
|
21
21
|
var license = "MIT";
|
|
22
22
|
var exports$1 = {
|
|
23
23
|
".": "./src/index.ts",
|
package/dist/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import "./roff-
|
|
3
|
-
import "./man-
|
|
4
|
-
import { generateManPageAsync } from "./generator-
|
|
2
|
+
import "./roff-C_MiRXVS.js";
|
|
3
|
+
import "./man-x67FIIPq.js";
|
|
4
|
+
import { generateManPageAsync } from "./generator-CogCcLy4.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";
|
|
@@ -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.368+9dbf7490";
|
|
21
21
|
var license = "MIT";
|
|
22
22
|
var exports = {
|
|
23
23
|
".": "./src/index.ts",
|
|
@@ -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-BzwYMoSb.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-Ce1Cp92I.cjs');
|
|
2
|
+
const require_roff = require('./roff-EpcecLXU.cjs');
|
|
3
|
+
const require_man = require('./man-BzwYMoSb.cjs');
|
|
4
4
|
|
|
5
5
|
exports.escapeHyphens = require_roff.escapeHyphens;
|
|
6
6
|
exports.escapeRoff = require_roff.escapeRoff;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { escapeHyphens, escapeRoff, formatMessageAsRoff } from "./roff-
|
|
1
|
+
import { escapeHyphens, escapeRoff, formatMessageAsRoff } from "./roff-72Am6STB.cjs";
|
|
2
2
|
import { ManPageOptions, formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-BMb0Vyt9.cjs";
|
|
3
3
|
import { Mode, ModeValue, Parser } from "@optique/core/parser";
|
|
4
4
|
import { Program } from "@optique/core/program";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { escapeHyphens, escapeRoff, formatMessageAsRoff } from "./roff-
|
|
1
|
+
import { escapeHyphens, escapeRoff, formatMessageAsRoff } from "./roff-B36zMxYc.js";
|
|
2
2
|
import { ManPageOptions, formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-tclTvdWs.js";
|
|
3
3
|
import { Program } from "@optique/core/program";
|
|
4
4
|
import { Mode, ModeValue, Parser } from "@optique/core/parser";
|
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-C_MiRXVS.js";
|
|
2
|
+
import { formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-x67FIIPq.js";
|
|
3
|
+
import { generateManPage, generateManPageAsync, generateManPageSync } from "./generator-CogCcLy4.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-EpcecLXU.cjs');
|
|
2
|
+
const require_man = require('./man-BzwYMoSb.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-C_MiRXVS.js";
|
|
2
|
+
import { formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-x67FIIPq.js";
|
|
3
3
|
|
|
4
4
|
export { formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff };
|
|
@@ -44,6 +44,7 @@ declare function escapeHyphens(text: string): string;
|
|
|
44
44
|
* | `values` | `"a" "b" "c"` (space-separated quoted) |
|
|
45
45
|
* | `envVar` | `\fBVAR\fR` (bold) |
|
|
46
46
|
* | `commandLine` | `\fBcmd\fR` (bold) |
|
|
47
|
+
* | `lineBreak` | Newline |
|
|
47
48
|
*
|
|
48
49
|
* @example
|
|
49
50
|
* ```typescript
|
|
@@ -44,6 +44,7 @@ declare function escapeHyphens(text: string): string;
|
|
|
44
44
|
* | `values` | `"a" "b" "c"` (space-separated quoted) |
|
|
45
45
|
* | `envVar` | `\fBVAR\fR` (bold) |
|
|
46
46
|
* | `commandLine` | `\fBcmd\fR` (bold) |
|
|
47
|
+
* | `lineBreak` | Newline |
|
|
47
48
|
*
|
|
48
49
|
* @example
|
|
49
50
|
* ```typescript
|
|
@@ -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 "lineBreak": return "\n";
|
|
77
78
|
case "url": return `\\fI${escapeHyphens(escapeBackslashes(term.url.href))}\\fR`;
|
|
78
79
|
default: {
|
|
79
80
|
const _exhaustive = term;
|
|
@@ -98,6 +99,7 @@ function formatTermAsRoff(term) {
|
|
|
98
99
|
* | `values` | `"a" "b" "c"` (space-separated quoted) |
|
|
99
100
|
* | `envVar` | `\fBVAR\fR` (bold) |
|
|
100
101
|
* | `commandLine` | `\fBcmd\fR` (bold) |
|
|
102
|
+
* | `lineBreak` | Newline |
|
|
101
103
|
*
|
|
102
104
|
* @example
|
|
103
105
|
* ```typescript
|
|
@@ -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 "lineBreak": return "\n";
|
|
78
79
|
case "url": return `\\fI${escapeHyphens(escapeBackslashes(term.url.href))}\\fR`;
|
|
79
80
|
default: {
|
|
80
81
|
const _exhaustive = term;
|
|
@@ -99,6 +100,7 @@ function formatTermAsRoff(term) {
|
|
|
99
100
|
* | `values` | `"a" "b" "c"` (space-separated quoted) |
|
|
100
101
|
* | `envVar` | `\fBVAR\fR` (bold) |
|
|
101
102
|
* | `commandLine` | `\fBcmd\fR` (bold) |
|
|
103
|
+
* | `lineBreak` | Newline |
|
|
102
104
|
*
|
|
103
105
|
* @example
|
|
104
106
|
* ```typescript
|
package/dist/roff.cjs
CHANGED
package/dist/roff.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { escapeHyphens, escapeRoff, formatMessageAsRoff } from "./roff-
|
|
1
|
+
import { escapeHyphens, escapeRoff, formatMessageAsRoff } from "./roff-72Am6STB.cjs";
|
|
2
2
|
export { escapeHyphens, escapeRoff, formatMessageAsRoff };
|
package/dist/roff.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { escapeHyphens, escapeRoff, formatMessageAsRoff } from "./roff-
|
|
1
|
+
import { escapeHyphens, escapeRoff, formatMessageAsRoff } from "./roff-B36zMxYc.js";
|
|
2
2
|
export { escapeHyphens, escapeRoff, formatMessageAsRoff };
|
package/dist/roff.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optique/man",
|
|
3
|
-
"version": "0.10.0-dev.
|
|
3
|
+
"version": "0.10.0-dev.368+9dbf7490",
|
|
4
4
|
"description": "Man page generator for Optique CLI parsers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"optique-man": "./dist/cli.js"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@optique/core": "0.10.0-dev.
|
|
88
|
-
"@optique/run": "0.10.0-dev.
|
|
87
|
+
"@optique/core": "0.10.0-dev.368+9dbf7490",
|
|
88
|
+
"@optique/run": "0.10.0-dev.368+9dbf7490"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@types/node": "^20.19.9",
|