@robinmordasiewicz/f5xc-xcsh 1.0.91-2601022325 → 1.0.91-2601030100
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 +4 -8
- package/completions/xcsh.bash +9 -9
- package/completions/xcsh.fish +7 -21
- package/dist/index.js +2533 -1971
- package/package.json +1 -1
package/completions/_xcsh
CHANGED
|
@@ -27,7 +27,7 @@ _xcsh() {
|
|
|
27
27
|
local -a domains builtins
|
|
28
28
|
domains=(
|
|
29
29
|
'admin_console_and_ui:Static UI components and console assets.'
|
|
30
|
-
'ai_services:AI assistant queries and feedback
|
|
30
|
+
'ai_services:AI assistant queries and feedback'
|
|
31
31
|
'api:Interface definitions, schema validation, and grouping.'
|
|
32
32
|
'authentication:Authentication API'
|
|
33
33
|
'bigip:iRules, data groups, and APM integration.'
|
|
@@ -45,7 +45,6 @@ _xcsh() {
|
|
|
45
45
|
'data_intelligence:Data Intelligence API'
|
|
46
46
|
'ddos:Volumetric attack mitigation and traffic scrubbing.'
|
|
47
47
|
'dns:Zones, record types, and load balancing.'
|
|
48
|
-
'generative_ai:AI assistant queries and feedback'
|
|
49
48
|
'login:Authentication and session management'
|
|
50
49
|
'managed_kubernetes:Cluster RBAC, pod security, and container registries.'
|
|
51
50
|
'marketplace:Add-on services, connectors, and TPM policies.'
|
|
@@ -71,9 +70,6 @@ _xcsh() {
|
|
|
71
70
|
'console-ui:Alias for admin_console_and_ui'
|
|
72
71
|
'ui-assets:Alias for admin_console_and_ui'
|
|
73
72
|
'static-components:Alias for admin_console_and_ui'
|
|
74
|
-
'ai:Alias for ai_services'
|
|
75
|
-
'genai:Alias for ai_services'
|
|
76
|
-
'assistant:Alias for ai_services'
|
|
77
73
|
'apisec:Alias for api'
|
|
78
74
|
'api-discovery:Alias for api'
|
|
79
75
|
'authn:Alias for authentication'
|
|
@@ -189,15 +185,15 @@ _xcsh() {
|
|
|
189
185
|
;;
|
|
190
186
|
(action)
|
|
191
187
|
case ${line[1]} in
|
|
188
|
+
(ai_services)
|
|
189
|
+
_values 'command' 'query:Query the AI assistant' 'chat:Interactive AI chat mode' 'feedback:Submit feedback for AI responses' 'eval:RBAC testing mode commands'
|
|
190
|
+
;;
|
|
192
191
|
(cloudstatus)
|
|
193
192
|
_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'
|
|
194
193
|
;;
|
|
195
194
|
(completion)
|
|
196
195
|
_values 'command' 'bash:Generate bash completion script' 'zsh:Generate zsh completion script' 'fish:Generate fish completion script'
|
|
197
196
|
;;
|
|
198
|
-
(generative_ai)
|
|
199
|
-
_values 'command' 'query:Query the AI assistant' 'chat:Interactive AI chat mode' 'feedback:Submit feedback for AI responses' 'eval:RBAC testing mode commands'
|
|
200
|
-
;;
|
|
201
197
|
(login)
|
|
202
198
|
_values 'command' 'banner:Display xcsh banner with logo' 'profile:Manage saved connection profiles' 'context:Manage default namespace context'
|
|
203
199
|
;;
|
package/completions/xcsh.bash
CHANGED
|
@@ -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
|
|
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"
|
|
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"
|
|
@@ -26,20 +26,20 @@ _xcsh_completions() {
|
|
|
26
26
|
# Second word: actions or subcommands based on first word
|
|
27
27
|
local domain="${words[1]}"
|
|
28
28
|
case "${domain}" in
|
|
29
|
-
|
|
30
|
-
COMPREPLY=($(compgen -W "
|
|
29
|
+
ai_services)
|
|
30
|
+
COMPREPLY=($(compgen -W "query chat feedback eval" -- "${cur}"))
|
|
31
31
|
return 0
|
|
32
32
|
;;
|
|
33
|
-
|
|
34
|
-
COMPREPLY=($(compgen -W "
|
|
33
|
+
ai_services/eval)
|
|
34
|
+
COMPREPLY=($(compgen -W "query feedback" -- "${cur}"))
|
|
35
35
|
return 0
|
|
36
36
|
;;
|
|
37
|
-
|
|
38
|
-
COMPREPLY=($(compgen -W "
|
|
37
|
+
cloudstatus)
|
|
38
|
+
COMPREPLY=($(compgen -W "status summary components incidents maintenance" -- "${cur}"))
|
|
39
39
|
return 0
|
|
40
40
|
;;
|
|
41
|
-
|
|
42
|
-
COMPREPLY=($(compgen -W "
|
|
41
|
+
completion)
|
|
42
|
+
COMPREPLY=($(compgen -W "bash zsh fish" -- "${cur}"))
|
|
43
43
|
return 0
|
|
44
44
|
;;
|
|
45
45
|
login)
|
package/completions/xcsh.fish
CHANGED
|
@@ -24,7 +24,7 @@ complete -c xcsh -n "__fish_use_subcommand" -a "ctx" -d 'Show current navigation
|
|
|
24
24
|
|
|
25
25
|
# Domain completions
|
|
26
26
|
complete -c xcsh -n "__fish_use_subcommand" -a "admin_console_and_ui" -d 'Static UI components and console assets.'
|
|
27
|
-
complete -c xcsh -n "__fish_use_subcommand" -a "ai_services" -d 'AI assistant queries and feedback
|
|
27
|
+
complete -c xcsh -n "__fish_use_subcommand" -a "ai_services" -d 'AI assistant queries and feedback'
|
|
28
28
|
complete -c xcsh -n "__fish_use_subcommand" -a "api" -d 'Interface definitions, schema validation, and grouping.'
|
|
29
29
|
complete -c xcsh -n "__fish_use_subcommand" -a "authentication" -d 'Authentication API'
|
|
30
30
|
complete -c xcsh -n "__fish_use_subcommand" -a "bigip" -d 'iRules, data groups, and APM integration.'
|
|
@@ -42,7 +42,6 @@ complete -c xcsh -n "__fish_use_subcommand" -a "data_and_privacy_security" -d 'P
|
|
|
42
42
|
complete -c xcsh -n "__fish_use_subcommand" -a "data_intelligence" -d 'Data Intelligence API'
|
|
43
43
|
complete -c xcsh -n "__fish_use_subcommand" -a "ddos" -d 'Volumetric attack mitigation and traffic scrubbing.'
|
|
44
44
|
complete -c xcsh -n "__fish_use_subcommand" -a "dns" -d 'Zones, record types, and load balancing.'
|
|
45
|
-
complete -c xcsh -n "__fish_use_subcommand" -a "generative_ai" -d 'AI assistant queries and feedback'
|
|
46
45
|
complete -c xcsh -n "__fish_use_subcommand" -a "login" -d 'Authentication and session management'
|
|
47
46
|
complete -c xcsh -n "__fish_use_subcommand" -a "managed_kubernetes" -d 'Cluster RBAC, pod security, and container registries.'
|
|
48
47
|
complete -c xcsh -n "__fish_use_subcommand" -a "marketplace" -d 'Add-on services, connectors, and TPM policies.'
|
|
@@ -70,9 +69,6 @@ complete -c xcsh -n "__fish_use_subcommand" -a "waf" -d 'Request inspection, att
|
|
|
70
69
|
complete -c xcsh -n "__fish_use_subcommand" -a "console-ui" -d 'Alias for admin_console_and_ui'
|
|
71
70
|
complete -c xcsh -n "__fish_use_subcommand" -a "ui-assets" -d 'Alias for admin_console_and_ui'
|
|
72
71
|
complete -c xcsh -n "__fish_use_subcommand" -a "static-components" -d 'Alias for admin_console_and_ui'
|
|
73
|
-
complete -c xcsh -n "__fish_use_subcommand" -a "ai" -d 'Alias for ai_services'
|
|
74
|
-
complete -c xcsh -n "__fish_use_subcommand" -a "genai" -d 'Alias for ai_services'
|
|
75
|
-
complete -c xcsh -n "__fish_use_subcommand" -a "assistant" -d 'Alias for ai_services'
|
|
76
72
|
complete -c xcsh -n "__fish_use_subcommand" -a "apisec" -d 'Alias for api'
|
|
77
73
|
complete -c xcsh -n "__fish_use_subcommand" -a "api-discovery" -d 'Alias for api'
|
|
78
74
|
complete -c xcsh -n "__fish_use_subcommand" -a "authn" -d 'Alias for authentication'
|
|
@@ -174,6 +170,12 @@ complete -c xcsh -n "__fish_use_subcommand" -a "firewall" -d 'Alias for waf'
|
|
|
174
170
|
complete -c xcsh -n "__fish_use_subcommand" -a "appfw" -d 'Alias for waf'
|
|
175
171
|
|
|
176
172
|
# Custom domain subcommands
|
|
173
|
+
complete -c xcsh -n "__fish_seen_subcommand_from ai_services" -a "query" -d 'Query the AI assistant'
|
|
174
|
+
complete -c xcsh -n "__fish_seen_subcommand_from ai_services" -a "chat" -d 'Interactive AI chat mode'
|
|
175
|
+
complete -c xcsh -n "__fish_seen_subcommand_from ai_services" -a "feedback" -d 'Submit feedback for AI responses'
|
|
176
|
+
complete -c xcsh -n "__fish_seen_subcommand_from ai_services" -a "eval" -d 'RBAC testing mode commands'
|
|
177
|
+
complete -c xcsh -n "__fish_seen_subcommand_from ai_services; and __fish_seen_subcommand_from eval" -a "query" -d 'Eval mode AI query'
|
|
178
|
+
complete -c xcsh -n "__fish_seen_subcommand_from ai_services; and __fish_seen_subcommand_from eval" -a "feedback" -d 'Eval mode feedback submission'
|
|
177
179
|
complete -c xcsh -n "__fish_seen_subcommand_from cloudstatus" -a "status" -d 'Get overall cloud status indicator'
|
|
178
180
|
complete -c xcsh -n "__fish_seen_subcommand_from cloudstatus" -a "summary" -d 'Get complete status summary'
|
|
179
181
|
complete -c xcsh -n "__fish_seen_subcommand_from cloudstatus" -a "components" -d 'List all components and status'
|
|
@@ -182,12 +184,6 @@ complete -c xcsh -n "__fish_seen_subcommand_from cloudstatus" -a "maintenance" -
|
|
|
182
184
|
complete -c xcsh -n "__fish_seen_subcommand_from completion" -a "bash" -d 'Generate bash completion script'
|
|
183
185
|
complete -c xcsh -n "__fish_seen_subcommand_from completion" -a "zsh" -d 'Generate zsh completion script'
|
|
184
186
|
complete -c xcsh -n "__fish_seen_subcommand_from completion" -a "fish" -d 'Generate fish completion script'
|
|
185
|
-
complete -c xcsh -n "__fish_seen_subcommand_from generative_ai" -a "query" -d 'Query the AI assistant'
|
|
186
|
-
complete -c xcsh -n "__fish_seen_subcommand_from generative_ai" -a "chat" -d 'Interactive AI chat mode'
|
|
187
|
-
complete -c xcsh -n "__fish_seen_subcommand_from generative_ai" -a "feedback" -d 'Submit feedback for AI responses'
|
|
188
|
-
complete -c xcsh -n "__fish_seen_subcommand_from generative_ai" -a "eval" -d 'RBAC testing mode commands'
|
|
189
|
-
complete -c xcsh -n "__fish_seen_subcommand_from generative_ai; and __fish_seen_subcommand_from eval" -a "query" -d 'Eval mode AI query'
|
|
190
|
-
complete -c xcsh -n "__fish_seen_subcommand_from generative_ai; and __fish_seen_subcommand_from eval" -a "feedback" -d 'Eval mode feedback submission'
|
|
191
187
|
complete -c xcsh -n "__fish_seen_subcommand_from login" -a "banner" -d 'Display xcsh banner with logo'
|
|
192
188
|
complete -c xcsh -n "__fish_seen_subcommand_from login" -a "profile" -d 'Manage saved connection profiles'
|
|
193
189
|
complete -c xcsh -n "__fish_seen_subcommand_from login; and __fish_seen_subcommand_from profile" -a "list" -d 'List all saved profiles'
|
|
@@ -211,16 +207,6 @@ complete -c xcsh -n "__fish_seen_subcommand_from admin_console_and_ui" -a "statu
|
|
|
211
207
|
complete -c xcsh -n "__fish_seen_subcommand_from admin_console_and_ui" -a "patch" -d 'Patch a resource'
|
|
212
208
|
complete -c xcsh -n "__fish_seen_subcommand_from admin_console_and_ui" -a "add-labels" -d 'Add labels to a resource'
|
|
213
209
|
complete -c xcsh -n "__fish_seen_subcommand_from admin_console_and_ui" -a "remove-labels" -d 'Remove labels from a resource'
|
|
214
|
-
complete -c xcsh -n "__fish_seen_subcommand_from ai_services" -a "list" -d 'List resources'
|
|
215
|
-
complete -c xcsh -n "__fish_seen_subcommand_from ai_services" -a "get" -d 'Get a specific resource'
|
|
216
|
-
complete -c xcsh -n "__fish_seen_subcommand_from ai_services" -a "create" -d 'Create a new resource'
|
|
217
|
-
complete -c xcsh -n "__fish_seen_subcommand_from ai_services" -a "delete" -d 'Delete a resource'
|
|
218
|
-
complete -c xcsh -n "__fish_seen_subcommand_from ai_services" -a "replace" -d 'Replace a resource'
|
|
219
|
-
complete -c xcsh -n "__fish_seen_subcommand_from ai_services" -a "apply" -d 'Apply configuration from file'
|
|
220
|
-
complete -c xcsh -n "__fish_seen_subcommand_from ai_services" -a "status" -d 'Get resource status'
|
|
221
|
-
complete -c xcsh -n "__fish_seen_subcommand_from ai_services" -a "patch" -d 'Patch a resource'
|
|
222
|
-
complete -c xcsh -n "__fish_seen_subcommand_from ai_services" -a "add-labels" -d 'Add labels to a resource'
|
|
223
|
-
complete -c xcsh -n "__fish_seen_subcommand_from ai_services" -a "remove-labels" -d 'Remove labels from a resource'
|
|
224
210
|
complete -c xcsh -n "__fish_seen_subcommand_from api" -a "list" -d 'List resources'
|
|
225
211
|
complete -c xcsh -n "__fish_seen_subcommand_from api" -a "get" -d 'Get a specific resource'
|
|
226
212
|
complete -c xcsh -n "__fish_seen_subcommand_from api" -a "create" -d 'Create a new resource'
|