@adobe/aio-cli-plugin-app-storage 1.3.0-pre.2026-02-20.sha-df98265c → 1.5.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.
@@ -0,0 +1,1600 @@
1
+ {
2
+ "commands": {
3
+ "app:add:db": {
4
+ "aliases": [],
5
+ "args": {},
6
+ "description": "Provision a new database for your App Builder application",
7
+ "examples": [
8
+ "$ aio app add db",
9
+ "$ aio app add db --region amer",
10
+ "$ aio app add db --json",
11
+ "$ aio app add db --yes"
12
+ ],
13
+ "flags": {
14
+ "json": {
15
+ "description": "Format output as json.",
16
+ "helpGroup": "GLOBAL",
17
+ "name": "json",
18
+ "required": false,
19
+ "allowNo": false,
20
+ "type": "boolean"
21
+ },
22
+ "region": {
23
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
24
+ "helpGroup": "GLOBAL",
25
+ "name": "region",
26
+ "required": false,
27
+ "hasDynamicHelp": false,
28
+ "multiple": false,
29
+ "type": "option"
30
+ },
31
+ "yes": {
32
+ "char": "y",
33
+ "description": "Skip confirmation prompt and provision automatically",
34
+ "name": "yes",
35
+ "allowNo": false,
36
+ "type": "boolean"
37
+ }
38
+ },
39
+ "hasDynamicHelp": false,
40
+ "hiddenAliases": [],
41
+ "id": "app:add:db",
42
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
43
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
44
+ "pluginType": "core",
45
+ "strict": true,
46
+ "enableJsonFlag": true,
47
+ "isESM": true,
48
+ "relativePath": [
49
+ "src",
50
+ "commands",
51
+ "app",
52
+ "add",
53
+ "db.js"
54
+ ]
55
+ },
56
+ "app:state:delete": {
57
+ "aliases": [
58
+ "app:state:del",
59
+ "app:state:remove",
60
+ "app:state:rm"
61
+ ],
62
+ "args": {
63
+ "keys": {
64
+ "description": "keys to delete. Above 5 keys, you will be prompted for confirmation",
65
+ "name": "keys",
66
+ "required": false
67
+ }
68
+ },
69
+ "description": "Delete key-values",
70
+ "examples": [
71
+ "$ aio app state delete key",
72
+ "$ aio app state delete key1 key2 key3",
73
+ "$ aio app state delete --match 'gl*b'",
74
+ "$ aio app state delete --match 'gl*b' --json",
75
+ "$ aio app state delete --match 'be-carreful*' --force"
76
+ ],
77
+ "flags": {
78
+ "json": {
79
+ "description": "Format output as json.",
80
+ "helpGroup": "GLOBAL",
81
+ "name": "json",
82
+ "allowNo": false,
83
+ "type": "boolean"
84
+ },
85
+ "region": {
86
+ "description": "State region. Defaults to 'AIO_STATE_REGION' env or 'amer' if neither is set.",
87
+ "name": "region",
88
+ "required": false,
89
+ "hasDynamicHelp": false,
90
+ "multiple": false,
91
+ "options": [
92
+ "amer",
93
+ "emea",
94
+ "apac",
95
+ "aus"
96
+ ],
97
+ "type": "option"
98
+ },
99
+ "match": {
100
+ "description": "[use with caution!] deletes ALL key-values matching the provided glob-like pattern",
101
+ "name": "match",
102
+ "required": false,
103
+ "hasDynamicHelp": false,
104
+ "multiple": false,
105
+ "type": "option"
106
+ },
107
+ "force": {
108
+ "description": "[use with caution!] force delete, no safety prompt",
109
+ "name": "force",
110
+ "allowNo": false,
111
+ "type": "boolean"
112
+ }
113
+ },
114
+ "hasDynamicHelp": false,
115
+ "hiddenAliases": [],
116
+ "id": "app:state:delete",
117
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
118
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
119
+ "pluginType": "core",
120
+ "strict": false,
121
+ "enableJsonFlag": true,
122
+ "isESM": true,
123
+ "relativePath": [
124
+ "src",
125
+ "commands",
126
+ "app",
127
+ "state",
128
+ "delete.js"
129
+ ]
130
+ },
131
+ "app:state:get": {
132
+ "aliases": [],
133
+ "args": {
134
+ "key": {
135
+ "description": "State key",
136
+ "name": "key",
137
+ "required": true
138
+ }
139
+ },
140
+ "description": "Get a key-value",
141
+ "examples": [
142
+ "$ aio app state get key",
143
+ "$ aio app state get key --json",
144
+ "$ aio app state get key | wc -c"
145
+ ],
146
+ "flags": {
147
+ "json": {
148
+ "description": "Format output as json.",
149
+ "helpGroup": "GLOBAL",
150
+ "name": "json",
151
+ "allowNo": false,
152
+ "type": "boolean"
153
+ },
154
+ "region": {
155
+ "description": "State region. Defaults to 'AIO_STATE_REGION' env or 'amer' if neither is set.",
156
+ "name": "region",
157
+ "required": false,
158
+ "hasDynamicHelp": false,
159
+ "multiple": false,
160
+ "options": [
161
+ "amer",
162
+ "emea",
163
+ "apac",
164
+ "aus"
165
+ ],
166
+ "type": "option"
167
+ }
168
+ },
169
+ "hasDynamicHelp": false,
170
+ "hiddenAliases": [],
171
+ "id": "app:state:get",
172
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
173
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
174
+ "pluginType": "core",
175
+ "strict": true,
176
+ "enableJsonFlag": true,
177
+ "isESM": true,
178
+ "relativePath": [
179
+ "src",
180
+ "commands",
181
+ "app",
182
+ "state",
183
+ "get.js"
184
+ ]
185
+ },
186
+ "app:state:list": {
187
+ "aliases": [
188
+ "app:state:ls"
189
+ ],
190
+ "args": {},
191
+ "description": "List key-values",
192
+ "examples": [
193
+ "$ aio app state list",
194
+ "$ aio app state list --match 'gl*b'",
195
+ "$ aio app state list --json",
196
+ "$ aio app state list | less",
197
+ "$ aio app state list | wc -l"
198
+ ],
199
+ "flags": {
200
+ "json": {
201
+ "description": "Format output as json.",
202
+ "helpGroup": "GLOBAL",
203
+ "name": "json",
204
+ "allowNo": false,
205
+ "type": "boolean"
206
+ },
207
+ "region": {
208
+ "description": "State region. Defaults to 'AIO_STATE_REGION' env or 'amer' if neither is set.",
209
+ "name": "region",
210
+ "required": false,
211
+ "hasDynamicHelp": false,
212
+ "multiple": false,
213
+ "options": [
214
+ "amer",
215
+ "emea",
216
+ "apac",
217
+ "aus"
218
+ ],
219
+ "type": "option"
220
+ },
221
+ "match": {
222
+ "char": "m",
223
+ "description": "Glob-like pattern to filter keys",
224
+ "name": "match",
225
+ "required": false,
226
+ "default": "*",
227
+ "hasDynamicHelp": false,
228
+ "multiple": false,
229
+ "type": "option"
230
+ }
231
+ },
232
+ "hasDynamicHelp": false,
233
+ "hiddenAliases": [],
234
+ "id": "app:state:list",
235
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
236
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
237
+ "pluginType": "core",
238
+ "strict": true,
239
+ "enableJsonFlag": true,
240
+ "isESM": true,
241
+ "relativePath": [
242
+ "src",
243
+ "commands",
244
+ "app",
245
+ "state",
246
+ "list.js"
247
+ ]
248
+ },
249
+ "app:state:put": {
250
+ "aliases": [],
251
+ "args": {
252
+ "key": {
253
+ "description": "State key",
254
+ "name": "key",
255
+ "required": true
256
+ },
257
+ "value": {
258
+ "description": "State value",
259
+ "name": "value",
260
+ "required": true
261
+ }
262
+ },
263
+ "description": "Put a key-value",
264
+ "examples": [
265
+ "$ aio app state put key value",
266
+ "$ aio app state put key value --ttl 3600",
267
+ "$ aio app state put key value --json",
268
+ "$ cat value/from/file | xargs -0 ./bin/run.js app state put key"
269
+ ],
270
+ "flags": {
271
+ "json": {
272
+ "description": "Format output as json.",
273
+ "helpGroup": "GLOBAL",
274
+ "name": "json",
275
+ "allowNo": false,
276
+ "type": "boolean"
277
+ },
278
+ "region": {
279
+ "description": "State region. Defaults to 'AIO_STATE_REGION' env or 'amer' if neither is set.",
280
+ "name": "region",
281
+ "required": false,
282
+ "hasDynamicHelp": false,
283
+ "multiple": false,
284
+ "options": [
285
+ "amer",
286
+ "emea",
287
+ "apac",
288
+ "aus"
289
+ ],
290
+ "type": "option"
291
+ },
292
+ "ttl": {
293
+ "char": "t",
294
+ "description": "Time to live in seconds. Default is 86400 (24 hours), max is 31536000 (1 year).",
295
+ "name": "ttl",
296
+ "required": false,
297
+ "hasDynamicHelp": false,
298
+ "multiple": false,
299
+ "type": "option"
300
+ }
301
+ },
302
+ "hasDynamicHelp": false,
303
+ "hiddenAliases": [],
304
+ "id": "app:state:put",
305
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
306
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
307
+ "pluginType": "core",
308
+ "strict": true,
309
+ "enableJsonFlag": true,
310
+ "isESM": true,
311
+ "relativePath": [
312
+ "src",
313
+ "commands",
314
+ "app",
315
+ "state",
316
+ "put.js"
317
+ ]
318
+ },
319
+ "app:state:stats": {
320
+ "aliases": [],
321
+ "args": {},
322
+ "description": "Display stats",
323
+ "examples": [
324
+ "$ aio app state stats",
325
+ "$ aio app state stats --json"
326
+ ],
327
+ "flags": {
328
+ "json": {
329
+ "description": "Format output as json.",
330
+ "helpGroup": "GLOBAL",
331
+ "name": "json",
332
+ "allowNo": false,
333
+ "type": "boolean"
334
+ },
335
+ "region": {
336
+ "description": "State region. Defaults to 'AIO_STATE_REGION' env or 'amer' if neither is set.",
337
+ "name": "region",
338
+ "required": false,
339
+ "hasDynamicHelp": false,
340
+ "multiple": false,
341
+ "options": [
342
+ "amer",
343
+ "emea",
344
+ "apac",
345
+ "aus"
346
+ ],
347
+ "type": "option"
348
+ }
349
+ },
350
+ "hasDynamicHelp": false,
351
+ "hiddenAliases": [],
352
+ "id": "app:state:stats",
353
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
354
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
355
+ "pluginType": "core",
356
+ "strict": true,
357
+ "enableJsonFlag": true,
358
+ "isESM": true,
359
+ "relativePath": [
360
+ "src",
361
+ "commands",
362
+ "app",
363
+ "state",
364
+ "stats.js"
365
+ ]
366
+ },
367
+ "app:db:delete": {
368
+ "aliases": [],
369
+ "args": {},
370
+ "description": "Delete the database for your App Builder application (non-production only)",
371
+ "examples": [
372
+ "$ aio app db delete",
373
+ "$ aio app db delete --force",
374
+ "$ aio app db delete --json"
375
+ ],
376
+ "flags": {
377
+ "json": {
378
+ "description": "Format output as json.",
379
+ "helpGroup": "GLOBAL",
380
+ "name": "json",
381
+ "required": false,
382
+ "allowNo": false,
383
+ "type": "boolean"
384
+ },
385
+ "region": {
386
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
387
+ "helpGroup": "GLOBAL",
388
+ "name": "region",
389
+ "required": false,
390
+ "hasDynamicHelp": false,
391
+ "multiple": false,
392
+ "type": "option"
393
+ },
394
+ "force": {
395
+ "description": "[use with caution!] force delete, skips confirmation safety prompt",
396
+ "name": "force",
397
+ "allowNo": false,
398
+ "type": "boolean"
399
+ }
400
+ },
401
+ "hasDynamicHelp": false,
402
+ "hiddenAliases": [],
403
+ "id": "app:db:delete",
404
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
405
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
406
+ "pluginType": "core",
407
+ "strict": true,
408
+ "enableJsonFlag": true,
409
+ "isESM": true,
410
+ "relativePath": [
411
+ "src",
412
+ "commands",
413
+ "app",
414
+ "db",
415
+ "delete.js"
416
+ ]
417
+ },
418
+ "app:db:ping": {
419
+ "aliases": [],
420
+ "args": {},
421
+ "description": "Test connectivity to your App Builder database",
422
+ "examples": [
423
+ "$ aio app db ping",
424
+ "$ aio app db ping --json"
425
+ ],
426
+ "flags": {
427
+ "json": {
428
+ "description": "Format output as json.",
429
+ "helpGroup": "GLOBAL",
430
+ "name": "json",
431
+ "required": false,
432
+ "allowNo": false,
433
+ "type": "boolean"
434
+ },
435
+ "region": {
436
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
437
+ "helpGroup": "GLOBAL",
438
+ "name": "region",
439
+ "required": false,
440
+ "hasDynamicHelp": false,
441
+ "multiple": false,
442
+ "type": "option"
443
+ }
444
+ },
445
+ "hasDynamicHelp": false,
446
+ "hiddenAliases": [],
447
+ "id": "app:db:ping",
448
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
449
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
450
+ "pluginType": "core",
451
+ "strict": true,
452
+ "enableJsonFlag": true,
453
+ "isESM": true,
454
+ "relativePath": [
455
+ "src",
456
+ "commands",
457
+ "app",
458
+ "db",
459
+ "ping.js"
460
+ ]
461
+ },
462
+ "app:db:provision": {
463
+ "aliases": [],
464
+ "args": {},
465
+ "description": "Provision a new database for your App Builder application",
466
+ "examples": [
467
+ "$ aio app db provision",
468
+ "$ aio app db provision --region amer",
469
+ "$ aio app db provision --json",
470
+ "$ aio app db provision --yes"
471
+ ],
472
+ "flags": {
473
+ "json": {
474
+ "description": "Format output as json.",
475
+ "helpGroup": "GLOBAL",
476
+ "name": "json",
477
+ "required": false,
478
+ "allowNo": false,
479
+ "type": "boolean"
480
+ },
481
+ "region": {
482
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
483
+ "helpGroup": "GLOBAL",
484
+ "name": "region",
485
+ "required": false,
486
+ "hasDynamicHelp": false,
487
+ "multiple": false,
488
+ "type": "option"
489
+ },
490
+ "yes": {
491
+ "char": "y",
492
+ "description": "Skip confirmation prompt and provision automatically",
493
+ "name": "yes",
494
+ "allowNo": false,
495
+ "type": "boolean"
496
+ }
497
+ },
498
+ "hasDynamicHelp": false,
499
+ "hiddenAliases": [],
500
+ "id": "app:db:provision",
501
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
502
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
503
+ "pluginType": "core",
504
+ "strict": true,
505
+ "enableJsonFlag": true,
506
+ "isESM": true,
507
+ "relativePath": [
508
+ "src",
509
+ "commands",
510
+ "app",
511
+ "db",
512
+ "provision.js"
513
+ ]
514
+ },
515
+ "app:db:stats": {
516
+ "aliases": [],
517
+ "args": {},
518
+ "description": "Get statistics about your App Builder database",
519
+ "examples": [
520
+ "$ aio app db stats",
521
+ "$ aio app db stats --scale 1024",
522
+ "$ aio app db stats --json"
523
+ ],
524
+ "flags": {
525
+ "json": {
526
+ "description": "Format output as json.",
527
+ "helpGroup": "GLOBAL",
528
+ "name": "json",
529
+ "required": false,
530
+ "allowNo": false,
531
+ "type": "boolean"
532
+ },
533
+ "region": {
534
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
535
+ "helpGroup": "GLOBAL",
536
+ "name": "region",
537
+ "required": false,
538
+ "hasDynamicHelp": false,
539
+ "multiple": false,
540
+ "type": "option"
541
+ },
542
+ "scale": {
543
+ "char": "s",
544
+ "description": "Scale factor for size-related statistics (e.g. 1024 for KB, 1048576 for MB).",
545
+ "name": "scale",
546
+ "required": false,
547
+ "default": 1,
548
+ "hasDynamicHelp": false,
549
+ "multiple": false,
550
+ "type": "option"
551
+ }
552
+ },
553
+ "hasDynamicHelp": false,
554
+ "hiddenAliases": [],
555
+ "id": "app:db:stats",
556
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
557
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
558
+ "pluginType": "core",
559
+ "strict": true,
560
+ "enableJsonFlag": true,
561
+ "isESM": true,
562
+ "relativePath": [
563
+ "src",
564
+ "commands",
565
+ "app",
566
+ "db",
567
+ "stats.js"
568
+ ]
569
+ },
570
+ "app:db:status": {
571
+ "aliases": [],
572
+ "args": {},
573
+ "description": "Check the provisioning status of your App Builder database",
574
+ "examples": [
575
+ "$ aio app db status",
576
+ "$ aio app db status --watch",
577
+ "$ aio app db status --json"
578
+ ],
579
+ "flags": {
580
+ "json": {
581
+ "description": "Format output as json.",
582
+ "helpGroup": "GLOBAL",
583
+ "name": "json",
584
+ "required": false,
585
+ "allowNo": false,
586
+ "type": "boolean"
587
+ },
588
+ "region": {
589
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
590
+ "helpGroup": "GLOBAL",
591
+ "name": "region",
592
+ "required": false,
593
+ "hasDynamicHelp": false,
594
+ "multiple": false,
595
+ "type": "option"
596
+ },
597
+ "watch": {
598
+ "description": "Watch for status changes (press Ctrl+C to stop)",
599
+ "name": "watch",
600
+ "allowNo": false,
601
+ "type": "boolean"
602
+ }
603
+ },
604
+ "hasDynamicHelp": false,
605
+ "hiddenAliases": [],
606
+ "id": "app:db:status",
607
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
608
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
609
+ "pluginType": "core",
610
+ "strict": true,
611
+ "enableJsonFlag": true,
612
+ "isESM": true,
613
+ "relativePath": [
614
+ "src",
615
+ "commands",
616
+ "app",
617
+ "db",
618
+ "status.js"
619
+ ]
620
+ },
621
+ "app:db:collection:create": {
622
+ "aliases": [
623
+ "app:db:col:create"
624
+ ],
625
+ "args": {
626
+ "collection": {
627
+ "description": "The name of the collection to create",
628
+ "name": "collection",
629
+ "required": true
630
+ }
631
+ },
632
+ "description": "Create a new collection in the database",
633
+ "examples": [
634
+ "$ aio app db collection create users",
635
+ "$ aio app db collection create inventory --validator '{\"type\": \"object\", \"required\": [\"id\", \"quantity\"]}' --json",
636
+ "$ aio app db col create products --json",
637
+ "$ aio app db col create products --validator '{\"type\": \"object\", \"properties\": {\"name\": {\"type\": \"string\"}, \"price\": {\"type\": \"number\", \"minimum\": 0}}, \"required\": [\"name\", \"price\"]}'"
638
+ ],
639
+ "flags": {
640
+ "json": {
641
+ "description": "Format output as json.",
642
+ "helpGroup": "GLOBAL",
643
+ "name": "json",
644
+ "required": false,
645
+ "allowNo": false,
646
+ "type": "boolean"
647
+ },
648
+ "region": {
649
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
650
+ "helpGroup": "GLOBAL",
651
+ "name": "region",
652
+ "required": false,
653
+ "hasDynamicHelp": false,
654
+ "multiple": false,
655
+ "type": "option"
656
+ },
657
+ "validator": {
658
+ "char": "v",
659
+ "description": "JSON schema validator for document validation (JSON string)",
660
+ "name": "validator",
661
+ "hasDynamicHelp": false,
662
+ "multiple": false,
663
+ "type": "option"
664
+ }
665
+ },
666
+ "hasDynamicHelp": false,
667
+ "hiddenAliases": [],
668
+ "id": "app:db:collection:create",
669
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
670
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
671
+ "pluginType": "core",
672
+ "strict": true,
673
+ "enableJsonFlag": true,
674
+ "isESM": true,
675
+ "relativePath": [
676
+ "src",
677
+ "commands",
678
+ "app",
679
+ "db",
680
+ "collection",
681
+ "create.js"
682
+ ]
683
+ },
684
+ "app:db:collection:drop": {
685
+ "aliases": [
686
+ "app:db:col:drop"
687
+ ],
688
+ "args": {
689
+ "collection": {
690
+ "description": "The name of the collection to drop",
691
+ "name": "collection",
692
+ "required": true
693
+ }
694
+ },
695
+ "description": "Drop a collection from the database",
696
+ "examples": [
697
+ "$ aio app db collection drop users",
698
+ "$ aio app db collection drop products --json",
699
+ "$ aio app db col drop inventory"
700
+ ],
701
+ "flags": {
702
+ "json": {
703
+ "description": "Format output as json.",
704
+ "helpGroup": "GLOBAL",
705
+ "name": "json",
706
+ "required": false,
707
+ "allowNo": false,
708
+ "type": "boolean"
709
+ },
710
+ "region": {
711
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
712
+ "helpGroup": "GLOBAL",
713
+ "name": "region",
714
+ "required": false,
715
+ "hasDynamicHelp": false,
716
+ "multiple": false,
717
+ "type": "option"
718
+ }
719
+ },
720
+ "hasDynamicHelp": false,
721
+ "hiddenAliases": [],
722
+ "id": "app:db:collection:drop",
723
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
724
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
725
+ "pluginType": "core",
726
+ "strict": true,
727
+ "enableJsonFlag": true,
728
+ "isESM": true,
729
+ "relativePath": [
730
+ "src",
731
+ "commands",
732
+ "app",
733
+ "db",
734
+ "collection",
735
+ "drop.js"
736
+ ]
737
+ },
738
+ "app:db:collection:list": {
739
+ "aliases": [
740
+ "app:db:col:list",
741
+ "app:db:show:collections"
742
+ ],
743
+ "args": {},
744
+ "description": "Get the list of collections in your App Builder database",
745
+ "examples": [
746
+ "$ aio app db collection list",
747
+ "$ aio app db collection list --info",
748
+ "$ aio app db collection list --json",
749
+ "$ aio app db col list --info --json"
750
+ ],
751
+ "flags": {
752
+ "json": {
753
+ "description": "Format output as json.",
754
+ "helpGroup": "GLOBAL",
755
+ "name": "json",
756
+ "required": false,
757
+ "allowNo": false,
758
+ "type": "boolean"
759
+ },
760
+ "region": {
761
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
762
+ "helpGroup": "GLOBAL",
763
+ "name": "region",
764
+ "required": false,
765
+ "hasDynamicHelp": false,
766
+ "multiple": false,
767
+ "type": "option"
768
+ },
769
+ "info": {
770
+ "char": "i",
771
+ "description": "Show detailed collection information instead of just names",
772
+ "name": "info",
773
+ "allowNo": false,
774
+ "type": "boolean"
775
+ }
776
+ },
777
+ "hasDynamicHelp": false,
778
+ "hiddenAliases": [],
779
+ "id": "app:db:collection:list",
780
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
781
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
782
+ "pluginType": "core",
783
+ "strict": true,
784
+ "enableJsonFlag": true,
785
+ "isESM": true,
786
+ "relativePath": [
787
+ "src",
788
+ "commands",
789
+ "app",
790
+ "db",
791
+ "collection",
792
+ "list.js"
793
+ ]
794
+ },
795
+ "app:db:collection:rename": {
796
+ "aliases": [
797
+ "app:db:col:rename"
798
+ ],
799
+ "args": {
800
+ "currentName": {
801
+ "description": "The current name of the collection to rename",
802
+ "name": "currentName",
803
+ "required": true
804
+ },
805
+ "newName": {
806
+ "description": "The new name for the collection",
807
+ "name": "newName",
808
+ "required": true
809
+ }
810
+ },
811
+ "description": "Rename a collection in the database",
812
+ "examples": [
813
+ "$ aio app db collection rename users customers",
814
+ "$ aio app db collection rename old_products new_products --json",
815
+ "$ aio app db col rename inventory stock"
816
+ ],
817
+ "flags": {
818
+ "json": {
819
+ "description": "Format output as json.",
820
+ "helpGroup": "GLOBAL",
821
+ "name": "json",
822
+ "required": false,
823
+ "allowNo": false,
824
+ "type": "boolean"
825
+ },
826
+ "region": {
827
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
828
+ "helpGroup": "GLOBAL",
829
+ "name": "region",
830
+ "required": false,
831
+ "hasDynamicHelp": false,
832
+ "multiple": false,
833
+ "type": "option"
834
+ }
835
+ },
836
+ "hasDynamicHelp": false,
837
+ "hiddenAliases": [],
838
+ "id": "app:db:collection:rename",
839
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
840
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
841
+ "pluginType": "core",
842
+ "strict": true,
843
+ "enableJsonFlag": true,
844
+ "isESM": true,
845
+ "relativePath": [
846
+ "src",
847
+ "commands",
848
+ "app",
849
+ "db",
850
+ "collection",
851
+ "rename.js"
852
+ ]
853
+ },
854
+ "app:db:collection:stats": {
855
+ "aliases": [
856
+ "app:db:col:stats"
857
+ ],
858
+ "args": {
859
+ "collection": {
860
+ "description": "The name of the collection to get stats for",
861
+ "name": "collection",
862
+ "required": true
863
+ }
864
+ },
865
+ "description": "Get statistics for a collection in the database",
866
+ "examples": [
867
+ "$ aio app db collection stats users",
868
+ "$ aio app db collection stats products --json",
869
+ "$ aio app db col stats inventory"
870
+ ],
871
+ "flags": {
872
+ "json": {
873
+ "description": "Format output as json.",
874
+ "helpGroup": "GLOBAL",
875
+ "name": "json",
876
+ "required": false,
877
+ "allowNo": false,
878
+ "type": "boolean"
879
+ },
880
+ "region": {
881
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
882
+ "helpGroup": "GLOBAL",
883
+ "name": "region",
884
+ "required": false,
885
+ "hasDynamicHelp": false,
886
+ "multiple": false,
887
+ "type": "option"
888
+ }
889
+ },
890
+ "hasDynamicHelp": false,
891
+ "hiddenAliases": [],
892
+ "id": "app:db:collection:stats",
893
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
894
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
895
+ "pluginType": "core",
896
+ "strict": true,
897
+ "enableJsonFlag": true,
898
+ "isESM": true,
899
+ "relativePath": [
900
+ "src",
901
+ "commands",
902
+ "app",
903
+ "db",
904
+ "collection",
905
+ "stats.js"
906
+ ]
907
+ },
908
+ "app:db:document:count": {
909
+ "aliases": [
910
+ "app:db:doc:count"
911
+ ],
912
+ "args": {
913
+ "collection": {
914
+ "description": "The name of the collection",
915
+ "name": "collection",
916
+ "required": true
917
+ },
918
+ "query": {
919
+ "description": "The query filter document (JSON string). If not provided, counts all documents.",
920
+ "name": "query",
921
+ "required": false
922
+ }
923
+ },
924
+ "description": "Count documents in a collection",
925
+ "examples": [
926
+ "$ aio app db document countDocuments users",
927
+ "$ aio app db document countDocuments users '{\"age\": {\"$gte\": 21}}'",
928
+ "$ aio app db document countDocuments products '{\"category\": \"electronics\"}' --json",
929
+ "$ aio app db doc count orders '{\"status\": \"shipped\"}'"
930
+ ],
931
+ "flags": {
932
+ "json": {
933
+ "description": "Format output as json.",
934
+ "helpGroup": "GLOBAL",
935
+ "name": "json",
936
+ "required": false,
937
+ "allowNo": false,
938
+ "type": "boolean"
939
+ },
940
+ "region": {
941
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
942
+ "helpGroup": "GLOBAL",
943
+ "name": "region",
944
+ "required": false,
945
+ "hasDynamicHelp": false,
946
+ "multiple": false,
947
+ "type": "option"
948
+ }
949
+ },
950
+ "hasDynamicHelp": false,
951
+ "hiddenAliases": [],
952
+ "id": "app:db:document:count",
953
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
954
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
955
+ "pluginType": "core",
956
+ "strict": true,
957
+ "enableJsonFlag": true,
958
+ "isESM": true,
959
+ "relativePath": [
960
+ "src",
961
+ "commands",
962
+ "app",
963
+ "db",
964
+ "document",
965
+ "count.js"
966
+ ]
967
+ },
968
+ "app:db:document:delete": {
969
+ "aliases": [
970
+ "app:db:doc:delete"
971
+ ],
972
+ "args": {
973
+ "collection": {
974
+ "description": "The name of the collection",
975
+ "name": "collection",
976
+ "required": true
977
+ },
978
+ "filter": {
979
+ "description": "The filter document (JSON string)",
980
+ "name": "filter",
981
+ "required": true
982
+ }
983
+ },
984
+ "description": "Delete a single document from a collection",
985
+ "examples": [
986
+ "$ aio app db document delete users '{\"name\": \"John\"}'",
987
+ "$ aio app db document delete products '{\"id\": \"123\"}' --json",
988
+ "$ aio app db doc delete posts '{\"status\": \"draft\"}'"
989
+ ],
990
+ "flags": {
991
+ "json": {
992
+ "description": "Format output as json.",
993
+ "helpGroup": "GLOBAL",
994
+ "name": "json",
995
+ "required": false,
996
+ "allowNo": false,
997
+ "type": "boolean"
998
+ },
999
+ "region": {
1000
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
1001
+ "helpGroup": "GLOBAL",
1002
+ "name": "region",
1003
+ "required": false,
1004
+ "hasDynamicHelp": false,
1005
+ "multiple": false,
1006
+ "type": "option"
1007
+ }
1008
+ },
1009
+ "hasDynamicHelp": false,
1010
+ "hiddenAliases": [],
1011
+ "id": "app:db:document:delete",
1012
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
1013
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
1014
+ "pluginType": "core",
1015
+ "strict": true,
1016
+ "enableJsonFlag": true,
1017
+ "isESM": true,
1018
+ "relativePath": [
1019
+ "src",
1020
+ "commands",
1021
+ "app",
1022
+ "db",
1023
+ "document",
1024
+ "delete.js"
1025
+ ]
1026
+ },
1027
+ "app:db:document:find": {
1028
+ "aliases": [
1029
+ "app:db:doc:find"
1030
+ ],
1031
+ "args": {
1032
+ "collection": {
1033
+ "description": "The name of the collection",
1034
+ "name": "collection",
1035
+ "required": true
1036
+ },
1037
+ "filter": {
1038
+ "description": "Filter criteria for the documents to find (JSON string, e.g. '{\"status\": \"active\"}')",
1039
+ "name": "filter",
1040
+ "required": true
1041
+ }
1042
+ },
1043
+ "description": "Find documents in a collection based on filter criteria.",
1044
+ "examples": [
1045
+ "$ aio app db document find users '{}'",
1046
+ "$ aio app db document find products '{\"category\": \"Computer Accessories\"}' --json",
1047
+ "$ aio app db document find products '{\"name\": {\"$regex\": \"Speakers$\"}}' --sort '{\"price\": -1}' --limit 10 --skip 5 --projection '{\"name\": 1, \"price\": 1}'",
1048
+ "$ aio app db doc find orders '{\"status\": \"pending\"}' --sort '{\"orderDate\": -1}'"
1049
+ ],
1050
+ "flags": {
1051
+ "json": {
1052
+ "description": "Format output as json.",
1053
+ "helpGroup": "GLOBAL",
1054
+ "name": "json",
1055
+ "required": false,
1056
+ "allowNo": false,
1057
+ "type": "boolean"
1058
+ },
1059
+ "region": {
1060
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
1061
+ "helpGroup": "GLOBAL",
1062
+ "name": "region",
1063
+ "required": false,
1064
+ "hasDynamicHelp": false,
1065
+ "multiple": false,
1066
+ "type": "option"
1067
+ },
1068
+ "limit": {
1069
+ "char": "l",
1070
+ "description": "Limit the number of documents returned, max: 100",
1071
+ "name": "limit",
1072
+ "default": 20,
1073
+ "hasDynamicHelp": false,
1074
+ "multiple": false,
1075
+ "type": "option"
1076
+ },
1077
+ "skip": {
1078
+ "char": "s",
1079
+ "description": "Skip the first N documents",
1080
+ "name": "skip",
1081
+ "hasDynamicHelp": false,
1082
+ "multiple": false,
1083
+ "type": "option"
1084
+ },
1085
+ "sort": {
1086
+ "char": "o",
1087
+ "description": "Sort specification as a JSON object (e.g. '{\"field\": 1}')",
1088
+ "name": "sort",
1089
+ "hasDynamicHelp": false,
1090
+ "multiple": false,
1091
+ "type": "option"
1092
+ },
1093
+ "projection": {
1094
+ "char": "p",
1095
+ "description": "Projection specification as a JSON object (e.g. '{\"field1\": 1, \"field2\": 0}')",
1096
+ "name": "projection",
1097
+ "hasDynamicHelp": false,
1098
+ "multiple": false,
1099
+ "type": "option"
1100
+ }
1101
+ },
1102
+ "hasDynamicHelp": false,
1103
+ "hiddenAliases": [],
1104
+ "id": "app:db:document:find",
1105
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
1106
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
1107
+ "pluginType": "core",
1108
+ "strict": true,
1109
+ "enableJsonFlag": true,
1110
+ "isESM": true,
1111
+ "relativePath": [
1112
+ "src",
1113
+ "commands",
1114
+ "app",
1115
+ "db",
1116
+ "document",
1117
+ "find.js"
1118
+ ]
1119
+ },
1120
+ "app:db:document:insert": {
1121
+ "aliases": [
1122
+ "app:db:doc:insert"
1123
+ ],
1124
+ "args": {
1125
+ "collection": {
1126
+ "description": "The name of the collection to insert documents into",
1127
+ "name": "collection",
1128
+ "required": true
1129
+ },
1130
+ "documents": {
1131
+ "description": "JSON object or array of documents to insert",
1132
+ "name": "documents",
1133
+ "required": true
1134
+ }
1135
+ },
1136
+ "description": "Insert one or more documents into a collection",
1137
+ "examples": [
1138
+ "$ aio app db document insert users '{\"name\": \"John\", \"age\": 30}'",
1139
+ "$ aio app db document insert products '[{\"id\": 1, \"name\": \"Product A\"}, {\"id\": 2, \"name\": \"Product B\"}]' --json",
1140
+ "$ aio app db document insert temp '{\"data\": \"test\"}' --bypassDocumentValidation",
1141
+ "$ aio app db doc insert bulk '[{\"field\": \"foo\"}, {\"field\": \"bar\"}]' --bypassDocumentValidation --json"
1142
+ ],
1143
+ "flags": {
1144
+ "json": {
1145
+ "description": "Format output as json.",
1146
+ "helpGroup": "GLOBAL",
1147
+ "name": "json",
1148
+ "required": false,
1149
+ "allowNo": false,
1150
+ "type": "boolean"
1151
+ },
1152
+ "region": {
1153
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
1154
+ "helpGroup": "GLOBAL",
1155
+ "name": "region",
1156
+ "required": false,
1157
+ "hasDynamicHelp": false,
1158
+ "multiple": false,
1159
+ "type": "option"
1160
+ },
1161
+ "bypassDocumentValidation": {
1162
+ "char": "b",
1163
+ "description": "Bypass schema validation if present",
1164
+ "name": "bypassDocumentValidation",
1165
+ "allowNo": false,
1166
+ "type": "boolean"
1167
+ }
1168
+ },
1169
+ "hasDynamicHelp": false,
1170
+ "hiddenAliases": [],
1171
+ "id": "app:db:document:insert",
1172
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
1173
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
1174
+ "pluginType": "core",
1175
+ "strict": true,
1176
+ "enableJsonFlag": true,
1177
+ "isESM": true,
1178
+ "relativePath": [
1179
+ "src",
1180
+ "commands",
1181
+ "app",
1182
+ "db",
1183
+ "document",
1184
+ "insert.js"
1185
+ ]
1186
+ },
1187
+ "app:db:document:replace": {
1188
+ "aliases": [
1189
+ "app:db:doc:replace"
1190
+ ],
1191
+ "args": {
1192
+ "collection": {
1193
+ "description": "The name of the collection",
1194
+ "name": "collection",
1195
+ "required": true
1196
+ },
1197
+ "filter": {
1198
+ "description": "The filter document (JSON string)",
1199
+ "name": "filter",
1200
+ "required": true
1201
+ },
1202
+ "replacement": {
1203
+ "description": "The replacement document (JSON string)",
1204
+ "name": "replacement",
1205
+ "required": true
1206
+ }
1207
+ },
1208
+ "description": "Replace a single document in a collection",
1209
+ "examples": [
1210
+ "$ aio app db document replace users '{\"name\": \"John\"}' '{\"name\": \"John Doe\", \"age\": 30, \"status\": \"active\"}'",
1211
+ "$ aio app db document replace products '{\"id\": \"123\"}' '{\"id\": \"123\", \"name\": \"New Product\", \"price\": 99.99}' --json",
1212
+ "$ aio app db document replace posts '{\"slug\": \"hello-world\"}' '{\"title\": \"Hello World\", \"content\": \"Updated content\", \"status\": \"published\"}' --upsert",
1213
+ "$ aio app db doc replace users '{\"email\": \"john@example.com\"}' '{\"email\": \"john@example.com\", \"name\": \"John\", \"verified\": true}' --upsert --json"
1214
+ ],
1215
+ "flags": {
1216
+ "json": {
1217
+ "description": "Format output as json.",
1218
+ "helpGroup": "GLOBAL",
1219
+ "name": "json",
1220
+ "required": false,
1221
+ "allowNo": false,
1222
+ "type": "boolean"
1223
+ },
1224
+ "region": {
1225
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
1226
+ "helpGroup": "GLOBAL",
1227
+ "name": "region",
1228
+ "required": false,
1229
+ "hasDynamicHelp": false,
1230
+ "multiple": false,
1231
+ "type": "option"
1232
+ },
1233
+ "upsert": {
1234
+ "char": "u",
1235
+ "description": "If no document is found, create a new one",
1236
+ "name": "upsert",
1237
+ "allowNo": false,
1238
+ "type": "boolean"
1239
+ }
1240
+ },
1241
+ "hasDynamicHelp": false,
1242
+ "hiddenAliases": [],
1243
+ "id": "app:db:document:replace",
1244
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
1245
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
1246
+ "pluginType": "core",
1247
+ "strict": true,
1248
+ "enableJsonFlag": true,
1249
+ "isESM": true,
1250
+ "relativePath": [
1251
+ "src",
1252
+ "commands",
1253
+ "app",
1254
+ "db",
1255
+ "document",
1256
+ "replace.js"
1257
+ ]
1258
+ },
1259
+ "app:db:document:update": {
1260
+ "aliases": [
1261
+ "app:db:doc:update"
1262
+ ],
1263
+ "args": {
1264
+ "collection": {
1265
+ "description": "The name of the collection",
1266
+ "name": "collection",
1267
+ "required": true
1268
+ },
1269
+ "filter": {
1270
+ "description": "The filter document (JSON string)",
1271
+ "name": "filter",
1272
+ "required": true
1273
+ },
1274
+ "update": {
1275
+ "description": "The update document (JSON string)",
1276
+ "name": "update",
1277
+ "required": true
1278
+ }
1279
+ },
1280
+ "description": "Update document(s) in a collection",
1281
+ "examples": [
1282
+ "$ aio app db document update users '{\"name\": \"John\"}' '{\"$set\": {\"age\": 31}}'",
1283
+ "$ aio app db document update products '{\"id\": \"123\"}' '{\"$inc\": {\"stock\": -1}}' --json",
1284
+ "$ aio app db document update posts '{\"slug\": \"hello-world\"}' '{\"$set\": {\"status\": \"published\"}}' --many",
1285
+ "$ aio app db doc update users '{\"email\": \"john@example.com\"}' '{\"$set\": {\"lastLogin\": \"2024-01-01\"}}' --upsert"
1286
+ ],
1287
+ "flags": {
1288
+ "json": {
1289
+ "description": "Format output as json.",
1290
+ "helpGroup": "GLOBAL",
1291
+ "name": "json",
1292
+ "required": false,
1293
+ "allowNo": false,
1294
+ "type": "boolean"
1295
+ },
1296
+ "region": {
1297
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
1298
+ "helpGroup": "GLOBAL",
1299
+ "name": "region",
1300
+ "required": false,
1301
+ "hasDynamicHelp": false,
1302
+ "multiple": false,
1303
+ "type": "option"
1304
+ },
1305
+ "upsert": {
1306
+ "char": "u",
1307
+ "description": "If no document is found, create a new one",
1308
+ "name": "upsert",
1309
+ "allowNo": false,
1310
+ "type": "boolean"
1311
+ },
1312
+ "many": {
1313
+ "char": "m",
1314
+ "description": "Update all documents matching the filter. Without this option, only the first matching document is updated.",
1315
+ "name": "many",
1316
+ "allowNo": false,
1317
+ "type": "boolean"
1318
+ }
1319
+ },
1320
+ "hasDynamicHelp": false,
1321
+ "hiddenAliases": [],
1322
+ "id": "app:db:document:update",
1323
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
1324
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
1325
+ "pluginType": "core",
1326
+ "strict": true,
1327
+ "enableJsonFlag": true,
1328
+ "isESM": true,
1329
+ "relativePath": [
1330
+ "src",
1331
+ "commands",
1332
+ "app",
1333
+ "db",
1334
+ "document",
1335
+ "update.js"
1336
+ ]
1337
+ },
1338
+ "app:db:index:create": {
1339
+ "aliases": [
1340
+ "app:db:idx:create"
1341
+ ],
1342
+ "args": {
1343
+ "collection": {
1344
+ "description": "The name of the collection to create the index on",
1345
+ "name": "collection",
1346
+ "required": true
1347
+ }
1348
+ },
1349
+ "description": "Create a new index on a collection in the database",
1350
+ "examples": [
1351
+ "$ aio app db index create users --spec '{\"name\":1, \"age\":-1}'",
1352
+ "$ aio app db index create users -s '{\"name\":1, \"age\":-1}' --name \"name_age_index\"",
1353
+ "$ aio app db index create students -s '{\"name\":1}' --key grade --unique",
1354
+ "$ aio app db index create reviews -k sku -k rating",
1355
+ "$ aio app db index create products -s '{\"name\":\"text\", \"category\":\"text\"}' --json",
1356
+ "$ aio app db index create books -s '{\"author\":1}' -k year",
1357
+ "$ aio app db idx create orders --spec '{\"customerId\":1}' --spec '{\"orderDate\":-1}' --name \"customer_order_index\" --unique"
1358
+ ],
1359
+ "flags": {
1360
+ "json": {
1361
+ "description": "Format output as json.",
1362
+ "helpGroup": "GLOBAL",
1363
+ "name": "json",
1364
+ "required": false,
1365
+ "allowNo": false,
1366
+ "type": "boolean"
1367
+ },
1368
+ "region": {
1369
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
1370
+ "helpGroup": "GLOBAL",
1371
+ "name": "region",
1372
+ "required": false,
1373
+ "hasDynamicHelp": false,
1374
+ "multiple": false,
1375
+ "type": "option"
1376
+ },
1377
+ "spec": {
1378
+ "char": "s",
1379
+ "description": "Index specification as a JSON object (e.g., '{\"name\":1, \"age\":-1}')",
1380
+ "helpGroup": "Requires at least one of the index definition",
1381
+ "name": "spec",
1382
+ "hasDynamicHelp": false,
1383
+ "multiple": true,
1384
+ "type": "option"
1385
+ },
1386
+ "key": {
1387
+ "char": "k",
1388
+ "description": "Index key to use with default specification",
1389
+ "helpGroup": "Requires at least one of the index definition",
1390
+ "name": "key",
1391
+ "hasDynamicHelp": false,
1392
+ "multiple": true,
1393
+ "type": "option"
1394
+ },
1395
+ "name": {
1396
+ "char": "n",
1397
+ "description": "A name that uniquely identifies the index",
1398
+ "name": "name",
1399
+ "hasDynamicHelp": false,
1400
+ "multiple": false,
1401
+ "type": "option"
1402
+ },
1403
+ "unique": {
1404
+ "char": "u",
1405
+ "description": "Creates a unique index so that the collection will not accept insertion or update of documents where the index key value matches an existing value in the index",
1406
+ "name": "unique",
1407
+ "allowNo": false,
1408
+ "type": "boolean"
1409
+ }
1410
+ },
1411
+ "hasDynamicHelp": false,
1412
+ "hiddenAliases": [],
1413
+ "id": "app:db:index:create",
1414
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
1415
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
1416
+ "pluginType": "core",
1417
+ "strict": true,
1418
+ "enableJsonFlag": true,
1419
+ "isESM": true,
1420
+ "relativePath": [
1421
+ "src",
1422
+ "commands",
1423
+ "app",
1424
+ "db",
1425
+ "index",
1426
+ "create.js"
1427
+ ]
1428
+ },
1429
+ "app:db:index:drop": {
1430
+ "aliases": [
1431
+ "app:db:idx:drop"
1432
+ ],
1433
+ "args": {
1434
+ "collection": {
1435
+ "description": "The name of the collection to drop the index from",
1436
+ "name": "collection",
1437
+ "required": true
1438
+ },
1439
+ "indexName": {
1440
+ "description": "The name of the index to drop",
1441
+ "name": "indexName",
1442
+ "required": true
1443
+ }
1444
+ },
1445
+ "description": "Drop an index from a collection in the database",
1446
+ "examples": [
1447
+ "$ aio app db index drop users name_age_index",
1448
+ "$ aio app db index drop products category_1 --json",
1449
+ "$ aio app db idx drop orders orderDate_index"
1450
+ ],
1451
+ "flags": {
1452
+ "json": {
1453
+ "description": "Format output as json.",
1454
+ "helpGroup": "GLOBAL",
1455
+ "name": "json",
1456
+ "required": false,
1457
+ "allowNo": false,
1458
+ "type": "boolean"
1459
+ },
1460
+ "region": {
1461
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
1462
+ "helpGroup": "GLOBAL",
1463
+ "name": "region",
1464
+ "required": false,
1465
+ "hasDynamicHelp": false,
1466
+ "multiple": false,
1467
+ "type": "option"
1468
+ }
1469
+ },
1470
+ "hasDynamicHelp": false,
1471
+ "hiddenAliases": [],
1472
+ "id": "app:db:index:drop",
1473
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
1474
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
1475
+ "pluginType": "core",
1476
+ "strict": true,
1477
+ "enableJsonFlag": true,
1478
+ "isESM": true,
1479
+ "relativePath": [
1480
+ "src",
1481
+ "commands",
1482
+ "app",
1483
+ "db",
1484
+ "index",
1485
+ "drop.js"
1486
+ ]
1487
+ },
1488
+ "app:db:index:list": {
1489
+ "aliases": [
1490
+ "app:db:idx:list"
1491
+ ],
1492
+ "args": {
1493
+ "collection": {
1494
+ "description": "The name of the collection to retrieve indexes from",
1495
+ "name": "collection",
1496
+ "required": true
1497
+ }
1498
+ },
1499
+ "description": "Get the list of indexes from a collection in the database",
1500
+ "examples": [
1501
+ "$ aio app db index list users",
1502
+ "$ aio app db index list products --json",
1503
+ "$ aio app db idx list orders"
1504
+ ],
1505
+ "flags": {
1506
+ "json": {
1507
+ "description": "Format output as json.",
1508
+ "helpGroup": "GLOBAL",
1509
+ "name": "json",
1510
+ "required": false,
1511
+ "allowNo": false,
1512
+ "type": "boolean"
1513
+ },
1514
+ "region": {
1515
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
1516
+ "helpGroup": "GLOBAL",
1517
+ "name": "region",
1518
+ "required": false,
1519
+ "hasDynamicHelp": false,
1520
+ "multiple": false,
1521
+ "type": "option"
1522
+ }
1523
+ },
1524
+ "hasDynamicHelp": false,
1525
+ "hiddenAliases": [],
1526
+ "id": "app:db:index:list",
1527
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
1528
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
1529
+ "pluginType": "core",
1530
+ "strict": true,
1531
+ "enableJsonFlag": true,
1532
+ "isESM": true,
1533
+ "relativePath": [
1534
+ "src",
1535
+ "commands",
1536
+ "app",
1537
+ "db",
1538
+ "index",
1539
+ "list.js"
1540
+ ]
1541
+ },
1542
+ "app:db:org:stats": {
1543
+ "aliases": [],
1544
+ "args": {},
1545
+ "description": "Get combined statistics about the App Builder databases in your organization",
1546
+ "examples": [
1547
+ "$ aio app db org stats",
1548
+ "$ aio app db org stats --scale 1024",
1549
+ "$ aio app db org stats --json"
1550
+ ],
1551
+ "flags": {
1552
+ "json": {
1553
+ "description": "Format output as json.",
1554
+ "helpGroup": "GLOBAL",
1555
+ "name": "json",
1556
+ "required": false,
1557
+ "allowNo": false,
1558
+ "type": "boolean"
1559
+ },
1560
+ "region": {
1561
+ "description": "Database region. Defaults to 'AIO_DB_REGION' environment variable or 'amer' if neither is set. Any database region set in 'app.config.yaml' takes precedence over all of these.\n<options: amer|emea|apac|aus>",
1562
+ "helpGroup": "GLOBAL",
1563
+ "name": "region",
1564
+ "required": false,
1565
+ "hasDynamicHelp": false,
1566
+ "multiple": false,
1567
+ "type": "option"
1568
+ },
1569
+ "scale": {
1570
+ "char": "s",
1571
+ "description": "Scale factor for size-related statistics (e.g. 1024 for KB, 1048576 for MB).",
1572
+ "name": "scale",
1573
+ "required": false,
1574
+ "default": 1,
1575
+ "hasDynamicHelp": false,
1576
+ "multiple": false,
1577
+ "type": "option"
1578
+ }
1579
+ },
1580
+ "hasDynamicHelp": false,
1581
+ "hiddenAliases": [],
1582
+ "id": "app:db:org:stats",
1583
+ "pluginAlias": "@adobe/aio-cli-plugin-app-storage",
1584
+ "pluginName": "@adobe/aio-cli-plugin-app-storage",
1585
+ "pluginType": "core",
1586
+ "strict": true,
1587
+ "enableJsonFlag": true,
1588
+ "isESM": true,
1589
+ "relativePath": [
1590
+ "src",
1591
+ "commands",
1592
+ "app",
1593
+ "db",
1594
+ "org",
1595
+ "stats.js"
1596
+ ]
1597
+ }
1598
+ },
1599
+ "version": "1.5.0"
1600
+ }