@robinmordasiewicz/f5xc-xcsh 6.26.0 → 6.28.0
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/completions/_xcsh +1 -1
- package/completions/xcsh.bash +1 -1
- package/completions/xcsh.fish +0 -1
- package/dist/index.js +12 -11
- package/package.json +1 -1
package/completions/_xcsh
CHANGED
|
@@ -167,7 +167,7 @@ _xcsh() {
|
|
|
167
167
|
(action)
|
|
168
168
|
case ${line[1]} in
|
|
169
169
|
(login)
|
|
170
|
-
_values 'command' '
|
|
170
|
+
_values 'command' 'banner:Command' 'profile:Subcommand group' 'context:Subcommand group'
|
|
171
171
|
;;
|
|
172
172
|
(cloudstatus)
|
|
173
173
|
_values 'command' 'status:Command' 'summary:Command' 'components:Command' 'incidents:Command' 'maintenance:Command'
|
package/completions/xcsh.bash
CHANGED
package/completions/xcsh.fish
CHANGED
|
@@ -151,7 +151,6 @@ complete -c xcsh -n "__fish_use_subcommand" -a "firewall" -d 'Alias for waf'
|
|
|
151
151
|
complete -c xcsh -n "__fish_use_subcommand" -a "appfw" -d 'Alias for waf'
|
|
152
152
|
|
|
153
153
|
# Custom domain subcommands
|
|
154
|
-
complete -c xcsh -n "__fish_seen_subcommand_from login" -a "show" -d 'Command'
|
|
155
154
|
complete -c xcsh -n "__fish_seen_subcommand_from login" -a "banner" -d 'Command'
|
|
156
155
|
complete -c xcsh -n "__fish_seen_subcommand_from login" -a "profile" -d 'Subcommand group'
|
|
157
156
|
complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from profile" -a "list" -d 'Command'
|
package/dist/index.js
CHANGED
|
@@ -45309,8 +45309,8 @@ function getLogoModeFromEnv(envPrefix) {
|
|
|
45309
45309
|
var CLI_NAME = "xcsh";
|
|
45310
45310
|
var CLI_FULL_NAME = "F5 Distributed Cloud Shell";
|
|
45311
45311
|
function getVersion() {
|
|
45312
|
-
if ("6.
|
|
45313
|
-
return "6.
|
|
45312
|
+
if ("6.28.0") {
|
|
45313
|
+
return "6.28.0";
|
|
45314
45314
|
}
|
|
45315
45315
|
if (process.env.XCSH_VERSION) {
|
|
45316
45316
|
return process.env.XCSH_VERSION;
|
|
@@ -47353,6 +47353,9 @@ var DomainRegistry = class {
|
|
|
47353
47353
|
};
|
|
47354
47354
|
}
|
|
47355
47355
|
if (args.length === 0) {
|
|
47356
|
+
if (domain.defaultCommand) {
|
|
47357
|
+
return domain.defaultCommand.execute([], session);
|
|
47358
|
+
}
|
|
47356
47359
|
return this.showDomainHelp(domain);
|
|
47357
47360
|
}
|
|
47358
47361
|
const firstArg = args[0]?.toLowerCase() ?? "";
|
|
@@ -48663,13 +48666,11 @@ var profileSubcommands = {
|
|
|
48663
48666
|
};
|
|
48664
48667
|
var loginDomain = {
|
|
48665
48668
|
name: "login",
|
|
48666
|
-
description: "Authentication, identity, and session management for F5 XC. Manage connection profiles to save and switch between tenants, handle context for namespace targeting, and verify current authentication status
|
|
48669
|
+
description: "Authentication, identity, and session management for F5 XC. Manage connection profiles to save and switch between tenants, handle context for namespace targeting, and verify current authentication status.",
|
|
48667
48670
|
descriptionShort: "Authentication and session management",
|
|
48668
48671
|
descriptionMedium: "Manage connection profiles, authentication contexts, and session identity for F5 Distributed Cloud.",
|
|
48669
|
-
|
|
48670
|
-
|
|
48671
|
-
["banner", bannerCommand]
|
|
48672
|
-
]),
|
|
48672
|
+
defaultCommand: whoamiCommand,
|
|
48673
|
+
commands: /* @__PURE__ */ new Map([["banner", bannerCommand]]),
|
|
48673
48674
|
subcommands: /* @__PURE__ */ new Map([
|
|
48674
48675
|
["profile", profileSubcommands],
|
|
48675
48676
|
["context", contextSubcommands]
|
|
@@ -52874,7 +52875,7 @@ function App2({ initialSession } = {}) {
|
|
|
52874
52875
|
);
|
|
52875
52876
|
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(Box_default, { flexDirection: "column", width, children: [
|
|
52876
52877
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Static, { items: outputItems, children: (item) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Text, { children: item.content }, item.id) }),
|
|
52877
|
-
isInitialized ? /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
|
|
52878
|
+
isInitialized && !hideStatusBar ? /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
|
|
52878
52879
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
52879
52880
|
InputBox,
|
|
52880
52881
|
{
|
|
@@ -52887,7 +52888,7 @@ function App2({ initialSession } = {}) {
|
|
|
52887
52888
|
inputKey
|
|
52888
52889
|
}
|
|
52889
52890
|
),
|
|
52890
|
-
|
|
52891
|
+
completion.isShowing && completion.suggestions.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
52891
52892
|
Suggestions,
|
|
52892
52893
|
{
|
|
52893
52894
|
suggestions: toUISuggestions(
|
|
@@ -52907,8 +52908,8 @@ function App2({ initialSession } = {}) {
|
|
|
52907
52908
|
width,
|
|
52908
52909
|
hint: statusHint
|
|
52909
52910
|
}
|
|
52910
|
-
)
|
|
52911
|
-
] }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Text, { children: "Initializing..." })
|
|
52911
|
+
)
|
|
52912
|
+
] }) : !isInitialized ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Text, { children: "Initializing..." }) : null
|
|
52912
52913
|
] });
|
|
52913
52914
|
}
|
|
52914
52915
|
|