@robinmordasiewicz/f5xc-xcsh 6.37.0 → 6.38.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
@@ -13,6 +13,7 @@ _xcsh() {
13
13
  '--no-color[Disable color output]'
14
14
  '(-o --output)'{-o,--output}'[Output format]:format:(json yaml table)'
15
15
  '(-ns --namespace)'{-ns,--namespace}'[Namespace]:namespace:_xcsh_namespaces'
16
+ '--spec[Output command specification as JSON for AI assistants]'
16
17
  )
17
18
 
18
19
  _arguments -C \
@@ -224,6 +225,7 @@ _xcsh() {
224
225
  '--limit[Maximum results]:limit:'
225
226
  '--label[Filter by label]:label:'
226
227
  '(-f --file)'{-f,--file}'[Configuration file]:file:_files'
228
+ '--spec[Output command specification as JSON for AI assistants]'
227
229
  )
228
230
  _arguments "${action_opts[@]}"
229
231
  ;;
@@ -9,7 +9,7 @@ _xcsh_completions() {
9
9
  local commands="admin_console_and_ui 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 generative_ai 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 ai genai assistant 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"
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"
12
- local global_flags="--help -h --version -v --no-color --output -o --namespace -ns"
12
+ local global_flags="--help -h --version -v --no-color --output -o --namespace -ns --spec"
13
13
 
14
14
  # Handle completion based on position
15
15
  case ${cword} in
@@ -59,7 +59,7 @@ _xcsh_completions() {
59
59
  *)
60
60
  # Third+ word: flags
61
61
  if [[ "${cur}" == -* ]]; then
62
- local action_flags="--name -n --namespace -ns --output -o --json --yaml --limit --label"
62
+ local action_flags="--name -n --namespace -ns --output -o --json --yaml --limit --label --spec"
63
63
  COMPREPLY=($(compgen -W "${action_flags}" -- "${cur}"))
64
64
  fi
65
65
  return 0
@@ -10,6 +10,7 @@ complete -c xcsh -s v -l version -d 'Show version number'
10
10
  complete -c xcsh -l no-color -d 'Disable color output'
11
11
  complete -c xcsh -s o -l output -d 'Output format' -xa 'json yaml table'
12
12
  complete -c xcsh -l namespace -s ns -d 'Namespace' -xa 'default system shared'
13
+ complete -c xcsh -l spec -d 'Output command specification as JSON for AI assistants'
13
14
 
14
15
  # Builtin commands
15
16
  complete -c xcsh -n "__fish_use_subcommand" -a "help" -d 'Show help information'
@@ -580,3 +581,4 @@ complete -c xcsh -l label -d 'Filter by label'
580
581
  complete -c xcsh -s f -l file -d 'Configuration file' -r
581
582
  complete -c xcsh -l force -d 'Force deletion'
582
583
  complete -c xcsh -l cascade -d 'Cascade delete'
584
+ complete -c xcsh -l spec -d 'Output command specification as JSON for AI assistants'