@shell-shock/plugin-help 0.2.37 → 0.2.39
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.
|
@@ -6,7 +6,7 @@ let _alloy_js_core = require("@alloy-js/core");
|
|
|
6
6
|
let _shell_shock_core_plugin_utils = require("@shell-shock/core/plugin-utils");
|
|
7
7
|
let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
8
8
|
let defu = require("defu");
|
|
9
|
-
defu = require_runtime.__toESM(defu);
|
|
9
|
+
defu = require_runtime.__toESM(defu, 1);
|
|
10
10
|
let _powerlines_plugin_alloy_core_components_spacing = require("@powerlines/plugin-alloy/core/components/spacing");
|
|
11
11
|
let _powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
|
|
12
12
|
let _shell_shock_plugin_theme_contexts_theme = require("@shell-shock/plugin-theme/contexts/theme");
|
|
@@ -109,7 +109,7 @@ function HelpBuiltin(props) {
|
|
|
109
109
|
return Object.keys(command.children).length > 0;
|
|
110
110
|
},
|
|
111
111
|
get children() {
|
|
112
|
-
return _alloy_js_core.code`help(\`Running a specific command with the help flag (via: \${inlineCode("${(0, _shell_shock_core_plugin_utils.getAppBin)(context)}${command.segments && command.segments.length > 0 ? ` ${command.segments.join(" ")}` : ""} <
|
|
112
|
+
return _alloy_js_core.code`help(\`Running a specific command with the help flag (via: \${inlineCode("${(0, _shell_shock_core_plugin_utils.getAppBin)(context)}${command.segments && command.segments.length > 0 ? ` ${command.segments.join(" ")}` : ""} <command> --help")}) or the help command with the specific command as arguments (via: \${inlineCode("${(0, _shell_shock_core_plugin_utils.getAppBin)(context)}${command.segments && command.segments.length > 0 ? ` ${command.segments.join(" ")}` : ""} help <command>")}) will provide additional information that is specific to that command.\`);
|
|
113
113
|
writeLine("");`;
|
|
114
114
|
}
|
|
115
115
|
})
|
|
@@ -106,7 +106,7 @@ function HelpBuiltin(props) {
|
|
|
106
106
|
return Object.keys(command.children).length > 0;
|
|
107
107
|
},
|
|
108
108
|
get children() {
|
|
109
|
-
return code`help(\`Running a specific command with the help flag (via: \${inlineCode("${getAppBin(context)}${command.segments && command.segments.length > 0 ? ` ${command.segments.join(" ")}` : ""} <
|
|
109
|
+
return code`help(\`Running a specific command with the help flag (via: \${inlineCode("${getAppBin(context)}${command.segments && command.segments.length > 0 ? ` ${command.segments.join(" ")}` : ""} <command> --help")}) or the help command with the specific command as arguments (via: \${inlineCode("${getAppBin(context)}${command.segments && command.segments.length > 0 ? ` ${command.segments.join(" ")}` : ""} help <command>")}) will provide additional information that is specific to that command.\`);
|
|
110
110
|
writeLine("");`;
|
|
111
111
|
}
|
|
112
112
|
})
|
package/dist/index.cjs
CHANGED
|
@@ -9,14 +9,14 @@ let _powerlines_plugin_alloy_core_components = require("@powerlines/plugin-alloy
|
|
|
9
9
|
let _powerlines_plugin_alloy_render = require("@powerlines/plugin-alloy/render");
|
|
10
10
|
let _shell_shock_core_plugin_utils = require("@shell-shock/core/plugin-utils");
|
|
11
11
|
let _shell_shock_plugin_console = require("@shell-shock/plugin-console");
|
|
12
|
-
_shell_shock_plugin_console = require_runtime.__toESM(_shell_shock_plugin_console);
|
|
12
|
+
_shell_shock_plugin_console = require_runtime.__toESM(_shell_shock_plugin_console, 1);
|
|
13
13
|
let _shell_shock_plugin_theme = require("@shell-shock/plugin-theme");
|
|
14
|
-
_shell_shock_plugin_theme = require_runtime.__toESM(_shell_shock_plugin_theme);
|
|
14
|
+
_shell_shock_plugin_theme = require_runtime.__toESM(_shell_shock_plugin_theme, 1);
|
|
15
15
|
let _stryke_helpers_get_unique = require("@stryke/helpers/get-unique");
|
|
16
16
|
let _stryke_path_join = require("@stryke/path/join");
|
|
17
17
|
let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
18
18
|
let defu = require("defu");
|
|
19
|
-
defu = require_runtime.__toESM(defu);
|
|
19
|
+
defu = require_runtime.__toESM(defu, 1);
|
|
20
20
|
|
|
21
21
|
//#region src/index.tsx
|
|
22
22
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shell-shock/plugin-help",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.39",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing a Shell Shock plugin to provide help and documentation for the local application's commands.",
|
|
6
6
|
"keywords": [
|
|
@@ -153,24 +153,24 @@
|
|
|
153
153
|
"dependencies": {
|
|
154
154
|
"@alloy-js/core": "^0.23.1",
|
|
155
155
|
"@alloy-js/typescript": "^0.23.0",
|
|
156
|
-
"@powerlines/deepkit": "^0.9.
|
|
157
|
-
"@powerlines/plugin-alloy": "^0.26.
|
|
158
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
159
|
-
"@shell-shock/core": "0.17.
|
|
160
|
-
"@shell-shock/plugin-console": "0.2.
|
|
161
|
-
"@shell-shock/plugin-theme": "0.4.
|
|
156
|
+
"@powerlines/deepkit": "^0.9.88",
|
|
157
|
+
"@powerlines/plugin-alloy": "^0.26.227",
|
|
158
|
+
"@powerlines/plugin-plugin": "^0.12.546",
|
|
159
|
+
"@shell-shock/core": "0.17.21",
|
|
160
|
+
"@shell-shock/plugin-console": "0.2.25",
|
|
161
|
+
"@shell-shock/plugin-theme": "0.4.34",
|
|
162
162
|
"@stryke/helpers": "^0.10.24",
|
|
163
163
|
"@stryke/path": "^0.29.11",
|
|
164
164
|
"@stryke/string-format": "^0.17.26",
|
|
165
165
|
"@stryke/type-checks": "^0.6.17",
|
|
166
166
|
"@stryke/types": "^0.12.12",
|
|
167
167
|
"defu": "^6.1.7",
|
|
168
|
-
"powerlines": "^0.47.
|
|
168
|
+
"powerlines": "^0.47.134"
|
|
169
169
|
},
|
|
170
170
|
"devDependencies": {
|
|
171
|
-
"@powerlines/plugin-deepkit": "^0.11.
|
|
172
|
-
"@types/node": "^25.9.
|
|
171
|
+
"@powerlines/plugin-deepkit": "^0.11.477",
|
|
172
|
+
"@types/node": "^25.9.3"
|
|
173
173
|
},
|
|
174
174
|
"publishConfig": { "access": "public" },
|
|
175
|
-
"gitHead": "
|
|
175
|
+
"gitHead": "0876468f621d3b455f99de7dc3ebdd3af8883842"
|
|
176
176
|
}
|