hotcodepush 0.0.0 → 0.1.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/LICENSE +21 -0
- package/README.md +53 -0
- package/dist/commands/app/create.js +49 -0
- package/dist/commands/app/delete.js +34 -0
- package/dist/commands/app/get.js +33 -0
- package/dist/commands/app/list.js +38 -0
- package/dist/commands/app/transfer.js +58 -0
- package/dist/commands/app/update.js +34 -0
- package/dist/commands/audience/get.js +69 -0
- package/dist/commands/audit-log/list.js +82 -0
- package/dist/commands/binary/create.js +189 -0
- package/dist/commands/binary/get.js +56 -0
- package/dist/commands/binary/list.js +58 -0
- package/dist/commands/bundle/delete.js +35 -0
- package/dist/commands/bundle/get.js +63 -0
- package/dist/commands/bundle/list.js +66 -0
- package/dist/commands/bundle/upload.js +176 -0
- package/dist/commands/channel/create.js +59 -0
- package/dist/commands/channel/delete.js +68 -0
- package/dist/commands/channel/get.js +45 -0
- package/dist/commands/channel/list.js +39 -0
- package/dist/commands/channel/pause.js +32 -0
- package/dist/commands/channel/resume.js +32 -0
- package/dist/commands/channel/update.js +40 -0
- package/dist/commands/checkout/create.js +25 -0
- package/dist/commands/completion.js +36 -0
- package/dist/commands/customer-portal-session/create.js +25 -0
- package/dist/commands/device/delete.js +29 -0
- package/dist/commands/device/get.js +60 -0
- package/dist/commands/device/list.js +97 -0
- package/dist/commands/device/probe.js +253 -0
- package/dist/commands/doctor.js +363 -0
- package/dist/commands/fingerprint/diff.js +133 -0
- package/dist/commands/fingerprint.js +41 -0
- package/dist/commands/init.js +492 -0
- package/dist/commands/invitation/accept.js +53 -0
- package/dist/commands/invitation/create.js +52 -0
- package/dist/commands/invitation/delete.js +60 -0
- package/dist/commands/invitation/list.js +40 -0
- package/dist/commands/limit/list.js +34 -0
- package/dist/commands/login.js +185 -0
- package/dist/commands/logout.js +79 -0
- package/dist/commands/member/delete.js +35 -0
- package/dist/commands/member/get.js +37 -0
- package/dist/commands/member/list.js +41 -0
- package/dist/commands/member/update.js +53 -0
- package/dist/commands/open.js +37 -0
- package/dist/commands/organization/create.js +30 -0
- package/dist/commands/organization/delete.js +39 -0
- package/dist/commands/organization/get.js +38 -0
- package/dist/commands/organization/list.js +41 -0
- package/dist/commands/organization/update.js +64 -0
- package/dist/commands/release/create.js +237 -0
- package/dist/commands/release/get.js +81 -0
- package/dist/commands/release/list.js +69 -0
- package/dist/commands/release/pause.js +36 -0
- package/dist/commands/release/resume.js +36 -0
- package/dist/commands/release/revoke.js +253 -0
- package/dist/commands/release/rollback.js +73 -0
- package/dist/commands/release/rollout.js +63 -0
- package/dist/commands/release/update.js +82 -0
- package/dist/commands/resource-file/write.js +76 -0
- package/dist/commands/signing-key/add.js +45 -0
- package/dist/commands/signing-key/create.js +84 -0
- package/dist/commands/signing-key/delete.js +67 -0
- package/dist/commands/signing-key/list.js +38 -0
- package/dist/commands/sso-provider/delete.js +32 -0
- package/dist/commands/sso-provider/get.js +63 -0
- package/dist/commands/sso-provider/set.js +161 -0
- package/dist/commands/sso-provider/verify.js +31 -0
- package/dist/commands/statistics/get.js +189 -0
- package/dist/commands/usage/get.js +31 -0
- package/dist/commands/usage/list.js +41 -0
- package/dist/commands/webhook/create.js +72 -0
- package/dist/commands/webhook/delete.js +32 -0
- package/dist/commands/webhook/get.js +34 -0
- package/dist/commands/webhook/list.js +40 -0
- package/dist/commands/webhook/test.js +32 -0
- package/dist/commands/webhook/update.js +56 -0
- package/dist/commands/webhook-delivery/list.js +63 -0
- package/dist/commands/webhook-delivery/redeliver.js +48 -0
- package/dist/commands/whoami.js +24 -0
- package/dist/completion/hotcodepush.bash +536 -0
- package/dist/completion/hotcodepush.fish +979 -0
- package/dist/completion/hotcodepush.zsh +1372 -0
- package/dist/config/consts.js +32 -0
- package/dist/index.js +5 -0
- package/dist/registry.js +83 -0
- package/dist/utils/api-client.js +17 -0
- package/dist/utils/audience.js +9 -0
- package/dist/utils/auth-client.js +35 -0
- package/dist/utils/boolean-flag.js +3 -0
- package/dist/utils/browser.js +6 -0
- package/dist/utils/build-step.js +104 -0
- package/dist/utils/bundle-files.js +80 -0
- package/dist/utils/bundle-resolution.js +46 -0
- package/dist/utils/channel-fields.js +130 -0
- package/dist/utils/cli.js +75 -0
- package/dist/utils/command-registry.js +79 -0
- package/dist/utils/completion/bash.js +48 -0
- package/dist/utils/completion/command-tree.js +72 -0
- package/dist/utils/completion/fish.js +44 -0
- package/dist/utils/completion/posix-case-arms.js +9 -0
- package/dist/utils/completion/posix-quote.js +4 -0
- package/dist/utils/completion/script-files.js +26 -0
- package/dist/utils/completion/zsh.js +72 -0
- package/dist/utils/compressed-files.js +31 -0
- package/dist/utils/credential.js +15 -0
- package/dist/utils/device-resolution.js +17 -0
- package/dist/utils/duration.js +16 -0
- package/dist/utils/environment.js +22 -0
- package/dist/utils/error-mapping.js +79 -0
- package/dist/utils/errors.js +266 -0
- package/dist/utils/fingerprint.js +76 -0
- package/dist/utils/flag-name.js +4 -0
- package/dist/utils/fleet.js +9 -0
- package/dist/utils/framework.js +74 -0
- package/dist/utils/frameworks/binary-create-step.js +70 -0
- package/dist/utils/frameworks/capacitor.js +150 -0
- package/dist/utils/frameworks/cordova.js +110 -0
- package/dist/utils/frameworks/expo.js +152 -0
- package/dist/utils/frameworks/index.js +13 -0
- package/dist/utils/frameworks/native-glue.js +10 -0
- package/dist/utils/frameworks/native-projects.js +27 -0
- package/dist/utils/frameworks/react-native-build.js +182 -0
- package/dist/utils/frameworks/react-native.js +127 -0
- package/dist/utils/frameworks/sdk-package.js +63 -0
- package/dist/utils/git-provenance.js +71 -0
- package/dist/utils/global-options.js +34 -0
- package/dist/utils/hosts.js +53 -0
- package/dist/utils/init-steps.js +51 -0
- package/dist/utils/json-file.js +28 -0
- package/dist/utils/member-resolution.js +49 -0
- package/dist/utils/native-project-edit.js +41 -0
- package/dist/utils/nullable-field.js +10 -0
- package/dist/utils/outcome.js +24 -0
- package/dist/utils/output.js +37 -0
- package/dist/utils/pack.js +20 -0
- package/dist/utils/package-json.js +5 -0
- package/dist/utils/package-manager.js +50 -0
- package/dist/utils/pagination.js +29 -0
- package/dist/utils/progress.js +23 -0
- package/dist/utils/progression.js +119 -0
- package/dist/utils/project-config.js +61 -0
- package/dist/utils/prompts.js +53 -0
- package/dist/utils/react-native-project.js +119 -0
- package/dist/utils/release-conditions.js +80 -0
- package/dist/utils/release-output.js +13 -0
- package/dist/utils/release-resolution.js +83 -0
- package/dist/utils/resource-file.js +81 -0
- package/dist/utils/resource-resolution.js +107 -0
- package/dist/utils/signing-private-key.js +105 -0
- package/dist/utils/spending-cap.js +16 -0
- package/dist/utils/telemetry.js +171 -0
- package/dist/utils/token-store.js +63 -0
- package/dist/utils/update-notice.js +67 -0
- package/dist/utils/upload.js +148 -0
- package/dist/utils/usage-month.js +14 -0
- package/dist/utils/user-config.js +46 -0
- package/dist/utils/webhook-resolution.js +47 -0
- package/dist/utils/xcode-project.js +181 -0
- package/package.json +68 -7
|
@@ -0,0 +1,536 @@
|
|
|
1
|
+
_hotcodepush() {
|
|
2
|
+
local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
|
|
3
|
+
if (( COMP_CWORD == 1 )); then
|
|
4
|
+
COMPREPLY=($(compgen -W 'app audience audit-log binary bundle channel checkout completion customer-portal-session device doctor fingerprint init invitation limit login logout member open organization release resource-file signing-key sso-provider statistics usage webhook webhook-delivery whoami' -- "$cur"))
|
|
5
|
+
return
|
|
6
|
+
fi
|
|
7
|
+
if (( COMP_CWORD == 2 )) && [[ $cur != -* ]]; then
|
|
8
|
+
case ${COMP_WORDS[1]} in
|
|
9
|
+
'app') COMPREPLY=($(compgen -W 'create delete get list transfer update' -- "$cur")); return ;;
|
|
10
|
+
'audience') COMPREPLY=($(compgen -W 'get' -- "$cur")); return ;;
|
|
11
|
+
'audit-log') COMPREPLY=($(compgen -W 'list' -- "$cur")); return ;;
|
|
12
|
+
'binary') COMPREPLY=($(compgen -W 'create get list' -- "$cur")); return ;;
|
|
13
|
+
'bundle') COMPREPLY=($(compgen -W 'delete get list upload' -- "$cur")); return ;;
|
|
14
|
+
'channel') COMPREPLY=($(compgen -W 'create delete get list pause resume update' -- "$cur")); return ;;
|
|
15
|
+
'checkout') COMPREPLY=($(compgen -W 'create' -- "$cur")); return ;;
|
|
16
|
+
'customer-portal-session') COMPREPLY=($(compgen -W 'create' -- "$cur")); return ;;
|
|
17
|
+
'device') COMPREPLY=($(compgen -W 'delete get list probe' -- "$cur")); return ;;
|
|
18
|
+
'fingerprint') COMPREPLY=($(compgen -W 'diff' -- "$cur")); return ;;
|
|
19
|
+
'invitation') COMPREPLY=($(compgen -W 'accept create delete list' -- "$cur")); return ;;
|
|
20
|
+
'limit') COMPREPLY=($(compgen -W 'list' -- "$cur")); return ;;
|
|
21
|
+
'member') COMPREPLY=($(compgen -W 'delete get list update' -- "$cur")); return ;;
|
|
22
|
+
'organization') COMPREPLY=($(compgen -W 'create delete get list update' -- "$cur")); return ;;
|
|
23
|
+
'release') COMPREPLY=($(compgen -W 'create get list pause resume revoke rollback rollout update' -- "$cur")); return ;;
|
|
24
|
+
'resource-file') COMPREPLY=($(compgen -W 'write' -- "$cur")); return ;;
|
|
25
|
+
'signing-key') COMPREPLY=($(compgen -W 'add create delete list' -- "$cur")); return ;;
|
|
26
|
+
'sso-provider') COMPREPLY=($(compgen -W 'delete get set verify' -- "$cur")); return ;;
|
|
27
|
+
'statistics') COMPREPLY=($(compgen -W 'get' -- "$cur")); return ;;
|
|
28
|
+
'usage') COMPREPLY=($(compgen -W 'get list' -- "$cur")); return ;;
|
|
29
|
+
'webhook') COMPREPLY=($(compgen -W 'create delete get list test update' -- "$cur")); return ;;
|
|
30
|
+
'webhook-delivery') COMPREPLY=($(compgen -W 'list redeliver' -- "$cur")); return ;;
|
|
31
|
+
esac
|
|
32
|
+
fi
|
|
33
|
+
case "${COMP_WORDS[1]} ${COMP_WORDS[2]}" in
|
|
34
|
+
'app create')
|
|
35
|
+
case $prev in
|
|
36
|
+
'--framework') COMPREPLY=($(compgen -W 'react_native expo capacitor cordova' -- "$cur")) ;;
|
|
37
|
+
'--name'|'--app'|'--config'|'--organization') ;;
|
|
38
|
+
*) COMPREPLY=($(compgen -W '--framework --name --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
39
|
+
esac
|
|
40
|
+
;;
|
|
41
|
+
'app delete')
|
|
42
|
+
case $prev in
|
|
43
|
+
'--app'|'--config'|'--organization') ;;
|
|
44
|
+
*) COMPREPLY=($(compgen -W '--app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
45
|
+
esac
|
|
46
|
+
;;
|
|
47
|
+
'app get')
|
|
48
|
+
case $prev in
|
|
49
|
+
'--app'|'--config'|'--organization') ;;
|
|
50
|
+
*) COMPREPLY=($(compgen -W '--app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
51
|
+
esac
|
|
52
|
+
;;
|
|
53
|
+
'app list')
|
|
54
|
+
case $prev in
|
|
55
|
+
'--limit'|'--offset'|'--app'|'--config'|'--organization') ;;
|
|
56
|
+
*) COMPREPLY=($(compgen -W '--limit --offset --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
57
|
+
esac
|
|
58
|
+
;;
|
|
59
|
+
'app transfer')
|
|
60
|
+
case $prev in
|
|
61
|
+
'--organization'|'--app'|'--config') ;;
|
|
62
|
+
*) COMPREPLY=($(compgen -W '--organization --app --config --help --json --verbose --version --yes' -- "$cur")) ;;
|
|
63
|
+
esac
|
|
64
|
+
;;
|
|
65
|
+
'app update')
|
|
66
|
+
case $prev in
|
|
67
|
+
'--name'|'--app'|'--config'|'--organization') ;;
|
|
68
|
+
*) COMPREPLY=($(compgen -W '--name --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
69
|
+
esac
|
|
70
|
+
;;
|
|
71
|
+
'audience get')
|
|
72
|
+
case $prev in
|
|
73
|
+
'--channel'|'--attribute'|'--binary-version'|'--device'|'--os-version'|'--rollout-percent'|'--app'|'--config'|'--organization') ;;
|
|
74
|
+
*) COMPREPLY=($(compgen -W '--channel --attribute --binary-version --device --os-version --rollout-percent --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
75
|
+
esac
|
|
76
|
+
;;
|
|
77
|
+
'audit-log list')
|
|
78
|
+
case $prev in
|
|
79
|
+
'--actor-type') COMPREPLY=($(compgen -W 'system user' -- "$cur")) ;;
|
|
80
|
+
'--limit'|'--offset'|'--actor'|'--app'|'--created-since'|'--created-until'|'--type'|'--config'|'--organization') ;;
|
|
81
|
+
*) COMPREPLY=($(compgen -W '--limit --offset --actor --actor-type --app --created-since --created-until --type --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
82
|
+
esac
|
|
83
|
+
;;
|
|
84
|
+
'binary create')
|
|
85
|
+
case $prev in
|
|
86
|
+
'--platform') COMPREPLY=($(compgen -W 'android ios' -- "$cur")) ;;
|
|
87
|
+
'--embedded-bundle-path'|'--resource-file-path'|'--binary-build'|'--binary-version'|'--app'|'--config'|'--organization') ;;
|
|
88
|
+
*) COMPREPLY=($(compgen -W '--embedded-bundle-path --platform --resource-file-path --binary-build --binary-version --force --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
89
|
+
esac
|
|
90
|
+
;;
|
|
91
|
+
'binary get')
|
|
92
|
+
case $prev in
|
|
93
|
+
'--binary'|'--app'|'--config'|'--organization') ;;
|
|
94
|
+
*) COMPREPLY=($(compgen -W '--binary --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
95
|
+
esac
|
|
96
|
+
;;
|
|
97
|
+
'binary list')
|
|
98
|
+
case $prev in
|
|
99
|
+
'--limit'|'--offset'|'--app'|'--config'|'--organization') ;;
|
|
100
|
+
*) COMPREPLY=($(compgen -W '--limit --offset --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
101
|
+
esac
|
|
102
|
+
;;
|
|
103
|
+
'bundle delete')
|
|
104
|
+
case $prev in
|
|
105
|
+
'--bundle'|'--app'|'--config'|'--organization') ;;
|
|
106
|
+
*) COMPREPLY=($(compgen -W '--bundle --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
107
|
+
esac
|
|
108
|
+
;;
|
|
109
|
+
'bundle get')
|
|
110
|
+
case $prev in
|
|
111
|
+
'--bundle'|'--app'|'--config'|'--organization') ;;
|
|
112
|
+
*) COMPREPLY=($(compgen -W '--bundle --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
113
|
+
esac
|
|
114
|
+
;;
|
|
115
|
+
'bundle list')
|
|
116
|
+
case $prev in
|
|
117
|
+
'--source') COMPREPLY=($(compgen -W 'all binary upload' -- "$cur")) ;;
|
|
118
|
+
'--limit'|'--offset'|'--bundle-version'|'--app'|'--config'|'--organization') ;;
|
|
119
|
+
*) COMPREPLY=($(compgen -W '--limit --offset --bundle-version --source --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
120
|
+
esac
|
|
121
|
+
;;
|
|
122
|
+
'bundle upload')
|
|
123
|
+
case $prev in
|
|
124
|
+
'--platform') COMPREPLY=($(compgen -W 'android ios' -- "$cur")) ;;
|
|
125
|
+
'--bundle-version'|'--git-message'|'--git-ref'|'--git-sha'|'--path'|'--private-key-path'|'--app'|'--config'|'--organization') ;;
|
|
126
|
+
*) COMPREPLY=($(compgen -W '--bundle-version --git-message --git-ref --git-sha --no-git --path --platform --private-key-path --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
127
|
+
esac
|
|
128
|
+
;;
|
|
129
|
+
'channel create')
|
|
130
|
+
case $prev in
|
|
131
|
+
'--failure-action') COMPREPLY=($(compgen -W 'none notify pause revoke' -- "$cur")) ;;
|
|
132
|
+
'--expires-at'|'--expires-in'|'--failure-minimum-update-count'|'--failure-threshold-percent'|'--name'|'--app'|'--config'|'--organization') ;;
|
|
133
|
+
*) COMPREPLY=($(compgen -W '--discoverable --expires-at --expires-in --failure-action --failure-minimum-update-count --failure-threshold-percent --protected --if-not-exists --name --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
134
|
+
esac
|
|
135
|
+
;;
|
|
136
|
+
'channel delete')
|
|
137
|
+
case $prev in
|
|
138
|
+
'--channel'|'--app'|'--config'|'--organization') ;;
|
|
139
|
+
*) COMPREPLY=($(compgen -W '--channel --ignore-not-found --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
140
|
+
esac
|
|
141
|
+
;;
|
|
142
|
+
'channel get')
|
|
143
|
+
case $prev in
|
|
144
|
+
'--channel'|'--app'|'--config'|'--organization') ;;
|
|
145
|
+
*) COMPREPLY=($(compgen -W '--channel --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
146
|
+
esac
|
|
147
|
+
;;
|
|
148
|
+
'channel list')
|
|
149
|
+
case $prev in
|
|
150
|
+
'--limit'|'--offset'|'--app'|'--config'|'--organization') ;;
|
|
151
|
+
*) COMPREPLY=($(compgen -W '--limit --offset --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
152
|
+
esac
|
|
153
|
+
;;
|
|
154
|
+
'channel pause')
|
|
155
|
+
case $prev in
|
|
156
|
+
'--channel'|'--app'|'--config'|'--organization') ;;
|
|
157
|
+
*) COMPREPLY=($(compgen -W '--channel --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
158
|
+
esac
|
|
159
|
+
;;
|
|
160
|
+
'channel resume')
|
|
161
|
+
case $prev in
|
|
162
|
+
'--channel'|'--app'|'--config'|'--organization') ;;
|
|
163
|
+
*) COMPREPLY=($(compgen -W '--channel --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
164
|
+
esac
|
|
165
|
+
;;
|
|
166
|
+
'channel update')
|
|
167
|
+
case $prev in
|
|
168
|
+
'--failure-action') COMPREPLY=($(compgen -W 'none notify pause revoke' -- "$cur")) ;;
|
|
169
|
+
'--expires-at'|'--expires-in'|'--failure-minimum-update-count'|'--failure-threshold-percent'|'--channel'|'--name'|'--app'|'--config'|'--organization') ;;
|
|
170
|
+
*) COMPREPLY=($(compgen -W '--clear-expires-at --clear-failure-action --clear-failure-minimum-update-count --clear-failure-threshold-percent --discoverable --expires-at --expires-in --failure-action --failure-minimum-update-count --failure-threshold-percent --protected --channel --name --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
171
|
+
esac
|
|
172
|
+
;;
|
|
173
|
+
'checkout create')
|
|
174
|
+
case $prev in
|
|
175
|
+
'--app'|'--config'|'--organization') ;;
|
|
176
|
+
*) COMPREPLY=($(compgen -W '--app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
177
|
+
esac
|
|
178
|
+
;;
|
|
179
|
+
'customer-portal-session create')
|
|
180
|
+
case $prev in
|
|
181
|
+
'--app'|'--config'|'--organization') ;;
|
|
182
|
+
*) COMPREPLY=($(compgen -W '--app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
183
|
+
esac
|
|
184
|
+
;;
|
|
185
|
+
'device delete')
|
|
186
|
+
case $prev in
|
|
187
|
+
'--device'|'--app'|'--config'|'--organization') ;;
|
|
188
|
+
*) COMPREPLY=($(compgen -W '--device --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
189
|
+
esac
|
|
190
|
+
;;
|
|
191
|
+
'device get')
|
|
192
|
+
case $prev in
|
|
193
|
+
'--device'|'--app'|'--config'|'--organization') ;;
|
|
194
|
+
*) COMPREPLY=($(compgen -W '--device --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
195
|
+
esac
|
|
196
|
+
;;
|
|
197
|
+
'device list')
|
|
198
|
+
case $prev in
|
|
199
|
+
'--platform') COMPREPLY=($(compgen -W 'android ios' -- "$cur")) ;;
|
|
200
|
+
'--limit'|'--offset'|'--attribute'|'--binary-build'|'--binary-version'|'--channel'|'--fingerprint'|'--last-seen-since'|'--last-seen-until'|'--sdk-version'|'--app'|'--config'|'--organization') ;;
|
|
201
|
+
*) COMPREPLY=($(compgen -W '--limit --offset --attribute --binary-build --binary-version --channel --fingerprint --last-seen-since --last-seen-until --platform --sdk-version --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
202
|
+
esac
|
|
203
|
+
;;
|
|
204
|
+
'device probe')
|
|
205
|
+
case $prev in
|
|
206
|
+
'--platform') COMPREPLY=($(compgen -W 'android ios' -- "$cur")) ;;
|
|
207
|
+
'--channel'|'--device'|'--attribute'|'--binary-build'|'--binary-version'|'--app'|'--config'|'--organization') ;;
|
|
208
|
+
*) COMPREPLY=($(compgen -W '--channel --device --attribute --binary-build --binary-version --platform --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
209
|
+
esac
|
|
210
|
+
;;
|
|
211
|
+
'fingerprint diff')
|
|
212
|
+
case $prev in
|
|
213
|
+
'--app'|'--config'|'--organization') ;;
|
|
214
|
+
*) [[ $cur == -* ]] && COMPREPLY=($(compgen -W '--app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
215
|
+
esac
|
|
216
|
+
;;
|
|
217
|
+
'invitation accept')
|
|
218
|
+
case $prev in
|
|
219
|
+
'--invitation'|'--token'|'--app'|'--config'|'--organization') ;;
|
|
220
|
+
*) COMPREPLY=($(compgen -W '--invitation --token --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
221
|
+
esac
|
|
222
|
+
;;
|
|
223
|
+
'invitation create')
|
|
224
|
+
case $prev in
|
|
225
|
+
'--role') COMPREPLY=($(compgen -W 'admin billing member' -- "$cur")) ;;
|
|
226
|
+
'--email'|'--app'|'--config'|'--organization') ;;
|
|
227
|
+
*) COMPREPLY=($(compgen -W '--email --role --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
228
|
+
esac
|
|
229
|
+
;;
|
|
230
|
+
'invitation delete')
|
|
231
|
+
case $prev in
|
|
232
|
+
'--invitation'|'--app'|'--config'|'--organization') ;;
|
|
233
|
+
*) COMPREPLY=($(compgen -W '--invitation --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
234
|
+
esac
|
|
235
|
+
;;
|
|
236
|
+
'invitation list')
|
|
237
|
+
case $prev in
|
|
238
|
+
'--limit'|'--offset'|'--app'|'--config'|'--organization') ;;
|
|
239
|
+
*) COMPREPLY=($(compgen -W '--limit --offset --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
240
|
+
esac
|
|
241
|
+
;;
|
|
242
|
+
'limit list')
|
|
243
|
+
case $prev in
|
|
244
|
+
'--app'|'--config'|'--organization') ;;
|
|
245
|
+
*) COMPREPLY=($(compgen -W '--app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
246
|
+
esac
|
|
247
|
+
;;
|
|
248
|
+
'member delete')
|
|
249
|
+
case $prev in
|
|
250
|
+
'--member'|'--app'|'--config'|'--organization') ;;
|
|
251
|
+
*) COMPREPLY=($(compgen -W '--member --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
252
|
+
esac
|
|
253
|
+
;;
|
|
254
|
+
'member get')
|
|
255
|
+
case $prev in
|
|
256
|
+
'--member'|'--app'|'--config'|'--organization') ;;
|
|
257
|
+
*) COMPREPLY=($(compgen -W '--member --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
258
|
+
esac
|
|
259
|
+
;;
|
|
260
|
+
'member list')
|
|
261
|
+
case $prev in
|
|
262
|
+
'--limit'|'--offset'|'--app'|'--config'|'--organization') ;;
|
|
263
|
+
*) COMPREPLY=($(compgen -W '--limit --offset --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
264
|
+
esac
|
|
265
|
+
;;
|
|
266
|
+
'member update')
|
|
267
|
+
case $prev in
|
|
268
|
+
'--role') COMPREPLY=($(compgen -W 'admin billing member owner' -- "$cur")) ;;
|
|
269
|
+
'--member'|'--app'|'--config'|'--organization') ;;
|
|
270
|
+
*) COMPREPLY=($(compgen -W '--member --role --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
271
|
+
esac
|
|
272
|
+
;;
|
|
273
|
+
'organization create')
|
|
274
|
+
case $prev in
|
|
275
|
+
'--name'|'--app'|'--config'|'--organization') ;;
|
|
276
|
+
*) COMPREPLY=($(compgen -W '--name --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
277
|
+
esac
|
|
278
|
+
;;
|
|
279
|
+
'organization delete')
|
|
280
|
+
case $prev in
|
|
281
|
+
'--app'|'--config'|'--organization') ;;
|
|
282
|
+
*) COMPREPLY=($(compgen -W '--app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
283
|
+
esac
|
|
284
|
+
;;
|
|
285
|
+
'organization get')
|
|
286
|
+
case $prev in
|
|
287
|
+
'--app'|'--config'|'--organization') ;;
|
|
288
|
+
*) COMPREPLY=($(compgen -W '--app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
289
|
+
esac
|
|
290
|
+
;;
|
|
291
|
+
'organization list')
|
|
292
|
+
case $prev in
|
|
293
|
+
'--limit'|'--offset'|'--app'|'--config'|'--organization') ;;
|
|
294
|
+
*) COMPREPLY=($(compgen -W '--limit --offset --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
295
|
+
esac
|
|
296
|
+
;;
|
|
297
|
+
'organization update')
|
|
298
|
+
case $prev in
|
|
299
|
+
'--name'|'--spending-cap'|'--app'|'--config'|'--organization') ;;
|
|
300
|
+
*) COMPREPLY=($(compgen -W '--name --spending-cap --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
301
|
+
esac
|
|
302
|
+
;;
|
|
303
|
+
'release create')
|
|
304
|
+
case $prev in
|
|
305
|
+
'--platform') COMPREPLY=($(compgen -W 'android ios' -- "$cur")) ;;
|
|
306
|
+
'--failure-action') COMPREPLY=($(compgen -W 'none notify pause revoke' -- "$cur")) ;;
|
|
307
|
+
'--bundle-version'|'--git-message'|'--git-ref'|'--git-sha'|'--path'|'--private-key-path'|'--attribute'|'--binary-version'|'--device'|'--os-version'|'--failure-minimum-update-count'|'--failure-threshold-percent'|'--progression-minimum-seconds'|'--progression-minimum-update-count'|'--progression-rollout-percents'|'--bundle'|'--channel'|'--from-channel'|'--notes'|'--rollout-percent'|'--app'|'--config'|'--organization') ;;
|
|
308
|
+
*) COMPREPLY=($(compgen -W '--bundle-version --git-message --git-ref --git-sha --no-git --path --platform --private-key-path --attribute --binary-version --device --os-version --failure-action --failure-minimum-update-count --failure-threshold-percent --progression --progression-minimum-seconds --progression-minimum-update-count --progression-rollout-percents --bundle --channel --dry-run --from-channel --mandatory --notes --rollout-percent --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
309
|
+
esac
|
|
310
|
+
;;
|
|
311
|
+
'release get')
|
|
312
|
+
case $prev in
|
|
313
|
+
'--channel'|'--release'|'--app'|'--config'|'--organization') ;;
|
|
314
|
+
*) COMPREPLY=($(compgen -W '--channel --release --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
315
|
+
esac
|
|
316
|
+
;;
|
|
317
|
+
'release list')
|
|
318
|
+
case $prev in
|
|
319
|
+
'--channel'|'--limit'|'--offset'|'--app'|'--config'|'--organization') ;;
|
|
320
|
+
*) COMPREPLY=($(compgen -W '--channel --limit --offset --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
321
|
+
esac
|
|
322
|
+
;;
|
|
323
|
+
'release pause')
|
|
324
|
+
case $prev in
|
|
325
|
+
'--channel'|'--release'|'--app'|'--config'|'--organization') ;;
|
|
326
|
+
*) COMPREPLY=($(compgen -W '--channel --release --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
327
|
+
esac
|
|
328
|
+
;;
|
|
329
|
+
'release resume')
|
|
330
|
+
case $prev in
|
|
331
|
+
'--channel'|'--release'|'--app'|'--config'|'--organization') ;;
|
|
332
|
+
*) COMPREPLY=($(compgen -W '--channel --release --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
333
|
+
esac
|
|
334
|
+
;;
|
|
335
|
+
'release revoke')
|
|
336
|
+
case $prev in
|
|
337
|
+
'--channel'|'--release'|'--bundle'|'--release-from'|'--app'|'--config'|'--organization') ;;
|
|
338
|
+
*) COMPREPLY=($(compgen -W '--channel --release --all --bundle --release-from --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
339
|
+
esac
|
|
340
|
+
;;
|
|
341
|
+
'release rollback')
|
|
342
|
+
case $prev in
|
|
343
|
+
'--channel'|'--to-release'|'--app'|'--config'|'--organization') ;;
|
|
344
|
+
*) COMPREPLY=($(compgen -W '--channel --mandatory --to-release --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
345
|
+
esac
|
|
346
|
+
;;
|
|
347
|
+
'release rollout')
|
|
348
|
+
case $prev in
|
|
349
|
+
'--channel'|'--progression-minimum-seconds'|'--progression-minimum-update-count'|'--progression-rollout-percents'|'--release'|'--rollout-percent'|'--app'|'--config'|'--organization') ;;
|
|
350
|
+
*) COMPREPLY=($(compgen -W '--channel --progression --progression-minimum-seconds --progression-minimum-update-count --progression-rollout-percents --release --rollout-percent --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
351
|
+
esac
|
|
352
|
+
;;
|
|
353
|
+
'release update')
|
|
354
|
+
case $prev in
|
|
355
|
+
'--failure-action') COMPREPLY=($(compgen -W 'none notify pause revoke' -- "$cur")) ;;
|
|
356
|
+
'--channel'|'--failure-minimum-update-count'|'--failure-threshold-percent'|'--release'|'--notes'|'--app'|'--config'|'--organization') ;;
|
|
357
|
+
*) COMPREPLY=($(compgen -W '--channel --failure-action --failure-minimum-update-count --failure-threshold-percent --clear-failure-action --clear-failure-minimum-update-count --clear-failure-threshold-percent --release --clear-notes --mandatory --notes --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
358
|
+
esac
|
|
359
|
+
;;
|
|
360
|
+
'resource-file write')
|
|
361
|
+
case $prev in
|
|
362
|
+
'--platform') COMPREPLY=($(compgen -W 'android ios' -- "$cur")) ;;
|
|
363
|
+
'--embedded-bundle-path'|'--resource-file-path'|'--app'|'--config'|'--organization') ;;
|
|
364
|
+
*) COMPREPLY=($(compgen -W '--embedded-bundle-path --platform --resource-file-path --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
365
|
+
esac
|
|
366
|
+
;;
|
|
367
|
+
'signing-key add')
|
|
368
|
+
case $prev in
|
|
369
|
+
'--private-key-path'|'--app'|'--config'|'--organization') ;;
|
|
370
|
+
*) COMPREPLY=($(compgen -W '--private-key-path --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
371
|
+
esac
|
|
372
|
+
;;
|
|
373
|
+
'signing-key create')
|
|
374
|
+
case $prev in
|
|
375
|
+
'--private-key-path'|'--app'|'--config'|'--organization') ;;
|
|
376
|
+
*) COMPREPLY=($(compgen -W '--private-key-path --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
377
|
+
esac
|
|
378
|
+
;;
|
|
379
|
+
'signing-key delete')
|
|
380
|
+
case $prev in
|
|
381
|
+
'--signing-key'|'--app'|'--config'|'--organization') ;;
|
|
382
|
+
*) COMPREPLY=($(compgen -W '--signing-key --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
383
|
+
esac
|
|
384
|
+
;;
|
|
385
|
+
'signing-key list')
|
|
386
|
+
case $prev in
|
|
387
|
+
'--limit'|'--offset'|'--app'|'--config'|'--organization') ;;
|
|
388
|
+
*) COMPREPLY=($(compgen -W '--limit --offset --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
389
|
+
esac
|
|
390
|
+
;;
|
|
391
|
+
'sso-provider delete')
|
|
392
|
+
case $prev in
|
|
393
|
+
'--app'|'--config'|'--organization') ;;
|
|
394
|
+
*) COMPREPLY=($(compgen -W '--app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
395
|
+
esac
|
|
396
|
+
;;
|
|
397
|
+
'sso-provider get')
|
|
398
|
+
case $prev in
|
|
399
|
+
'--app'|'--config'|'--organization') ;;
|
|
400
|
+
*) COMPREPLY=($(compgen -W '--app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
401
|
+
esac
|
|
402
|
+
;;
|
|
403
|
+
'sso-provider set')
|
|
404
|
+
case $prev in
|
|
405
|
+
'--domain'|'--oidc-client-id'|'--oidc-client-secret'|'--oidc-discovery-endpoint'|'--oidc-issuer'|'--oidc-scopes'|'--saml-cert-path'|'--saml-entity-id'|'--saml-entry-point'|'--saml-issuer'|'--saml-metadata-path'|'--app'|'--config'|'--organization') ;;
|
|
406
|
+
*) COMPREPLY=($(compgen -W '--domain --oidc-client-id --oidc-client-secret --oidc-discovery-endpoint --oidc-issuer --oidc-scopes --saml-cert-path --saml-entity-id --saml-entry-point --saml-issuer --saml-metadata-path --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
407
|
+
esac
|
|
408
|
+
;;
|
|
409
|
+
'sso-provider verify')
|
|
410
|
+
case $prev in
|
|
411
|
+
'--app'|'--config'|'--organization') ;;
|
|
412
|
+
*) COMPREPLY=($(compgen -W '--app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
413
|
+
esac
|
|
414
|
+
;;
|
|
415
|
+
'statistics get')
|
|
416
|
+
case $prev in
|
|
417
|
+
'--type') COMPREPLY=($(compgen -W 'fleet updates usage' -- "$cur")) ;;
|
|
418
|
+
'--channel'|'--period-since'|'--period-until'|'--app'|'--config'|'--organization') ;;
|
|
419
|
+
*) COMPREPLY=($(compgen -W '--channel --period-since --period-until --type --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
420
|
+
esac
|
|
421
|
+
;;
|
|
422
|
+
'usage get')
|
|
423
|
+
case $prev in
|
|
424
|
+
'--month'|'--app'|'--config'|'--organization') ;;
|
|
425
|
+
*) COMPREPLY=($(compgen -W '--month --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
426
|
+
esac
|
|
427
|
+
;;
|
|
428
|
+
'usage list')
|
|
429
|
+
case $prev in
|
|
430
|
+
'--month'|'--limit'|'--offset'|'--app'|'--config'|'--organization') ;;
|
|
431
|
+
*) COMPREPLY=($(compgen -W '--month --limit --offset --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
432
|
+
esac
|
|
433
|
+
;;
|
|
434
|
+
'webhook create')
|
|
435
|
+
case $prev in
|
|
436
|
+
'--format') COMPREPLY=($(compgen -W 'raw slack discord teams' -- "$cur")) ;;
|
|
437
|
+
'--app'|'--event'|'--name'|'--url'|'--config'|'--organization') ;;
|
|
438
|
+
*) COMPREPLY=($(compgen -W '--app --event --format --name --url --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
439
|
+
esac
|
|
440
|
+
;;
|
|
441
|
+
'webhook delete')
|
|
442
|
+
case $prev in
|
|
443
|
+
'--webhook'|'--app'|'--config'|'--organization') ;;
|
|
444
|
+
*) COMPREPLY=($(compgen -W '--webhook --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
445
|
+
esac
|
|
446
|
+
;;
|
|
447
|
+
'webhook get')
|
|
448
|
+
case $prev in
|
|
449
|
+
'--webhook'|'--app'|'--config'|'--organization') ;;
|
|
450
|
+
*) COMPREPLY=($(compgen -W '--webhook --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
451
|
+
esac
|
|
452
|
+
;;
|
|
453
|
+
'webhook list')
|
|
454
|
+
case $prev in
|
|
455
|
+
'--limit'|'--offset'|'--app'|'--config'|'--organization') ;;
|
|
456
|
+
*) COMPREPLY=($(compgen -W '--limit --offset --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
457
|
+
esac
|
|
458
|
+
;;
|
|
459
|
+
'webhook test')
|
|
460
|
+
case $prev in
|
|
461
|
+
'--webhook'|'--app'|'--config'|'--organization') ;;
|
|
462
|
+
*) COMPREPLY=($(compgen -W '--webhook --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
463
|
+
esac
|
|
464
|
+
;;
|
|
465
|
+
'webhook update')
|
|
466
|
+
case $prev in
|
|
467
|
+
'--app'|'--event'|'--webhook'|'--name'|'--url'|'--config'|'--organization') ;;
|
|
468
|
+
*) COMPREPLY=($(compgen -W '--app --event --webhook --clear-app --enabled --name --url --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
469
|
+
esac
|
|
470
|
+
;;
|
|
471
|
+
'webhook-delivery list')
|
|
472
|
+
case $prev in
|
|
473
|
+
'--status') COMPREPLY=($(compgen -W 'failed pending succeeded' -- "$cur")) ;;
|
|
474
|
+
'--limit'|'--offset'|'--webhook'|'--created-since'|'--created-until'|'--app'|'--config'|'--organization') ;;
|
|
475
|
+
*) COMPREPLY=($(compgen -W '--limit --offset --webhook --created-since --created-until --status --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
476
|
+
esac
|
|
477
|
+
;;
|
|
478
|
+
'webhook-delivery redeliver')
|
|
479
|
+
case $prev in
|
|
480
|
+
'--webhook'|'--delivery'|'--app'|'--config'|'--organization') ;;
|
|
481
|
+
*) COMPREPLY=($(compgen -W '--webhook --delivery --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
482
|
+
esac
|
|
483
|
+
;;
|
|
484
|
+
'completion '*)
|
|
485
|
+
case $prev in
|
|
486
|
+
'--app'|'--config'|'--organization') ;;
|
|
487
|
+
*) [[ $cur == -* ]] && COMPREPLY=($(compgen -W '--app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
488
|
+
esac
|
|
489
|
+
;;
|
|
490
|
+
'doctor '*)
|
|
491
|
+
case $prev in
|
|
492
|
+
'--app'|'--config'|'--organization') ;;
|
|
493
|
+
*) COMPREPLY=($(compgen -W '--app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
494
|
+
esac
|
|
495
|
+
;;
|
|
496
|
+
'fingerprint '*)
|
|
497
|
+
case $prev in
|
|
498
|
+
'--app'|'--config'|'--organization') ;;
|
|
499
|
+
*) COMPREPLY=($(compgen -W '--app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
500
|
+
esac
|
|
501
|
+
;;
|
|
502
|
+
'init '*)
|
|
503
|
+
case $prev in
|
|
504
|
+
'--framework') COMPREPLY=($(compgen -W 'react_native expo capacitor cordova' -- "$cur")) ;;
|
|
505
|
+
'--android-path'|'--ios-path'|'--xcode-target'|'--app'|'--config'|'--organization') ;;
|
|
506
|
+
*) COMPREPLY=($(compgen -W '--android-path --framework --ios-path --xcode-target --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
507
|
+
esac
|
|
508
|
+
;;
|
|
509
|
+
'login '*)
|
|
510
|
+
case $prev in
|
|
511
|
+
'--api-url'|'--app'|'--config'|'--organization') ;;
|
|
512
|
+
*) COMPREPLY=($(compgen -W '--api-url --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
513
|
+
esac
|
|
514
|
+
;;
|
|
515
|
+
'logout '*)
|
|
516
|
+
case $prev in
|
|
517
|
+
'--app'|'--config'|'--organization') ;;
|
|
518
|
+
*) COMPREPLY=($(compgen -W '--app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
519
|
+
esac
|
|
520
|
+
;;
|
|
521
|
+
'open '*)
|
|
522
|
+
case $prev in
|
|
523
|
+
'--channel'|'--app'|'--config'|'--organization') ;;
|
|
524
|
+
*) COMPREPLY=($(compgen -W '--channel --app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
525
|
+
esac
|
|
526
|
+
;;
|
|
527
|
+
'whoami '*)
|
|
528
|
+
case $prev in
|
|
529
|
+
'--app'|'--config'|'--organization') ;;
|
|
530
|
+
*) COMPREPLY=($(compgen -W '--app --config --help --json --organization --verbose --version --yes' -- "$cur")) ;;
|
|
531
|
+
esac
|
|
532
|
+
;;
|
|
533
|
+
esac
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
complete -o default -F _hotcodepush hotcodepush
|