@clerc/plugin-help 0.13.0 → 0.13.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
|
@@ -124,7 +124,7 @@ const showSubcommandHelp = (ctx, command) => {
|
|
|
124
124
|
throw new NoSuchCommandError(formatCommandName(command));
|
|
125
125
|
}
|
|
126
126
|
const sections = [];
|
|
127
|
-
generateCliDetail(sections, cli, subcommand);
|
|
127
|
+
generateCliDetail(sections, cli, ctx.isSingleCommand ? void 0 : subcommand);
|
|
128
128
|
const parameters = ((_a = subcommand.parameters) == null ? void 0 : _a.join(", ")) || "";
|
|
129
129
|
sections.push({
|
|
130
130
|
title: "Usage:",
|
package/dist/index.mjs
CHANGED
|
@@ -124,7 +124,7 @@ const showSubcommandHelp = (ctx, command) => {
|
|
|
124
124
|
throw new NoSuchCommandError(formatCommandName(command));
|
|
125
125
|
}
|
|
126
126
|
const sections = [];
|
|
127
|
-
generateCliDetail(sections, cli, subcommand);
|
|
127
|
+
generateCliDetail(sections, cli, ctx.isSingleCommand ? void 0 : subcommand);
|
|
128
128
|
const parameters = ((_a = subcommand.parameters) == null ? void 0 : _a.join(", ")) || "";
|
|
129
129
|
sections.push({
|
|
130
130
|
title: "Usage:",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clerc/plugin-help",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.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.13.
|
|
56
|
-
"@clerc/utils": "0.13.
|
|
55
|
+
"@clerc/toolkit": "0.13.1",
|
|
56
|
+
"@clerc/utils": "0.13.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@clerc/core": "0.13.
|
|
59
|
+
"@clerc/core": "0.13.1"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "puild",
|