forked from withfig/autocomplete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gcloud.ts
359 lines (359 loc) · 9.34 KB
/
gcloud.ts
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
export const completionSpec: Fig.Spec = {
name: "gcloud",
description: "Manage Google Cloud Platform resources and developer workflow.",
subcommands: [
{
name: "access-context-manager",
description: "Manage Access Context Manager resources.",
loadSpec: "gcloud/access-context-manager",
},
{
name: "active-directory",
description: "Manage Managed Microsoft AD resources.",
loadSpec: "gcloud/active-directory",
},
{
name: "ai-platform",
description: "Manage AI Platform jobs and models.",
loadSpec: "gcloud/ai-platform",
},
{
name: "alpha",
description: "*(ALPHA)* Alpha versions of gcloud commands.",
loadSpec: "gcloud/alpha",
},
{
name: "anthos",
description: "Anthos command Group.",
loadSpec: "gcloud/anthos",
},
{
name: "apigee",
description: "Manage Apigee resources.",
loadSpec: "gcloud/apigee",
},
{
name: "app",
description: "Manage your App Engine deployments.",
loadSpec: "gcloud/app",
},
{
name: "artifacts",
description: "Manage Artifact Registry resources.",
loadSpec: "gcloud/artifacts",
},
{
name: "asset",
description: "Manage the Cloud Asset Inventory.",
loadSpec: "gcloud/asset",
},
{
name: "auth",
description: "Manage oauth2 credentials for the Google Cloud SDK.",
loadSpec: "gcloud/auth",
},
{
name: "beta",
description: "*(BETA)* Beta versions of gcloud commands.",
loadSpec: "gcloud/beta",
},
{
name: "bigtable",
description: "Manage your Cloud Bigtable storage.",
loadSpec: "gcloud/bigtable",
},
{
name: "builds",
description: "Create and manage builds for Google Cloud Build.",
loadSpec: "gcloud/builds",
},
{
name: "cheat-sheet",
description: "Display gcloud cheat sheet.",
loadSpec: "gcloud/cheat-sheet",
},
{
name: "cloud-shell",
description: "Manage Google Cloud Shell.",
loadSpec: "gcloud/cloud-shell",
},
{
name: "components",
description:
"List, install, update, or remove Google Cloud SDK components.",
loadSpec: "gcloud/components",
},
{
name: "composer",
description: "Create and manage Cloud Composer Environments.",
loadSpec: "gcloud/composer",
},
{
name: "compute",
description: "Create and manipulate Compute Engine resources.",
loadSpec: "gcloud/compute",
},
{
name: "config",
description: "View and edit Cloud SDK properties.",
loadSpec: "gcloud/config",
},
{
name: "container",
description:
"Deploy and manage clusters of machines for running containers.",
loadSpec: "gcloud/container",
},
{
name: "data-catalog",
description: "Manage Cloud Data Catalog resources.",
loadSpec: "gcloud/data-catalog",
},
{
name: "dataflow",
description: "Manage Google Cloud Dataflow resources.",
loadSpec: "gcloud/dataflow",
},
{
name: "dataproc",
description: "Create and manage Google Cloud Dataproc clusters and jobs.",
loadSpec: "gcloud/dataproc",
},
{
name: "datastore",
description: "Manage your Cloud Datastore resources.",
loadSpec: "gcloud/datastore",
},
{
name: "debug",
description: "Commands for interacting with the Cloud Debugger.",
loadSpec: "gcloud/debug",
},
{
name: "deployment-manager",
description: "Manage deployments of cloud resources.",
loadSpec: "gcloud/deployment-manager",
},
{
name: "dns",
description: "Manage your Cloud DNS managed-zones and record-sets.",
loadSpec: "gcloud/dns",
},
{
name: "docker",
description:
"*(DEPRECATED)* Enable Docker CLI access to Google Container Registry.",
loadSpec: "gcloud/docker",
},
{
name: "domains",
description: "Manage domains for your Google Cloud projects.",
loadSpec: "gcloud/domains",
},
{
name: "endpoints",
description: "Create, enable and manage API services.",
loadSpec: "gcloud/endpoints",
},
{
name: "feedback",
description: "Provide feedback to the Google Cloud SDK team.",
loadSpec: "gcloud/feedback",
},
{
name: "filestore",
description: "Create and manipulate Cloud Filestore resources.",
loadSpec: "gcloud/filestore",
},
{
name: "firebase",
description: "Work with Google Firebase.",
loadSpec: "gcloud/firebase",
},
{
name: "firestore",
description: "Manage your Cloud Firestore resources.",
loadSpec: "gcloud/firestore",
},
{
name: "functions",
description: "Manage Google Cloud Functions.",
loadSpec: "gcloud/functions",
},
{
name: "game",
description: "Managed Cloud Game Services.",
loadSpec: "gcloud/game",
},
{
name: "healthcare",
description: "Manage Cloud Healthcare resources.",
loadSpec: "gcloud/healthcare",
},
{
name: "help",
description: "Search gcloud help text.",
loadSpec: "gcloud/help",
},
{
name: "iam",
description: "Manage IAM service accounts and keys.",
loadSpec: "gcloud/iam",
},
{
name: "iap",
description: "Manage IAP policies.",
loadSpec: "gcloud/iap",
},
{
name: "identity",
description: "Manage Cloud Identity Groups and Memberships resources.",
loadSpec: "gcloud/identity",
},
{
name: "info",
description: "Display information about the current gcloud environment.",
loadSpec: "gcloud/info",
},
{
name: "init",
description: "Initialize or reinitialize gcloud.",
loadSpec: "gcloud/init",
},
{
name: "iot",
description: "Manage Cloud IoT resources.",
loadSpec: "gcloud/iot",
},
{
name: "kms",
description: "Manage cryptographic keys in the cloud.",
loadSpec: "gcloud/kms",
},
{
name: "logging",
description: "Manage Cloud Logging.",
loadSpec: "gcloud/logging",
},
{
name: "meta",
description: "Cloud meta introspection commands.",
loadSpec: "gcloud/meta",
},
{
name: "ml",
description: "Use Google Cloud machine learning capabilities.",
loadSpec: "gcloud/ml",
},
{
name: "ml-engine",
description: "Manage AI Platform jobs and models.",
loadSpec: "gcloud/ml-engine",
},
{
name: "monitoring",
description: "Manage Cloud Monitoring dashboards.",
loadSpec: "gcloud/monitoring",
},
{
name: "network-management",
description: "Manage Network Management resources.",
loadSpec: "gcloud/network-management",
},
{
name: "organizations",
description: "Create and manage Google Cloud Platform Organizations.",
loadSpec: "gcloud/organizations",
},
{
name: "policy-troubleshoot",
description: "Troubleshoot Google Cloud Platform policies.",
loadSpec: "gcloud/policy-troubleshoot",
},
{
name: "projects",
description: "Create and manage project access policies.",
loadSpec: "gcloud/projects",
},
{
name: "pubsub",
description: "Manage Cloud Pub/Sub topics, subscriptions, and snapshots.",
loadSpec: "gcloud/pubsub",
},
{
name: "recommender",
description: "Manage Cloud recommendations and recommendation rules.",
loadSpec: "gcloud/recommender",
},
{
name: "redis",
description: "Manage Cloud Memorystore Redis resources.",
loadSpec: "gcloud/redis",
},
{
name: "resource-manager",
description: "Manage Cloud Resources.",
loadSpec: "gcloud/resource-manager",
},
{
name: "run",
description: "Manage your Cloud Run applications.",
loadSpec: "gcloud/run",
},
{
name: "scc",
description: "Manage Cloud SCC resources.",
loadSpec: "gcloud/scc",
},
{
name: "scheduler",
description: "Manage Cloud Scheduler jobs and schedules.",
loadSpec: "gcloud/scheduler",
},
{
name: "secrets",
description: "Manage secrets on Google Cloud.",
loadSpec: "gcloud/secrets",
},
{
name: "services",
description: "List, enable and disable APIs and services.",
loadSpec: "gcloud/services",
},
{
name: "source",
description: "Cloud git repository commands.",
loadSpec: "gcloud/source",
},
{
name: "spanner",
description: "Command groups for Cloud Spanner.",
loadSpec: "gcloud/spanner",
},
{
name: "sql",
description: "Create and manage Google Cloud SQL databases.",
loadSpec: "gcloud/sql",
},
{
name: "survey",
description: "Invoke a customer satisfaction survey for Cloud SDK.",
loadSpec: "gcloud/survey",
},
{
name: "tasks",
description: "Manage Cloud Tasks queues and tasks.",
loadSpec: "gcloud/tasks",
},
{
name: "topic",
description: "gcloud supplementary help.",
loadSpec: "gcloud/topic",
},
{
name: "version",
description: "Print version information for Cloud SDK components.",
loadSpec: "gcloud/version",
},
],
};