@robinmordasiewicz/f5xc-xcsh 1.0.91-2601030137 → 1.0.91-2601030300

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
@@ -59,6 +59,7 @@ _xcsh() {
59
59
  'shape:Bot defense, fraud prevention, and client integrity.'
60
60
  'sites:Cloud and edge node deployments.'
61
61
  'statistics:Alerts, logs, flow analytics, and reporting.'
62
+ 'subscription:Subscription and billing management'
62
63
  'support:Tickets, escalations, and network diagnostics.'
63
64
  'telemetry_and_insights:Telemetry And Insights API'
64
65
  'tenant_and_identity:User profiles, sessions, and OTP settings.'
@@ -196,6 +197,9 @@ _xcsh() {
196
197
  ;;
197
198
  (login)
198
199
  _values 'command' 'banner:Display xcsh banner with logo' 'profile:Manage saved connection profiles' 'context:Manage default namespace context'
200
+ ;;
201
+ (subscription)
202
+ _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'
199
203
  ;;
200
204
  (help|quit|exit|clear|history|refresh|context|ctx)
201
205
  ;;
@@ -6,7 +6,7 @@ _xcsh_completions() {
6
6
  local cur prev words cword
7
7
  _init_completion || return
8
8
 
9
- local commands="admin_console_and_ui ai_services api authentication bigip billing_and_usage blindfold bot_and_threat_defense cdn ce_management certificates cloud_infrastructure cloudstatus completion container_services data_and_privacy_security data_intelligence ddos dns login managed_kubernetes marketplace network network_security nginx_one object_storage observability rate_limiting secops_and_incident_response service_mesh shape sites statistics support telemetry_and_insights tenant_and_identity threat_campaign users virtual vpm_and_node_management waf console-ui ui-assets static-components apisec api-discovery authn oidc sso f5-bigip irule ltm billing-usage quotas usage-tracking bf encrypt secrets threat-defense tpm shape-bot cache content ce-mgmt edge-management ce-lifecycle cert certs ssl tls cloud infra provider vk8s containers workloads data-privacy pii sensitive-data lma di intelligence insights dos ddos-protect dns-zone zones mk8s appstack k8s-mgmt market addons extensions net routing bgp netsec nfw nginx nms nginx-plus storage s3 buckets obs monitoring synth ratelimit throttle policer secops incident-response mitigation mesh svc-mesh shape-sec safeap site deployment stats metrics logs tickets help-desk telemetry ti tenant-identity idm user-settings threats campaigns threat-intel user accounts iam lb loadbalancer vhost vpm nodes node-mgmt firewall appfw help quit exit clear history refresh"
9
+ local commands="admin_console_and_ui ai_services api authentication bigip billing_and_usage blindfold bot_and_threat_defense cdn ce_management certificates cloud_infrastructure cloudstatus completion container_services data_and_privacy_security data_intelligence ddos dns login managed_kubernetes marketplace network network_security nginx_one object_storage observability rate_limiting secops_and_incident_response service_mesh shape sites statistics subscription support telemetry_and_insights tenant_and_identity threat_campaign users virtual vpm_and_node_management waf console-ui ui-assets static-components apisec api-discovery authn oidc sso f5-bigip irule ltm billing-usage quotas usage-tracking bf encrypt secrets threat-defense tpm shape-bot cache content ce-mgmt edge-management ce-lifecycle cert certs ssl tls cloud infra provider vk8s containers workloads data-privacy pii sensitive-data lma di intelligence insights dos ddos-protect dns-zone zones mk8s appstack k8s-mgmt market addons extensions net routing bgp netsec nfw nginx nms nginx-plus storage s3 buckets obs monitoring synth ratelimit throttle policer secops incident-response mitigation mesh svc-mesh shape-sec safeap site deployment stats metrics logs tickets help-desk telemetry ti tenant-identity idm user-settings threats campaigns threat-intel user accounts iam lb loadbalancer vhost vpm nodes node-mgmt firewall appfw help quit exit clear history refresh"
10
10
  local actions="list get create delete replace apply status patch add-labels remove-labels"
11
11
  local builtins="help quit exit clear history context ctx refresh"
12
12
  local global_flags="--help -h --version -v --no-color --output -o --namespace -ns --spec"
@@ -54,6 +54,34 @@ _xcsh_completions() {
54
54
  COMPREPLY=($(compgen -W "show set list" -- "${cur}"))
55
55
  return 0
56
56
  ;;
57
+ subscription)
58
+ COMPREPLY=($(compgen -W "show plan addon quota usage billing report" -- "${cur}"))
59
+ return 0
60
+ ;;
61
+ subscription/plan)
62
+ COMPREPLY=($(compgen -W "show list" -- "${cur}"))
63
+ return 0
64
+ ;;
65
+ subscription/addon)
66
+ COMPREPLY=($(compgen -W "list show status" -- "${cur}"))
67
+ return 0
68
+ ;;
69
+ subscription/quota)
70
+ COMPREPLY=($(compgen -W "limits usage" -- "${cur}"))
71
+ return 0
72
+ ;;
73
+ subscription/usage)
74
+ COMPREPLY=($(compgen -W "current monthly" -- "${cur}"))
75
+ return 0
76
+ ;;
77
+ subscription/billing)
78
+ COMPREPLY=($(compgen -W "payment invoice" -- "${cur}"))
79
+ return 0
80
+ ;;
81
+ subscription/report)
82
+ COMPREPLY=($(compgen -W "summary" -- "${cur}"))
83
+ return 0
84
+ ;;
57
85
  help | quit | exit | clear | history | refresh | context | ctx)
58
86
  return 0
59
87
  ;;
@@ -56,6 +56,7 @@ complete -c xcsh -n "__fish_use_subcommand" -a "service_mesh" -d 'Microservice r
56
56
  complete -c xcsh -n "__fish_use_subcommand" -a "shape" -d 'Bot defense, fraud prevention, and client integrity.'
57
57
  complete -c xcsh -n "__fish_use_subcommand" -a "sites" -d 'Cloud and edge node deployments.'
58
58
  complete -c xcsh -n "__fish_use_subcommand" -a "statistics" -d 'Alerts, logs, flow analytics, and reporting.'
59
+ complete -c xcsh -n "__fish_use_subcommand" -a "subscription" -d 'Subscription and billing management'
59
60
  complete -c xcsh -n "__fish_use_subcommand" -a "support" -d 'Tickets, escalations, and network diagnostics.'
60
61
  complete -c xcsh -n "__fish_use_subcommand" -a "telemetry_and_insights" -d 'Telemetry And Insights API'
61
62
  complete -c xcsh -n "__fish_use_subcommand" -a "tenant_and_identity" -d 'User profiles, sessions, and OTP settings.'
@@ -195,6 +196,25 @@ complete -c xcsh -n "__fish_seen_subcommand_from login" -a "context" -d 'Manage
195
196
  complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from context" -a "show" -d 'Show current default namespace'
196
197
  complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from context" -a "set" -d 'Set default namespace context'
197
198
  complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from context" -a "list" -d 'List available namespaces'
199
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription" -a "show" -d 'Display subscription overview'
200
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription" -a "plan" -d 'Manage subscription plans'
201
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from plan" -a "show" -d 'Show current plan details'
202
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from plan" -a "list" -d 'List available plans'
203
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription" -a "addon" -d 'Manage addon services'
204
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from addon" -a "list" -d 'List addon services'
205
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from addon" -a "show" -d 'Show addon details'
206
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from addon" -a "status" -d 'Show addon activation status'
207
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription" -a "quota" -d 'View quota limits and usage'
208
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from quota" -a "limits" -d 'Show quota limits'
209
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from quota" -a "usage" -d 'Show quota usage'
210
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription" -a "usage" -d 'View usage metrics'
211
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from usage" -a "current" -d 'Show current period usage'
212
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from usage" -a "monthly" -d 'Show monthly usage history'
213
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription" -a "billing" -d 'Manage billing'
214
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from billing" -a "payment" -d 'Manage payment methods'
215
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from billing" -a "invoice" -d 'Manage invoices'
216
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription" -a "report" -d 'Generate reports'
217
+ complete -c xcsh -n "__fish_seen_subcommand_from subscription; and __fish_seen_subcommand_from report" -a "summary" -d 'Generate subscription report'
198
218
 
199
219
  # Action completions for API domains
200
220
  complete -c xcsh -n "__fish_seen_subcommand_from admin_console_and_ui" -a "list" -d 'List resources'