@robinmordasiewicz/f5xc-xcsh 2.0.21-2601101304 → 2.0.21-2601130605

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
@@ -86,7 +86,7 @@ _xcsh() {
86
86
  (action)
87
87
  case ${line[1]} in
88
88
  (ai_services)
89
- _values 'command' 'query:Query the AI assistant' 'chat:Interactive AI chat mode' 'feedback:Submit feedback for AI responses' 'eval:RBAC testing mode commands'
89
+ _values 'command' 'eval:RBAC testing mode' 'query:Query the AI assistant' 'chat:Interactive AI chat mode' 'feedback:Submit feedback for AI responses'
90
90
  ;;
91
91
  (cloudstatus)
92
92
  _values 'command' 'status:Get overall cloud status indicator' 'summary:Get complete status summary' 'components:List all components and status' 'incidents:List active and recent incidents' 'maintenance:List scheduled maintenance windows'
@@ -95,10 +95,10 @@ _xcsh() {
95
95
  _values 'command' 'bash:Generate bash completion script' 'zsh:Generate zsh completion script' 'fish:Generate fish completion script'
96
96
  ;;
97
97
  (login)
98
- _values 'command' 'banner:Display xcsh banner with logo' 'profile:Manage saved connection profiles' 'context:Manage default namespace context'
98
+ _values 'command' 'list:List profiles or namespaces' 'show:Show profile or context details' 'create:Create new profiles' 'use:Switch active profile or context' 'edit:Edit profile configuration' 'delete:Delete profiles' 'banner:Display xcsh banner with logo'
99
99
  ;;
100
100
  (subscription)
101
- _values 'command' 'show:Display subscription overview' 'plan:Manage subscription plans' 'addon:Manage addon services' 'quota:View quota limits and usage' 'usage:View usage metrics' 'billing:Manage billing' 'report:Generate reports'
101
+ _values 'command' 'show:Display subscription overview' 'list:List subscription resources' 'status:Show resource status'
102
102
  ;;
103
103
  (help|quit|exit|clear|history|refresh|context|ctx)
104
104
  ;;
@@ -27,7 +27,7 @@ _xcsh_completions() {
27
27
  local domain="${words[1]}"
28
28
  case "${domain}" in
29
29
  ai_services)
30
- COMPREPLY=($(compgen -W "query chat feedback eval" -- "${cur}"))
30
+ COMPREPLY=($(compgen -W "eval query chat feedback" -- "${cur}"))
31
31
  return 0
32
32
  ;;
33
33
  ai_services/eval)
@@ -43,43 +43,43 @@ _xcsh_completions() {
43
43
  return 0
44
44
  ;;
45
45
  login)
46
- COMPREPLY=($(compgen -W "banner profile context" -- "${cur}"))
46
+ COMPREPLY=($(compgen -W "list show create use edit delete banner" -- "${cur}"))
47
47
  return 0
48
48
  ;;
49
- login/profile)
50
- COMPREPLY=($(compgen -W "list show create use edit delete" -- "${cur}"))
49
+ login/list)
50
+ COMPREPLY=($(compgen -W "profile context" -- "${cur}"))
51
51
  return 0
52
52
  ;;
53
- login/context)
54
- COMPREPLY=($(compgen -W "show set list" -- "${cur}"))
53
+ login/show)
54
+ COMPREPLY=($(compgen -W "profile context" -- "${cur}"))
55
55
  return 0
56
56
  ;;
57
- subscription)
58
- COMPREPLY=($(compgen -W "show plan addon quota usage billing report" -- "${cur}"))
57
+ login/create)
58
+ COMPREPLY=($(compgen -W "profile" -- "${cur}"))
59
59
  return 0
60
60
  ;;
61
- subscription/plan)
62
- COMPREPLY=($(compgen -W "show list" -- "${cur}"))
61
+ login/use)
62
+ COMPREPLY=($(compgen -W "profile context" -- "${cur}"))
63
63
  return 0
64
64
  ;;
65
- subscription/addon)
66
- COMPREPLY=($(compgen -W "list show status" -- "${cur}"))
65
+ login/edit)
66
+ COMPREPLY=($(compgen -W "profile" -- "${cur}"))
67
67
  return 0
68
68
  ;;
69
- subscription/quota)
70
- COMPREPLY=($(compgen -W "limits usage" -- "${cur}"))
69
+ login/delete)
70
+ COMPREPLY=($(compgen -W "profile" -- "${cur}"))
71
71
  return 0
72
72
  ;;
73
- subscription/usage)
74
- COMPREPLY=($(compgen -W "current monthly" -- "${cur}"))
73
+ subscription)
74
+ COMPREPLY=($(compgen -W "show list status" -- "${cur}"))
75
75
  return 0
76
76
  ;;
77
- subscription/billing)
78
- COMPREPLY=($(compgen -W "payment invoice" -- "${cur}"))
77
+ subscription/list)
78
+ COMPREPLY=($(compgen -W "plan addon billing-payment billing-invoice" -- "${cur}"))
79
79
  return 0
80
80
  ;;
81
- subscription/report)
82
- COMPREPLY=($(compgen -W "summary" -- "${cur}"))
81
+ subscription/status)
82
+ COMPREPLY=($(compgen -W "addon" -- "${cur}"))
83
83
  return 0
84
84
  ;;
85
85
  help | quit | exit | clear | history | refresh | context | ctx)
@@ -70,12 +70,12 @@ complete -c xcsh -n "__fish_use_subcommand" -a "waf" -d 'Request inspection, att
70
70
 
71
71
 
72
72
  # Custom domain subcommands
73
+ complete -c xcsh -n "__fish_seen_subcommand_from ai_services" -a "eval" -d 'RBAC testing mode'
74
+ complete -c xcsh -n "__fish_seen_subcommand_from ai_services; and __fish_seen_subcommand_from eval" -a "query" -d 'Eval mode AI query'
75
+ complete -c xcsh -n "__fish_seen_subcommand_from ai_services; and __fish_seen_subcommand_from eval" -a "feedback" -d 'Eval mode feedback submission'
73
76
  complete -c xcsh -n "__fish_seen_subcommand_from ai_services" -a "query" -d 'Query the AI assistant'
74
77
  complete -c xcsh -n "__fish_seen_subcommand_from ai_services" -a "chat" -d 'Interactive AI chat mode'
75
78
  complete -c xcsh -n "__fish_seen_subcommand_from ai_services" -a "feedback" -d 'Submit feedback for AI responses'
76
- complete -c xcsh -n "__fish_seen_subcommand_from ai_services" -a "eval" -d 'RBAC testing mode commands'
77
- complete -c xcsh -n "__fish_seen_subcommand_from ai_services; and __fish_seen_subcommand_from eval" -a "query" -d 'Eval mode AI query'
78
- complete -c xcsh -n "__fish_seen_subcommand_from ai_services; and __fish_seen_subcommand_from eval" -a "feedback" -d 'Eval mode feedback submission'
79
79
  complete -c xcsh -n "__fish_seen_subcommand_from cloudstatus" -a "status" -d 'Get overall cloud status indicator'
80
80
  complete -c xcsh -n "__fish_seen_subcommand_from cloudstatus" -a "summary" -d 'Get complete status summary'
81
81
  complete -c xcsh -n "__fish_seen_subcommand_from cloudstatus" -a "components" -d 'List all components and status'
@@ -84,37 +84,30 @@ complete -c xcsh -n "__fish_seen_subcommand_from cloudstatus" -a "maintenance" -
84
84
  complete -c xcsh -n "__fish_seen_subcommand_from completion" -a "bash" -d 'Generate bash completion script'
85
85
  complete -c xcsh -n "__fish_seen_subcommand_from completion" -a "zsh" -d 'Generate zsh completion script'
86
86
  complete -c xcsh -n "__fish_seen_subcommand_from completion" -a "fish" -d 'Generate fish completion script'
87
+ complete -c xcsh -n "__fish_seen_subcommand_from login" -a "list" -d 'List profiles or namespaces'
88
+ complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from list" -a "list" -d 'List all saved profiles'
89
+ complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from list" -a "list" -d 'List available namespaces'
90
+ complete -c xcsh -n "__fish_seen_subcommand_from login" -a "show" -d 'Show profile or context details'
91
+ complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from show" -a "show" -d 'Show profile details (masked credentials)'
92
+ complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from show" -a "show" -d 'Show current default namespace'
93
+ complete -c xcsh -n "__fish_seen_subcommand_from login" -a "create" -d 'Create new profiles'
94
+ complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from create" -a "create" -d 'Create a new connection profile'
95
+ complete -c xcsh -n "__fish_seen_subcommand_from login" -a "use" -d 'Switch active profile or context'
96
+ complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from use" -a "use" -d 'Switch to a different profile'
97
+ complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from use" -a "set" -d 'Set default namespace context'
98
+ complete -c xcsh -n "__fish_seen_subcommand_from login" -a "edit" -d 'Edit profile configuration'
99
+ complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from edit" -a "edit" -d 'Edit profile in $EDITOR'
100
+ complete -c xcsh -n "__fish_seen_subcommand_from login" -a "delete" -d 'Delete profiles'
101
+ complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from delete" -a "delete" -d 'Delete a saved profile with confirmation'
87
102
  complete -c xcsh -n "__fish_seen_subcommand_from login" -a "banner" -d 'Display xcsh banner with logo'
88
- complete -c xcsh -n "__fish_seen_subcommand_from login" -a "profile" -d 'Manage saved connection profiles'
89
- complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from profile" -a "list" -d 'List all saved profiles'
90
- complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from profile" -a "show" -d 'Show profile details (masked credentials)'
91
- complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from profile" -a "create" -d 'Create a new connection profile'
92
- complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from profile" -a "use" -d 'Switch to a different profile'
93
- complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from profile" -a "edit" -d 'Edit profile in $EDITOR'
94
- complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from profile" -a "delete" -d 'Delete a saved profile'
95
- complete -c xcsh -n "__fish_seen_subcommand_from login" -a "context" -d 'Manage default namespace context'
96
- complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from context" -a "show" -d 'Show current default namespace'
97
- complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from context" -a "set" -d 'Set default namespace context'
98
- complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from context" -a "list" -d 'List available namespaces'
99
103
  complete -c xcsh -n "__fish_seen_subcommand_from subscription" -a "show" -d 'Display subscription overview'
100
- complete -c xcsh -n "__fish_seen_subcommand_from subscription" -a "plan" -d 'Manage subscription plans'
101
- complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from plan" -a "show" -d 'Show current plan details'
102
- complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from plan" -a "list" -d 'List available plans'
103
- complete -c xcsh -n "__fish_seen_subcommand_from subscription" -a "addon" -d 'Manage addon services'
104
- complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from addon" -a "list" -d 'List addon services'
105
- complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from addon" -a "show" -d 'Show addon details'
106
- complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from addon" -a "status" -d 'Show addon activation status'
107
- complete -c xcsh -n "__fish_seen_subcommand_from subscription" -a "quota" -d 'View quota limits and usage'
108
- complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from quota" -a "limits" -d 'Show quota limits'
109
- complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from quota" -a "usage" -d 'Show quota usage'
110
- complete -c xcsh -n "__fish_seen_subcommand_from subscription" -a "usage" -d 'View usage metrics'
111
- complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from usage" -a "current" -d 'Show current period usage'
112
- complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from usage" -a "monthly" -d 'Show monthly usage history'
113
- complete -c xcsh -n "__fish_seen_subcommand_from subscription" -a "billing" -d 'Manage billing'
114
- complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from billing" -a "payment" -d 'Manage payment methods'
115
- complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from billing" -a "invoice" -d 'Manage invoices'
116
- complete -c xcsh -n "__fish_seen_subcommand_from subscription" -a "report" -d 'Generate reports'
117
- complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from report" -a "summary" -d 'Generate subscription report'
104
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription" -a "list" -d 'List subscription resources'
105
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from list" -a "list" -d 'List available plans'
106
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from list" -a "list" -d 'List addon services'
107
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from list" -a "list" -d 'List payment methods'
108
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from list" -a "list" -d 'List invoices'
109
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription" -a "status" -d 'Show resource status'
110
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from status" -a "status" -d 'Show addon activation status'
118
111
 
119
112
  # Action completions for API domains
120
113
  complete -c xcsh -n "__fish_seen_subcommand_from admin_console_and_ui" -a "list" -d 'List resources'