@optique/man 1.1.0-dev.2069 → 1.1.0-dev.2070
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-D5cbsYWL.js → generator-BJVNKvfi.js} +1 -1
- package/dist/{generator-DXD_dkL9.cjs → generator-BghOXbM1.cjs} +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/{man-B1Q2mhit.d.ts → man-C4QCIEKf.d.ts} +1 -1
- package/dist/{man-DKwa47XV.d.cts → man-D0niZIHu.d.cts} +1 -1
- package/dist/{man-CkvscTlM.cjs → man-DUUDcHjN.cjs} +2 -2
- package/dist/{man-BE1OY_lJ.js → man-KbkR3auV.js} +2 -2
- package/dist/man.cjs +2 -2
- package/dist/man.d.cts +1 -1
- package/dist/man.d.ts +1 -1
- package/dist/man.js +2 -2
- package/dist/{roff-CgYQDHBN.d.ts → roff-BbJgRI8t.d.ts} +2 -2
- package/dist/{roff-CCdIQO7B.js → roff-Bh9bsH6u.js} +2 -2
- package/dist/{roff-DJ-LkRXl.cjs → roff-C8MvQ2tL.cjs} +2 -2
- package/dist/{roff-COeDIWWF.d.cts → roff-Cc-M-Skg.d.cts} +2 -2
- 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_man = require('./man-
|
|
3
|
-
require('./roff-
|
|
4
|
-
const require_generator = require('./generator-
|
|
2
|
+
const require_man = require('./man-DUUDcHjN.cjs');
|
|
3
|
+
require('./roff-C8MvQ2tL.cjs');
|
|
4
|
+
const require_generator = require('./generator-BghOXbM1.cjs');
|
|
5
5
|
const __optique_core_constructs = require_man.__toESM(require("@optique/core/constructs"));
|
|
6
6
|
const __optique_core_primitives = require_man.__toESM(require("@optique/core/primitives"));
|
|
7
7
|
const __optique_core_valueparser = require_man.__toESM(require("@optique/core/valueparser"));
|
|
@@ -17,7 +17,7 @@ const node_url = require_man.__toESM(require("node:url"));
|
|
|
17
17
|
|
|
18
18
|
//#region deno.json
|
|
19
19
|
var name = "@optique/man";
|
|
20
|
-
var version = "1.1.0-dev.
|
|
20
|
+
var version = "1.1.0-dev.2070+40944724";
|
|
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-Bh9bsH6u.js";
|
|
3
|
+
import "./man-KbkR3auV.js";
|
|
4
|
+
import { generateManPageAsync } from "./generator-BJVNKvfi.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 = "1.1.0-dev.
|
|
20
|
+
var version = "1.1.0-dev.2070+40944724";
|
|
21
21
|
var license = "MIT";
|
|
22
22
|
var exports = {
|
|
23
23
|
".": "./src/index.ts",
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_man = require('./man-
|
|
2
|
-
const require_roff = require('./roff-
|
|
3
|
-
const require_generator = require('./generator-
|
|
1
|
+
const require_man = require('./man-DUUDcHjN.cjs');
|
|
2
|
+
const require_roff = require('./roff-C8MvQ2tL.cjs');
|
|
3
|
+
const require_generator = require('./generator-BghOXbM1.cjs');
|
|
4
4
|
|
|
5
5
|
exports.escapeHyphens = require_roff.escapeHyphens;
|
|
6
6
|
exports.escapeQuotedValue = require_roff.escapeQuotedValue;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RoffFormatOptions, escapeHyphens, escapeQuotedValue, escapeRequestArg, escapeRoff, formatMessageAsRoff } from "./roff-
|
|
2
|
-
import { ManPageOptions, formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-
|
|
1
|
+
import { RoffFormatOptions, escapeHyphens, escapeQuotedValue, escapeRequestArg, escapeRoff, formatMessageAsRoff } from "./roff-Cc-M-Skg.cjs";
|
|
2
|
+
import { ManPageOptions, formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-D0niZIHu.cjs";
|
|
3
3
|
import { Mode, ModeValue, Parser } from "@optique/core/parser";
|
|
4
4
|
import { Program } from "@optique/core/program";
|
|
5
5
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RoffFormatOptions, escapeHyphens, escapeQuotedValue, escapeRequestArg, escapeRoff, formatMessageAsRoff } from "./roff-
|
|
2
|
-
import { ManPageOptions, formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-
|
|
1
|
+
import { RoffFormatOptions, escapeHyphens, escapeQuotedValue, escapeRequestArg, escapeRoff, formatMessageAsRoff } from "./roff-BbJgRI8t.js";
|
|
2
|
+
import { ManPageOptions, formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-C4QCIEKf.js";
|
|
3
3
|
import { Program } from "@optique/core/program";
|
|
4
4
|
import { Mode, ModeValue, Parser } from "@optique/core/parser";
|
|
5
5
|
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { escapeHyphens, escapeQuotedValue, escapeRequestArg, escapeRoff, formatMessageAsRoff } from "./roff-
|
|
2
|
-
import { formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-
|
|
3
|
-
import { generateManPage, generateManPageAsync, generateManPageSync } from "./generator-
|
|
1
|
+
import { escapeHyphens, escapeQuotedValue, escapeRequestArg, escapeRoff, formatMessageAsRoff } from "./roff-Bh9bsH6u.js";
|
|
2
|
+
import { formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-KbkR3auV.js";
|
|
3
|
+
import { generateManPage, generateManPageAsync, generateManPageSync } from "./generator-BJVNKvfi.js";
|
|
4
4
|
|
|
5
5
|
export { escapeHyphens, escapeQuotedValue, escapeRequestArg, escapeRoff, formatDateForMan, formatDocPageAsMan, formatMessageAsRoff, formatUsageTermAsRoff, generateManPage, generateManPageAsync, generateManPageSync };
|
|
@@ -101,7 +101,7 @@ interface ManPageOptions {
|
|
|
101
101
|
* Formats a date for use in man pages.
|
|
102
102
|
*
|
|
103
103
|
* When a `Date` object is given, the month and year are extracted using
|
|
104
|
-
* the host's local timezone (`getMonth()
|
|
104
|
+
* the host's local timezone (`getMonth()`/`getFullYear()`). This means
|
|
105
105
|
* the same `Date` instant may produce different output on machines in
|
|
106
106
|
* different timezones. Pass a pre-formatted string (e.g., `"January 2026"`)
|
|
107
107
|
* if you need timezone-independent output.
|
|
@@ -101,7 +101,7 @@ interface ManPageOptions {
|
|
|
101
101
|
* Formats a date for use in man pages.
|
|
102
102
|
*
|
|
103
103
|
* When a `Date` object is given, the month and year are extracted using
|
|
104
|
-
* the host's local timezone (`getMonth()
|
|
104
|
+
* the host's local timezone (`getMonth()`/`getFullYear()`). This means
|
|
105
105
|
* the same `Date` instant may produce different output on machines in
|
|
106
106
|
* different timezones. Pass a pre-formatted string (e.g., `"January 2026"`)
|
|
107
107
|
* if you need timezone-independent output.
|
|
@@ -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_roff = require('./roff-
|
|
24
|
+
const require_roff = require('./roff-C8MvQ2tL.cjs');
|
|
25
25
|
const __optique_core_usage = __toESM(require("@optique/core/usage"));
|
|
26
26
|
|
|
27
27
|
//#region src/man.ts
|
|
@@ -29,7 +29,7 @@ const __optique_core_usage = __toESM(require("@optique/core/usage"));
|
|
|
29
29
|
* Formats a date for use in man pages.
|
|
30
30
|
*
|
|
31
31
|
* When a `Date` object is given, the month and year are extracted using
|
|
32
|
-
* the host's local timezone (`getMonth()
|
|
32
|
+
* the host's local timezone (`getMonth()`/`getFullYear()`). This means
|
|
33
33
|
* the same `Date` instant may produce different output on machines in
|
|
34
34
|
* different timezones. Pass a pre-formatted string (e.g., `"January 2026"`)
|
|
35
35
|
* if you need timezone-independent output.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { escapeHyphens, escapeRequestArg, escapeRoff, formatMessageAsRoff } from "./roff-
|
|
1
|
+
import { escapeHyphens, escapeRequestArg, escapeRoff, formatMessageAsRoff } from "./roff-Bh9bsH6u.js";
|
|
2
2
|
import { isDocHidden, isUsageHidden } from "@optique/core/usage";
|
|
3
3
|
|
|
4
4
|
//#region src/man.ts
|
|
@@ -6,7 +6,7 @@ import { isDocHidden, isUsageHidden } from "@optique/core/usage";
|
|
|
6
6
|
* Formats a date for use in man pages.
|
|
7
7
|
*
|
|
8
8
|
* When a `Date` object is given, the month and year are extracted using
|
|
9
|
-
* the host's local timezone (`getMonth()
|
|
9
|
+
* the host's local timezone (`getMonth()`/`getFullYear()`). This means
|
|
10
10
|
* the same `Date` instant may produce different output on machines in
|
|
11
11
|
* different timezones. Pass a pre-formatted string (e.g., `"January 2026"`)
|
|
12
12
|
* if you need timezone-independent output.
|
package/dist/man.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_man = require('./man-
|
|
2
|
-
require('./roff-
|
|
1
|
+
const require_man = require('./man-DUUDcHjN.cjs');
|
|
2
|
+
require('./roff-C8MvQ2tL.cjs');
|
|
3
3
|
|
|
4
4
|
exports.formatDateForMan = require_man.formatDateForMan;
|
|
5
5
|
exports.formatDocPageAsMan = require_man.formatDocPageAsMan;
|
package/dist/man.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ManPageOptions, ManPageSection, formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-
|
|
1
|
+
import { ManPageOptions, ManPageSection, formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-D0niZIHu.cjs";
|
|
2
2
|
export { ManPageOptions, ManPageSection, formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff };
|
package/dist/man.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ManPageOptions, ManPageSection, formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-
|
|
1
|
+
import { ManPageOptions, ManPageSection, formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-C4QCIEKf.js";
|
|
2
2
|
export { ManPageOptions, ManPageSection, formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff };
|
package/dist/man.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./roff-
|
|
2
|
-
import { formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-
|
|
1
|
+
import "./roff-Bh9bsH6u.js";
|
|
2
|
+
import { formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff } from "./man-KbkR3auV.js";
|
|
3
3
|
|
|
4
4
|
export { formatDateForMan, formatDocPageAsMan, formatUsageTermAsRoff };
|
|
@@ -33,7 +33,7 @@ declare function escapeRoff(text: string): string;
|
|
|
33
33
|
* Escapes roff-sensitive characters inside a quoted value in body text.
|
|
34
34
|
* Handles backslashes and double quotes so the value can be safely
|
|
35
35
|
* placed between literal `"` delimiters in roff text output (e.g.,
|
|
36
|
-
* `value()
|
|
36
|
+
* `value()`/`values()` message terms).
|
|
37
37
|
*
|
|
38
38
|
* This function is *not* safe for roff request arguments such as
|
|
39
39
|
* `.SH "..."`, where groff performs an extra level of escape
|
|
@@ -50,7 +50,7 @@ declare function escapeQuotedValue(text: string): string;
|
|
|
50
50
|
* (e.g., `.SH "..."`). Unlike {@link escapeQuotedValue}, this function
|
|
51
51
|
* replaces backslashes with the `\(rs` glyph instead of `\\`, because
|
|
52
52
|
* groff performs an extra level of escape interpretation on request
|
|
53
|
-
* arguments
|
|
53
|
+
* arguments—`\\` would still be parsed as an escape prefix.
|
|
54
54
|
*
|
|
55
55
|
* Line breaks (`\r\n`, `\r`, `\n`) are normalized to spaces because a
|
|
56
56
|
* raw newline would split the request line and cause the remainder to be
|
|
@@ -43,7 +43,7 @@ function escapeRoff(text) {
|
|
|
43
43
|
* Escapes roff-sensitive characters inside a quoted value in body text.
|
|
44
44
|
* Handles backslashes and double quotes so the value can be safely
|
|
45
45
|
* placed between literal `"` delimiters in roff text output (e.g.,
|
|
46
|
-
* `value()
|
|
46
|
+
* `value()`/`values()` message terms).
|
|
47
47
|
*
|
|
48
48
|
* This function is *not* safe for roff request arguments such as
|
|
49
49
|
* `.SH "..."`, where groff performs an extra level of escape
|
|
@@ -62,7 +62,7 @@ function escapeQuotedValue(text) {
|
|
|
62
62
|
* (e.g., `.SH "..."`). Unlike {@link escapeQuotedValue}, this function
|
|
63
63
|
* replaces backslashes with the `\(rs` glyph instead of `\\`, because
|
|
64
64
|
* groff performs an extra level of escape interpretation on request
|
|
65
|
-
* arguments
|
|
65
|
+
* arguments—`\\` would still be parsed as an escape prefix.
|
|
66
66
|
*
|
|
67
67
|
* Line breaks (`\r\n`, `\r`, `\n`) are normalized to spaces because a
|
|
68
68
|
* raw newline would split the request line and cause the remainder to be
|
|
@@ -44,7 +44,7 @@ function escapeRoff(text) {
|
|
|
44
44
|
* Escapes roff-sensitive characters inside a quoted value in body text.
|
|
45
45
|
* Handles backslashes and double quotes so the value can be safely
|
|
46
46
|
* placed between literal `"` delimiters in roff text output (e.g.,
|
|
47
|
-
* `value()
|
|
47
|
+
* `value()`/`values()` message terms).
|
|
48
48
|
*
|
|
49
49
|
* This function is *not* safe for roff request arguments such as
|
|
50
50
|
* `.SH "..."`, where groff performs an extra level of escape
|
|
@@ -63,7 +63,7 @@ function escapeQuotedValue(text) {
|
|
|
63
63
|
* (e.g., `.SH "..."`). Unlike {@link escapeQuotedValue}, this function
|
|
64
64
|
* replaces backslashes with the `\(rs` glyph instead of `\\`, because
|
|
65
65
|
* groff performs an extra level of escape interpretation on request
|
|
66
|
-
* arguments
|
|
66
|
+
* arguments—`\\` would still be parsed as an escape prefix.
|
|
67
67
|
*
|
|
68
68
|
* Line breaks (`\r\n`, `\r`, `\n`) are normalized to spaces because a
|
|
69
69
|
* raw newline would split the request line and cause the remainder to be
|
|
@@ -33,7 +33,7 @@ declare function escapeRoff(text: string): string;
|
|
|
33
33
|
* Escapes roff-sensitive characters inside a quoted value in body text.
|
|
34
34
|
* Handles backslashes and double quotes so the value can be safely
|
|
35
35
|
* placed between literal `"` delimiters in roff text output (e.g.,
|
|
36
|
-
* `value()
|
|
36
|
+
* `value()`/`values()` message terms).
|
|
37
37
|
*
|
|
38
38
|
* This function is *not* safe for roff request arguments such as
|
|
39
39
|
* `.SH "..."`, where groff performs an extra level of escape
|
|
@@ -50,7 +50,7 @@ declare function escapeQuotedValue(text: string): string;
|
|
|
50
50
|
* (e.g., `.SH "..."`). Unlike {@link escapeQuotedValue}, this function
|
|
51
51
|
* replaces backslashes with the `\(rs` glyph instead of `\\`, because
|
|
52
52
|
* groff performs an extra level of escape interpretation on request
|
|
53
|
-
* arguments
|
|
53
|
+
* arguments—`\\` would still be parsed as an escape prefix.
|
|
54
54
|
*
|
|
55
55
|
* Line breaks (`\r\n`, `\r`, `\n`) are normalized to spaces because a
|
|
56
56
|
* raw newline would split the request line and cause the remainder to be
|
package/dist/roff.cjs
CHANGED
package/dist/roff.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RoffFormatOptions, escapeHyphens, escapeQuotedValue, escapeRequestArg, escapeRoff, formatMessageAsRoff } from "./roff-
|
|
1
|
+
import { RoffFormatOptions, escapeHyphens, escapeQuotedValue, escapeRequestArg, escapeRoff, formatMessageAsRoff } from "./roff-Cc-M-Skg.cjs";
|
|
2
2
|
export { RoffFormatOptions, escapeHyphens, escapeQuotedValue, escapeRequestArg, escapeRoff, formatMessageAsRoff };
|
package/dist/roff.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RoffFormatOptions, escapeHyphens, escapeQuotedValue, escapeRequestArg, escapeRoff, formatMessageAsRoff } from "./roff-
|
|
1
|
+
import { RoffFormatOptions, escapeHyphens, escapeQuotedValue, escapeRequestArg, escapeRoff, formatMessageAsRoff } from "./roff-BbJgRI8t.js";
|
|
2
2
|
export { RoffFormatOptions, escapeHyphens, escapeQuotedValue, escapeRequestArg, escapeRoff, formatMessageAsRoff };
|
package/dist/roff.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { escapeHyphens, escapeQuotedValue, escapeRequestArg, escapeRoff, formatMessageAsRoff } from "./roff-
|
|
1
|
+
import { escapeHyphens, escapeQuotedValue, escapeRequestArg, escapeRoff, formatMessageAsRoff } from "./roff-Bh9bsH6u.js";
|
|
2
2
|
|
|
3
3
|
export { escapeHyphens, escapeQuotedValue, escapeRequestArg, escapeRoff, formatMessageAsRoff };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optique/man",
|
|
3
|
-
"version": "1.1.0-dev.
|
|
3
|
+
"version": "1.1.0-dev.2070",
|
|
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": "1.1.0-dev.
|
|
88
|
-
"@optique/run": "1.1.0-dev.
|
|
87
|
+
"@optique/core": "1.1.0-dev.2070+40944724",
|
|
88
|
+
"@optique/run": "1.1.0-dev.2070+40944724"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@types/node": "^20.19.9",
|