@robinmordasiewicz/f5xc-xcsh 6.27.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 CHANGED
@@ -167,7 +167,7 @@ _xcsh() {
167
167
  (action)
168
168
  case ${line[1]} in
169
169
  (login)
170
- _values 'command' 'show:Command' 'banner:Command' 'profile:Subcommand group' 'context:Subcommand group'
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'
@@ -27,7 +27,7 @@ _xcsh_completions() {
27
27
  local domain="${words[1]}"
28
28
  case "${domain}" in
29
29
  login)
30
- COMPREPLY=($(compgen -W "show banner profile context" -- "${cur}"))
30
+ COMPREPLY=($(compgen -W "banner profile context" -- "${cur}"))
31
31
  return 0
32
32
  ;;
33
33
  login/profile)
@@ -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.27.0") {
45313
- return "6.27.0";
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 with whoami.",
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
- commands: /* @__PURE__ */ new Map([
48670
- ["show", whoamiCommand],
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]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robinmordasiewicz/f5xc-xcsh",
3
- "version": "6.27.0",
3
+ "version": "6.28.0",
4
4
  "description": "F5 Distributed Cloud Shell - Interactive CLI for F5 XC",
5
5
  "type": "module",
6
6
  "bin": {