@clerc/plugin-help 0.14.0 → 0.14.1
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/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -126,7 +126,7 @@ const showSubcommandHelp = (ctx, command) => {
|
|
|
126
126
|
}
|
|
127
127
|
const sections = [];
|
|
128
128
|
generateCliDetail(sections, cli, ctx.isSingleCommand ? void 0 : subcommand);
|
|
129
|
-
const parameters = ((_a = subcommand.parameters) == null ? void 0 : _a.join("
|
|
129
|
+
const parameters = ((_a = subcommand.parameters) == null ? void 0 : _a.join(" ")) || void 0;
|
|
130
130
|
sections.push({
|
|
131
131
|
title: "Usage:",
|
|
132
132
|
body: [`$ ${cli._name}${ctx.isSingleCommand ? "" : ` ${formatCommandName(subcommand.name)}`}${parameters ? ` ${parameters}` : ""} [flags]`]
|
package/dist/index.mjs
CHANGED
|
@@ -126,7 +126,7 @@ const showSubcommandHelp = (ctx, command) => {
|
|
|
126
126
|
}
|
|
127
127
|
const sections = [];
|
|
128
128
|
generateCliDetail(sections, cli, ctx.isSingleCommand ? void 0 : subcommand);
|
|
129
|
-
const parameters = ((_a = subcommand.parameters) == null ? void 0 : _a.join("
|
|
129
|
+
const parameters = ((_a = subcommand.parameters) == null ? void 0 : _a.join(" ")) || void 0;
|
|
130
130
|
sections.push({
|
|
131
131
|
title: "Usage:",
|
|
132
132
|
body: [`$ ${cli._name}${ctx.isSingleCommand ? "" : ` ${formatCommandName(subcommand.name)}`}${parameters ? ` ${parameters}` : ""} [flags]`]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clerc/plugin-help",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.1",
|
|
4
4
|
"author": "Ray <nn_201312@163.com> (https://github.com/so1ve)",
|
|
5
5
|
"description": "Clerc plugin help",
|
|
6
6
|
"keywords": [
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"picocolors": "^1.0.0",
|
|
55
|
-
"@clerc/toolkit": "0.14.
|
|
56
|
-
"@clerc/utils": "0.14.
|
|
55
|
+
"@clerc/toolkit": "0.14.1",
|
|
56
|
+
"@clerc/utils": "0.14.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@clerc/core": "0.14.
|
|
59
|
+
"@clerc/core": "0.14.1"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "puild",
|