This repository was archived by the owner on Sep 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_client.sh
More file actions
1243 lines (1214 loc) · 66.6 KB
/
_client.sh
File metadata and controls
1243 lines (1214 loc) · 66.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#compdef
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# !
# ! Note:
# !
# ! THIS SCRIPT HAS BEEN AUTOMATICALLY GENERATED USING
# ! swagger-codegen (https://github.com/swagger-api/swagger-codegen)
# ! FROM SWAGGER SPECIFICATION IN JSON.
# !
# ! Based on: https://github.com/Valodim/zsh-curl-completion/blob/master/_curl
# !
# !
# !
# ! Installation:
# !
# ! Copy the _ file to any directory under FPATH
# ! environment variable (echo $FPATH)
# !
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
local curcontext="$curcontext" state line ret=1
typeset -A opt_args
typeset -A mime_type_abbreviations
# text/*
mime_type_abbreviations[text]="text/plain"
mime_type_abbreviations[html]="text/html"
mime_type_abbreviations[md]="text/x-markdown"
mime_type_abbreviations[csv]="text/csv"
mime_type_abbreviations[css]="text/css"
mime_type_abbreviations[rtf]="text/rtf"
# application/*
mime_type_abbreviations[json]="application/json"
mime_type_abbreviations[xml]="application/xml"
mime_type_abbreviations[yaml]="application/yaml"
mime_type_abbreviations[js]="application/javascript"
mime_type_abbreviations[bin]="application/octet-stream"
mime_type_abbreviations[rdf]="application/rdf+xml"
# image/*
mime_type_abbreviations[jpg]="image/jpeg"
mime_type_abbreviations[png]="image/png"
mime_type_abbreviations[gif]="image/gif"
mime_type_abbreviations[bmp]="image/bmp"
mime_type_abbreviations[tiff]="image/tiff"
#
# Generate zsh completion string list for abbreviated mime types
#
get_mime_type_completions() {
typeset -a result
result=()
for k in "${(@k)mime_type_abbreviations}"; do
value=$mime_type_abbreviations[${k}]
#echo $value
result+=( "${k}[${value}]" )
#echo $result
done
echo "$result"
}
#
# cURL crypto engines completion function
#
_curl_crypto_engine() {
local vals
vals=( ${${(f)"$(curl --engine list)":gs/ /}[2,$]} )
_describe -t outputs 'engines' vals && return 0
}
#
# cURL post data completion functions=
#
_curl_post_data() {
# don't do anything further if this is raw content
compset -P '=' && _message 'raw content' && return 0
# complete filename or stdin for @ syntax
compset -P '*@' && {
local expl
_description files expl stdin
compadd "$expl[@]" - "-"
_files
return 0
}
# got a name already? expecting data.
compset -P '*=' && _message 'data value' && return 0
# otherwise, name (or @ or =) should be specified
_message 'data name' && return 0
}
local arg_http arg_ftp arg_other arg_proxy arg_crypto arg_connection arg_auth arg_input arg_output
# HTTP Arguments
arg_http=(''\
{-0,--http1.0}'[force use of use http 1.0 instead of 1.1]' \
{-b,--cookie}'[pass data to http server as cookie]:data or file' \
{-c,--cookie-jar}'[specify cookie file]:file name:_files' \
{-d,--data}'[send specified data as HTTP POST data]:data:{_curl_post_data}' \
'--data-binary[post HTTP POST data without any processing]:data:{_curl_post_data}' \
'--data-urlencode[post HTTP POST data, with url encoding]:data:{_curl_post_data}' \
{-f,--fail}'[enable failfast behavior for server errors]' \
'*'{-F,--form}'[add POST form data]:name=content' \
{-G,--get}'[use HTTP GET even with data (-d, --data, --data-binary)]' \
'*'{-H,--header}'[specify an extra header]:header' \
'--ignore-content-length[ignore Content-Length header]' \
{-i,--include}'[include HTTP header in the output]' \
{-j,--junk-session-cookies}'[discard all session cookies]' \
{-e,--referer}'[send url as referer]:referer url:_urls' \
{-L,--location}'[follow Location headers on http 3XX response]' \
'--location-trusted[like --location, but allows sending of auth data to redirected hosts]' \
'--max-redirs[set maximum number of redirection followings allowed]:number' \
{-J,--remote-header-name}'[use Content-Disposition for output file name]' \
{-O,--remote-name}'[write to filename parsed from url instead of stdout]' \
'--post301[do not convert POST to GET after following 301 Location response (follow RFC 2616/10.3.2)]' \
'--post302[do not convert POST to GET after following 302 Location response (follow RFC 2616/10.3.2)]' \
)
# FTP arguments
arg_ftp=(\
{-a,--append}'[append to target file instead of overwriting (FTP/SFTP)]' \
'--crlf[convert LF to CRLF in upload]' \
'--disable-eprt[disable use of EPRT and LPRT for active FTP transfers]' \
'--disable-epsv[disable use of EPSV for passive FTP transfers]' \
'--ftp-account[account data (FTP)]:data' \
'--ftp-alternative-to-user[command to send when USER and PASS commands fail (FTP)]:command' \
'--ftp-create-dirs[create paths remotely if it does not exist]' \
'--ftp-method[ftp method to use to reach a file (FTP)]:method:(multicwd ocwd singlecwd)' \
'--ftp-pasv[use passive mode for the data connection (FTP)]' \
'--ftp-skip-pasv-ip[do not use the ip the server suggests for PASV]' \
'--form-string[like --form, but do not parse content]:name=string' \
'--ftp-pret[send PRET before PASV]' \
'--ftp-ssl-ccc[use clear command channel (CCC) after authentication (FTP)]' \
'--ftp-ssl-ccc-mode[sets the CCC mode (FTP)]:mode:(active passive)' \
'--ftp-ssl-control[require SSL/TLS for FTP login, clear for transfer]' \
{-l,--list-only}'[list names only when listing directories (FTP)]' \
{-P,--ftp-port}'[use active mode, tell server to connect to specified address or interface (FTP]:address' \
'*'{-Q,--quote}'[send arbitrary command to the remote server before transfer (FTP/SFTP)]:command' \
)
# Other Protocol arguments
arg_other=(\
'--mail-from[specify From: address]:address' \
'--mail-rcpt[specify email recipient for SMTP, may be given multiple times]:address' \
{-t,--telnet-option}'[pass options to telnet protocol]:opt=val' \
'--tftp-blksize[set tftp BLKSIZE option]:value' \
)
# Proxy arguments
arg_proxy=(\
'--noproxy[list of hosts to connect directly to instead of through proxy]:no-proxy-list' \
{-p,--proxytunnel}'[tunnel non-http protocols through http proxy]' \
{-U,--proxy-user}'[specify the user name and password to use for proxy authentication]:user:password' \
'--proxy-anyauth[use any authentication method for proxy, default to most secure]' \
'--proxy-basic[use HTTP Basic authentication for proxy]' \
'--proxy-digest[use http digest authentication for proxy]' \
'--proxy-negotiate[enable GSS-Negotiate authentication for proxy]' \
'--proxy-ntlm[enable ntlm authentication for proxy]' \
'--proxy1.0[use http 1.0 proxy]:proxy url' \
{-x,--proxy}'[use specified proxy]:proxy url' \
'--socks5-gssapi-service[change service name for socks server]:servicename' \
'--socks5-gssapi-nec[allow unprotected exchange of protection mode negotiation]' \
)
# Crypto arguments
arg_crypto=(\
{-1,--tlsv1}'[Forces curl to use TLS version 1 when negotiating with a remote TLS server.]' \
{-2,--sslv2}'[Forces curl to use SSL version 2 when negotiating with a remote SSL server.]' \
{-3,--sslv3}'[Forces curl to use SSL version 3 when negotiating with a remote SSL server.]' \
'--ciphers[specifies which cipher to use for the ssl connection]:list of ciphers' \
'--crlfile[specify file with revoked certificates]:file' \
'--delegation[set delegation policy to use with GSS/kerberos]:delegation policy:(none policy always)' \
{-E,--cert}'[use specified client certificate]:certificate file:_files' \
'--engine[use selected OpenSSL crypto engine]:ssl crypto engine:{_curl_crypto_engine}' \
'--egd-file[set ssl entropy gathering daemon socket]:entropy socket:_files' \
'--cert-type[specify certificate type (PEM, DER, ENG)]:certificate type:(PEM DER ENG)' \
'--cacert[specify certificate file to verify the peer with]:CA certificate:_files' \
'--capath[specify a search path for certificate files]:CA certificate directory:_directories' \
'--hostpubmd5[check remote hosts public key]:md5 hash' \
{-k,--insecure}'[allow ssl to perform insecure ssl connections (ie, ignore certificate)]' \
'--key[ssl/ssh private key file name]:key file:_files' \
'--key-type[ssl/ssh private key file type]:file type:(PEM DER ENG)' \
'--pubkey[ssh public key file]:pubkey file:_files' \
'--random-file[set source of random data for ssl]:random source:_files' \
'--no-sessionid[disable caching of ssl session ids]' \
'--pass:phrase[passphrase for ssl/ssh private key]' \
'--ssl[try to use ssl/tls for connection, if available]' \
'--ssl-reqd[try to use ssl/tls for connection, fail if unavailable]' \
'--tlsauthtype[set TLS authentication type (only SRP supported!)]:authtype' \
'--tlsuser[set username for TLS authentication]:user' \
'--tlspassword[set password for TLS authentication]:password' \
)
# Connection arguments
arg_connection=(\
{-4,--ipv4}'[prefer ipv4]' \
{-6,--ipv6}'[prefer ipv6, if available]' \
{-B,--use-ascii}'[use ascii mode]' \
'--compressed[request a compressed transfer]' \
'--connect-timeout[timeout for connection phase]:seconds' \
{-I,--head}'[fetch http HEAD only (HTTP/FTP/FILE]' \
'--interface[work on a specific interface]:name' \
'--keepalive-time[set time to wait before sending keepalive probes]:seconds' \
'--limit-rate[specify maximum transfer rate]:speed' \
'--local-port[set preferred number or range of local ports to use]:num' \
{-N,--no-buffer}'[disable buffering of the output stream]' \
'--no-keepalive[disable use of keepalive messages in TCP connections]' \
'--raw[disable all http decoding and pass raw data]' \
'--resolve[provide a custom address for a specific host and port pair]:host\:port\:address' \
'--retry[specify maximum number of retries for transient errors]:num' \
'--retry-delay[specify delay between retries]:seconds' \
'--retry-max-time[maximum time to spend on retries]:seconds' \
'--tcp-nodelay[turn on TCP_NODELAY option]' \
{-y,--speed-time}'[specify time to abort after if download is slower than speed-limit]:time' \
{-Y,--speed-limit}'[specify minimum speed for --speed-time]:speed' \
)
# Authentication arguments
arg_auth=(\
'--anyauth[use any authentication method, default to most secure]' \
'--basic[use HTTP Basic authentication]' \
'--ntlm[enable ntlm authentication]' \
'--digest[use http digest authentication]' \
'--krb[use kerberos authentication]:auth:(clear safe confidential private)' \
'--negotiate[enable GSS-Negotiate authentication]' \
{-n,--netrc}'[scan ~/.netrc for login data]' \
'--netrc-optional[like --netrc, but does not make .netrc usage mandatory]' \
'--netrc-file[like --netrc, but specify file to use]:netrc file:_files' \
'--tr-encoding[request compressed transfer-encoding]' \
{-u,--user}'[specify user name and password for server authentication]:user\:password' \
)
# Input arguments
arg_input=(\
{-C,--continue-at}'[resume at offset ]:offset' \
{-g,--globoff}'[do not glob {}\[\] letters]' \
'--max-filesize[maximum filesize to download, fail for bigger files]:bytes' \
'--proto[specify allowed protocols for transfer]:protocols' \
'--proto-redir[specify allowed protocols for transfer after a redirect]:protocols' \
{-r,--range}'[set range of bytes to request (HTTP/FTP/SFTP/FILE)]:range' \
{-R,--remote-time}'[use timestamp of remote file for local file]' \
{-T,--upload-file}'[transfer file to remote url (using PUT for HTTP)]:file to upload:_files' \
'--url[specify a URL to fetch (multi)]:url:_urls' \
{-z,--time-cond}'[request downloaded file to be newer than date or given reference file]:date expression' \
)
# Output arguments
arg_output=(\
'--create-dirs[create local directory hierarchy as needed]' \
{-D,--dump-header}'[write protocol headers to file]:dump file:_files' \
{-o,--output}'[write to specified file instead of stdout]:output file:_files' \
{--progress-bar,-\#}'[display progress as a simple progress bar]' \
{-\#,--progress-bar}'[Make curl display progress as a simple progress bar instead of the standard, more informational, meter.]' \
{-R,--remote-time}'[use timestamp of remote file for local file]' \
'--raw[disable all http decoding and pass raw data]' \
{-s,--silent}'[silent mode, do not show progress meter or error messages]' \
{-S,--show-error}'[show errors in silent mode]' \
'--stderr[redirect stderr to specified file]:output file:_files' \
'--trace[enable full trace dump of all incoming and outgoing data]:trace file:_files' \
'--trace-ascii[enable full trace dump of all incoming and outgoing data, without hex data]:trace file:_files' \
'--trace-time[prepends a time stamp to each trace or verbose line that curl displays]' \
{-v,--verbose}'[output debug info]' \
{-w,--write-out}'[specify message to output on successful operation]:format string' \
'--xattr[store some file metadata in extended file attributes]' \
{-X,--request}'[specifies request method for HTTP server]:method:(GET POST PUT DELETE HEAD OPTIONS TRACE CONNECT PATCH LINK UNLINK)' \
)
_arguments -C -s $arg_http $arg_ftp $arg_other $arg_crypto $arg_connection $arg_auth $arg_input $arg_output \
{-M,--manual}'[Print manual]' \
'*'{-K,--config}'[Use other config file to read arguments from]:config file:_files' \
'--libcurl[output libcurl code for the operation to file]:output file:_files' \
{-m,--max-time}'[Limit total time of operation]:seconds' \
{-s,--silent}'[Silent mode, do not show progress meter or error messages]' \
{-S,--show-error}'[Show errors in silent mode]' \
'--stderr[Redirect stderr to specified file]:output file:_files' \
'-q[Do not read settings from .curlrc (must be first option)]' \
{-h,--help}'[Print help and list of operations]' \
{-V,--version}'[Print service API version]' \
'--about[Print the information about service]' \
'--host[Specify the host URL]':URL:_urls \
'--dry-run[Print out the cURL command without executing it]' \
{-ac,--accept}'[Set the Accept header in the request]: :{_values "Accept mime type" $(get_mime_type_completions)}' \
{-ct,--content-type}'[Set the Content-type header in request]: :{_values "Content mime type" $(get_mime_type_completions)}' \
'1: :->ops' \
'*:: :->args' \
&& ret=0
case $state in
ops)
# Operations
_values "Operations" \
"deleteToken[Delete an access token by ID.]" \
"getToken[Get a single access token by ID.]" \
"getTokens[Returns a list of tokens in the account.]" \
"patchToken[Modify an access token by ID.]" \
"postToken[Create a new token.]" \
"resetToken[Reset an access token's secret key with an optional expiry time for the old key.]" "getAuditLogEntries[Get a list of all audit log entries. The query parameters allow you to restrict the returned results by date ranges, resource specifiers, or a full-text search query.]" \
"getAuditLogEntry[Use this endpoint to fetch a single audit log entry by its resouce ID.]" "deleteCustomRole[Delete a custom role by key.]" \
"getCustomRole[Get one custom role by key.]" \
"getCustomRoles[Return a complete list of custom roles.]" \
"patchCustomRole[Modify a custom role by key.]" \
"postCustomRole[Create a new custom role.]" "getEvaluations[Get events usage by event id and the feature flag key.]" \
"getEvent[Get events usage by event type.]" \
"getEvents[Get events usage endpoints.]" \
"getMAU[Get monthly active user data.]" \
"getMAUByCategory[Get monthly active user data by category.]" \
"getStream[Get a stream endpoint and return timeseries data.]" \
"getStreamBySDK[Get a stream timeseries data by source show sdk version metadata.]" \
"getStreamSDKVersion[Get a stream timeseries data by source and show all sdk version associated.]" \
"getStreams[Returns a list of all streams.]" \
"getUsage[Returns of the usage endpoints available.]" "deleteDestination[Get a single data export destination by ID]" \
"getDestination[Get a single data export destination by ID]" \
"getDestinations[Returns a list of all data export destinations.]" \
"patchDestination[Perform a partial update to a data export destination.]" \
"postDestination[Create a new data export destination]" "deleteEnvironment[Delete an environment in a specific project.]" \
"getEnvironment[Get an environment given a project and key.]" \
"patchEnvironment[Modify an environment by ID. If you try to patch the environment by setting both required and requiredApprovalTags, it will result in an error. Users can specify either required approvals for all flags in an environment or those with specific tags, but not both. Only customers on an Enterprise plan can require approval for flag updates with either mechanism.]" \
"postEnvironment[Create a new environment in a specified project with a given name, key, and swatch color.]" \
"resetEnvironmentMobileKey[Reset an environment's mobile key. The optional expiry for the old key is deprecated for this endpoint, so the old key will always expire immediately.]" \
"resetEnvironmentSDKKey[Reset an environment's SDK key with an optional expiry time for the old key.]" "copyFeatureFlag[Copies the feature flag configuration from one environment to the same feature flag in another environment.]" \
"deleteApprovalRequest[Delete an approval request for a feature flag config]" \
"deleteFeatureFlag[Delete a feature flag in all environments. Be careful-- only delete feature flags that are no longer being used by your application.]" \
"deleteFlagConfigScheduledChanges[Delete a scheduled change on a feature flag in an environment.]" \
"flagsProjectKeyEnvironmentKeyFeatureFlagKeyDependentFlagsGet[Get dependent flags for the flag in the environment specified in path parameters]" \
"flagsProjectKeyFeatureFlagKeyDependentFlagsGet[Get dependent flags across all environments for the flag specified in the path parameters]" \
"getApprovalRequest[Get a single approval request for a feature flag config]" \
"getApprovalRequests[Get all approval requests for a feature flag config]" \
"getExpiringUserTargets[Get expiring user targets for feature flag]" \
"getFeatureFlag[Get a single feature flag by key.]" \
"getFeatureFlagStatus[Get the status for a particular feature flag.]" \
"getFeatureFlagStatusAcrossEnvironments[Get the status for a particular feature flag across environments]" \
"getFeatureFlagStatuses[Get a list of statuses for all feature flags. The status includes the last time the feature flag was requested, as well as the state of the flag.]" \
"getFeatureFlags[Get a list of all features in the given project.]" \
"getFlagConfigScheduledChange[Get a scheduled change on a feature flag by id.]" \
"getFlagConfigScheduledChanges[Get all scheduled workflows for a feature flag by key.]" \
"getFlagConfigScheduledChangesConflicts[Lists conflicts between the given instructions and any existing scheduled changes for the feature flag. The actual HTTP verb should be REPORT, not POST.]" \
"patchExpiringUserTargets[Update, add, or delete expiring user targets on feature flag]" \
"patchFeatureFlag[Perform a partial update to a feature.]" \
"patchFlagConfigScheduledChange[Updates an existing scheduled-change on a feature flag in an environment.]" \
"postApplyApprovalRequest[Apply approval request for a feature flag config]" \
"postApprovalRequest[Create an approval request for a feature flag config]" \
"postFeatureFlag[Creates a new feature flag.]" \
"postFlagConfigScheduledChanges[Creates a new scheduled change for a feature flag.]" \
"postReviewApprovalRequest[Review approval request for a feature flag config]" "deleteIntegrationSubscription[Delete an integration subscription by ID.]" \
"getIntegrationSubscription[Get a single integration subscription by ID.]" \
"getIntegrationSubscriptions[Get a list of all configured integrations of a given kind.]" \
"getIntegrations[Get a list of all configured audit log event integrations associated with this account.]" \
"patchIntegrationSubscription[Modify an integration subscription by ID.]" \
"postIntegrationSubscription[Create a new integration subscription of a given kind.]" "deleteProject[Delete a project by key. Caution-- deleting a project will delete all associated environments and feature flags. You cannot delete the last project in an account.]" \
"getProject[Fetch a single project by key.]" \
"getProjects[Returns a list of all projects in the account.]" \
"patchProject[Modify a project by ID.]" \
"postProject[Create a new project with the given key and name.]" "deleteRelayProxyConfig[Delete a relay proxy configuration by ID.]" \
"getRelayProxyConfig[Get a single relay proxy configuration by ID.]" \
"getRelayProxyConfigs[Returns a list of relay proxy configurations in the account.]" \
"patchRelayProxyConfig[Modify a relay proxy configuration by ID.]" \
"postRelayAutoConfig[Create a new relay proxy config.]" \
"resetRelayProxyConfig[Reset a relay proxy configuration's secret key with an optional expiry time for the old key.]" "getRoot[]" "deleteMember[Delete a team member by ID.]" \
"getMe[Get the current team member associated with the token]" \
"getMember[Get a single team member by ID.]" \
"getMembers[Returns a list of all members in the account.]" \
"patchMember[Modify a team member by ID.]" \
"postMembers[Invite new members.]" "deleteUserSegment[Delete a user segment.]" \
"getExpiringUserTargetsOnSegment[Get expiring user targets for user segment]" \
"getUserSegment[Get a single user segment by key.]" \
"getUserSegments[Get a list of all user segments in the given project.]" \
"patchExpiringUserTargetsOnSegment[Update, add, or delete expiring user targets on user segment]" \
"patchUserSegment[Perform a partial update to a user segment.]" \
"postUserSegment[Creates a new user segment.]" \
"updateBigSegmentTargets[Update targets included or excluded in a big segment]" "getExpiringUserTargetsForUser[Get expiring dates on flags for user]" \
"getUserFlagSetting[Fetch a single flag setting for a user by key.]" \
"getUserFlagSettings[Fetch a single flag setting for a user by key.]" \
"patchExpiringUserTargetsForFlags[Update, add, or delete expiring user targets for a single user on all flags]" \
"putFlagSetting[Specifically enable or disable a feature flag for a user based on their key.]" "deleteUser[Delete a user by ID.]" \
"getSearchUsers[Search users in LaunchDarkly based on their last active date, or a search query. It should not be used to enumerate all users in LaunchDarkly-- use the List users API resource.]" \
"getUser[Get a user by key.]" \
"getUsers[List all users in the environment. Includes the total count of users. In each page, there will be up to 'limit' users returned (default 20). This is useful for exporting all users in the system for further analysis. Paginated collections will include a next link containing a URL with the next set of elements in the collection.]" "deleteWebhook[Delete a webhook by ID.]" \
"getWebhook[Get a webhook by ID.]" \
"getWebhooks[Fetch a list of all webhooks.]" \
"patchWebhook[Modify a webhook by ID.]" \
"postWebhook[Create a webhook.]"
_arguments "(--help)--help[Print information about operation]"
ret=0
;;
args)
case $line[1] in
deleteToken)
local -a _op_arguments
_op_arguments=(
"tokenId=:[PATH] The access token ID."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getToken)
local -a _op_arguments
_op_arguments=(
"tokenId=:[PATH] The access token ID."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getTokens)
local -a _op_arguments
_op_arguments=(
"showAll=true:[QUERY] If set to true, and the authentication access token has the \"Admin\" role, personal access tokens for all members will be retrieved."
"showAll=false:[QUERY] If set to true, and the authentication access token has the \"Admin\" role, personal access tokens for all members will be retrieved."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
patchToken)
local -a _op_arguments
_op_arguments=(
"tokenId=:[PATH] The access token ID."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
postToken)
local -a _op_arguments
_op_arguments=(
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
resetToken)
local -a _op_arguments
_op_arguments=(
"tokenId=:[PATH] The access token ID."
"expiry=:[QUERY] An expiration time for the old token key, expressed as a Unix epoch time in milliseconds. By default, the token will expire immediately."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getAuditLogEntries)
local -a _op_arguments
_op_arguments=(
"before=:[QUERY] A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have before this timestamp."
"after=:[QUERY] A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have occurred after this timestamp."
"q=:[QUERY] Text to search for. You can search for the full or partial name of the resource involved or full or partial email address of the member who made the change."
"limit=:[QUERY] A limit on the number of audit log entries to be returned, between 1 and 20."
"spec=:[QUERY] A resource specifier, allowing you to filter audit log listings by resource."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getAuditLogEntry)
local -a _op_arguments
_op_arguments=(
"resourceId=:[PATH] The resource ID."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
deleteCustomRole)
local -a _op_arguments
_op_arguments=(
"customRoleKey=:[PATH] The custom role key."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getCustomRole)
local -a _op_arguments
_op_arguments=(
"customRoleKey=:[PATH] The custom role key."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getCustomRoles)
local -a _op_arguments
_op_arguments=(
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
patchCustomRole)
local -a _op_arguments
_op_arguments=(
"customRoleKey=:[PATH] The custom role key."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
postCustomRole)
local -a _op_arguments
_op_arguments=(
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getEvaluations)
local -a _op_arguments
_op_arguments=(
"envId=:[PATH] The environment id for the flag evaluations in question."
"flagKey=:[PATH] The key of the flag we want metrics for."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getEvent)
local -a _op_arguments
_op_arguments=(
"type=:[PATH] The type of event we would like to track."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getEvents)
local -a _op_arguments
_op_arguments=(
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getMAU)
local -a _op_arguments
_op_arguments=(
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getMAUByCategory)
local -a _op_arguments
_op_arguments=(
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getStream)
local -a _op_arguments
_op_arguments=(
"source=:[PATH] The source of where the stream comes from."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getStreamBySDK)
local -a _op_arguments
_op_arguments=(
"source=:[PATH] The source of where the stream comes from."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getStreamSDKVersion)
local -a _op_arguments
_op_arguments=(
"source=:[PATH] The source of where the stream comes from."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getStreams)
local -a _op_arguments
_op_arguments=(
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getUsage)
local -a _op_arguments
_op_arguments=(
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
deleteDestination)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
"destinationId=:[PATH] The data export destination ID."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getDestination)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
"destinationId=:[PATH] The data export destination ID."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getDestinations)
local -a _op_arguments
_op_arguments=(
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
patchDestination)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
"destinationId=:[PATH] The data export destination ID."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
postDestination)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
deleteEnvironment)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getEnvironment)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
patchEnvironment)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
postEnvironment)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
resetEnvironmentMobileKey)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
"expiry=:[QUERY] The expiry parameter is deprecated for this endpoint, so the old mobile key will always expire immediately. This parameter will be removed in an upcoming major API client version."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
resetEnvironmentSDKKey)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
"expiry=:[QUERY] An expiration time for the old environment SDK key, expressed as a Unix epoch time in milliseconds. By default, the key will expire immediately."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
copyFeatureFlag)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
deleteApprovalRequest)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
"approvalRequestId=:[PATH] The approval request ID"
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
deleteFeatureFlag)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
deleteFlagConfigScheduledChanges)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
"scheduledChangeId=:[PATH] The id of the scheduled change"
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
flagsProjectKeyEnvironmentKeyFeatureFlagKeyDependentFlagsGet)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
flagsProjectKeyFeatureFlagKeyDependentFlagsGet)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getApprovalRequest)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
"approvalRequestId=:[PATH] The approval request ID"
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getApprovalRequests)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getExpiringUserTargets)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getFeatureFlag)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
"env=:[QUERY] By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env=[\"production\"] will restrict the returned configurations to just your production environment."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getFeatureFlagStatus)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getFeatureFlagStatusAcrossEnvironments)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getFeatureFlagStatuses)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getFeatureFlags)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"env=:[QUERY] By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env=[\"production\"] will restrict the returned configurations to just your production environment."
"summary=true:[QUERY] By default in api version >= 1, flags will _not_ include their list of prerequisites, targets or rules. Set summary=0 to include these fields for each flag returned."
"summary=false:[QUERY] By default in api version >= 1, flags will _not_ include their list of prerequisites, targets or rules. Set summary=0 to include these fields for each flag returned."
"archived=true:[QUERY] When set to 1, only archived flags will be included in the list of flags returned. By default, archived flags are not included in the list of flags."
"archived=false:[QUERY] When set to 1, only archived flags will be included in the list of flags returned. By default, archived flags are not included in the list of flags."
"limit=:[QUERY] The number of objects to return. Defaults to -1, which returns everything."
"offset=:[QUERY] Where to start in the list. This is for use with pagination. For example, an offset of 10 would skip the first 10 items and then return the next limit items."
"filter=:[QUERY] A comma-separated list of filters. Each filter is of the form field:value."
"sort=:[QUERY] A comma-separated list of fields to sort by. A field prefixed by a - will be sorted in descending order."
"tag=:[QUERY] Filter by tag. A tag can be used to group flags across projects."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getFlagConfigScheduledChange)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
"scheduledChangeId=:[PATH] The id of the scheduled change"
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getFlagConfigScheduledChanges)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getFlagConfigScheduledChangesConflicts)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
patchExpiringUserTargets)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
patchFeatureFlag)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
patchFlagConfigScheduledChange)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
"scheduledChangeId=:[PATH] The id of the scheduled change"
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
postApplyApprovalRequest)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
"approvalRequestId=:[PATH] The approval request ID"
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
postApprovalRequest)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
"approvalRequestId=:[PATH] The approval request ID"
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
postFeatureFlag)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"clone=:[QUERY] The key of the feature flag to be cloned. The key identifies the flag in your code. For example, setting clone=flagKey will copy the full targeting configuration for all environments (including on/off state) from the original flag to the new flag."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
postFlagConfigScheduledChanges)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
postReviewApprovalRequest)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
"approvalRequestId=:[PATH] The approval request ID"
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
deleteIntegrationSubscription)
local -a _op_arguments
_op_arguments=(
"integrationKey=:[PATH] The key used to specify the integration kind."
"integrationId=:[PATH] The integration ID."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getIntegrationSubscription)
local -a _op_arguments
_op_arguments=(
"integrationKey=:[PATH] The key used to specify the integration kind."
"integrationId=:[PATH] The integration ID."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getIntegrationSubscriptions)
local -a _op_arguments
_op_arguments=(
"integrationKey=:[PATH] The key used to specify the integration kind."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getIntegrations)
local -a _op_arguments
_op_arguments=(
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
patchIntegrationSubscription)
local -a _op_arguments
_op_arguments=(
"integrationKey=:[PATH] The key used to specify the integration kind."
"integrationId=:[PATH] The integration ID."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
postIntegrationSubscription)
local -a _op_arguments
_op_arguments=(
"integrationKey=:[PATH] The key used to specify the integration kind."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
deleteProject)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getProject)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getProjects)
local -a _op_arguments
_op_arguments=(
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
patchProject)
local -a _op_arguments
_op_arguments=(
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
postProject)
local -a _op_arguments
_op_arguments=(
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
deleteRelayProxyConfig)
local -a _op_arguments
_op_arguments=(
"id=:[PATH] The relay proxy configuration ID"
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getRelayProxyConfig)
local -a _op_arguments
_op_arguments=(
"id=:[PATH] The relay proxy configuration ID"
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getRelayProxyConfigs)
local -a _op_arguments
_op_arguments=(
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
patchRelayProxyConfig)
local -a _op_arguments
_op_arguments=(
"id=:[PATH] The relay proxy configuration ID"
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
postRelayAutoConfig)
local -a _op_arguments
_op_arguments=(
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
resetRelayProxyConfig)
local -a _op_arguments
_op_arguments=(
"id=:[PATH] The relay proxy configuration ID"
"expiry=:[QUERY] An expiration time for the old relay proxy configuration key, expressed as a Unix epoch time in milliseconds. By default, the relay proxy configuration will expire immediately"
)
_describe -t actions 'operations' _op_arguments -S '' && ret=0
;;
getRoot)
local -a _op_arguments
_op_arguments=(
)