@virmator/help 13.3.7 → 13.3.9
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/help-message.d.ts +2 -2
- package/dist/help-message.js +2 -2
- package/package.json +3 -3
package/dist/help-message.d.ts
CHANGED
|
@@ -4,10 +4,10 @@ export declare enum HelpMessageSyntax {
|
|
|
4
4
|
Cli = "cli",
|
|
5
5
|
Markdown = "markdown"
|
|
6
6
|
}
|
|
7
|
-
/** Generate a help message from a list of
|
|
7
|
+
/** Generate a help message from a list of `VirmatorPlugin` instances. */
|
|
8
8
|
export declare function generateHelpMessageFromPlugins(plugins: ReadonlyArray<Readonly<Pick<VirmatorPlugin, 'cliCommands'>>>, syntax: HelpMessageSyntax, hideVirmatorExplanations?: boolean, cliWrapIfMoreThanThisManyColumns?: number): string;
|
|
9
9
|
/**
|
|
10
|
-
* Generate a help message directly from
|
|
10
|
+
* Generate a help message directly from `VirmatorPluginCliCommands`. Used by
|
|
11
11
|
* {@link generateHelpMessageFromPlugins}.
|
|
12
12
|
*/
|
|
13
13
|
export declare function generateHelpMessage(cliCommands: ReadonlyArray<Readonly<VirmatorPluginCliCommands>>, syntax: HelpMessageSyntax, hideVirmatorExplanations?: boolean, cliWrapIfMoreThanThisManyColumns?: number): string;
|
package/dist/help-message.js
CHANGED
|
@@ -13,12 +13,12 @@ function flattenCommands(cliCommands) {
|
|
|
13
13
|
return accum;
|
|
14
14
|
}, {});
|
|
15
15
|
}
|
|
16
|
-
/** Generate a help message from a list of
|
|
16
|
+
/** Generate a help message from a list of `VirmatorPlugin` instances. */
|
|
17
17
|
export function generateHelpMessageFromPlugins(plugins, syntax, hideVirmatorExplanations = false, cliWrapIfMoreThanThisManyColumns = 100) {
|
|
18
18
|
return generateHelpMessage(plugins.map((plugin) => plugin.cliCommands), syntax, hideVirmatorExplanations, cliWrapIfMoreThanThisManyColumns);
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
|
-
* Generate a help message directly from
|
|
21
|
+
* Generate a help message directly from `VirmatorPluginCliCommands`. Used by
|
|
22
22
|
* {@link generateHelpMessageFromPlugins}.
|
|
23
23
|
*/
|
|
24
24
|
export function generateHelpMessage(cliCommands, syntax, hideVirmatorExplanations = false, cliWrapIfMoreThanThisManyColumns = 100) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/help",
|
|
3
|
-
"version": "13.3.
|
|
3
|
+
"version": "13.3.9",
|
|
4
4
|
"description": "Default help plugin for virmator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@augment-vir/common": "^29.3.0",
|
|
35
35
|
"@augment-vir/node-js": "^29.3.0",
|
|
36
|
-
"@virmator/core": "^13.3.
|
|
36
|
+
"@virmator/core": "^13.3.9",
|
|
37
37
|
"run-time-assertions": "^1.5.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@types/node": "^22.5.
|
|
40
|
+
"@types/node": "^22.5.4",
|
|
41
41
|
"c8": "^10.1.2",
|
|
42
42
|
"istanbul-smart-text-reporter": "^1.1.4"
|
|
43
43
|
},
|