@xano/cli 0.0.62 → 0.0.63
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/oclif.manifest.json +1404 -1404
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -35,57 +35,6 @@
|
|
|
35
35
|
"index.js"
|
|
36
36
|
]
|
|
37
37
|
},
|
|
38
|
-
"update": {
|
|
39
|
-
"aliases": [],
|
|
40
|
-
"args": {},
|
|
41
|
-
"description": "Update the Xano CLI to the latest version",
|
|
42
|
-
"examples": [
|
|
43
|
-
"$ xano update",
|
|
44
|
-
"$ xano update --check"
|
|
45
|
-
],
|
|
46
|
-
"flags": {
|
|
47
|
-
"profile": {
|
|
48
|
-
"char": "p",
|
|
49
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
50
|
-
"env": "XANO_PROFILE",
|
|
51
|
-
"name": "profile",
|
|
52
|
-
"required": false,
|
|
53
|
-
"hasDynamicHelp": false,
|
|
54
|
-
"multiple": false,
|
|
55
|
-
"type": "option"
|
|
56
|
-
},
|
|
57
|
-
"verbose": {
|
|
58
|
-
"char": "v",
|
|
59
|
-
"description": "Show detailed request/response information",
|
|
60
|
-
"env": "XANO_VERBOSE",
|
|
61
|
-
"name": "verbose",
|
|
62
|
-
"required": false,
|
|
63
|
-
"allowNo": false,
|
|
64
|
-
"type": "boolean"
|
|
65
|
-
},
|
|
66
|
-
"check": {
|
|
67
|
-
"description": "Check for updates without installing",
|
|
68
|
-
"name": "check",
|
|
69
|
-
"allowNo": false,
|
|
70
|
-
"type": "boolean"
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
"hasDynamicHelp": false,
|
|
74
|
-
"hiddenAliases": [],
|
|
75
|
-
"id": "update",
|
|
76
|
-
"pluginAlias": "@xano/cli",
|
|
77
|
-
"pluginName": "@xano/cli",
|
|
78
|
-
"pluginType": "core",
|
|
79
|
-
"strict": true,
|
|
80
|
-
"enableJsonFlag": false,
|
|
81
|
-
"isESM": true,
|
|
82
|
-
"relativePath": [
|
|
83
|
-
"dist",
|
|
84
|
-
"commands",
|
|
85
|
-
"update",
|
|
86
|
-
"index.js"
|
|
87
|
-
]
|
|
88
|
-
},
|
|
89
38
|
"branch:create": {
|
|
90
39
|
"aliases": [],
|
|
91
40
|
"args": {},
|
|
@@ -193,20 +142,13 @@
|
|
|
193
142
|
"index.js"
|
|
194
143
|
]
|
|
195
144
|
},
|
|
196
|
-
"
|
|
145
|
+
"update": {
|
|
197
146
|
"aliases": [],
|
|
198
|
-
"args": {
|
|
199
|
-
|
|
200
|
-
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
201
|
-
"name": "branch_label",
|
|
202
|
-
"required": true
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
147
|
+
"args": {},
|
|
148
|
+
"description": "Update the Xano CLI to the latest version",
|
|
206
149
|
"examples": [
|
|
207
|
-
"$ xano
|
|
208
|
-
"$ xano
|
|
209
|
-
"$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
|
|
150
|
+
"$ xano update",
|
|
151
|
+
"$ xano update --check"
|
|
210
152
|
],
|
|
211
153
|
"flags": {
|
|
212
154
|
"profile": {
|
|
@@ -228,60 +170,16 @@
|
|
|
228
170
|
"allowNo": false,
|
|
229
171
|
"type": "boolean"
|
|
230
172
|
},
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
"
|
|
236
|
-
"hasDynamicHelp": false,
|
|
237
|
-
"multiple": false,
|
|
238
|
-
"type": "option"
|
|
239
|
-
},
|
|
240
|
-
"description": {
|
|
241
|
-
"char": "d",
|
|
242
|
-
"description": "New description for the branch",
|
|
243
|
-
"name": "description",
|
|
244
|
-
"required": false,
|
|
245
|
-
"hasDynamicHelp": false,
|
|
246
|
-
"multiple": false,
|
|
247
|
-
"type": "option"
|
|
248
|
-
},
|
|
249
|
-
"label": {
|
|
250
|
-
"char": "l",
|
|
251
|
-
"description": "New label for the branch",
|
|
252
|
-
"name": "label",
|
|
253
|
-
"required": false,
|
|
254
|
-
"hasDynamicHelp": false,
|
|
255
|
-
"multiple": false,
|
|
256
|
-
"type": "option"
|
|
257
|
-
},
|
|
258
|
-
"output": {
|
|
259
|
-
"char": "o",
|
|
260
|
-
"description": "Output format",
|
|
261
|
-
"name": "output",
|
|
262
|
-
"required": false,
|
|
263
|
-
"default": "summary",
|
|
264
|
-
"hasDynamicHelp": false,
|
|
265
|
-
"multiple": false,
|
|
266
|
-
"options": [
|
|
267
|
-
"summary",
|
|
268
|
-
"json"
|
|
269
|
-
],
|
|
270
|
-
"type": "option"
|
|
271
|
-
},
|
|
272
|
-
"workspace": {
|
|
273
|
-
"char": "w",
|
|
274
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
275
|
-
"name": "workspace",
|
|
276
|
-
"required": false,
|
|
277
|
-
"hasDynamicHelp": false,
|
|
278
|
-
"multiple": false,
|
|
279
|
-
"type": "option"
|
|
173
|
+
"check": {
|
|
174
|
+
"description": "Check for updates without installing",
|
|
175
|
+
"name": "check",
|
|
176
|
+
"allowNo": false,
|
|
177
|
+
"type": "boolean"
|
|
280
178
|
}
|
|
281
179
|
},
|
|
282
180
|
"hasDynamicHelp": false,
|
|
283
181
|
"hiddenAliases": [],
|
|
284
|
-
"id": "
|
|
182
|
+
"id": "update",
|
|
285
183
|
"pluginAlias": "@xano/cli",
|
|
286
184
|
"pluginName": "@xano/cli",
|
|
287
185
|
"pluginType": "core",
|
|
@@ -291,25 +189,24 @@
|
|
|
291
189
|
"relativePath": [
|
|
292
190
|
"dist",
|
|
293
191
|
"commands",
|
|
294
|
-
"
|
|
295
|
-
"edit",
|
|
192
|
+
"update",
|
|
296
193
|
"index.js"
|
|
297
194
|
]
|
|
298
195
|
},
|
|
299
|
-
"branch:
|
|
196
|
+
"branch:delete": {
|
|
300
197
|
"aliases": [],
|
|
301
198
|
"args": {
|
|
302
|
-
"
|
|
303
|
-
"description": "
|
|
304
|
-
"name": "
|
|
305
|
-
"required":
|
|
199
|
+
"branch_label": {
|
|
200
|
+
"description": "Branch label to delete (cannot delete \"v1\" or the live branch)",
|
|
201
|
+
"name": "branch_label",
|
|
202
|
+
"required": true
|
|
306
203
|
}
|
|
307
204
|
},
|
|
308
|
-
"description": "
|
|
205
|
+
"description": "Delete a branch (cannot delete \"v1\" or the live branch)",
|
|
309
206
|
"examples": [
|
|
310
|
-
"$ xano branch
|
|
311
|
-
"$ xano branch
|
|
312
|
-
"$ xano branch
|
|
207
|
+
"$ xano branch delete feature-old\nAre you sure you want to delete branch 'feature-old'? This action cannot be undone. (y/N) y\nDeleted branch: feature-old\n",
|
|
208
|
+
"$ xano branch delete dev --force\nDeleted branch: dev\n",
|
|
209
|
+
"$ xano branch delete staging -f -o json\n{\n \"deleted\": true,\n \"branch_label\": \"staging\"\n}\n"
|
|
313
210
|
],
|
|
314
211
|
"flags": {
|
|
315
212
|
"profile": {
|
|
@@ -331,6 +228,14 @@
|
|
|
331
228
|
"allowNo": false,
|
|
332
229
|
"type": "boolean"
|
|
333
230
|
},
|
|
231
|
+
"force": {
|
|
232
|
+
"char": "f",
|
|
233
|
+
"description": "Skip confirmation prompt",
|
|
234
|
+
"name": "force",
|
|
235
|
+
"required": false,
|
|
236
|
+
"allowNo": false,
|
|
237
|
+
"type": "boolean"
|
|
238
|
+
},
|
|
334
239
|
"output": {
|
|
335
240
|
"char": "o",
|
|
336
241
|
"description": "Output format",
|
|
@@ -344,11 +249,20 @@
|
|
|
344
249
|
"json"
|
|
345
250
|
],
|
|
346
251
|
"type": "option"
|
|
252
|
+
},
|
|
253
|
+
"workspace": {
|
|
254
|
+
"char": "w",
|
|
255
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
256
|
+
"name": "workspace",
|
|
257
|
+
"required": false,
|
|
258
|
+
"hasDynamicHelp": false,
|
|
259
|
+
"multiple": false,
|
|
260
|
+
"type": "option"
|
|
347
261
|
}
|
|
348
262
|
},
|
|
349
263
|
"hasDynamicHelp": false,
|
|
350
264
|
"hiddenAliases": [],
|
|
351
|
-
"id": "branch:
|
|
265
|
+
"id": "branch:delete",
|
|
352
266
|
"pluginAlias": "@xano/cli",
|
|
353
267
|
"pluginName": "@xano/cli",
|
|
354
268
|
"pluginType": "core",
|
|
@@ -359,7 +273,7 @@
|
|
|
359
273
|
"dist",
|
|
360
274
|
"commands",
|
|
361
275
|
"branch",
|
|
362
|
-
"
|
|
276
|
+
"delete",
|
|
363
277
|
"index.js"
|
|
364
278
|
]
|
|
365
279
|
},
|
|
@@ -439,20 +353,20 @@
|
|
|
439
353
|
"index.js"
|
|
440
354
|
]
|
|
441
355
|
},
|
|
442
|
-
"branch:
|
|
356
|
+
"branch:edit": {
|
|
443
357
|
"aliases": [],
|
|
444
358
|
"args": {
|
|
445
359
|
"branch_label": {
|
|
446
|
-
"description": "Branch label to
|
|
360
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
447
361
|
"name": "branch_label",
|
|
448
362
|
"required": true
|
|
449
363
|
}
|
|
450
364
|
},
|
|
451
|
-
"description": "
|
|
365
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
452
366
|
"examples": [
|
|
453
|
-
"$ xano branch
|
|
454
|
-
"$ xano branch
|
|
455
|
-
"$ xano branch
|
|
367
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
368
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
369
|
+
"$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
|
|
456
370
|
],
|
|
457
371
|
"flags": {
|
|
458
372
|
"profile": {
|
|
@@ -474,13 +388,32 @@
|
|
|
474
388
|
"allowNo": false,
|
|
475
389
|
"type": "boolean"
|
|
476
390
|
},
|
|
477
|
-
"
|
|
478
|
-
"char": "
|
|
479
|
-
"description": "
|
|
480
|
-
"name": "
|
|
391
|
+
"color": {
|
|
392
|
+
"char": "c",
|
|
393
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
394
|
+
"name": "color",
|
|
481
395
|
"required": false,
|
|
482
|
-
"
|
|
483
|
-
"
|
|
396
|
+
"hasDynamicHelp": false,
|
|
397
|
+
"multiple": false,
|
|
398
|
+
"type": "option"
|
|
399
|
+
},
|
|
400
|
+
"description": {
|
|
401
|
+
"char": "d",
|
|
402
|
+
"description": "New description for the branch",
|
|
403
|
+
"name": "description",
|
|
404
|
+
"required": false,
|
|
405
|
+
"hasDynamicHelp": false,
|
|
406
|
+
"multiple": false,
|
|
407
|
+
"type": "option"
|
|
408
|
+
},
|
|
409
|
+
"label": {
|
|
410
|
+
"char": "l",
|
|
411
|
+
"description": "New label for the branch",
|
|
412
|
+
"name": "label",
|
|
413
|
+
"required": false,
|
|
414
|
+
"hasDynamicHelp": false,
|
|
415
|
+
"multiple": false,
|
|
416
|
+
"type": "option"
|
|
484
417
|
},
|
|
485
418
|
"output": {
|
|
486
419
|
"char": "o",
|
|
@@ -508,7 +441,7 @@
|
|
|
508
441
|
},
|
|
509
442
|
"hasDynamicHelp": false,
|
|
510
443
|
"hiddenAliases": [],
|
|
511
|
-
"id": "branch:
|
|
444
|
+
"id": "branch:edit",
|
|
512
445
|
"pluginAlias": "@xano/cli",
|
|
513
446
|
"pluginName": "@xano/cli",
|
|
514
447
|
"pluginType": "core",
|
|
@@ -519,24 +452,24 @@
|
|
|
519
452
|
"dist",
|
|
520
453
|
"commands",
|
|
521
454
|
"branch",
|
|
522
|
-
"
|
|
455
|
+
"edit",
|
|
523
456
|
"index.js"
|
|
524
457
|
]
|
|
525
458
|
},
|
|
526
|
-
"branch:
|
|
459
|
+
"branch:list": {
|
|
527
460
|
"aliases": [],
|
|
528
461
|
"args": {
|
|
529
|
-
"
|
|
530
|
-
"description": "
|
|
531
|
-
"name": "
|
|
532
|
-
"required":
|
|
462
|
+
"workspace_id": {
|
|
463
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
464
|
+
"name": "workspace_id",
|
|
465
|
+
"required": false
|
|
533
466
|
}
|
|
534
467
|
},
|
|
535
|
-
"description": "
|
|
468
|
+
"description": "List all branches in a workspace",
|
|
536
469
|
"examples": [
|
|
537
|
-
"$ xano branch
|
|
538
|
-
"$ xano branch
|
|
539
|
-
"$ xano branch
|
|
470
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
471
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
472
|
+
"$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
|
|
540
473
|
],
|
|
541
474
|
"flags": {
|
|
542
475
|
"profile": {
|
|
@@ -558,14 +491,6 @@
|
|
|
558
491
|
"allowNo": false,
|
|
559
492
|
"type": "boolean"
|
|
560
493
|
},
|
|
561
|
-
"force": {
|
|
562
|
-
"char": "f",
|
|
563
|
-
"description": "Skip confirmation prompt",
|
|
564
|
-
"name": "force",
|
|
565
|
-
"required": false,
|
|
566
|
-
"allowNo": false,
|
|
567
|
-
"type": "boolean"
|
|
568
|
-
},
|
|
569
494
|
"output": {
|
|
570
495
|
"char": "o",
|
|
571
496
|
"description": "Output format",
|
|
@@ -579,20 +504,11 @@
|
|
|
579
504
|
"json"
|
|
580
505
|
],
|
|
581
506
|
"type": "option"
|
|
582
|
-
},
|
|
583
|
-
"workspace": {
|
|
584
|
-
"char": "w",
|
|
585
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
586
|
-
"name": "workspace",
|
|
587
|
-
"required": false,
|
|
588
|
-
"hasDynamicHelp": false,
|
|
589
|
-
"multiple": false,
|
|
590
|
-
"type": "option"
|
|
591
507
|
}
|
|
592
508
|
},
|
|
593
509
|
"hasDynamicHelp": false,
|
|
594
510
|
"hiddenAliases": [],
|
|
595
|
-
"id": "branch:
|
|
511
|
+
"id": "branch:list",
|
|
596
512
|
"pluginAlias": "@xano/cli",
|
|
597
513
|
"pluginName": "@xano/cli",
|
|
598
514
|
"pluginType": "core",
|
|
@@ -603,146 +519,24 @@
|
|
|
603
519
|
"dist",
|
|
604
520
|
"commands",
|
|
605
521
|
"branch",
|
|
606
|
-
"
|
|
522
|
+
"list",
|
|
607
523
|
"index.js"
|
|
608
524
|
]
|
|
609
525
|
},
|
|
610
|
-
"
|
|
526
|
+
"branch:set_live": {
|
|
611
527
|
"aliases": [],
|
|
612
528
|
"args": {
|
|
613
|
-
"
|
|
614
|
-
"description": "
|
|
615
|
-
"name": "
|
|
529
|
+
"branch_label": {
|
|
530
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
531
|
+
"name": "branch_label",
|
|
616
532
|
"required": true
|
|
617
533
|
}
|
|
618
534
|
},
|
|
619
|
-
"description": "
|
|
620
|
-
"examples": [
|
|
621
|
-
"$ xano platform get 23629\nPlatform ID: 23629\n Created: 2025-11-28\n Helm: 0.1.356\n Images:\n backend 0.0.2985\n frontend 0.1.3427\n database 0.1.6\n node 0.1.192\n deno 0.0.212\n redis 0.1.34\n realtime 0.1.149\n standalone 0.0.2456\n playwright 0.0.992\n static 0.0.10\n static-build 0.0.4\n backend-encoded 0.0.1396\n",
|
|
622
|
-
"$ xano platform get 23629 -o json"
|
|
623
|
-
],
|
|
624
|
-
"flags": {
|
|
625
|
-
"profile": {
|
|
626
|
-
"char": "p",
|
|
627
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
628
|
-
"env": "XANO_PROFILE",
|
|
629
|
-
"name": "profile",
|
|
630
|
-
"required": false,
|
|
631
|
-
"hasDynamicHelp": false,
|
|
632
|
-
"multiple": false,
|
|
633
|
-
"type": "option"
|
|
634
|
-
},
|
|
635
|
-
"verbose": {
|
|
636
|
-
"char": "v",
|
|
637
|
-
"description": "Show detailed request/response information",
|
|
638
|
-
"env": "XANO_VERBOSE",
|
|
639
|
-
"name": "verbose",
|
|
640
|
-
"required": false,
|
|
641
|
-
"allowNo": false,
|
|
642
|
-
"type": "boolean"
|
|
643
|
-
},
|
|
644
|
-
"output": {
|
|
645
|
-
"char": "o",
|
|
646
|
-
"description": "Output format",
|
|
647
|
-
"name": "output",
|
|
648
|
-
"required": false,
|
|
649
|
-
"default": "summary",
|
|
650
|
-
"hasDynamicHelp": false,
|
|
651
|
-
"multiple": false,
|
|
652
|
-
"options": [
|
|
653
|
-
"summary",
|
|
654
|
-
"json"
|
|
655
|
-
],
|
|
656
|
-
"type": "option"
|
|
657
|
-
}
|
|
658
|
-
},
|
|
659
|
-
"hasDynamicHelp": false,
|
|
660
|
-
"hiddenAliases": [],
|
|
661
|
-
"id": "platform:get",
|
|
662
|
-
"pluginAlias": "@xano/cli",
|
|
663
|
-
"pluginName": "@xano/cli",
|
|
664
|
-
"pluginType": "core",
|
|
665
|
-
"strict": true,
|
|
666
|
-
"enableJsonFlag": false,
|
|
667
|
-
"isESM": true,
|
|
668
|
-
"relativePath": [
|
|
669
|
-
"dist",
|
|
670
|
-
"commands",
|
|
671
|
-
"platform",
|
|
672
|
-
"get",
|
|
673
|
-
"index.js"
|
|
674
|
-
]
|
|
675
|
-
},
|
|
676
|
-
"platform:list": {
|
|
677
|
-
"aliases": [],
|
|
678
|
-
"args": {},
|
|
679
|
-
"description": "List all platforms",
|
|
680
|
-
"examples": [
|
|
681
|
-
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
682
|
-
"$ xano platform list --output json"
|
|
683
|
-
],
|
|
684
|
-
"flags": {
|
|
685
|
-
"profile": {
|
|
686
|
-
"char": "p",
|
|
687
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
688
|
-
"env": "XANO_PROFILE",
|
|
689
|
-
"name": "profile",
|
|
690
|
-
"required": false,
|
|
691
|
-
"hasDynamicHelp": false,
|
|
692
|
-
"multiple": false,
|
|
693
|
-
"type": "option"
|
|
694
|
-
},
|
|
695
|
-
"verbose": {
|
|
696
|
-
"char": "v",
|
|
697
|
-
"description": "Show detailed request/response information",
|
|
698
|
-
"env": "XANO_VERBOSE",
|
|
699
|
-
"name": "verbose",
|
|
700
|
-
"required": false,
|
|
701
|
-
"allowNo": false,
|
|
702
|
-
"type": "boolean"
|
|
703
|
-
},
|
|
704
|
-
"output": {
|
|
705
|
-
"char": "o",
|
|
706
|
-
"description": "Output format",
|
|
707
|
-
"name": "output",
|
|
708
|
-
"required": false,
|
|
709
|
-
"default": "summary",
|
|
710
|
-
"hasDynamicHelp": false,
|
|
711
|
-
"multiple": false,
|
|
712
|
-
"options": [
|
|
713
|
-
"summary",
|
|
714
|
-
"json"
|
|
715
|
-
],
|
|
716
|
-
"type": "option"
|
|
717
|
-
}
|
|
718
|
-
},
|
|
719
|
-
"hasDynamicHelp": false,
|
|
720
|
-
"hiddenAliases": [],
|
|
721
|
-
"id": "platform:list",
|
|
722
|
-
"pluginAlias": "@xano/cli",
|
|
723
|
-
"pluginName": "@xano/cli",
|
|
724
|
-
"pluginType": "core",
|
|
725
|
-
"strict": true,
|
|
726
|
-
"enableJsonFlag": false,
|
|
727
|
-
"isESM": true,
|
|
728
|
-
"relativePath": [
|
|
729
|
-
"dist",
|
|
730
|
-
"commands",
|
|
731
|
-
"platform",
|
|
732
|
-
"list",
|
|
733
|
-
"index.js"
|
|
734
|
-
]
|
|
735
|
-
},
|
|
736
|
-
"function:create": {
|
|
737
|
-
"aliases": [],
|
|
738
|
-
"args": {},
|
|
739
|
-
"description": "Create a new function in a workspace",
|
|
535
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
740
536
|
"examples": [
|
|
741
|
-
"$ xano
|
|
742
|
-
"$ xano
|
|
743
|
-
"$ xano
|
|
744
|
-
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
745
|
-
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
537
|
+
"$ xano branch set-live staging\nAre you sure you want to set 'staging' as the live branch? (y/N) y\nBranch 'staging' is now live\n",
|
|
538
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
539
|
+
"$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
|
|
746
540
|
],
|
|
747
541
|
"flags": {
|
|
748
542
|
"profile": {
|
|
@@ -764,29 +558,14 @@
|
|
|
764
558
|
"allowNo": false,
|
|
765
559
|
"type": "boolean"
|
|
766
560
|
},
|
|
767
|
-
"
|
|
768
|
-
"char": "
|
|
769
|
-
"
|
|
770
|
-
|
|
771
|
-
],
|
|
772
|
-
"description": "Open file in editor before creating function (requires --file)",
|
|
773
|
-
"name": "edit",
|
|
561
|
+
"force": {
|
|
562
|
+
"char": "f",
|
|
563
|
+
"description": "Skip confirmation prompt",
|
|
564
|
+
"name": "force",
|
|
774
565
|
"required": false,
|
|
775
566
|
"allowNo": false,
|
|
776
567
|
"type": "boolean"
|
|
777
568
|
},
|
|
778
|
-
"file": {
|
|
779
|
-
"char": "f",
|
|
780
|
-
"description": "Path to file containing XanoScript code",
|
|
781
|
-
"exclusive": [
|
|
782
|
-
"stdin"
|
|
783
|
-
],
|
|
784
|
-
"name": "file",
|
|
785
|
-
"required": false,
|
|
786
|
-
"hasDynamicHelp": false,
|
|
787
|
-
"multiple": false,
|
|
788
|
-
"type": "option"
|
|
789
|
-
},
|
|
790
569
|
"output": {
|
|
791
570
|
"char": "o",
|
|
792
571
|
"description": "Output format",
|
|
@@ -801,20 +580,9 @@
|
|
|
801
580
|
],
|
|
802
581
|
"type": "option"
|
|
803
582
|
},
|
|
804
|
-
"stdin": {
|
|
805
|
-
"char": "s",
|
|
806
|
-
"description": "Read XanoScript code from stdin",
|
|
807
|
-
"exclusive": [
|
|
808
|
-
"file"
|
|
809
|
-
],
|
|
810
|
-
"name": "stdin",
|
|
811
|
-
"required": false,
|
|
812
|
-
"allowNo": false,
|
|
813
|
-
"type": "boolean"
|
|
814
|
-
},
|
|
815
583
|
"workspace": {
|
|
816
584
|
"char": "w",
|
|
817
|
-
"description": "Workspace ID (
|
|
585
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
818
586
|
"name": "workspace",
|
|
819
587
|
"required": false,
|
|
820
588
|
"hasDynamicHelp": false,
|
|
@@ -824,7 +592,7 @@
|
|
|
824
592
|
},
|
|
825
593
|
"hasDynamicHelp": false,
|
|
826
594
|
"hiddenAliases": [],
|
|
827
|
-
"id": "
|
|
595
|
+
"id": "branch:set_live",
|
|
828
596
|
"pluginAlias": "@xano/cli",
|
|
829
597
|
"pluginName": "@xano/cli",
|
|
830
598
|
"pluginType": "core",
|
|
@@ -834,8 +602,8 @@
|
|
|
834
602
|
"relativePath": [
|
|
835
603
|
"dist",
|
|
836
604
|
"commands",
|
|
837
|
-
"
|
|
838
|
-
"
|
|
605
|
+
"branch",
|
|
606
|
+
"set_live",
|
|
839
607
|
"index.js"
|
|
840
608
|
]
|
|
841
609
|
},
|
|
@@ -958,23 +726,16 @@
|
|
|
958
726
|
"index.js"
|
|
959
727
|
]
|
|
960
728
|
},
|
|
961
|
-
"function:
|
|
729
|
+
"function:create": {
|
|
962
730
|
"aliases": [],
|
|
963
|
-
"args": {
|
|
964
|
-
|
|
965
|
-
"description": "Function ID",
|
|
966
|
-
"name": "function_id",
|
|
967
|
-
"required": false
|
|
968
|
-
}
|
|
969
|
-
},
|
|
970
|
-
"description": "Get a specific function from a workspace",
|
|
731
|
+
"args": {},
|
|
732
|
+
"description": "Create a new function in a workspace",
|
|
971
733
|
"examples": [
|
|
972
|
-
"$ xano function:
|
|
973
|
-
"$ xano function:
|
|
974
|
-
"$ xano function:
|
|
975
|
-
"$ xano function:
|
|
976
|
-
"$ xano function:
|
|
977
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
734
|
+
"$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
735
|
+
"$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
736
|
+
"$ xano function:create -w 40 -f function.xs --edit\n# Opens function.xs in $EDITOR, then creates function with edited content\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
737
|
+
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
738
|
+
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
978
739
|
],
|
|
979
740
|
"flags": {
|
|
980
741
|
"profile": {
|
|
@@ -996,19 +757,28 @@
|
|
|
996
757
|
"allowNo": false,
|
|
997
758
|
"type": "boolean"
|
|
998
759
|
},
|
|
999
|
-
"
|
|
1000
|
-
"
|
|
1001
|
-
"
|
|
760
|
+
"edit": {
|
|
761
|
+
"char": "e",
|
|
762
|
+
"dependsOn": [
|
|
763
|
+
"file"
|
|
764
|
+
],
|
|
765
|
+
"description": "Open file in editor before creating function (requires --file)",
|
|
766
|
+
"name": "edit",
|
|
1002
767
|
"required": false,
|
|
1003
768
|
"allowNo": false,
|
|
1004
769
|
"type": "boolean"
|
|
1005
770
|
},
|
|
1006
|
-
"
|
|
1007
|
-
"
|
|
1008
|
-
"
|
|
771
|
+
"file": {
|
|
772
|
+
"char": "f",
|
|
773
|
+
"description": "Path to file containing XanoScript code",
|
|
774
|
+
"exclusive": [
|
|
775
|
+
"stdin"
|
|
776
|
+
],
|
|
777
|
+
"name": "file",
|
|
1009
778
|
"required": false,
|
|
1010
|
-
"
|
|
1011
|
-
"
|
|
779
|
+
"hasDynamicHelp": false,
|
|
780
|
+
"multiple": false,
|
|
781
|
+
"type": "option"
|
|
1012
782
|
},
|
|
1013
783
|
"output": {
|
|
1014
784
|
"char": "o",
|
|
@@ -1020,11 +790,21 @@
|
|
|
1020
790
|
"multiple": false,
|
|
1021
791
|
"options": [
|
|
1022
792
|
"summary",
|
|
1023
|
-
"json"
|
|
1024
|
-
"xs"
|
|
793
|
+
"json"
|
|
1025
794
|
],
|
|
1026
795
|
"type": "option"
|
|
1027
796
|
},
|
|
797
|
+
"stdin": {
|
|
798
|
+
"char": "s",
|
|
799
|
+
"description": "Read XanoScript code from stdin",
|
|
800
|
+
"exclusive": [
|
|
801
|
+
"file"
|
|
802
|
+
],
|
|
803
|
+
"name": "stdin",
|
|
804
|
+
"required": false,
|
|
805
|
+
"allowNo": false,
|
|
806
|
+
"type": "boolean"
|
|
807
|
+
},
|
|
1028
808
|
"workspace": {
|
|
1029
809
|
"char": "w",
|
|
1030
810
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -1037,7 +817,7 @@
|
|
|
1037
817
|
},
|
|
1038
818
|
"hasDynamicHelp": false,
|
|
1039
819
|
"hiddenAliases": [],
|
|
1040
|
-
"id": "function:
|
|
820
|
+
"id": "function:create",
|
|
1041
821
|
"pluginAlias": "@xano/cli",
|
|
1042
822
|
"pluginName": "@xano/cli",
|
|
1043
823
|
"pluginType": "core",
|
|
@@ -1048,7 +828,7 @@
|
|
|
1048
828
|
"dist",
|
|
1049
829
|
"commands",
|
|
1050
830
|
"function",
|
|
1051
|
-
"
|
|
831
|
+
"create",
|
|
1052
832
|
"index.js"
|
|
1053
833
|
]
|
|
1054
834
|
},
|
|
@@ -1177,21 +957,147 @@
|
|
|
1177
957
|
"index.js"
|
|
1178
958
|
]
|
|
1179
959
|
},
|
|
1180
|
-
"
|
|
960
|
+
"platform:get": {
|
|
1181
961
|
"aliases": [],
|
|
1182
962
|
"args": {
|
|
1183
|
-
"
|
|
1184
|
-
"description": "
|
|
1185
|
-
"name": "
|
|
963
|
+
"platform_id": {
|
|
964
|
+
"description": "Platform ID to retrieve",
|
|
965
|
+
"name": "platform_id",
|
|
1186
966
|
"required": true
|
|
1187
967
|
}
|
|
1188
968
|
},
|
|
1189
|
-
"description": "
|
|
969
|
+
"description": "Get details of a specific platform",
|
|
1190
970
|
"examples": [
|
|
1191
|
-
"$ xano
|
|
1192
|
-
"$ xano
|
|
1193
|
-
|
|
1194
|
-
|
|
971
|
+
"$ xano platform get 23629\nPlatform ID: 23629\n Created: 2025-11-28\n Helm: 0.1.356\n Images:\n backend 0.0.2985\n frontend 0.1.3427\n database 0.1.6\n node 0.1.192\n deno 0.0.212\n redis 0.1.34\n realtime 0.1.149\n standalone 0.0.2456\n playwright 0.0.992\n static 0.0.10\n static-build 0.0.4\n backend-encoded 0.0.1396\n",
|
|
972
|
+
"$ xano platform get 23629 -o json"
|
|
973
|
+
],
|
|
974
|
+
"flags": {
|
|
975
|
+
"profile": {
|
|
976
|
+
"char": "p",
|
|
977
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
978
|
+
"env": "XANO_PROFILE",
|
|
979
|
+
"name": "profile",
|
|
980
|
+
"required": false,
|
|
981
|
+
"hasDynamicHelp": false,
|
|
982
|
+
"multiple": false,
|
|
983
|
+
"type": "option"
|
|
984
|
+
},
|
|
985
|
+
"verbose": {
|
|
986
|
+
"char": "v",
|
|
987
|
+
"description": "Show detailed request/response information",
|
|
988
|
+
"env": "XANO_VERBOSE",
|
|
989
|
+
"name": "verbose",
|
|
990
|
+
"required": false,
|
|
991
|
+
"allowNo": false,
|
|
992
|
+
"type": "boolean"
|
|
993
|
+
},
|
|
994
|
+
"output": {
|
|
995
|
+
"char": "o",
|
|
996
|
+
"description": "Output format",
|
|
997
|
+
"name": "output",
|
|
998
|
+
"required": false,
|
|
999
|
+
"default": "summary",
|
|
1000
|
+
"hasDynamicHelp": false,
|
|
1001
|
+
"multiple": false,
|
|
1002
|
+
"options": [
|
|
1003
|
+
"summary",
|
|
1004
|
+
"json"
|
|
1005
|
+
],
|
|
1006
|
+
"type": "option"
|
|
1007
|
+
}
|
|
1008
|
+
},
|
|
1009
|
+
"hasDynamicHelp": false,
|
|
1010
|
+
"hiddenAliases": [],
|
|
1011
|
+
"id": "platform:get",
|
|
1012
|
+
"pluginAlias": "@xano/cli",
|
|
1013
|
+
"pluginName": "@xano/cli",
|
|
1014
|
+
"pluginType": "core",
|
|
1015
|
+
"strict": true,
|
|
1016
|
+
"enableJsonFlag": false,
|
|
1017
|
+
"isESM": true,
|
|
1018
|
+
"relativePath": [
|
|
1019
|
+
"dist",
|
|
1020
|
+
"commands",
|
|
1021
|
+
"platform",
|
|
1022
|
+
"get",
|
|
1023
|
+
"index.js"
|
|
1024
|
+
]
|
|
1025
|
+
},
|
|
1026
|
+
"platform:list": {
|
|
1027
|
+
"aliases": [],
|
|
1028
|
+
"args": {},
|
|
1029
|
+
"description": "List all platforms",
|
|
1030
|
+
"examples": [
|
|
1031
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1032
|
+
"$ xano platform list --output json"
|
|
1033
|
+
],
|
|
1034
|
+
"flags": {
|
|
1035
|
+
"profile": {
|
|
1036
|
+
"char": "p",
|
|
1037
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1038
|
+
"env": "XANO_PROFILE",
|
|
1039
|
+
"name": "profile",
|
|
1040
|
+
"required": false,
|
|
1041
|
+
"hasDynamicHelp": false,
|
|
1042
|
+
"multiple": false,
|
|
1043
|
+
"type": "option"
|
|
1044
|
+
},
|
|
1045
|
+
"verbose": {
|
|
1046
|
+
"char": "v",
|
|
1047
|
+
"description": "Show detailed request/response information",
|
|
1048
|
+
"env": "XANO_VERBOSE",
|
|
1049
|
+
"name": "verbose",
|
|
1050
|
+
"required": false,
|
|
1051
|
+
"allowNo": false,
|
|
1052
|
+
"type": "boolean"
|
|
1053
|
+
},
|
|
1054
|
+
"output": {
|
|
1055
|
+
"char": "o",
|
|
1056
|
+
"description": "Output format",
|
|
1057
|
+
"name": "output",
|
|
1058
|
+
"required": false,
|
|
1059
|
+
"default": "summary",
|
|
1060
|
+
"hasDynamicHelp": false,
|
|
1061
|
+
"multiple": false,
|
|
1062
|
+
"options": [
|
|
1063
|
+
"summary",
|
|
1064
|
+
"json"
|
|
1065
|
+
],
|
|
1066
|
+
"type": "option"
|
|
1067
|
+
}
|
|
1068
|
+
},
|
|
1069
|
+
"hasDynamicHelp": false,
|
|
1070
|
+
"hiddenAliases": [],
|
|
1071
|
+
"id": "platform:list",
|
|
1072
|
+
"pluginAlias": "@xano/cli",
|
|
1073
|
+
"pluginName": "@xano/cli",
|
|
1074
|
+
"pluginType": "core",
|
|
1075
|
+
"strict": true,
|
|
1076
|
+
"enableJsonFlag": false,
|
|
1077
|
+
"isESM": true,
|
|
1078
|
+
"relativePath": [
|
|
1079
|
+
"dist",
|
|
1080
|
+
"commands",
|
|
1081
|
+
"platform",
|
|
1082
|
+
"list",
|
|
1083
|
+
"index.js"
|
|
1084
|
+
]
|
|
1085
|
+
},
|
|
1086
|
+
"profile:create": {
|
|
1087
|
+
"aliases": [],
|
|
1088
|
+
"args": {
|
|
1089
|
+
"name": {
|
|
1090
|
+
"description": "Profile name",
|
|
1091
|
+
"name": "name",
|
|
1092
|
+
"required": true
|
|
1093
|
+
}
|
|
1094
|
+
},
|
|
1095
|
+
"description": "Create a new profile configuration",
|
|
1096
|
+
"examples": [
|
|
1097
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
|
|
1098
|
+
"$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
|
|
1099
|
+
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
1100
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n"
|
|
1195
1101
|
],
|
|
1196
1102
|
"flags": {
|
|
1197
1103
|
"access_token": {
|
|
@@ -1264,48 +1170,6 @@
|
|
|
1264
1170
|
"index.js"
|
|
1265
1171
|
]
|
|
1266
1172
|
},
|
|
1267
|
-
"profile:delete": {
|
|
1268
|
-
"aliases": [],
|
|
1269
|
-
"args": {
|
|
1270
|
-
"name": {
|
|
1271
|
-
"description": "Profile name to delete",
|
|
1272
|
-
"name": "name",
|
|
1273
|
-
"required": true
|
|
1274
|
-
}
|
|
1275
|
-
},
|
|
1276
|
-
"description": "Delete a profile configuration",
|
|
1277
|
-
"examples": [
|
|
1278
|
-
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1279
|
-
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1280
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1281
|
-
],
|
|
1282
|
-
"flags": {
|
|
1283
|
-
"force": {
|
|
1284
|
-
"char": "f",
|
|
1285
|
-
"description": "Skip confirmation prompt",
|
|
1286
|
-
"name": "force",
|
|
1287
|
-
"required": false,
|
|
1288
|
-
"allowNo": false,
|
|
1289
|
-
"type": "boolean"
|
|
1290
|
-
}
|
|
1291
|
-
},
|
|
1292
|
-
"hasDynamicHelp": false,
|
|
1293
|
-
"hiddenAliases": [],
|
|
1294
|
-
"id": "profile:delete",
|
|
1295
|
-
"pluginAlias": "@xano/cli",
|
|
1296
|
-
"pluginName": "@xano/cli",
|
|
1297
|
-
"pluginType": "core",
|
|
1298
|
-
"strict": true,
|
|
1299
|
-
"enableJsonFlag": false,
|
|
1300
|
-
"isESM": true,
|
|
1301
|
-
"relativePath": [
|
|
1302
|
-
"dist",
|
|
1303
|
-
"commands",
|
|
1304
|
-
"profile",
|
|
1305
|
-
"delete",
|
|
1306
|
-
"index.js"
|
|
1307
|
-
]
|
|
1308
|
-
},
|
|
1309
1173
|
"profile:edit": {
|
|
1310
1174
|
"aliases": [],
|
|
1311
1175
|
"args": {
|
|
@@ -1420,20 +1284,26 @@
|
|
|
1420
1284
|
"index.js"
|
|
1421
1285
|
]
|
|
1422
1286
|
},
|
|
1423
|
-
"profile:
|
|
1287
|
+
"profile:delete": {
|
|
1424
1288
|
"aliases": [],
|
|
1425
|
-
"args": {
|
|
1426
|
-
|
|
1289
|
+
"args": {
|
|
1290
|
+
"name": {
|
|
1291
|
+
"description": "Profile name to delete",
|
|
1292
|
+
"name": "name",
|
|
1293
|
+
"required": true
|
|
1294
|
+
}
|
|
1295
|
+
},
|
|
1296
|
+
"description": "Delete a profile configuration",
|
|
1427
1297
|
"examples": [
|
|
1428
|
-
"$ xano profile:
|
|
1429
|
-
"$ xano profile:
|
|
1430
|
-
"$ xano profile:
|
|
1298
|
+
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1299
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1300
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1431
1301
|
],
|
|
1432
1302
|
"flags": {
|
|
1433
|
-
"
|
|
1434
|
-
"char": "
|
|
1435
|
-
"description": "
|
|
1436
|
-
"name": "
|
|
1303
|
+
"force": {
|
|
1304
|
+
"char": "f",
|
|
1305
|
+
"description": "Skip confirmation prompt",
|
|
1306
|
+
"name": "force",
|
|
1437
1307
|
"required": false,
|
|
1438
1308
|
"allowNo": false,
|
|
1439
1309
|
"type": "boolean"
|
|
@@ -1441,7 +1311,7 @@
|
|
|
1441
1311
|
},
|
|
1442
1312
|
"hasDynamicHelp": false,
|
|
1443
1313
|
"hiddenAliases": [],
|
|
1444
|
-
"id": "profile:
|
|
1314
|
+
"id": "profile:delete",
|
|
1445
1315
|
"pluginAlias": "@xano/cli",
|
|
1446
1316
|
"pluginName": "@xano/cli",
|
|
1447
1317
|
"pluginType": "core",
|
|
@@ -1452,7 +1322,7 @@
|
|
|
1452
1322
|
"dist",
|
|
1453
1323
|
"commands",
|
|
1454
1324
|
"profile",
|
|
1455
|
-
"
|
|
1325
|
+
"delete",
|
|
1456
1326
|
"index.js"
|
|
1457
1327
|
]
|
|
1458
1328
|
},
|
|
@@ -1481,6 +1351,136 @@
|
|
|
1481
1351
|
"index.js"
|
|
1482
1352
|
]
|
|
1483
1353
|
},
|
|
1354
|
+
"function:get": {
|
|
1355
|
+
"aliases": [],
|
|
1356
|
+
"args": {
|
|
1357
|
+
"function_id": {
|
|
1358
|
+
"description": "Function ID",
|
|
1359
|
+
"name": "function_id",
|
|
1360
|
+
"required": false
|
|
1361
|
+
}
|
|
1362
|
+
},
|
|
1363
|
+
"description": "Get a specific function from a workspace",
|
|
1364
|
+
"examples": [
|
|
1365
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
1366
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
1367
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
1368
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
1369
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
1370
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
1371
|
+
],
|
|
1372
|
+
"flags": {
|
|
1373
|
+
"profile": {
|
|
1374
|
+
"char": "p",
|
|
1375
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1376
|
+
"env": "XANO_PROFILE",
|
|
1377
|
+
"name": "profile",
|
|
1378
|
+
"required": false,
|
|
1379
|
+
"hasDynamicHelp": false,
|
|
1380
|
+
"multiple": false,
|
|
1381
|
+
"type": "option"
|
|
1382
|
+
},
|
|
1383
|
+
"verbose": {
|
|
1384
|
+
"char": "v",
|
|
1385
|
+
"description": "Show detailed request/response information",
|
|
1386
|
+
"env": "XANO_VERBOSE",
|
|
1387
|
+
"name": "verbose",
|
|
1388
|
+
"required": false,
|
|
1389
|
+
"allowNo": false,
|
|
1390
|
+
"type": "boolean"
|
|
1391
|
+
},
|
|
1392
|
+
"include_draft": {
|
|
1393
|
+
"description": "Include draft version",
|
|
1394
|
+
"name": "include_draft",
|
|
1395
|
+
"required": false,
|
|
1396
|
+
"allowNo": false,
|
|
1397
|
+
"type": "boolean"
|
|
1398
|
+
},
|
|
1399
|
+
"include_xanoscript": {
|
|
1400
|
+
"description": "Include XanoScript in response",
|
|
1401
|
+
"name": "include_xanoscript",
|
|
1402
|
+
"required": false,
|
|
1403
|
+
"allowNo": false,
|
|
1404
|
+
"type": "boolean"
|
|
1405
|
+
},
|
|
1406
|
+
"output": {
|
|
1407
|
+
"char": "o",
|
|
1408
|
+
"description": "Output format",
|
|
1409
|
+
"name": "output",
|
|
1410
|
+
"required": false,
|
|
1411
|
+
"default": "summary",
|
|
1412
|
+
"hasDynamicHelp": false,
|
|
1413
|
+
"multiple": false,
|
|
1414
|
+
"options": [
|
|
1415
|
+
"summary",
|
|
1416
|
+
"json",
|
|
1417
|
+
"xs"
|
|
1418
|
+
],
|
|
1419
|
+
"type": "option"
|
|
1420
|
+
},
|
|
1421
|
+
"workspace": {
|
|
1422
|
+
"char": "w",
|
|
1423
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1424
|
+
"name": "workspace",
|
|
1425
|
+
"required": false,
|
|
1426
|
+
"hasDynamicHelp": false,
|
|
1427
|
+
"multiple": false,
|
|
1428
|
+
"type": "option"
|
|
1429
|
+
}
|
|
1430
|
+
},
|
|
1431
|
+
"hasDynamicHelp": false,
|
|
1432
|
+
"hiddenAliases": [],
|
|
1433
|
+
"id": "function:get",
|
|
1434
|
+
"pluginAlias": "@xano/cli",
|
|
1435
|
+
"pluginName": "@xano/cli",
|
|
1436
|
+
"pluginType": "core",
|
|
1437
|
+
"strict": true,
|
|
1438
|
+
"enableJsonFlag": false,
|
|
1439
|
+
"isESM": true,
|
|
1440
|
+
"relativePath": [
|
|
1441
|
+
"dist",
|
|
1442
|
+
"commands",
|
|
1443
|
+
"function",
|
|
1444
|
+
"get",
|
|
1445
|
+
"index.js"
|
|
1446
|
+
]
|
|
1447
|
+
},
|
|
1448
|
+
"profile:list": {
|
|
1449
|
+
"aliases": [],
|
|
1450
|
+
"args": {},
|
|
1451
|
+
"description": "List all available profile configurations",
|
|
1452
|
+
"examples": [
|
|
1453
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1454
|
+
"$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
1455
|
+
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
1456
|
+
],
|
|
1457
|
+
"flags": {
|
|
1458
|
+
"details": {
|
|
1459
|
+
"char": "d",
|
|
1460
|
+
"description": "Show detailed information for each profile",
|
|
1461
|
+
"name": "details",
|
|
1462
|
+
"required": false,
|
|
1463
|
+
"allowNo": false,
|
|
1464
|
+
"type": "boolean"
|
|
1465
|
+
}
|
|
1466
|
+
},
|
|
1467
|
+
"hasDynamicHelp": false,
|
|
1468
|
+
"hiddenAliases": [],
|
|
1469
|
+
"id": "profile:list",
|
|
1470
|
+
"pluginAlias": "@xano/cli",
|
|
1471
|
+
"pluginName": "@xano/cli",
|
|
1472
|
+
"pluginType": "core",
|
|
1473
|
+
"strict": true,
|
|
1474
|
+
"enableJsonFlag": false,
|
|
1475
|
+
"isESM": true,
|
|
1476
|
+
"relativePath": [
|
|
1477
|
+
"dist",
|
|
1478
|
+
"commands",
|
|
1479
|
+
"profile",
|
|
1480
|
+
"list",
|
|
1481
|
+
"index.js"
|
|
1482
|
+
]
|
|
1483
|
+
},
|
|
1484
1484
|
"profile:me": {
|
|
1485
1485
|
"aliases": [],
|
|
1486
1486
|
"args": {},
|
|
@@ -1542,23 +1542,18 @@
|
|
|
1542
1542
|
"index.js"
|
|
1543
1543
|
]
|
|
1544
1544
|
},
|
|
1545
|
-
"profile:
|
|
1545
|
+
"profile:token": {
|
|
1546
1546
|
"aliases": [],
|
|
1547
|
-
"args": {
|
|
1548
|
-
|
|
1549
|
-
"description": "Profile name to set as default",
|
|
1550
|
-
"name": "name",
|
|
1551
|
-
"required": true
|
|
1552
|
-
}
|
|
1553
|
-
},
|
|
1554
|
-
"description": "Set the default profile",
|
|
1547
|
+
"args": {},
|
|
1548
|
+
"description": "Print the access token for the default profile",
|
|
1555
1549
|
"examples": [
|
|
1556
|
-
"$ xano profile
|
|
1550
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1551
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1557
1552
|
],
|
|
1558
1553
|
"flags": {},
|
|
1559
1554
|
"hasDynamicHelp": false,
|
|
1560
1555
|
"hiddenAliases": [],
|
|
1561
|
-
"id": "profile:
|
|
1556
|
+
"id": "profile:token",
|
|
1562
1557
|
"pluginAlias": "@xano/cli",
|
|
1563
1558
|
"pluginName": "@xano/cli",
|
|
1564
1559
|
"pluginType": "core",
|
|
@@ -1569,22 +1564,22 @@
|
|
|
1569
1564
|
"dist",
|
|
1570
1565
|
"commands",
|
|
1571
1566
|
"profile",
|
|
1572
|
-
"
|
|
1567
|
+
"token",
|
|
1573
1568
|
"index.js"
|
|
1574
1569
|
]
|
|
1575
1570
|
},
|
|
1576
|
-
"profile:
|
|
1571
|
+
"profile:workspace": {
|
|
1577
1572
|
"aliases": [],
|
|
1578
1573
|
"args": {},
|
|
1579
|
-
"description": "Print the
|
|
1574
|
+
"description": "Print the workspace ID for the default profile",
|
|
1580
1575
|
"examples": [
|
|
1581
|
-
"$ xano profile:
|
|
1582
|
-
"$ xano profile:
|
|
1576
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1577
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1583
1578
|
],
|
|
1584
1579
|
"flags": {},
|
|
1585
1580
|
"hasDynamicHelp": false,
|
|
1586
1581
|
"hiddenAliases": [],
|
|
1587
|
-
"id": "profile:
|
|
1582
|
+
"id": "profile:workspace",
|
|
1588
1583
|
"pluginAlias": "@xano/cli",
|
|
1589
1584
|
"pluginName": "@xano/cli",
|
|
1590
1585
|
"pluginType": "core",
|
|
@@ -1595,7 +1590,7 @@
|
|
|
1595
1590
|
"dist",
|
|
1596
1591
|
"commands",
|
|
1597
1592
|
"profile",
|
|
1598
|
-
"
|
|
1593
|
+
"workspace",
|
|
1599
1594
|
"index.js"
|
|
1600
1595
|
]
|
|
1601
1596
|
},
|
|
@@ -1644,32 +1639,6 @@
|
|
|
1644
1639
|
"index.js"
|
|
1645
1640
|
]
|
|
1646
1641
|
},
|
|
1647
|
-
"profile:workspace": {
|
|
1648
|
-
"aliases": [],
|
|
1649
|
-
"args": {},
|
|
1650
|
-
"description": "Print the workspace ID for the default profile",
|
|
1651
|
-
"examples": [
|
|
1652
|
-
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1653
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1654
|
-
],
|
|
1655
|
-
"flags": {},
|
|
1656
|
-
"hasDynamicHelp": false,
|
|
1657
|
-
"hiddenAliases": [],
|
|
1658
|
-
"id": "profile:workspace",
|
|
1659
|
-
"pluginAlias": "@xano/cli",
|
|
1660
|
-
"pluginName": "@xano/cli",
|
|
1661
|
-
"pluginType": "core",
|
|
1662
|
-
"strict": true,
|
|
1663
|
-
"enableJsonFlag": false,
|
|
1664
|
-
"isESM": true,
|
|
1665
|
-
"relativePath": [
|
|
1666
|
-
"dist",
|
|
1667
|
-
"commands",
|
|
1668
|
-
"profile",
|
|
1669
|
-
"workspace",
|
|
1670
|
-
"index.js"
|
|
1671
|
-
]
|
|
1672
|
-
},
|
|
1673
1642
|
"static_host:list": {
|
|
1674
1643
|
"aliases": [],
|
|
1675
1644
|
"args": {},
|
|
@@ -1759,76 +1728,23 @@
|
|
|
1759
1728
|
"index.js"
|
|
1760
1729
|
]
|
|
1761
1730
|
},
|
|
1762
|
-
"
|
|
1731
|
+
"profile:set": {
|
|
1763
1732
|
"aliases": [],
|
|
1764
1733
|
"args": {
|
|
1765
|
-
"
|
|
1766
|
-
"description": "
|
|
1767
|
-
"name": "
|
|
1734
|
+
"name": {
|
|
1735
|
+
"description": "Profile name to set as default",
|
|
1736
|
+
"name": "name",
|
|
1768
1737
|
"required": true
|
|
1769
1738
|
}
|
|
1770
1739
|
},
|
|
1771
|
-
"description": "
|
|
1740
|
+
"description": "Set the default profile",
|
|
1772
1741
|
"examples": [
|
|
1773
|
-
"$ xano
|
|
1774
|
-
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
1775
|
-
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
1742
|
+
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1776
1743
|
],
|
|
1777
|
-
"flags": {
|
|
1778
|
-
"profile": {
|
|
1779
|
-
"char": "p",
|
|
1780
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1781
|
-
"env": "XANO_PROFILE",
|
|
1782
|
-
"name": "profile",
|
|
1783
|
-
"required": false,
|
|
1784
|
-
"hasDynamicHelp": false,
|
|
1785
|
-
"multiple": false,
|
|
1786
|
-
"type": "option"
|
|
1787
|
-
},
|
|
1788
|
-
"verbose": {
|
|
1789
|
-
"char": "v",
|
|
1790
|
-
"description": "Show detailed request/response information",
|
|
1791
|
-
"env": "XANO_VERBOSE",
|
|
1792
|
-
"name": "verbose",
|
|
1793
|
-
"required": false,
|
|
1794
|
-
"allowNo": false,
|
|
1795
|
-
"type": "boolean"
|
|
1796
|
-
},
|
|
1797
|
-
"force": {
|
|
1798
|
-
"char": "f",
|
|
1799
|
-
"description": "Skip confirmation prompt",
|
|
1800
|
-
"name": "force",
|
|
1801
|
-
"required": false,
|
|
1802
|
-
"allowNo": false,
|
|
1803
|
-
"type": "boolean"
|
|
1804
|
-
},
|
|
1805
|
-
"output": {
|
|
1806
|
-
"char": "o",
|
|
1807
|
-
"description": "Output format",
|
|
1808
|
-
"name": "output",
|
|
1809
|
-
"required": false,
|
|
1810
|
-
"default": "summary",
|
|
1811
|
-
"hasDynamicHelp": false,
|
|
1812
|
-
"multiple": false,
|
|
1813
|
-
"options": [
|
|
1814
|
-
"summary",
|
|
1815
|
-
"json"
|
|
1816
|
-
],
|
|
1817
|
-
"type": "option"
|
|
1818
|
-
},
|
|
1819
|
-
"workspace": {
|
|
1820
|
-
"char": "w",
|
|
1821
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1822
|
-
"name": "workspace",
|
|
1823
|
-
"required": false,
|
|
1824
|
-
"hasDynamicHelp": false,
|
|
1825
|
-
"multiple": false,
|
|
1826
|
-
"type": "option"
|
|
1827
|
-
}
|
|
1828
|
-
},
|
|
1744
|
+
"flags": {},
|
|
1829
1745
|
"hasDynamicHelp": false,
|
|
1830
1746
|
"hiddenAliases": [],
|
|
1831
|
-
"id": "
|
|
1747
|
+
"id": "profile:set",
|
|
1832
1748
|
"pluginAlias": "@xano/cli",
|
|
1833
1749
|
"pluginName": "@xano/cli",
|
|
1834
1750
|
"pluginType": "core",
|
|
@@ -1838,8 +1754,8 @@
|
|
|
1838
1754
|
"relativePath": [
|
|
1839
1755
|
"dist",
|
|
1840
1756
|
"commands",
|
|
1841
|
-
"
|
|
1842
|
-
"
|
|
1757
|
+
"profile",
|
|
1758
|
+
"set",
|
|
1843
1759
|
"index.js"
|
|
1844
1760
|
]
|
|
1845
1761
|
},
|
|
@@ -2066,19 +1982,20 @@
|
|
|
2066
1982
|
"index.js"
|
|
2067
1983
|
]
|
|
2068
1984
|
},
|
|
2069
|
-
"tenant:
|
|
1985
|
+
"tenant:delete": {
|
|
2070
1986
|
"aliases": [],
|
|
2071
1987
|
"args": {
|
|
2072
1988
|
"tenant_name": {
|
|
2073
|
-
"description": "Tenant name to
|
|
1989
|
+
"description": "Tenant name to delete",
|
|
2074
1990
|
"name": "tenant_name",
|
|
2075
1991
|
"required": true
|
|
2076
1992
|
}
|
|
2077
1993
|
},
|
|
2078
|
-
"description": "
|
|
1994
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2079
1995
|
"examples": [
|
|
2080
|
-
"$ xano tenant
|
|
2081
|
-
"$ xano tenant
|
|
1996
|
+
"$ xano tenant delete t1234-abcd-xyz1\nAre you sure you want to delete tenant t1234-abcd-xyz1? This action cannot be undone. (y/N) y\nDeleted tenant t1234-abcd-xyz1\n",
|
|
1997
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
1998
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2082
1999
|
],
|
|
2083
2000
|
"flags": {
|
|
2084
2001
|
"profile": {
|
|
@@ -2100,6 +2017,14 @@
|
|
|
2100
2017
|
"allowNo": false,
|
|
2101
2018
|
"type": "boolean"
|
|
2102
2019
|
},
|
|
2020
|
+
"force": {
|
|
2021
|
+
"char": "f",
|
|
2022
|
+
"description": "Skip confirmation prompt",
|
|
2023
|
+
"name": "force",
|
|
2024
|
+
"required": false,
|
|
2025
|
+
"allowNo": false,
|
|
2026
|
+
"type": "boolean"
|
|
2027
|
+
},
|
|
2103
2028
|
"output": {
|
|
2104
2029
|
"char": "o",
|
|
2105
2030
|
"description": "Output format",
|
|
@@ -2114,15 +2039,6 @@
|
|
|
2114
2039
|
],
|
|
2115
2040
|
"type": "option"
|
|
2116
2041
|
},
|
|
2117
|
-
"release": {
|
|
2118
|
-
"char": "r",
|
|
2119
|
-
"description": "Release name to deploy",
|
|
2120
|
-
"name": "release",
|
|
2121
|
-
"required": true,
|
|
2122
|
-
"hasDynamicHelp": false,
|
|
2123
|
-
"multiple": false,
|
|
2124
|
-
"type": "option"
|
|
2125
|
-
},
|
|
2126
2042
|
"workspace": {
|
|
2127
2043
|
"char": "w",
|
|
2128
2044
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2135,7 +2051,7 @@
|
|
|
2135
2051
|
},
|
|
2136
2052
|
"hasDynamicHelp": false,
|
|
2137
2053
|
"hiddenAliases": [],
|
|
2138
|
-
"id": "tenant:
|
|
2054
|
+
"id": "tenant:delete",
|
|
2139
2055
|
"pluginAlias": "@xano/cli",
|
|
2140
2056
|
"pluginName": "@xano/cli",
|
|
2141
2057
|
"pluginType": "core",
|
|
@@ -2146,7 +2062,7 @@
|
|
|
2146
2062
|
"dist",
|
|
2147
2063
|
"commands",
|
|
2148
2064
|
"tenant",
|
|
2149
|
-
"
|
|
2065
|
+
"delete",
|
|
2150
2066
|
"index.js"
|
|
2151
2067
|
]
|
|
2152
2068
|
},
|
|
@@ -2279,19 +2195,19 @@
|
|
|
2279
2195
|
"index.js"
|
|
2280
2196
|
]
|
|
2281
2197
|
},
|
|
2282
|
-
"tenant:
|
|
2198
|
+
"tenant:deploy_release": {
|
|
2283
2199
|
"aliases": [],
|
|
2284
2200
|
"args": {
|
|
2285
2201
|
"tenant_name": {
|
|
2286
|
-
"description": "Tenant name to
|
|
2202
|
+
"description": "Tenant name to deploy to",
|
|
2287
2203
|
"name": "tenant_name",
|
|
2288
2204
|
"required": true
|
|
2289
2205
|
}
|
|
2290
2206
|
},
|
|
2291
|
-
"description": "
|
|
2207
|
+
"description": "Deploy a release to a tenant",
|
|
2292
2208
|
"examples": [
|
|
2293
|
-
"$ xano tenant
|
|
2294
|
-
"$ xano tenant
|
|
2209
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
2210
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
2295
2211
|
],
|
|
2296
2212
|
"flags": {
|
|
2297
2213
|
"profile": {
|
|
@@ -2327,6 +2243,15 @@
|
|
|
2327
2243
|
],
|
|
2328
2244
|
"type": "option"
|
|
2329
2245
|
},
|
|
2246
|
+
"release": {
|
|
2247
|
+
"char": "r",
|
|
2248
|
+
"description": "Release name to deploy",
|
|
2249
|
+
"name": "release",
|
|
2250
|
+
"required": true,
|
|
2251
|
+
"hasDynamicHelp": false,
|
|
2252
|
+
"multiple": false,
|
|
2253
|
+
"type": "option"
|
|
2254
|
+
},
|
|
2330
2255
|
"workspace": {
|
|
2331
2256
|
"char": "w",
|
|
2332
2257
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2339,7 +2264,7 @@
|
|
|
2339
2264
|
},
|
|
2340
2265
|
"hasDynamicHelp": false,
|
|
2341
2266
|
"hiddenAliases": [],
|
|
2342
|
-
"id": "tenant:
|
|
2267
|
+
"id": "tenant:deploy_release",
|
|
2343
2268
|
"pluginAlias": "@xano/cli",
|
|
2344
2269
|
"pluginName": "@xano/cli",
|
|
2345
2270
|
"pluginType": "core",
|
|
@@ -2350,17 +2275,23 @@
|
|
|
2350
2275
|
"dist",
|
|
2351
2276
|
"commands",
|
|
2352
2277
|
"tenant",
|
|
2353
|
-
"
|
|
2278
|
+
"deploy_release",
|
|
2354
2279
|
"index.js"
|
|
2355
2280
|
]
|
|
2356
2281
|
},
|
|
2357
|
-
"tenant:
|
|
2282
|
+
"tenant:get": {
|
|
2358
2283
|
"aliases": [],
|
|
2359
|
-
"args": {
|
|
2360
|
-
|
|
2284
|
+
"args": {
|
|
2285
|
+
"tenant_name": {
|
|
2286
|
+
"description": "Tenant name to retrieve",
|
|
2287
|
+
"name": "tenant_name",
|
|
2288
|
+
"required": true
|
|
2289
|
+
}
|
|
2290
|
+
},
|
|
2291
|
+
"description": "Get details of a specific tenant",
|
|
2361
2292
|
"examples": [
|
|
2362
|
-
"$ xano tenant
|
|
2363
|
-
"$ xano tenant
|
|
2293
|
+
"$ xano tenant get t1234-abcd-xyz1\nTenant: My Tenant (my-tenant)\n State: ok\n License: tier1\n Domain: my-tenant.xano.io\n Cluster: default\n Release: v1.0\n",
|
|
2294
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
2364
2295
|
],
|
|
2365
2296
|
"flags": {
|
|
2366
2297
|
"profile": {
|
|
@@ -2408,7 +2339,7 @@
|
|
|
2408
2339
|
},
|
|
2409
2340
|
"hasDynamicHelp": false,
|
|
2410
2341
|
"hiddenAliases": [],
|
|
2411
|
-
"id": "tenant:
|
|
2342
|
+
"id": "tenant:get",
|
|
2412
2343
|
"pluginAlias": "@xano/cli",
|
|
2413
2344
|
"pluginName": "@xano/cli",
|
|
2414
2345
|
"pluginType": "core",
|
|
@@ -2419,7 +2350,7 @@
|
|
|
2419
2350
|
"dist",
|
|
2420
2351
|
"commands",
|
|
2421
2352
|
"tenant",
|
|
2422
|
-
"
|
|
2353
|
+
"get",
|
|
2423
2354
|
"index.js"
|
|
2424
2355
|
]
|
|
2425
2356
|
},
|
|
@@ -2506,14 +2437,13 @@
|
|
|
2506
2437
|
"index.js"
|
|
2507
2438
|
]
|
|
2508
2439
|
},
|
|
2509
|
-
"
|
|
2440
|
+
"tenant:list": {
|
|
2510
2441
|
"aliases": [],
|
|
2511
2442
|
"args": {},
|
|
2512
|
-
"description": "List all
|
|
2443
|
+
"description": "List all tenants in a workspace",
|
|
2513
2444
|
"examples": [
|
|
2514
|
-
"$ xano
|
|
2515
|
-
"$ xano
|
|
2516
|
-
"$ xano unit-test list --obj-type function"
|
|
2445
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
|
|
2446
|
+
"$ xano tenant list -w 5 --output json"
|
|
2517
2447
|
],
|
|
2518
2448
|
"flags": {
|
|
2519
2449
|
"profile": {
|
|
@@ -2535,28 +2465,6 @@
|
|
|
2535
2465
|
"allowNo": false,
|
|
2536
2466
|
"type": "boolean"
|
|
2537
2467
|
},
|
|
2538
|
-
"branch": {
|
|
2539
|
-
"char": "b",
|
|
2540
|
-
"description": "Filter by branch name",
|
|
2541
|
-
"name": "branch",
|
|
2542
|
-
"required": false,
|
|
2543
|
-
"hasDynamicHelp": false,
|
|
2544
|
-
"multiple": false,
|
|
2545
|
-
"type": "option"
|
|
2546
|
-
},
|
|
2547
|
-
"obj-type": {
|
|
2548
|
-
"description": "Filter by object type",
|
|
2549
|
-
"name": "obj-type",
|
|
2550
|
-
"required": false,
|
|
2551
|
-
"hasDynamicHelp": false,
|
|
2552
|
-
"multiple": false,
|
|
2553
|
-
"options": [
|
|
2554
|
-
"function",
|
|
2555
|
-
"query",
|
|
2556
|
-
"middleware"
|
|
2557
|
-
],
|
|
2558
|
-
"type": "option"
|
|
2559
|
-
},
|
|
2560
2468
|
"output": {
|
|
2561
2469
|
"char": "o",
|
|
2562
2470
|
"description": "Output format",
|
|
@@ -2583,7 +2491,7 @@
|
|
|
2583
2491
|
},
|
|
2584
2492
|
"hasDynamicHelp": false,
|
|
2585
2493
|
"hiddenAliases": [],
|
|
2586
|
-
"id": "
|
|
2494
|
+
"id": "tenant:list",
|
|
2587
2495
|
"pluginAlias": "@xano/cli",
|
|
2588
2496
|
"pluginName": "@xano/cli",
|
|
2589
2497
|
"pluginType": "core",
|
|
@@ -2593,7 +2501,7 @@
|
|
|
2593
2501
|
"relativePath": [
|
|
2594
2502
|
"dist",
|
|
2595
2503
|
"commands",
|
|
2596
|
-
"
|
|
2504
|
+
"tenant",
|
|
2597
2505
|
"list",
|
|
2598
2506
|
"index.js"
|
|
2599
2507
|
]
|
|
@@ -2676,7 +2584,194 @@
|
|
|
2676
2584
|
},
|
|
2677
2585
|
"hasDynamicHelp": false,
|
|
2678
2586
|
"hiddenAliases": [],
|
|
2679
|
-
"id": "tenant:pull",
|
|
2587
|
+
"id": "tenant:pull",
|
|
2588
|
+
"pluginAlias": "@xano/cli",
|
|
2589
|
+
"pluginName": "@xano/cli",
|
|
2590
|
+
"pluginType": "core",
|
|
2591
|
+
"strict": true,
|
|
2592
|
+
"enableJsonFlag": false,
|
|
2593
|
+
"isESM": true,
|
|
2594
|
+
"relativePath": [
|
|
2595
|
+
"dist",
|
|
2596
|
+
"commands",
|
|
2597
|
+
"tenant",
|
|
2598
|
+
"pull",
|
|
2599
|
+
"index.js"
|
|
2600
|
+
]
|
|
2601
|
+
},
|
|
2602
|
+
"tenant:push": {
|
|
2603
|
+
"aliases": [],
|
|
2604
|
+
"args": {
|
|
2605
|
+
"directory": {
|
|
2606
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
2607
|
+
"name": "directory",
|
|
2608
|
+
"required": true
|
|
2609
|
+
}
|
|
2610
|
+
},
|
|
2611
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
2612
|
+
"examples": [
|
|
2613
|
+
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
2614
|
+
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
2615
|
+
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
2616
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
2617
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
2618
|
+
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
2619
|
+
],
|
|
2620
|
+
"flags": {
|
|
2621
|
+
"profile": {
|
|
2622
|
+
"char": "p",
|
|
2623
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2624
|
+
"env": "XANO_PROFILE",
|
|
2625
|
+
"name": "profile",
|
|
2626
|
+
"required": false,
|
|
2627
|
+
"hasDynamicHelp": false,
|
|
2628
|
+
"multiple": false,
|
|
2629
|
+
"type": "option"
|
|
2630
|
+
},
|
|
2631
|
+
"verbose": {
|
|
2632
|
+
"char": "v",
|
|
2633
|
+
"description": "Show detailed request/response information",
|
|
2634
|
+
"env": "XANO_VERBOSE",
|
|
2635
|
+
"name": "verbose",
|
|
2636
|
+
"required": false,
|
|
2637
|
+
"allowNo": false,
|
|
2638
|
+
"type": "boolean"
|
|
2639
|
+
},
|
|
2640
|
+
"env": {
|
|
2641
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
2642
|
+
"name": "env",
|
|
2643
|
+
"required": false,
|
|
2644
|
+
"allowNo": true,
|
|
2645
|
+
"type": "boolean"
|
|
2646
|
+
},
|
|
2647
|
+
"records": {
|
|
2648
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
2649
|
+
"name": "records",
|
|
2650
|
+
"required": false,
|
|
2651
|
+
"allowNo": true,
|
|
2652
|
+
"type": "boolean"
|
|
2653
|
+
},
|
|
2654
|
+
"tenant": {
|
|
2655
|
+
"char": "t",
|
|
2656
|
+
"description": "Tenant name to push to",
|
|
2657
|
+
"name": "tenant",
|
|
2658
|
+
"required": true,
|
|
2659
|
+
"hasDynamicHelp": false,
|
|
2660
|
+
"multiple": false,
|
|
2661
|
+
"type": "option"
|
|
2662
|
+
},
|
|
2663
|
+
"truncate": {
|
|
2664
|
+
"description": "Truncate all table records before importing",
|
|
2665
|
+
"name": "truncate",
|
|
2666
|
+
"required": false,
|
|
2667
|
+
"allowNo": false,
|
|
2668
|
+
"type": "boolean"
|
|
2669
|
+
},
|
|
2670
|
+
"workspace": {
|
|
2671
|
+
"char": "w",
|
|
2672
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2673
|
+
"name": "workspace",
|
|
2674
|
+
"required": false,
|
|
2675
|
+
"hasDynamicHelp": false,
|
|
2676
|
+
"multiple": false,
|
|
2677
|
+
"type": "option"
|
|
2678
|
+
}
|
|
2679
|
+
},
|
|
2680
|
+
"hasDynamicHelp": false,
|
|
2681
|
+
"hiddenAliases": [],
|
|
2682
|
+
"id": "tenant:push",
|
|
2683
|
+
"pluginAlias": "@xano/cli",
|
|
2684
|
+
"pluginName": "@xano/cli",
|
|
2685
|
+
"pluginType": "core",
|
|
2686
|
+
"strict": true,
|
|
2687
|
+
"enableJsonFlag": false,
|
|
2688
|
+
"isESM": true,
|
|
2689
|
+
"relativePath": [
|
|
2690
|
+
"dist",
|
|
2691
|
+
"commands",
|
|
2692
|
+
"tenant",
|
|
2693
|
+
"push",
|
|
2694
|
+
"index.js"
|
|
2695
|
+
]
|
|
2696
|
+
},
|
|
2697
|
+
"unit_test:list": {
|
|
2698
|
+
"aliases": [],
|
|
2699
|
+
"args": {},
|
|
2700
|
+
"description": "List all unit tests in a workspace",
|
|
2701
|
+
"examples": [
|
|
2702
|
+
"$ xano unit-test list\nUnit tests in workspace 5:\n - my-test (ID: abc-123) [function: math]\n - auth-check (ID: def-456) [query: /user/login]\n",
|
|
2703
|
+
"$ xano unit-test list -w 5 --output json",
|
|
2704
|
+
"$ xano unit-test list --obj-type function"
|
|
2705
|
+
],
|
|
2706
|
+
"flags": {
|
|
2707
|
+
"profile": {
|
|
2708
|
+
"char": "p",
|
|
2709
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2710
|
+
"env": "XANO_PROFILE",
|
|
2711
|
+
"name": "profile",
|
|
2712
|
+
"required": false,
|
|
2713
|
+
"hasDynamicHelp": false,
|
|
2714
|
+
"multiple": false,
|
|
2715
|
+
"type": "option"
|
|
2716
|
+
},
|
|
2717
|
+
"verbose": {
|
|
2718
|
+
"char": "v",
|
|
2719
|
+
"description": "Show detailed request/response information",
|
|
2720
|
+
"env": "XANO_VERBOSE",
|
|
2721
|
+
"name": "verbose",
|
|
2722
|
+
"required": false,
|
|
2723
|
+
"allowNo": false,
|
|
2724
|
+
"type": "boolean"
|
|
2725
|
+
},
|
|
2726
|
+
"branch": {
|
|
2727
|
+
"char": "b",
|
|
2728
|
+
"description": "Filter by branch name",
|
|
2729
|
+
"name": "branch",
|
|
2730
|
+
"required": false,
|
|
2731
|
+
"hasDynamicHelp": false,
|
|
2732
|
+
"multiple": false,
|
|
2733
|
+
"type": "option"
|
|
2734
|
+
},
|
|
2735
|
+
"obj-type": {
|
|
2736
|
+
"description": "Filter by object type",
|
|
2737
|
+
"name": "obj-type",
|
|
2738
|
+
"required": false,
|
|
2739
|
+
"hasDynamicHelp": false,
|
|
2740
|
+
"multiple": false,
|
|
2741
|
+
"options": [
|
|
2742
|
+
"function",
|
|
2743
|
+
"query",
|
|
2744
|
+
"middleware"
|
|
2745
|
+
],
|
|
2746
|
+
"type": "option"
|
|
2747
|
+
},
|
|
2748
|
+
"output": {
|
|
2749
|
+
"char": "o",
|
|
2750
|
+
"description": "Output format",
|
|
2751
|
+
"name": "output",
|
|
2752
|
+
"required": false,
|
|
2753
|
+
"default": "summary",
|
|
2754
|
+
"hasDynamicHelp": false,
|
|
2755
|
+
"multiple": false,
|
|
2756
|
+
"options": [
|
|
2757
|
+
"summary",
|
|
2758
|
+
"json"
|
|
2759
|
+
],
|
|
2760
|
+
"type": "option"
|
|
2761
|
+
},
|
|
2762
|
+
"workspace": {
|
|
2763
|
+
"char": "w",
|
|
2764
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2765
|
+
"name": "workspace",
|
|
2766
|
+
"required": false,
|
|
2767
|
+
"hasDynamicHelp": false,
|
|
2768
|
+
"multiple": false,
|
|
2769
|
+
"type": "option"
|
|
2770
|
+
}
|
|
2771
|
+
},
|
|
2772
|
+
"hasDynamicHelp": false,
|
|
2773
|
+
"hiddenAliases": [],
|
|
2774
|
+
"id": "unit_test:list",
|
|
2680
2775
|
"pluginAlias": "@xano/cli",
|
|
2681
2776
|
"pluginName": "@xano/cli",
|
|
2682
2777
|
"pluginType": "core",
|
|
@@ -2686,28 +2781,24 @@
|
|
|
2686
2781
|
"relativePath": [
|
|
2687
2782
|
"dist",
|
|
2688
2783
|
"commands",
|
|
2689
|
-
"
|
|
2690
|
-
"
|
|
2784
|
+
"unit_test",
|
|
2785
|
+
"list",
|
|
2691
2786
|
"index.js"
|
|
2692
2787
|
]
|
|
2693
2788
|
},
|
|
2694
|
-
"
|
|
2789
|
+
"unit_test:run": {
|
|
2695
2790
|
"aliases": [],
|
|
2696
2791
|
"args": {
|
|
2697
|
-
"
|
|
2698
|
-
"description": "
|
|
2699
|
-
"name": "
|
|
2792
|
+
"unit_test_id": {
|
|
2793
|
+
"description": "ID of the unit test to run",
|
|
2794
|
+
"name": "unit_test_id",
|
|
2700
2795
|
"required": true
|
|
2701
2796
|
}
|
|
2702
2797
|
},
|
|
2703
|
-
"description": "
|
|
2798
|
+
"description": "Run a unit test",
|
|
2704
2799
|
"examples": [
|
|
2705
|
-
"$ xano
|
|
2706
|
-
"$ xano
|
|
2707
|
-
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
2708
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
2709
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
2710
|
-
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
2800
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
2801
|
+
"$ xano unit-test run abc-123 -o json"
|
|
2711
2802
|
],
|
|
2712
2803
|
"flags": {
|
|
2713
2804
|
"profile": {
|
|
@@ -2729,39 +2820,23 @@
|
|
|
2729
2820
|
"allowNo": false,
|
|
2730
2821
|
"type": "boolean"
|
|
2731
2822
|
},
|
|
2732
|
-
"
|
|
2733
|
-
"
|
|
2734
|
-
"
|
|
2735
|
-
"
|
|
2736
|
-
"allowNo": true,
|
|
2737
|
-
"type": "boolean"
|
|
2738
|
-
},
|
|
2739
|
-
"records": {
|
|
2740
|
-
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
2741
|
-
"name": "records",
|
|
2823
|
+
"output": {
|
|
2824
|
+
"char": "o",
|
|
2825
|
+
"description": "Output format",
|
|
2826
|
+
"name": "output",
|
|
2742
2827
|
"required": false,
|
|
2743
|
-
"
|
|
2744
|
-
"type": "boolean"
|
|
2745
|
-
},
|
|
2746
|
-
"tenant": {
|
|
2747
|
-
"char": "t",
|
|
2748
|
-
"description": "Tenant name to push to",
|
|
2749
|
-
"name": "tenant",
|
|
2750
|
-
"required": true,
|
|
2828
|
+
"default": "summary",
|
|
2751
2829
|
"hasDynamicHelp": false,
|
|
2752
2830
|
"multiple": false,
|
|
2831
|
+
"options": [
|
|
2832
|
+
"summary",
|
|
2833
|
+
"json"
|
|
2834
|
+
],
|
|
2753
2835
|
"type": "option"
|
|
2754
2836
|
},
|
|
2755
|
-
"truncate": {
|
|
2756
|
-
"description": "Truncate all table records before importing",
|
|
2757
|
-
"name": "truncate",
|
|
2758
|
-
"required": false,
|
|
2759
|
-
"allowNo": false,
|
|
2760
|
-
"type": "boolean"
|
|
2761
|
-
},
|
|
2762
2837
|
"workspace": {
|
|
2763
2838
|
"char": "w",
|
|
2764
|
-
"description": "Workspace ID (
|
|
2839
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2765
2840
|
"name": "workspace",
|
|
2766
2841
|
"required": false,
|
|
2767
2842
|
"hasDynamicHelp": false,
|
|
@@ -2771,7 +2846,7 @@
|
|
|
2771
2846
|
},
|
|
2772
2847
|
"hasDynamicHelp": false,
|
|
2773
2848
|
"hiddenAliases": [],
|
|
2774
|
-
"id": "
|
|
2849
|
+
"id": "unit_test:run",
|
|
2775
2850
|
"pluginAlias": "@xano/cli",
|
|
2776
2851
|
"pluginName": "@xano/cli",
|
|
2777
2852
|
"pluginType": "core",
|
|
@@ -2781,8 +2856,8 @@
|
|
|
2781
2856
|
"relativePath": [
|
|
2782
2857
|
"dist",
|
|
2783
2858
|
"commands",
|
|
2784
|
-
"
|
|
2785
|
-
"
|
|
2859
|
+
"unit_test",
|
|
2860
|
+
"run",
|
|
2786
2861
|
"index.js"
|
|
2787
2862
|
]
|
|
2788
2863
|
},
|
|
@@ -2988,81 +3063,6 @@
|
|
|
2988
3063
|
"index.js"
|
|
2989
3064
|
]
|
|
2990
3065
|
},
|
|
2991
|
-
"unit_test:run": {
|
|
2992
|
-
"aliases": [],
|
|
2993
|
-
"args": {
|
|
2994
|
-
"unit_test_id": {
|
|
2995
|
-
"description": "ID of the unit test to run",
|
|
2996
|
-
"name": "unit_test_id",
|
|
2997
|
-
"required": true
|
|
2998
|
-
}
|
|
2999
|
-
},
|
|
3000
|
-
"description": "Run a unit test",
|
|
3001
|
-
"examples": [
|
|
3002
|
-
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3003
|
-
"$ xano unit-test run abc-123 -o json"
|
|
3004
|
-
],
|
|
3005
|
-
"flags": {
|
|
3006
|
-
"profile": {
|
|
3007
|
-
"char": "p",
|
|
3008
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3009
|
-
"env": "XANO_PROFILE",
|
|
3010
|
-
"name": "profile",
|
|
3011
|
-
"required": false,
|
|
3012
|
-
"hasDynamicHelp": false,
|
|
3013
|
-
"multiple": false,
|
|
3014
|
-
"type": "option"
|
|
3015
|
-
},
|
|
3016
|
-
"verbose": {
|
|
3017
|
-
"char": "v",
|
|
3018
|
-
"description": "Show detailed request/response information",
|
|
3019
|
-
"env": "XANO_VERBOSE",
|
|
3020
|
-
"name": "verbose",
|
|
3021
|
-
"required": false,
|
|
3022
|
-
"allowNo": false,
|
|
3023
|
-
"type": "boolean"
|
|
3024
|
-
},
|
|
3025
|
-
"output": {
|
|
3026
|
-
"char": "o",
|
|
3027
|
-
"description": "Output format",
|
|
3028
|
-
"name": "output",
|
|
3029
|
-
"required": false,
|
|
3030
|
-
"default": "summary",
|
|
3031
|
-
"hasDynamicHelp": false,
|
|
3032
|
-
"multiple": false,
|
|
3033
|
-
"options": [
|
|
3034
|
-
"summary",
|
|
3035
|
-
"json"
|
|
3036
|
-
],
|
|
3037
|
-
"type": "option"
|
|
3038
|
-
},
|
|
3039
|
-
"workspace": {
|
|
3040
|
-
"char": "w",
|
|
3041
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3042
|
-
"name": "workspace",
|
|
3043
|
-
"required": false,
|
|
3044
|
-
"hasDynamicHelp": false,
|
|
3045
|
-
"multiple": false,
|
|
3046
|
-
"type": "option"
|
|
3047
|
-
}
|
|
3048
|
-
},
|
|
3049
|
-
"hasDynamicHelp": false,
|
|
3050
|
-
"hiddenAliases": [],
|
|
3051
|
-
"id": "unit_test:run",
|
|
3052
|
-
"pluginAlias": "@xano/cli",
|
|
3053
|
-
"pluginName": "@xano/cli",
|
|
3054
|
-
"pluginType": "core",
|
|
3055
|
-
"strict": true,
|
|
3056
|
-
"enableJsonFlag": false,
|
|
3057
|
-
"isESM": true,
|
|
3058
|
-
"relativePath": [
|
|
3059
|
-
"dist",
|
|
3060
|
-
"commands",
|
|
3061
|
-
"unit_test",
|
|
3062
|
-
"run",
|
|
3063
|
-
"index.js"
|
|
3064
|
-
]
|
|
3065
|
-
},
|
|
3066
3066
|
"release:delete": {
|
|
3067
3067
|
"aliases": [],
|
|
3068
3068
|
"args": {
|
|
@@ -3324,13 +3324,19 @@
|
|
|
3324
3324
|
"index.js"
|
|
3325
3325
|
]
|
|
3326
3326
|
},
|
|
3327
|
-
"release:
|
|
3327
|
+
"release:get": {
|
|
3328
3328
|
"aliases": [],
|
|
3329
|
-
"args": {
|
|
3330
|
-
|
|
3329
|
+
"args": {
|
|
3330
|
+
"release_name": {
|
|
3331
|
+
"description": "Release name to retrieve",
|
|
3332
|
+
"name": "release_name",
|
|
3333
|
+
"required": true
|
|
3334
|
+
}
|
|
3335
|
+
},
|
|
3336
|
+
"description": "Get details of a specific release",
|
|
3331
3337
|
"examples": [
|
|
3332
|
-
"$ xano release
|
|
3333
|
-
"$ xano release
|
|
3338
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
3339
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
3334
3340
|
],
|
|
3335
3341
|
"flags": {
|
|
3336
3342
|
"profile": {
|
|
@@ -3378,7 +3384,7 @@
|
|
|
3378
3384
|
},
|
|
3379
3385
|
"hasDynamicHelp": false,
|
|
3380
3386
|
"hiddenAliases": [],
|
|
3381
|
-
"id": "release:
|
|
3387
|
+
"id": "release:get",
|
|
3382
3388
|
"pluginAlias": "@xano/cli",
|
|
3383
3389
|
"pluginName": "@xano/cli",
|
|
3384
3390
|
"pluginType": "core",
|
|
@@ -3389,24 +3395,17 @@
|
|
|
3389
3395
|
"dist",
|
|
3390
3396
|
"commands",
|
|
3391
3397
|
"release",
|
|
3392
|
-
"
|
|
3398
|
+
"get",
|
|
3393
3399
|
"index.js"
|
|
3394
3400
|
]
|
|
3395
3401
|
},
|
|
3396
|
-
"release:
|
|
3402
|
+
"release:list": {
|
|
3397
3403
|
"aliases": [],
|
|
3398
|
-
"args": {
|
|
3399
|
-
|
|
3400
|
-
"description": "Output directory for pulled documents",
|
|
3401
|
-
"name": "directory",
|
|
3402
|
-
"required": true
|
|
3403
|
-
}
|
|
3404
|
-
},
|
|
3405
|
-
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
3404
|
+
"args": {},
|
|
3405
|
+
"description": "List all releases in a workspace",
|
|
3406
3406
|
"examples": [
|
|
3407
|
-
"$ xano release
|
|
3408
|
-
"$ xano release
|
|
3409
|
-
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
3407
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
3408
|
+
"$ xano release list -w 5 --output json"
|
|
3410
3409
|
],
|
|
3411
3410
|
"flags": {
|
|
3412
3411
|
"profile": {
|
|
@@ -3428,32 +3427,23 @@
|
|
|
3428
3427
|
"allowNo": false,
|
|
3429
3428
|
"type": "boolean"
|
|
3430
3429
|
},
|
|
3431
|
-
"
|
|
3432
|
-
"
|
|
3433
|
-
"
|
|
3434
|
-
"
|
|
3435
|
-
"allowNo": false,
|
|
3436
|
-
"type": "boolean"
|
|
3437
|
-
},
|
|
3438
|
-
"records": {
|
|
3439
|
-
"description": "Include records",
|
|
3440
|
-
"name": "records",
|
|
3430
|
+
"output": {
|
|
3431
|
+
"char": "o",
|
|
3432
|
+
"description": "Output format",
|
|
3433
|
+
"name": "output",
|
|
3441
3434
|
"required": false,
|
|
3442
|
-
"
|
|
3443
|
-
"type": "boolean"
|
|
3444
|
-
},
|
|
3445
|
-
"release": {
|
|
3446
|
-
"char": "r",
|
|
3447
|
-
"description": "Release name to pull from",
|
|
3448
|
-
"name": "release",
|
|
3449
|
-
"required": true,
|
|
3435
|
+
"default": "summary",
|
|
3450
3436
|
"hasDynamicHelp": false,
|
|
3451
3437
|
"multiple": false,
|
|
3438
|
+
"options": [
|
|
3439
|
+
"summary",
|
|
3440
|
+
"json"
|
|
3441
|
+
],
|
|
3452
3442
|
"type": "option"
|
|
3453
3443
|
},
|
|
3454
3444
|
"workspace": {
|
|
3455
3445
|
"char": "w",
|
|
3456
|
-
"description": "Workspace ID (
|
|
3446
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3457
3447
|
"name": "workspace",
|
|
3458
3448
|
"required": false,
|
|
3459
3449
|
"hasDynamicHelp": false,
|
|
@@ -3463,7 +3453,7 @@
|
|
|
3463
3453
|
},
|
|
3464
3454
|
"hasDynamicHelp": false,
|
|
3465
3455
|
"hiddenAliases": [],
|
|
3466
|
-
"id": "release:
|
|
3456
|
+
"id": "release:list",
|
|
3467
3457
|
"pluginAlias": "@xano/cli",
|
|
3468
3458
|
"pluginName": "@xano/cli",
|
|
3469
3459
|
"pluginType": "core",
|
|
@@ -3474,7 +3464,7 @@
|
|
|
3474
3464
|
"dist",
|
|
3475
3465
|
"commands",
|
|
3476
3466
|
"release",
|
|
3477
|
-
"
|
|
3467
|
+
"list",
|
|
3478
3468
|
"index.js"
|
|
3479
3469
|
]
|
|
3480
3470
|
},
|
|
@@ -3556,19 +3546,20 @@
|
|
|
3556
3546
|
"index.js"
|
|
3557
3547
|
]
|
|
3558
3548
|
},
|
|
3559
|
-
"release:
|
|
3549
|
+
"release:pull": {
|
|
3560
3550
|
"aliases": [],
|
|
3561
3551
|
"args": {
|
|
3562
|
-
"
|
|
3563
|
-
"description": "
|
|
3564
|
-
"name": "
|
|
3552
|
+
"directory": {
|
|
3553
|
+
"description": "Output directory for pulled documents",
|
|
3554
|
+
"name": "directory",
|
|
3565
3555
|
"required": true
|
|
3566
3556
|
}
|
|
3567
3557
|
},
|
|
3568
|
-
"description": "
|
|
3558
|
+
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
3569
3559
|
"examples": [
|
|
3570
|
-
"$ xano release
|
|
3571
|
-
"$ xano release
|
|
3560
|
+
"$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
|
|
3561
|
+
"$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
|
|
3562
|
+
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
3572
3563
|
],
|
|
3573
3564
|
"flags": {
|
|
3574
3565
|
"profile": {
|
|
@@ -3590,23 +3581,32 @@
|
|
|
3590
3581
|
"allowNo": false,
|
|
3591
3582
|
"type": "boolean"
|
|
3592
3583
|
},
|
|
3593
|
-
"
|
|
3594
|
-
"
|
|
3595
|
-
"
|
|
3596
|
-
"name": "output",
|
|
3584
|
+
"env": {
|
|
3585
|
+
"description": "Include environment variables",
|
|
3586
|
+
"name": "env",
|
|
3597
3587
|
"required": false,
|
|
3598
|
-
"
|
|
3599
|
-
"
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3588
|
+
"allowNo": false,
|
|
3589
|
+
"type": "boolean"
|
|
3590
|
+
},
|
|
3591
|
+
"records": {
|
|
3592
|
+
"description": "Include records",
|
|
3593
|
+
"name": "records",
|
|
3594
|
+
"required": false,
|
|
3595
|
+
"allowNo": false,
|
|
3596
|
+
"type": "boolean"
|
|
3597
|
+
},
|
|
3598
|
+
"release": {
|
|
3599
|
+
"char": "r",
|
|
3600
|
+
"description": "Release name to pull from",
|
|
3601
|
+
"name": "release",
|
|
3602
|
+
"required": true,
|
|
3603
|
+
"hasDynamicHelp": false,
|
|
3604
|
+
"multiple": false,
|
|
3605
3605
|
"type": "option"
|
|
3606
3606
|
},
|
|
3607
3607
|
"workspace": {
|
|
3608
3608
|
"char": "w",
|
|
3609
|
-
"description": "Workspace ID (
|
|
3609
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3610
3610
|
"name": "workspace",
|
|
3611
3611
|
"required": false,
|
|
3612
3612
|
"hasDynamicHelp": false,
|
|
@@ -3616,7 +3616,7 @@
|
|
|
3616
3616
|
},
|
|
3617
3617
|
"hasDynamicHelp": false,
|
|
3618
3618
|
"hiddenAliases": [],
|
|
3619
|
-
"id": "release:
|
|
3619
|
+
"id": "release:pull",
|
|
3620
3620
|
"pluginAlias": "@xano/cli",
|
|
3621
3621
|
"pluginName": "@xano/cli",
|
|
3622
3622
|
"pluginType": "core",
|
|
@@ -3627,7 +3627,7 @@
|
|
|
3627
3627
|
"dist",
|
|
3628
3628
|
"commands",
|
|
3629
3629
|
"release",
|
|
3630
|
-
"
|
|
3630
|
+
"pull",
|
|
3631
3631
|
"index.js"
|
|
3632
3632
|
]
|
|
3633
3633
|
},
|
|
@@ -4224,6 +4224,81 @@
|
|
|
4224
4224
|
"index.js"
|
|
4225
4225
|
]
|
|
4226
4226
|
},
|
|
4227
|
+
"workspace:delete": {
|
|
4228
|
+
"aliases": [],
|
|
4229
|
+
"args": {
|
|
4230
|
+
"workspace_id": {
|
|
4231
|
+
"description": "Workspace ID to delete",
|
|
4232
|
+
"name": "workspace_id",
|
|
4233
|
+
"required": true
|
|
4234
|
+
}
|
|
4235
|
+
},
|
|
4236
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
4237
|
+
"examples": [
|
|
4238
|
+
"$ xano workspace delete 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
|
|
4239
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
4240
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4241
|
+
],
|
|
4242
|
+
"flags": {
|
|
4243
|
+
"profile": {
|
|
4244
|
+
"char": "p",
|
|
4245
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4246
|
+
"env": "XANO_PROFILE",
|
|
4247
|
+
"name": "profile",
|
|
4248
|
+
"required": false,
|
|
4249
|
+
"hasDynamicHelp": false,
|
|
4250
|
+
"multiple": false,
|
|
4251
|
+
"type": "option"
|
|
4252
|
+
},
|
|
4253
|
+
"verbose": {
|
|
4254
|
+
"char": "v",
|
|
4255
|
+
"description": "Show detailed request/response information",
|
|
4256
|
+
"env": "XANO_VERBOSE",
|
|
4257
|
+
"name": "verbose",
|
|
4258
|
+
"required": false,
|
|
4259
|
+
"allowNo": false,
|
|
4260
|
+
"type": "boolean"
|
|
4261
|
+
},
|
|
4262
|
+
"force": {
|
|
4263
|
+
"char": "f",
|
|
4264
|
+
"description": "Skip confirmation prompt",
|
|
4265
|
+
"name": "force",
|
|
4266
|
+
"required": false,
|
|
4267
|
+
"allowNo": false,
|
|
4268
|
+
"type": "boolean"
|
|
4269
|
+
},
|
|
4270
|
+
"output": {
|
|
4271
|
+
"char": "o",
|
|
4272
|
+
"description": "Output format",
|
|
4273
|
+
"name": "output",
|
|
4274
|
+
"required": false,
|
|
4275
|
+
"default": "summary",
|
|
4276
|
+
"hasDynamicHelp": false,
|
|
4277
|
+
"multiple": false,
|
|
4278
|
+
"options": [
|
|
4279
|
+
"summary",
|
|
4280
|
+
"json"
|
|
4281
|
+
],
|
|
4282
|
+
"type": "option"
|
|
4283
|
+
}
|
|
4284
|
+
},
|
|
4285
|
+
"hasDynamicHelp": false,
|
|
4286
|
+
"hiddenAliases": [],
|
|
4287
|
+
"id": "workspace:delete",
|
|
4288
|
+
"pluginAlias": "@xano/cli",
|
|
4289
|
+
"pluginName": "@xano/cli",
|
|
4290
|
+
"pluginType": "core",
|
|
4291
|
+
"strict": true,
|
|
4292
|
+
"enableJsonFlag": false,
|
|
4293
|
+
"isESM": true,
|
|
4294
|
+
"relativePath": [
|
|
4295
|
+
"dist",
|
|
4296
|
+
"commands",
|
|
4297
|
+
"workspace",
|
|
4298
|
+
"delete",
|
|
4299
|
+
"index.js"
|
|
4300
|
+
]
|
|
4301
|
+
},
|
|
4227
4302
|
"workspace:get": {
|
|
4228
4303
|
"aliases": [],
|
|
4229
4304
|
"args": {
|
|
@@ -4291,20 +4366,21 @@
|
|
|
4291
4366
|
"index.js"
|
|
4292
4367
|
]
|
|
4293
4368
|
},
|
|
4294
|
-
"workspace:
|
|
4369
|
+
"workspace:edit": {
|
|
4295
4370
|
"aliases": [],
|
|
4296
4371
|
"args": {
|
|
4297
4372
|
"workspace_id": {
|
|
4298
|
-
"description": "Workspace ID to
|
|
4373
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
4299
4374
|
"name": "workspace_id",
|
|
4300
|
-
"required":
|
|
4375
|
+
"required": false
|
|
4301
4376
|
}
|
|
4302
4377
|
},
|
|
4303
|
-
"description": "
|
|
4378
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
4304
4379
|
"examples": [
|
|
4305
|
-
"$ xano workspace
|
|
4306
|
-
"$ xano workspace
|
|
4307
|
-
"$ xano workspace
|
|
4380
|
+
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
4381
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
4382
|
+
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
4383
|
+
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4308
4384
|
],
|
|
4309
4385
|
"flags": {
|
|
4310
4386
|
"profile": {
|
|
@@ -4326,14 +4402,132 @@
|
|
|
4326
4402
|
"allowNo": false,
|
|
4327
4403
|
"type": "boolean"
|
|
4328
4404
|
},
|
|
4329
|
-
"
|
|
4330
|
-
"char": "
|
|
4331
|
-
"description": "
|
|
4332
|
-
"name": "
|
|
4405
|
+
"description": {
|
|
4406
|
+
"char": "d",
|
|
4407
|
+
"description": "New description for the workspace",
|
|
4408
|
+
"name": "description",
|
|
4409
|
+
"required": false,
|
|
4410
|
+
"hasDynamicHelp": false,
|
|
4411
|
+
"multiple": false,
|
|
4412
|
+
"type": "option"
|
|
4413
|
+
},
|
|
4414
|
+
"name": {
|
|
4415
|
+
"char": "n",
|
|
4416
|
+
"description": "New name for the workspace",
|
|
4417
|
+
"name": "name",
|
|
4418
|
+
"required": false,
|
|
4419
|
+
"hasDynamicHelp": false,
|
|
4420
|
+
"multiple": false,
|
|
4421
|
+
"type": "option"
|
|
4422
|
+
},
|
|
4423
|
+
"output": {
|
|
4424
|
+
"char": "o",
|
|
4425
|
+
"description": "Output format",
|
|
4426
|
+
"name": "output",
|
|
4427
|
+
"required": false,
|
|
4428
|
+
"default": "summary",
|
|
4429
|
+
"hasDynamicHelp": false,
|
|
4430
|
+
"multiple": false,
|
|
4431
|
+
"options": [
|
|
4432
|
+
"summary",
|
|
4433
|
+
"json"
|
|
4434
|
+
],
|
|
4435
|
+
"type": "option"
|
|
4436
|
+
},
|
|
4437
|
+
"require-token": {
|
|
4438
|
+
"description": "Whether to require a token for documentation access",
|
|
4439
|
+
"name": "require-token",
|
|
4440
|
+
"required": false,
|
|
4441
|
+
"allowNo": true,
|
|
4442
|
+
"type": "boolean"
|
|
4443
|
+
},
|
|
4444
|
+
"swagger": {
|
|
4445
|
+
"description": "Enable or disable swagger documentation",
|
|
4446
|
+
"name": "swagger",
|
|
4447
|
+
"required": false,
|
|
4448
|
+
"allowNo": true,
|
|
4449
|
+
"type": "boolean"
|
|
4450
|
+
}
|
|
4451
|
+
},
|
|
4452
|
+
"hasDynamicHelp": false,
|
|
4453
|
+
"hiddenAliases": [],
|
|
4454
|
+
"id": "workspace:edit",
|
|
4455
|
+
"pluginAlias": "@xano/cli",
|
|
4456
|
+
"pluginName": "@xano/cli",
|
|
4457
|
+
"pluginType": "core",
|
|
4458
|
+
"strict": true,
|
|
4459
|
+
"enableJsonFlag": false,
|
|
4460
|
+
"isESM": true,
|
|
4461
|
+
"relativePath": [
|
|
4462
|
+
"dist",
|
|
4463
|
+
"commands",
|
|
4464
|
+
"workspace",
|
|
4465
|
+
"edit",
|
|
4466
|
+
"index.js"
|
|
4467
|
+
]
|
|
4468
|
+
},
|
|
4469
|
+
"static_host:build:create": {
|
|
4470
|
+
"aliases": [],
|
|
4471
|
+
"args": {
|
|
4472
|
+
"static_host": {
|
|
4473
|
+
"description": "Static Host name",
|
|
4474
|
+
"name": "static_host",
|
|
4475
|
+
"required": true
|
|
4476
|
+
}
|
|
4477
|
+
},
|
|
4478
|
+
"description": "Create a new build for a static host",
|
|
4479
|
+
"examples": [
|
|
4480
|
+
"$ xano static_host:build:create default -f ./build.zip -n \"v1.0.0\"\nBuild created successfully!\nID: 123\nName: v1.0.0\nStatus: pending\n",
|
|
4481
|
+
"$ xano static_host:build:create default -w 40 -f ./dist.zip -n \"production\" -d \"Production build\"\nBuild created successfully!\nID: 124\nName: production\nDescription: Production build\n",
|
|
4482
|
+
"$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
|
|
4483
|
+
],
|
|
4484
|
+
"flags": {
|
|
4485
|
+
"profile": {
|
|
4486
|
+
"char": "p",
|
|
4487
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4488
|
+
"env": "XANO_PROFILE",
|
|
4489
|
+
"name": "profile",
|
|
4490
|
+
"required": false,
|
|
4491
|
+
"hasDynamicHelp": false,
|
|
4492
|
+
"multiple": false,
|
|
4493
|
+
"type": "option"
|
|
4494
|
+
},
|
|
4495
|
+
"verbose": {
|
|
4496
|
+
"char": "v",
|
|
4497
|
+
"description": "Show detailed request/response information",
|
|
4498
|
+
"env": "XANO_VERBOSE",
|
|
4499
|
+
"name": "verbose",
|
|
4333
4500
|
"required": false,
|
|
4334
4501
|
"allowNo": false,
|
|
4335
4502
|
"type": "boolean"
|
|
4336
4503
|
},
|
|
4504
|
+
"description": {
|
|
4505
|
+
"char": "d",
|
|
4506
|
+
"description": "Build description",
|
|
4507
|
+
"name": "description",
|
|
4508
|
+
"required": false,
|
|
4509
|
+
"hasDynamicHelp": false,
|
|
4510
|
+
"multiple": false,
|
|
4511
|
+
"type": "option"
|
|
4512
|
+
},
|
|
4513
|
+
"file": {
|
|
4514
|
+
"char": "f",
|
|
4515
|
+
"description": "Path to zip file to upload",
|
|
4516
|
+
"name": "file",
|
|
4517
|
+
"required": true,
|
|
4518
|
+
"hasDynamicHelp": false,
|
|
4519
|
+
"multiple": false,
|
|
4520
|
+
"type": "option"
|
|
4521
|
+
},
|
|
4522
|
+
"name": {
|
|
4523
|
+
"char": "n",
|
|
4524
|
+
"description": "Build name",
|
|
4525
|
+
"name": "name",
|
|
4526
|
+
"required": true,
|
|
4527
|
+
"hasDynamicHelp": false,
|
|
4528
|
+
"multiple": false,
|
|
4529
|
+
"type": "option"
|
|
4530
|
+
},
|
|
4337
4531
|
"output": {
|
|
4338
4532
|
"char": "o",
|
|
4339
4533
|
"description": "Output format",
|
|
@@ -4347,11 +4541,20 @@
|
|
|
4347
4541
|
"json"
|
|
4348
4542
|
],
|
|
4349
4543
|
"type": "option"
|
|
4544
|
+
},
|
|
4545
|
+
"workspace": {
|
|
4546
|
+
"char": "w",
|
|
4547
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4548
|
+
"name": "workspace",
|
|
4549
|
+
"required": false,
|
|
4550
|
+
"hasDynamicHelp": false,
|
|
4551
|
+
"multiple": false,
|
|
4552
|
+
"type": "option"
|
|
4350
4553
|
}
|
|
4351
4554
|
},
|
|
4352
4555
|
"hasDynamicHelp": false,
|
|
4353
4556
|
"hiddenAliases": [],
|
|
4354
|
-
"id": "
|
|
4557
|
+
"id": "static_host:build:create",
|
|
4355
4558
|
"pluginAlias": "@xano/cli",
|
|
4356
4559
|
"pluginName": "@xano/cli",
|
|
4357
4560
|
"pluginType": "core",
|
|
@@ -4361,26 +4564,32 @@
|
|
|
4361
4564
|
"relativePath": [
|
|
4362
4565
|
"dist",
|
|
4363
4566
|
"commands",
|
|
4364
|
-
"
|
|
4365
|
-
"
|
|
4567
|
+
"static_host",
|
|
4568
|
+
"build",
|
|
4569
|
+
"create",
|
|
4366
4570
|
"index.js"
|
|
4367
4571
|
]
|
|
4368
4572
|
},
|
|
4369
|
-
"
|
|
4573
|
+
"static_host:build:get": {
|
|
4370
4574
|
"aliases": [],
|
|
4371
4575
|
"args": {
|
|
4372
|
-
"
|
|
4373
|
-
"description": "
|
|
4374
|
-
"name": "
|
|
4375
|
-
"required":
|
|
4576
|
+
"build_id": {
|
|
4577
|
+
"description": "Build ID",
|
|
4578
|
+
"name": "build_id",
|
|
4579
|
+
"required": true
|
|
4580
|
+
},
|
|
4581
|
+
"static_host": {
|
|
4582
|
+
"description": "Static Host name",
|
|
4583
|
+
"name": "static_host",
|
|
4584
|
+
"required": true
|
|
4376
4585
|
}
|
|
4377
4586
|
},
|
|
4378
|
-
"description": "
|
|
4587
|
+
"description": "Get details of a specific build for a static host",
|
|
4379
4588
|
"examples": [
|
|
4380
|
-
"$ xano
|
|
4381
|
-
"$ xano
|
|
4382
|
-
"$ xano
|
|
4383
|
-
"$ xano
|
|
4589
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4590
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4591
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
4592
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4384
4593
|
],
|
|
4385
4594
|
"flags": {
|
|
4386
4595
|
"profile": {
|
|
@@ -4402,24 +4611,6 @@
|
|
|
4402
4611
|
"allowNo": false,
|
|
4403
4612
|
"type": "boolean"
|
|
4404
4613
|
},
|
|
4405
|
-
"description": {
|
|
4406
|
-
"char": "d",
|
|
4407
|
-
"description": "New description for the workspace",
|
|
4408
|
-
"name": "description",
|
|
4409
|
-
"required": false,
|
|
4410
|
-
"hasDynamicHelp": false,
|
|
4411
|
-
"multiple": false,
|
|
4412
|
-
"type": "option"
|
|
4413
|
-
},
|
|
4414
|
-
"name": {
|
|
4415
|
-
"char": "n",
|
|
4416
|
-
"description": "New name for the workspace",
|
|
4417
|
-
"name": "name",
|
|
4418
|
-
"required": false,
|
|
4419
|
-
"hasDynamicHelp": false,
|
|
4420
|
-
"multiple": false,
|
|
4421
|
-
"type": "option"
|
|
4422
|
-
},
|
|
4423
4614
|
"output": {
|
|
4424
4615
|
"char": "o",
|
|
4425
4616
|
"description": "Output format",
|
|
@@ -4434,24 +4625,19 @@
|
|
|
4434
4625
|
],
|
|
4435
4626
|
"type": "option"
|
|
4436
4627
|
},
|
|
4437
|
-
"
|
|
4438
|
-
"
|
|
4439
|
-
"
|
|
4440
|
-
"
|
|
4441
|
-
"allowNo": true,
|
|
4442
|
-
"type": "boolean"
|
|
4443
|
-
},
|
|
4444
|
-
"swagger": {
|
|
4445
|
-
"description": "Enable or disable swagger documentation",
|
|
4446
|
-
"name": "swagger",
|
|
4628
|
+
"workspace": {
|
|
4629
|
+
"char": "w",
|
|
4630
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4631
|
+
"name": "workspace",
|
|
4447
4632
|
"required": false,
|
|
4448
|
-
"
|
|
4449
|
-
"
|
|
4633
|
+
"hasDynamicHelp": false,
|
|
4634
|
+
"multiple": false,
|
|
4635
|
+
"type": "option"
|
|
4450
4636
|
}
|
|
4451
4637
|
},
|
|
4452
4638
|
"hasDynamicHelp": false,
|
|
4453
4639
|
"hiddenAliases": [],
|
|
4454
|
-
"id": "
|
|
4640
|
+
"id": "static_host:build:get",
|
|
4455
4641
|
"pluginAlias": "@xano/cli",
|
|
4456
4642
|
"pluginName": "@xano/cli",
|
|
4457
4643
|
"pluginType": "core",
|
|
@@ -4461,12 +4647,13 @@
|
|
|
4461
4647
|
"relativePath": [
|
|
4462
4648
|
"dist",
|
|
4463
4649
|
"commands",
|
|
4464
|
-
"
|
|
4465
|
-
"
|
|
4650
|
+
"static_host",
|
|
4651
|
+
"build",
|
|
4652
|
+
"get",
|
|
4466
4653
|
"index.js"
|
|
4467
4654
|
]
|
|
4468
4655
|
},
|
|
4469
|
-
"static_host:build:
|
|
4656
|
+
"static_host:build:list": {
|
|
4470
4657
|
"aliases": [],
|
|
4471
4658
|
"args": {
|
|
4472
4659
|
"static_host": {
|
|
@@ -4475,11 +4662,12 @@
|
|
|
4475
4662
|
"required": true
|
|
4476
4663
|
}
|
|
4477
4664
|
},
|
|
4478
|
-
"description": "
|
|
4665
|
+
"description": "List all builds for a static host",
|
|
4479
4666
|
"examples": [
|
|
4480
|
-
"$ xano static_host:build:
|
|
4481
|
-
"$ xano static_host:build:
|
|
4482
|
-
"$ xano static_host:build:
|
|
4667
|
+
"$ xano static_host:build:list default -w 40\nAvailable builds:\n - v1.0.0 (ID: 1) - Status: completed\n - v1.0.1 (ID: 2) - Status: pending\n",
|
|
4668
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
4669
|
+
"$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
|
|
4670
|
+
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
4483
4671
|
],
|
|
4484
4672
|
"flags": {
|
|
4485
4673
|
"profile": {
|
|
@@ -4501,33 +4689,6 @@
|
|
|
4501
4689
|
"allowNo": false,
|
|
4502
4690
|
"type": "boolean"
|
|
4503
4691
|
},
|
|
4504
|
-
"description": {
|
|
4505
|
-
"char": "d",
|
|
4506
|
-
"description": "Build description",
|
|
4507
|
-
"name": "description",
|
|
4508
|
-
"required": false,
|
|
4509
|
-
"hasDynamicHelp": false,
|
|
4510
|
-
"multiple": false,
|
|
4511
|
-
"type": "option"
|
|
4512
|
-
},
|
|
4513
|
-
"file": {
|
|
4514
|
-
"char": "f",
|
|
4515
|
-
"description": "Path to zip file to upload",
|
|
4516
|
-
"name": "file",
|
|
4517
|
-
"required": true,
|
|
4518
|
-
"hasDynamicHelp": false,
|
|
4519
|
-
"multiple": false,
|
|
4520
|
-
"type": "option"
|
|
4521
|
-
},
|
|
4522
|
-
"name": {
|
|
4523
|
-
"char": "n",
|
|
4524
|
-
"description": "Build name",
|
|
4525
|
-
"name": "name",
|
|
4526
|
-
"required": true,
|
|
4527
|
-
"hasDynamicHelp": false,
|
|
4528
|
-
"multiple": false,
|
|
4529
|
-
"type": "option"
|
|
4530
|
-
},
|
|
4531
4692
|
"output": {
|
|
4532
4693
|
"char": "o",
|
|
4533
4694
|
"description": "Output format",
|
|
@@ -4542,6 +4703,24 @@
|
|
|
4542
4703
|
],
|
|
4543
4704
|
"type": "option"
|
|
4544
4705
|
},
|
|
4706
|
+
"page": {
|
|
4707
|
+
"description": "Page number for pagination",
|
|
4708
|
+
"name": "page",
|
|
4709
|
+
"required": false,
|
|
4710
|
+
"default": 1,
|
|
4711
|
+
"hasDynamicHelp": false,
|
|
4712
|
+
"multiple": false,
|
|
4713
|
+
"type": "option"
|
|
4714
|
+
},
|
|
4715
|
+
"per_page": {
|
|
4716
|
+
"description": "Number of results per page",
|
|
4717
|
+
"name": "per_page",
|
|
4718
|
+
"required": false,
|
|
4719
|
+
"default": 50,
|
|
4720
|
+
"hasDynamicHelp": false,
|
|
4721
|
+
"multiple": false,
|
|
4722
|
+
"type": "option"
|
|
4723
|
+
},
|
|
4545
4724
|
"workspace": {
|
|
4546
4725
|
"char": "w",
|
|
4547
4726
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -4554,7 +4733,7 @@
|
|
|
4554
4733
|
},
|
|
4555
4734
|
"hasDynamicHelp": false,
|
|
4556
4735
|
"hiddenAliases": [],
|
|
4557
|
-
"id": "static_host:build:
|
|
4736
|
+
"id": "static_host:build:list",
|
|
4558
4737
|
"pluginAlias": "@xano/cli",
|
|
4559
4738
|
"pluginName": "@xano/cli",
|
|
4560
4739
|
"pluginType": "core",
|
|
@@ -4566,7 +4745,7 @@
|
|
|
4566
4745
|
"commands",
|
|
4567
4746
|
"static_host",
|
|
4568
4747
|
"build",
|
|
4569
|
-
"
|
|
4748
|
+
"list",
|
|
4570
4749
|
"index.js"
|
|
4571
4750
|
]
|
|
4572
4751
|
},
|
|
@@ -4726,28 +4905,19 @@
|
|
|
4726
4905
|
"index.js"
|
|
4727
4906
|
]
|
|
4728
4907
|
},
|
|
4729
|
-
"
|
|
4908
|
+
"tenant:backup:create": {
|
|
4730
4909
|
"aliases": [],
|
|
4731
4910
|
"args": {
|
|
4732
|
-
"
|
|
4733
|
-
"description": "
|
|
4734
|
-
"name": "
|
|
4911
|
+
"tenant_name": {
|
|
4912
|
+
"description": "Tenant name to back up",
|
|
4913
|
+
"name": "tenant_name",
|
|
4735
4914
|
"required": true
|
|
4736
4915
|
}
|
|
4737
4916
|
},
|
|
4738
|
-
"description": "
|
|
4917
|
+
"description": "Create a backup for a tenant",
|
|
4739
4918
|
"examples": [
|
|
4740
|
-
"$ xano
|
|
4741
|
-
"$ xano
|
|
4742
|
-
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
4743
|
-
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4744
|
-
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4745
|
-
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
4746
|
-
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4747
|
-
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4748
|
-
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4749
|
-
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
4750
|
-
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
4919
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
4920
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
4751
4921
|
],
|
|
4752
4922
|
"flags": {
|
|
4753
4923
|
"profile": {
|
|
@@ -4769,125 +4939,16 @@
|
|
|
4769
4939
|
"allowNo": false,
|
|
4770
4940
|
"type": "boolean"
|
|
4771
4941
|
},
|
|
4772
|
-
"
|
|
4773
|
-
"char": "
|
|
4774
|
-
"description": "
|
|
4775
|
-
"name": "
|
|
4776
|
-
"required": false,
|
|
4777
|
-
"hasDynamicHelp": false,
|
|
4778
|
-
"multiple": false,
|
|
4779
|
-
"type": "option"
|
|
4780
|
-
},
|
|
4781
|
-
"delete": {
|
|
4782
|
-
"description": "Delete workspace objects not included in the push (default: false)",
|
|
4783
|
-
"name": "delete",
|
|
4784
|
-
"required": false,
|
|
4785
|
-
"allowNo": true,
|
|
4786
|
-
"type": "boolean"
|
|
4787
|
-
},
|
|
4788
|
-
"env": {
|
|
4789
|
-
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4790
|
-
"name": "env",
|
|
4791
|
-
"required": false,
|
|
4792
|
-
"allowNo": true,
|
|
4793
|
-
"type": "boolean"
|
|
4794
|
-
},
|
|
4795
|
-
"partial": {
|
|
4796
|
-
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4797
|
-
"name": "partial",
|
|
4798
|
-
"required": false,
|
|
4799
|
-
"allowNo": false,
|
|
4800
|
-
"type": "boolean"
|
|
4801
|
-
},
|
|
4802
|
-
"records": {
|
|
4803
|
-
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
4804
|
-
"name": "records",
|
|
4805
|
-
"required": false,
|
|
4806
|
-
"allowNo": true,
|
|
4807
|
-
"type": "boolean"
|
|
4808
|
-
},
|
|
4809
|
-
"sync-guids": {
|
|
4810
|
-
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4811
|
-
"name": "sync-guids",
|
|
4812
|
-
"required": false,
|
|
4813
|
-
"allowNo": true,
|
|
4814
|
-
"type": "boolean"
|
|
4815
|
-
},
|
|
4816
|
-
"truncate": {
|
|
4817
|
-
"description": "Truncate all table records before importing",
|
|
4818
|
-
"name": "truncate",
|
|
4819
|
-
"required": false,
|
|
4820
|
-
"allowNo": false,
|
|
4821
|
-
"type": "boolean"
|
|
4822
|
-
},
|
|
4823
|
-
"workspace": {
|
|
4824
|
-
"char": "w",
|
|
4825
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
4826
|
-
"name": "workspace",
|
|
4827
|
-
"required": false,
|
|
4828
|
-
"hasDynamicHelp": false,
|
|
4829
|
-
"multiple": false,
|
|
4830
|
-
"type": "option"
|
|
4831
|
-
}
|
|
4832
|
-
},
|
|
4833
|
-
"hasDynamicHelp": false,
|
|
4834
|
-
"hiddenAliases": [],
|
|
4835
|
-
"id": "workspace:push",
|
|
4836
|
-
"pluginAlias": "@xano/cli",
|
|
4837
|
-
"pluginName": "@xano/cli",
|
|
4838
|
-
"pluginType": "core",
|
|
4839
|
-
"strict": true,
|
|
4840
|
-
"enableJsonFlag": false,
|
|
4841
|
-
"isESM": true,
|
|
4842
|
-
"relativePath": [
|
|
4843
|
-
"dist",
|
|
4844
|
-
"commands",
|
|
4845
|
-
"workspace",
|
|
4846
|
-
"push",
|
|
4847
|
-
"index.js"
|
|
4848
|
-
]
|
|
4849
|
-
},
|
|
4850
|
-
"static_host:build:get": {
|
|
4851
|
-
"aliases": [],
|
|
4852
|
-
"args": {
|
|
4853
|
-
"build_id": {
|
|
4854
|
-
"description": "Build ID",
|
|
4855
|
-
"name": "build_id",
|
|
4856
|
-
"required": true
|
|
4857
|
-
},
|
|
4858
|
-
"static_host": {
|
|
4859
|
-
"description": "Static Host name",
|
|
4860
|
-
"name": "static_host",
|
|
4861
|
-
"required": true
|
|
4862
|
-
}
|
|
4863
|
-
},
|
|
4864
|
-
"description": "Get details of a specific build for a static host",
|
|
4865
|
-
"examples": [
|
|
4866
|
-
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4867
|
-
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4868
|
-
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
4869
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4870
|
-
],
|
|
4871
|
-
"flags": {
|
|
4872
|
-
"profile": {
|
|
4873
|
-
"char": "p",
|
|
4874
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4875
|
-
"env": "XANO_PROFILE",
|
|
4876
|
-
"name": "profile",
|
|
4942
|
+
"description": {
|
|
4943
|
+
"char": "d",
|
|
4944
|
+
"description": "Backup description",
|
|
4945
|
+
"name": "description",
|
|
4877
4946
|
"required": false,
|
|
4947
|
+
"default": "",
|
|
4878
4948
|
"hasDynamicHelp": false,
|
|
4879
4949
|
"multiple": false,
|
|
4880
4950
|
"type": "option"
|
|
4881
4951
|
},
|
|
4882
|
-
"verbose": {
|
|
4883
|
-
"char": "v",
|
|
4884
|
-
"description": "Show detailed request/response information",
|
|
4885
|
-
"env": "XANO_VERBOSE",
|
|
4886
|
-
"name": "verbose",
|
|
4887
|
-
"required": false,
|
|
4888
|
-
"allowNo": false,
|
|
4889
|
-
"type": "boolean"
|
|
4890
|
-
},
|
|
4891
4952
|
"output": {
|
|
4892
4953
|
"char": "o",
|
|
4893
4954
|
"description": "Output format",
|
|
@@ -4904,7 +4965,7 @@
|
|
|
4904
4965
|
},
|
|
4905
4966
|
"workspace": {
|
|
4906
4967
|
"char": "w",
|
|
4907
|
-
"description": "Workspace ID (
|
|
4968
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4908
4969
|
"name": "workspace",
|
|
4909
4970
|
"required": false,
|
|
4910
4971
|
"hasDynamicHelp": false,
|
|
@@ -4914,7 +4975,7 @@
|
|
|
4914
4975
|
},
|
|
4915
4976
|
"hasDynamicHelp": false,
|
|
4916
4977
|
"hiddenAliases": [],
|
|
4917
|
-
"id": "
|
|
4978
|
+
"id": "tenant:backup:create",
|
|
4918
4979
|
"pluginAlias": "@xano/cli",
|
|
4919
4980
|
"pluginName": "@xano/cli",
|
|
4920
4981
|
"pluginType": "core",
|
|
@@ -4924,25 +4985,34 @@
|
|
|
4924
4985
|
"relativePath": [
|
|
4925
4986
|
"dist",
|
|
4926
4987
|
"commands",
|
|
4927
|
-
"
|
|
4928
|
-
"
|
|
4929
|
-
"
|
|
4988
|
+
"tenant",
|
|
4989
|
+
"backup",
|
|
4990
|
+
"create",
|
|
4930
4991
|
"index.js"
|
|
4931
4992
|
]
|
|
4932
4993
|
},
|
|
4933
|
-
"
|
|
4994
|
+
"workspace:push": {
|
|
4934
4995
|
"aliases": [],
|
|
4935
4996
|
"args": {
|
|
4936
|
-
"
|
|
4937
|
-
"description": "
|
|
4938
|
-
"name": "
|
|
4997
|
+
"directory": {
|
|
4998
|
+
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
4999
|
+
"name": "directory",
|
|
4939
5000
|
"required": true
|
|
4940
5001
|
}
|
|
4941
5002
|
},
|
|
4942
|
-
"description": "
|
|
5003
|
+
"description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
|
|
4943
5004
|
"examples": [
|
|
4944
|
-
"$ xano
|
|
4945
|
-
"$ xano
|
|
5005
|
+
"$ xano workspace push ./my-workspace\nPushed 42 documents from ./my-workspace\n",
|
|
5006
|
+
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
5007
|
+
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
5008
|
+
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
5009
|
+
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
5010
|
+
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
5011
|
+
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
5012
|
+
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
5013
|
+
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
5014
|
+
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
5015
|
+
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
4946
5016
|
],
|
|
4947
5017
|
"flags": {
|
|
4948
5018
|
"profile": {
|
|
@@ -4964,33 +5034,60 @@
|
|
|
4964
5034
|
"allowNo": false,
|
|
4965
5035
|
"type": "boolean"
|
|
4966
5036
|
},
|
|
4967
|
-
"
|
|
4968
|
-
"char": "
|
|
4969
|
-
"description": "
|
|
4970
|
-
"name": "
|
|
5037
|
+
"branch": {
|
|
5038
|
+
"char": "b",
|
|
5039
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
5040
|
+
"name": "branch",
|
|
4971
5041
|
"required": false,
|
|
4972
|
-
"default": "",
|
|
4973
5042
|
"hasDynamicHelp": false,
|
|
4974
5043
|
"multiple": false,
|
|
4975
5044
|
"type": "option"
|
|
4976
5045
|
},
|
|
4977
|
-
"
|
|
4978
|
-
"
|
|
4979
|
-
"
|
|
4980
|
-
"name": "output",
|
|
5046
|
+
"delete": {
|
|
5047
|
+
"description": "Delete workspace objects not included in the push (default: false)",
|
|
5048
|
+
"name": "delete",
|
|
4981
5049
|
"required": false,
|
|
4982
|
-
"
|
|
4983
|
-
"
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
"
|
|
5050
|
+
"allowNo": true,
|
|
5051
|
+
"type": "boolean"
|
|
5052
|
+
},
|
|
5053
|
+
"env": {
|
|
5054
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
5055
|
+
"name": "env",
|
|
5056
|
+
"required": false,
|
|
5057
|
+
"allowNo": true,
|
|
5058
|
+
"type": "boolean"
|
|
5059
|
+
},
|
|
5060
|
+
"partial": {
|
|
5061
|
+
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
5062
|
+
"name": "partial",
|
|
5063
|
+
"required": false,
|
|
5064
|
+
"allowNo": false,
|
|
5065
|
+
"type": "boolean"
|
|
5066
|
+
},
|
|
5067
|
+
"records": {
|
|
5068
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
5069
|
+
"name": "records",
|
|
5070
|
+
"required": false,
|
|
5071
|
+
"allowNo": true,
|
|
5072
|
+
"type": "boolean"
|
|
5073
|
+
},
|
|
5074
|
+
"sync-guids": {
|
|
5075
|
+
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
5076
|
+
"name": "sync-guids",
|
|
5077
|
+
"required": false,
|
|
5078
|
+
"allowNo": true,
|
|
5079
|
+
"type": "boolean"
|
|
5080
|
+
},
|
|
5081
|
+
"truncate": {
|
|
5082
|
+
"description": "Truncate all table records before importing",
|
|
5083
|
+
"name": "truncate",
|
|
5084
|
+
"required": false,
|
|
5085
|
+
"allowNo": false,
|
|
5086
|
+
"type": "boolean"
|
|
4990
5087
|
},
|
|
4991
5088
|
"workspace": {
|
|
4992
5089
|
"char": "w",
|
|
4993
|
-
"description": "Workspace ID (
|
|
5090
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4994
5091
|
"name": "workspace",
|
|
4995
5092
|
"required": false,
|
|
4996
5093
|
"hasDynamicHelp": false,
|
|
@@ -5000,7 +5097,7 @@
|
|
|
5000
5097
|
},
|
|
5001
5098
|
"hasDynamicHelp": false,
|
|
5002
5099
|
"hiddenAliases": [],
|
|
5003
|
-
"id": "
|
|
5100
|
+
"id": "workspace:push",
|
|
5004
5101
|
"pluginAlias": "@xano/cli",
|
|
5005
5102
|
"pluginName": "@xano/cli",
|
|
5006
5103
|
"pluginType": "core",
|
|
@@ -5010,9 +5107,8 @@
|
|
|
5010
5107
|
"relativePath": [
|
|
5011
5108
|
"dist",
|
|
5012
5109
|
"commands",
|
|
5013
|
-
"
|
|
5014
|
-
"
|
|
5015
|
-
"create",
|
|
5110
|
+
"workspace",
|
|
5111
|
+
"push",
|
|
5016
5112
|
"index.js"
|
|
5017
5113
|
]
|
|
5018
5114
|
},
|
|
@@ -5109,21 +5205,20 @@
|
|
|
5109
5205
|
"index.js"
|
|
5110
5206
|
]
|
|
5111
5207
|
},
|
|
5112
|
-
"
|
|
5208
|
+
"tenant:backup:export": {
|
|
5113
5209
|
"aliases": [],
|
|
5114
5210
|
"args": {
|
|
5115
|
-
"
|
|
5116
|
-
"description": "
|
|
5117
|
-
"name": "
|
|
5211
|
+
"tenant_name": {
|
|
5212
|
+
"description": "Tenant name to export backup from",
|
|
5213
|
+
"name": "tenant_name",
|
|
5118
5214
|
"required": true
|
|
5119
5215
|
}
|
|
5120
5216
|
},
|
|
5121
|
-
"description": "
|
|
5217
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5122
5218
|
"examples": [
|
|
5123
|
-
"$ xano
|
|
5124
|
-
"$ xano
|
|
5125
|
-
"$ xano
|
|
5126
|
-
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
5219
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5220
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5221
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5127
5222
|
],
|
|
5128
5223
|
"flags": {
|
|
5129
5224
|
"profile": {
|
|
@@ -5145,10 +5240,18 @@
|
|
|
5145
5240
|
"allowNo": false,
|
|
5146
5241
|
"type": "boolean"
|
|
5147
5242
|
},
|
|
5148
|
-
"
|
|
5243
|
+
"backup_id": {
|
|
5244
|
+
"description": "Backup ID to export",
|
|
5245
|
+
"name": "backup_id",
|
|
5246
|
+
"required": true,
|
|
5247
|
+
"hasDynamicHelp": false,
|
|
5248
|
+
"multiple": false,
|
|
5249
|
+
"type": "option"
|
|
5250
|
+
},
|
|
5251
|
+
"format": {
|
|
5149
5252
|
"char": "o",
|
|
5150
5253
|
"description": "Output format",
|
|
5151
|
-
"name": "
|
|
5254
|
+
"name": "format",
|
|
5152
5255
|
"required": false,
|
|
5153
5256
|
"default": "summary",
|
|
5154
5257
|
"hasDynamicHelp": false,
|
|
@@ -5159,27 +5262,17 @@
|
|
|
5159
5262
|
],
|
|
5160
5263
|
"type": "option"
|
|
5161
5264
|
},
|
|
5162
|
-
"
|
|
5163
|
-
"description": "
|
|
5164
|
-
"name": "
|
|
5165
|
-
"required": false,
|
|
5166
|
-
"default": 1,
|
|
5167
|
-
"hasDynamicHelp": false,
|
|
5168
|
-
"multiple": false,
|
|
5169
|
-
"type": "option"
|
|
5170
|
-
},
|
|
5171
|
-
"per_page": {
|
|
5172
|
-
"description": "Number of results per page",
|
|
5173
|
-
"name": "per_page",
|
|
5265
|
+
"output": {
|
|
5266
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5267
|
+
"name": "output",
|
|
5174
5268
|
"required": false,
|
|
5175
|
-
"default": 50,
|
|
5176
5269
|
"hasDynamicHelp": false,
|
|
5177
5270
|
"multiple": false,
|
|
5178
5271
|
"type": "option"
|
|
5179
5272
|
},
|
|
5180
5273
|
"workspace": {
|
|
5181
5274
|
"char": "w",
|
|
5182
|
-
"description": "Workspace ID (
|
|
5275
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5183
5276
|
"name": "workspace",
|
|
5184
5277
|
"required": false,
|
|
5185
5278
|
"hasDynamicHelp": false,
|
|
@@ -5189,7 +5282,7 @@
|
|
|
5189
5282
|
},
|
|
5190
5283
|
"hasDynamicHelp": false,
|
|
5191
5284
|
"hiddenAliases": [],
|
|
5192
|
-
"id": "
|
|
5285
|
+
"id": "tenant:backup:export",
|
|
5193
5286
|
"pluginAlias": "@xano/cli",
|
|
5194
5287
|
"pluginName": "@xano/cli",
|
|
5195
5288
|
"pluginType": "core",
|
|
@@ -5199,26 +5292,25 @@
|
|
|
5199
5292
|
"relativePath": [
|
|
5200
5293
|
"dist",
|
|
5201
5294
|
"commands",
|
|
5202
|
-
"
|
|
5203
|
-
"
|
|
5204
|
-
"
|
|
5295
|
+
"tenant",
|
|
5296
|
+
"backup",
|
|
5297
|
+
"export",
|
|
5205
5298
|
"index.js"
|
|
5206
5299
|
]
|
|
5207
5300
|
},
|
|
5208
|
-
"tenant:backup:
|
|
5301
|
+
"tenant:backup:list": {
|
|
5209
5302
|
"aliases": [],
|
|
5210
5303
|
"args": {
|
|
5211
5304
|
"tenant_name": {
|
|
5212
|
-
"description": "Tenant name to
|
|
5305
|
+
"description": "Tenant name to list backups for",
|
|
5213
5306
|
"name": "tenant_name",
|
|
5214
5307
|
"required": true
|
|
5215
5308
|
}
|
|
5216
5309
|
},
|
|
5217
|
-
"description": "
|
|
5310
|
+
"description": "List backups for a tenant",
|
|
5218
5311
|
"examples": [
|
|
5219
|
-
"$ xano tenant backup
|
|
5220
|
-
"$ xano tenant backup
|
|
5221
|
-
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5312
|
+
"$ xano tenant backup list t1234-abcd-xyz1\nBackups for tenant t1234-abcd-xyz1:\n - #1 - Pre-deploy backup (2024-01-15)\n - #2 - Daily backup (2024-01-16)\n",
|
|
5313
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5222
5314
|
],
|
|
5223
5315
|
"flags": {
|
|
5224
5316
|
"profile": {
|
|
@@ -5240,18 +5332,10 @@
|
|
|
5240
5332
|
"allowNo": false,
|
|
5241
5333
|
"type": "boolean"
|
|
5242
5334
|
},
|
|
5243
|
-
"
|
|
5244
|
-
"description": "Backup ID to export",
|
|
5245
|
-
"name": "backup_id",
|
|
5246
|
-
"required": true,
|
|
5247
|
-
"hasDynamicHelp": false,
|
|
5248
|
-
"multiple": false,
|
|
5249
|
-
"type": "option"
|
|
5250
|
-
},
|
|
5251
|
-
"format": {
|
|
5335
|
+
"output": {
|
|
5252
5336
|
"char": "o",
|
|
5253
5337
|
"description": "Output format",
|
|
5254
|
-
"name": "
|
|
5338
|
+
"name": "output",
|
|
5255
5339
|
"required": false,
|
|
5256
5340
|
"default": "summary",
|
|
5257
5341
|
"hasDynamicHelp": false,
|
|
@@ -5262,10 +5346,11 @@
|
|
|
5262
5346
|
],
|
|
5263
5347
|
"type": "option"
|
|
5264
5348
|
},
|
|
5265
|
-
"
|
|
5266
|
-
"description": "
|
|
5267
|
-
"name": "
|
|
5349
|
+
"page": {
|
|
5350
|
+
"description": "Page number for pagination",
|
|
5351
|
+
"name": "page",
|
|
5268
5352
|
"required": false,
|
|
5353
|
+
"default": 1,
|
|
5269
5354
|
"hasDynamicHelp": false,
|
|
5270
5355
|
"multiple": false,
|
|
5271
5356
|
"type": "option"
|
|
@@ -5282,7 +5367,7 @@
|
|
|
5282
5367
|
},
|
|
5283
5368
|
"hasDynamicHelp": false,
|
|
5284
5369
|
"hiddenAliases": [],
|
|
5285
|
-
"id": "tenant:backup:
|
|
5370
|
+
"id": "tenant:backup:list",
|
|
5286
5371
|
"pluginAlias": "@xano/cli",
|
|
5287
5372
|
"pluginName": "@xano/cli",
|
|
5288
5373
|
"pluginType": "core",
|
|
@@ -5294,23 +5379,23 @@
|
|
|
5294
5379
|
"commands",
|
|
5295
5380
|
"tenant",
|
|
5296
5381
|
"backup",
|
|
5297
|
-
"
|
|
5382
|
+
"list",
|
|
5298
5383
|
"index.js"
|
|
5299
5384
|
]
|
|
5300
5385
|
},
|
|
5301
|
-
"tenant:backup:
|
|
5386
|
+
"tenant:backup:restore": {
|
|
5302
5387
|
"aliases": [],
|
|
5303
5388
|
"args": {
|
|
5304
5389
|
"tenant_name": {
|
|
5305
|
-
"description": "Tenant name to
|
|
5390
|
+
"description": "Tenant name to restore",
|
|
5306
5391
|
"name": "tenant_name",
|
|
5307
5392
|
"required": true
|
|
5308
5393
|
}
|
|
5309
5394
|
},
|
|
5310
|
-
"description": "
|
|
5395
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5311
5396
|
"examples": [
|
|
5312
|
-
"$ xano tenant backup
|
|
5313
|
-
"$ xano tenant backup
|
|
5397
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to restore tenant t1234-abcd-xyz1 from backup 10? This will replace current data. (y/N) y\nRestored tenant t1234-abcd-xyz1 from backup #10\n",
|
|
5398
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5314
5399
|
],
|
|
5315
5400
|
"flags": {
|
|
5316
5401
|
"profile": {
|
|
@@ -5332,6 +5417,22 @@
|
|
|
5332
5417
|
"allowNo": false,
|
|
5333
5418
|
"type": "boolean"
|
|
5334
5419
|
},
|
|
5420
|
+
"backup_id": {
|
|
5421
|
+
"description": "Backup ID to restore from",
|
|
5422
|
+
"name": "backup_id",
|
|
5423
|
+
"required": true,
|
|
5424
|
+
"hasDynamicHelp": false,
|
|
5425
|
+
"multiple": false,
|
|
5426
|
+
"type": "option"
|
|
5427
|
+
},
|
|
5428
|
+
"force": {
|
|
5429
|
+
"char": "f",
|
|
5430
|
+
"description": "Skip confirmation prompt",
|
|
5431
|
+
"name": "force",
|
|
5432
|
+
"required": false,
|
|
5433
|
+
"allowNo": false,
|
|
5434
|
+
"type": "boolean"
|
|
5435
|
+
},
|
|
5335
5436
|
"output": {
|
|
5336
5437
|
"char": "o",
|
|
5337
5438
|
"description": "Output format",
|
|
@@ -5346,15 +5447,6 @@
|
|
|
5346
5447
|
],
|
|
5347
5448
|
"type": "option"
|
|
5348
5449
|
},
|
|
5349
|
-
"page": {
|
|
5350
|
-
"description": "Page number for pagination",
|
|
5351
|
-
"name": "page",
|
|
5352
|
-
"required": false,
|
|
5353
|
-
"default": 1,
|
|
5354
|
-
"hasDynamicHelp": false,
|
|
5355
|
-
"multiple": false,
|
|
5356
|
-
"type": "option"
|
|
5357
|
-
},
|
|
5358
5450
|
"workspace": {
|
|
5359
5451
|
"char": "w",
|
|
5360
5452
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5367,7 +5459,7 @@
|
|
|
5367
5459
|
},
|
|
5368
5460
|
"hasDynamicHelp": false,
|
|
5369
5461
|
"hiddenAliases": [],
|
|
5370
|
-
"id": "tenant:backup:
|
|
5462
|
+
"id": "tenant:backup:restore",
|
|
5371
5463
|
"pluginAlias": "@xano/cli",
|
|
5372
5464
|
"pluginName": "@xano/cli",
|
|
5373
5465
|
"pluginType": "core",
|
|
@@ -5379,7 +5471,7 @@
|
|
|
5379
5471
|
"commands",
|
|
5380
5472
|
"tenant",
|
|
5381
5473
|
"backup",
|
|
5382
|
-
"
|
|
5474
|
+
"restore",
|
|
5383
5475
|
"index.js"
|
|
5384
5476
|
]
|
|
5385
5477
|
},
|
|
@@ -5505,19 +5597,19 @@
|
|
|
5505
5597
|
"index.js"
|
|
5506
5598
|
]
|
|
5507
5599
|
},
|
|
5508
|
-
"tenant:backup:
|
|
5600
|
+
"tenant:backup:import": {
|
|
5509
5601
|
"aliases": [],
|
|
5510
5602
|
"args": {
|
|
5511
5603
|
"tenant_name": {
|
|
5512
|
-
"description": "Tenant name to
|
|
5604
|
+
"description": "Tenant name to import backup into",
|
|
5513
5605
|
"name": "tenant_name",
|
|
5514
5606
|
"required": true
|
|
5515
5607
|
}
|
|
5516
5608
|
},
|
|
5517
|
-
"description": "
|
|
5609
|
+
"description": "Import a backup file into a tenant",
|
|
5518
5610
|
"examples": [
|
|
5519
|
-
"$ xano tenant backup
|
|
5520
|
-
"$ xano tenant backup
|
|
5611
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5612
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5521
5613
|
],
|
|
5522
5614
|
"flags": {
|
|
5523
5615
|
"profile": {
|
|
@@ -5539,22 +5631,25 @@
|
|
|
5539
5631
|
"allowNo": false,
|
|
5540
5632
|
"type": "boolean"
|
|
5541
5633
|
},
|
|
5542
|
-
"
|
|
5543
|
-
"
|
|
5544
|
-
"
|
|
5634
|
+
"description": {
|
|
5635
|
+
"char": "d",
|
|
5636
|
+
"description": "Backup description",
|
|
5637
|
+
"name": "description",
|
|
5638
|
+
"required": false,
|
|
5639
|
+
"default": "",
|
|
5640
|
+
"hasDynamicHelp": false,
|
|
5641
|
+
"multiple": false,
|
|
5642
|
+
"type": "option"
|
|
5643
|
+
},
|
|
5644
|
+
"file": {
|
|
5645
|
+
"char": "f",
|
|
5646
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5647
|
+
"name": "file",
|
|
5545
5648
|
"required": true,
|
|
5546
5649
|
"hasDynamicHelp": false,
|
|
5547
5650
|
"multiple": false,
|
|
5548
5651
|
"type": "option"
|
|
5549
5652
|
},
|
|
5550
|
-
"force": {
|
|
5551
|
-
"char": "f",
|
|
5552
|
-
"description": "Skip confirmation prompt",
|
|
5553
|
-
"name": "force",
|
|
5554
|
-
"required": false,
|
|
5555
|
-
"allowNo": false,
|
|
5556
|
-
"type": "boolean"
|
|
5557
|
-
},
|
|
5558
5653
|
"output": {
|
|
5559
5654
|
"char": "o",
|
|
5560
5655
|
"description": "Output format",
|
|
@@ -5581,7 +5676,7 @@
|
|
|
5581
5676
|
},
|
|
5582
5677
|
"hasDynamicHelp": false,
|
|
5583
5678
|
"hiddenAliases": [],
|
|
5584
|
-
"id": "tenant:backup:
|
|
5679
|
+
"id": "tenant:backup:import",
|
|
5585
5680
|
"pluginAlias": "@xano/cli",
|
|
5586
5681
|
"pluginName": "@xano/cli",
|
|
5587
5682
|
"pluginType": "core",
|
|
@@ -5593,23 +5688,23 @@
|
|
|
5593
5688
|
"commands",
|
|
5594
5689
|
"tenant",
|
|
5595
5690
|
"backup",
|
|
5596
|
-
"
|
|
5691
|
+
"import",
|
|
5597
5692
|
"index.js"
|
|
5598
5693
|
]
|
|
5599
5694
|
},
|
|
5600
|
-
"tenant:
|
|
5695
|
+
"tenant:cluster:edit": {
|
|
5601
5696
|
"aliases": [],
|
|
5602
5697
|
"args": {
|
|
5603
|
-
"
|
|
5604
|
-
"description": "
|
|
5605
|
-
"name": "
|
|
5698
|
+
"cluster_id": {
|
|
5699
|
+
"description": "Cluster ID to edit",
|
|
5700
|
+
"name": "cluster_id",
|
|
5606
5701
|
"required": true
|
|
5607
5702
|
}
|
|
5608
5703
|
},
|
|
5609
|
-
"description": "
|
|
5704
|
+
"description": "Update an existing tenant cluster",
|
|
5610
5705
|
"examples": [
|
|
5611
|
-
"$ xano tenant
|
|
5612
|
-
"$ xano tenant
|
|
5706
|
+
"$ xano tenant cluster edit 1 --name \"us-east-1-updated\" --description \"Updated cluster\" --domain \"us-east.xano.io\" --type standard\nUpdated tenant cluster: us-east-1-updated (standard) - ID: 1\n",
|
|
5707
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5613
5708
|
],
|
|
5614
5709
|
"flags": {
|
|
5615
5710
|
"profile": {
|
|
@@ -5633,18 +5728,25 @@
|
|
|
5633
5728
|
},
|
|
5634
5729
|
"description": {
|
|
5635
5730
|
"char": "d",
|
|
5636
|
-
"description": "
|
|
5731
|
+
"description": "Cluster description",
|
|
5637
5732
|
"name": "description",
|
|
5638
|
-
"required":
|
|
5639
|
-
"default": "",
|
|
5733
|
+
"required": true,
|
|
5640
5734
|
"hasDynamicHelp": false,
|
|
5641
5735
|
"multiple": false,
|
|
5642
5736
|
"type": "option"
|
|
5643
5737
|
},
|
|
5644
|
-
"
|
|
5645
|
-
"
|
|
5646
|
-
"
|
|
5647
|
-
"
|
|
5738
|
+
"domain": {
|
|
5739
|
+
"description": "Custom domain for the cluster",
|
|
5740
|
+
"name": "domain",
|
|
5741
|
+
"required": true,
|
|
5742
|
+
"hasDynamicHelp": false,
|
|
5743
|
+
"multiple": false,
|
|
5744
|
+
"type": "option"
|
|
5745
|
+
},
|
|
5746
|
+
"name": {
|
|
5747
|
+
"char": "n",
|
|
5748
|
+
"description": "Cluster name",
|
|
5749
|
+
"name": "name",
|
|
5648
5750
|
"required": true,
|
|
5649
5751
|
"hasDynamicHelp": false,
|
|
5650
5752
|
"multiple": false,
|
|
@@ -5664,19 +5766,22 @@
|
|
|
5664
5766
|
],
|
|
5665
5767
|
"type": "option"
|
|
5666
5768
|
},
|
|
5667
|
-
"
|
|
5668
|
-
"
|
|
5669
|
-
"
|
|
5670
|
-
"
|
|
5671
|
-
"required": false,
|
|
5769
|
+
"type": {
|
|
5770
|
+
"description": "Cluster type",
|
|
5771
|
+
"name": "type",
|
|
5772
|
+
"required": true,
|
|
5672
5773
|
"hasDynamicHelp": false,
|
|
5673
5774
|
"multiple": false,
|
|
5775
|
+
"options": [
|
|
5776
|
+
"standard",
|
|
5777
|
+
"run"
|
|
5778
|
+
],
|
|
5674
5779
|
"type": "option"
|
|
5675
5780
|
}
|
|
5676
5781
|
},
|
|
5677
5782
|
"hasDynamicHelp": false,
|
|
5678
5783
|
"hiddenAliases": [],
|
|
5679
|
-
"id": "tenant:
|
|
5784
|
+
"id": "tenant:cluster:edit",
|
|
5680
5785
|
"pluginAlias": "@xano/cli",
|
|
5681
5786
|
"pluginName": "@xano/cli",
|
|
5682
5787
|
"pluginType": "core",
|
|
@@ -5687,8 +5792,8 @@
|
|
|
5687
5792
|
"dist",
|
|
5688
5793
|
"commands",
|
|
5689
5794
|
"tenant",
|
|
5690
|
-
"
|
|
5691
|
-
"
|
|
5795
|
+
"cluster",
|
|
5796
|
+
"edit",
|
|
5692
5797
|
"index.js"
|
|
5693
5798
|
]
|
|
5694
5799
|
},
|
|
@@ -5759,19 +5864,20 @@
|
|
|
5759
5864
|
"index.js"
|
|
5760
5865
|
]
|
|
5761
5866
|
},
|
|
5762
|
-
"tenant:cluster:
|
|
5867
|
+
"tenant:cluster:delete": {
|
|
5763
5868
|
"aliases": [],
|
|
5764
5869
|
"args": {
|
|
5765
5870
|
"cluster_id": {
|
|
5766
|
-
"description": "Cluster ID to
|
|
5871
|
+
"description": "Cluster ID to delete",
|
|
5767
5872
|
"name": "cluster_id",
|
|
5768
5873
|
"required": true
|
|
5769
5874
|
}
|
|
5770
5875
|
},
|
|
5771
|
-
"description": "
|
|
5876
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5772
5877
|
"examples": [
|
|
5773
|
-
"$ xano tenant cluster
|
|
5774
|
-
"$ xano tenant cluster
|
|
5878
|
+
"$ xano tenant cluster delete 3\nAre you sure you want to delete tenant cluster 3? This action cannot be undone. (y/N) y\nTenant cluster 3 deleted successfully\n",
|
|
5879
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5880
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5775
5881
|
],
|
|
5776
5882
|
"flags": {
|
|
5777
5883
|
"profile": {
|
|
@@ -5793,26 +5899,93 @@
|
|
|
5793
5899
|
"allowNo": false,
|
|
5794
5900
|
"type": "boolean"
|
|
5795
5901
|
},
|
|
5796
|
-
"
|
|
5797
|
-
"char": "
|
|
5798
|
-
"description": "
|
|
5799
|
-
"name": "
|
|
5800
|
-
"required":
|
|
5902
|
+
"force": {
|
|
5903
|
+
"char": "f",
|
|
5904
|
+
"description": "Skip confirmation prompt",
|
|
5905
|
+
"name": "force",
|
|
5906
|
+
"required": false,
|
|
5907
|
+
"allowNo": false,
|
|
5908
|
+
"type": "boolean"
|
|
5909
|
+
},
|
|
5910
|
+
"output": {
|
|
5911
|
+
"char": "o",
|
|
5912
|
+
"description": "Output format",
|
|
5913
|
+
"name": "output",
|
|
5914
|
+
"required": false,
|
|
5915
|
+
"default": "summary",
|
|
5801
5916
|
"hasDynamicHelp": false,
|
|
5802
5917
|
"multiple": false,
|
|
5918
|
+
"options": [
|
|
5919
|
+
"summary",
|
|
5920
|
+
"json"
|
|
5921
|
+
],
|
|
5803
5922
|
"type": "option"
|
|
5804
|
-
}
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
|
|
5923
|
+
}
|
|
5924
|
+
},
|
|
5925
|
+
"hasDynamicHelp": false,
|
|
5926
|
+
"hiddenAliases": [],
|
|
5927
|
+
"id": "tenant:cluster:delete",
|
|
5928
|
+
"pluginAlias": "@xano/cli",
|
|
5929
|
+
"pluginName": "@xano/cli",
|
|
5930
|
+
"pluginType": "core",
|
|
5931
|
+
"strict": true,
|
|
5932
|
+
"enableJsonFlag": false,
|
|
5933
|
+
"isESM": true,
|
|
5934
|
+
"relativePath": [
|
|
5935
|
+
"dist",
|
|
5936
|
+
"commands",
|
|
5937
|
+
"tenant",
|
|
5938
|
+
"cluster",
|
|
5939
|
+
"delete",
|
|
5940
|
+
"index.js"
|
|
5941
|
+
]
|
|
5942
|
+
},
|
|
5943
|
+
"tenant:env:delete": {
|
|
5944
|
+
"aliases": [],
|
|
5945
|
+
"args": {
|
|
5946
|
+
"tenant_name": {
|
|
5947
|
+
"description": "Tenant name",
|
|
5948
|
+
"name": "tenant_name",
|
|
5949
|
+
"required": true
|
|
5950
|
+
}
|
|
5951
|
+
},
|
|
5952
|
+
"description": "Delete an environment variable from a tenant",
|
|
5953
|
+
"examples": [
|
|
5954
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL' from tenant my-tenant? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
5955
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
5956
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
5957
|
+
],
|
|
5958
|
+
"flags": {
|
|
5959
|
+
"profile": {
|
|
5960
|
+
"char": "p",
|
|
5961
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5962
|
+
"env": "XANO_PROFILE",
|
|
5963
|
+
"name": "profile",
|
|
5964
|
+
"required": false,
|
|
5809
5965
|
"hasDynamicHelp": false,
|
|
5810
5966
|
"multiple": false,
|
|
5811
5967
|
"type": "option"
|
|
5812
5968
|
},
|
|
5969
|
+
"verbose": {
|
|
5970
|
+
"char": "v",
|
|
5971
|
+
"description": "Show detailed request/response information",
|
|
5972
|
+
"env": "XANO_VERBOSE",
|
|
5973
|
+
"name": "verbose",
|
|
5974
|
+
"required": false,
|
|
5975
|
+
"allowNo": false,
|
|
5976
|
+
"type": "boolean"
|
|
5977
|
+
},
|
|
5978
|
+
"force": {
|
|
5979
|
+
"char": "f",
|
|
5980
|
+
"description": "Skip confirmation prompt",
|
|
5981
|
+
"name": "force",
|
|
5982
|
+
"required": false,
|
|
5983
|
+
"allowNo": false,
|
|
5984
|
+
"type": "boolean"
|
|
5985
|
+
},
|
|
5813
5986
|
"name": {
|
|
5814
5987
|
"char": "n",
|
|
5815
|
-
"description": "
|
|
5988
|
+
"description": "Environment variable name",
|
|
5816
5989
|
"name": "name",
|
|
5817
5990
|
"required": true,
|
|
5818
5991
|
"hasDynamicHelp": false,
|
|
@@ -5833,22 +6006,19 @@
|
|
|
5833
6006
|
],
|
|
5834
6007
|
"type": "option"
|
|
5835
6008
|
},
|
|
5836
|
-
"
|
|
5837
|
-
"
|
|
5838
|
-
"
|
|
5839
|
-
"
|
|
6009
|
+
"workspace": {
|
|
6010
|
+
"char": "w",
|
|
6011
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6012
|
+
"name": "workspace",
|
|
6013
|
+
"required": false,
|
|
5840
6014
|
"hasDynamicHelp": false,
|
|
5841
6015
|
"multiple": false,
|
|
5842
|
-
"options": [
|
|
5843
|
-
"standard",
|
|
5844
|
-
"run"
|
|
5845
|
-
],
|
|
5846
6016
|
"type": "option"
|
|
5847
6017
|
}
|
|
5848
6018
|
},
|
|
5849
6019
|
"hasDynamicHelp": false,
|
|
5850
6020
|
"hiddenAliases": [],
|
|
5851
|
-
"id": "tenant:
|
|
6021
|
+
"id": "tenant:env:delete",
|
|
5852
6022
|
"pluginAlias": "@xano/cli",
|
|
5853
6023
|
"pluginName": "@xano/cli",
|
|
5854
6024
|
"pluginType": "core",
|
|
@@ -5859,25 +6029,24 @@
|
|
|
5859
6029
|
"dist",
|
|
5860
6030
|
"commands",
|
|
5861
6031
|
"tenant",
|
|
5862
|
-
"
|
|
5863
|
-
"
|
|
6032
|
+
"env",
|
|
6033
|
+
"delete",
|
|
5864
6034
|
"index.js"
|
|
5865
6035
|
]
|
|
5866
6036
|
},
|
|
5867
|
-
"tenant:
|
|
6037
|
+
"tenant:env:get": {
|
|
5868
6038
|
"aliases": [],
|
|
5869
6039
|
"args": {
|
|
5870
|
-
"
|
|
5871
|
-
"description": "
|
|
5872
|
-
"name": "
|
|
6040
|
+
"tenant_name": {
|
|
6041
|
+
"description": "Tenant name",
|
|
6042
|
+
"name": "tenant_name",
|
|
5873
6043
|
"required": true
|
|
5874
6044
|
}
|
|
5875
6045
|
},
|
|
5876
|
-
"description": "
|
|
6046
|
+
"description": "Get a single environment variable for a tenant",
|
|
5877
6047
|
"examples": [
|
|
5878
|
-
"$ xano tenant
|
|
5879
|
-
"$ xano tenant
|
|
5880
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
6048
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6049
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
5881
6050
|
],
|
|
5882
6051
|
"flags": {
|
|
5883
6052
|
"profile": {
|
|
@@ -5899,13 +6068,14 @@
|
|
|
5899
6068
|
"allowNo": false,
|
|
5900
6069
|
"type": "boolean"
|
|
5901
6070
|
},
|
|
5902
|
-
"
|
|
5903
|
-
"char": "
|
|
5904
|
-
"description": "
|
|
5905
|
-
"name": "
|
|
5906
|
-
"required":
|
|
5907
|
-
"
|
|
5908
|
-
"
|
|
6071
|
+
"name": {
|
|
6072
|
+
"char": "n",
|
|
6073
|
+
"description": "Environment variable name",
|
|
6074
|
+
"name": "name",
|
|
6075
|
+
"required": true,
|
|
6076
|
+
"hasDynamicHelp": false,
|
|
6077
|
+
"multiple": false,
|
|
6078
|
+
"type": "option"
|
|
5909
6079
|
},
|
|
5910
6080
|
"output": {
|
|
5911
6081
|
"char": "o",
|
|
@@ -5920,11 +6090,20 @@
|
|
|
5920
6090
|
"json"
|
|
5921
6091
|
],
|
|
5922
6092
|
"type": "option"
|
|
6093
|
+
},
|
|
6094
|
+
"workspace": {
|
|
6095
|
+
"char": "w",
|
|
6096
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6097
|
+
"name": "workspace",
|
|
6098
|
+
"required": false,
|
|
6099
|
+
"hasDynamicHelp": false,
|
|
6100
|
+
"multiple": false,
|
|
6101
|
+
"type": "option"
|
|
5923
6102
|
}
|
|
5924
6103
|
},
|
|
5925
6104
|
"hasDynamicHelp": false,
|
|
5926
6105
|
"hiddenAliases": [],
|
|
5927
|
-
"id": "tenant:
|
|
6106
|
+
"id": "tenant:env:get",
|
|
5928
6107
|
"pluginAlias": "@xano/cli",
|
|
5929
6108
|
"pluginName": "@xano/cli",
|
|
5930
6109
|
"pluginType": "core",
|
|
@@ -5935,8 +6114,8 @@
|
|
|
5935
6114
|
"dist",
|
|
5936
6115
|
"commands",
|
|
5937
6116
|
"tenant",
|
|
5938
|
-
"
|
|
5939
|
-
"
|
|
6117
|
+
"env",
|
|
6118
|
+
"get",
|
|
5940
6119
|
"index.js"
|
|
5941
6120
|
]
|
|
5942
6121
|
},
|
|
@@ -6001,7 +6180,7 @@
|
|
|
6001
6180
|
"index.js"
|
|
6002
6181
|
]
|
|
6003
6182
|
},
|
|
6004
|
-
"tenant:env:
|
|
6183
|
+
"tenant:env:get_all": {
|
|
6005
6184
|
"aliases": [],
|
|
6006
6185
|
"args": {
|
|
6007
6186
|
"tenant_name": {
|
|
@@ -6010,11 +6189,12 @@
|
|
|
6010
6189
|
"required": true
|
|
6011
6190
|
}
|
|
6012
6191
|
},
|
|
6013
|
-
"description": "
|
|
6192
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6014
6193
|
"examples": [
|
|
6015
|
-
"$ xano tenant env
|
|
6016
|
-
"$ xano tenant env
|
|
6017
|
-
"$ xano tenant env
|
|
6194
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
6195
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
6196
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
6197
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
6018
6198
|
],
|
|
6019
6199
|
"flags": {
|
|
6020
6200
|
"profile": {
|
|
@@ -6036,19 +6216,11 @@
|
|
|
6036
6216
|
"allowNo": false,
|
|
6037
6217
|
"type": "boolean"
|
|
6038
6218
|
},
|
|
6039
|
-
"
|
|
6219
|
+
"file": {
|
|
6040
6220
|
"char": "f",
|
|
6041
|
-
"description": "
|
|
6042
|
-
"name": "
|
|
6043
|
-
"required": false,
|
|
6044
|
-
"allowNo": false,
|
|
6045
|
-
"type": "boolean"
|
|
6046
|
-
},
|
|
6047
|
-
"name": {
|
|
6048
|
-
"char": "n",
|
|
6049
|
-
"description": "Environment variable name",
|
|
6050
|
-
"name": "name",
|
|
6051
|
-
"required": true,
|
|
6221
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6222
|
+
"name": "file",
|
|
6223
|
+
"required": false,
|
|
6052
6224
|
"hasDynamicHelp": false,
|
|
6053
6225
|
"multiple": false,
|
|
6054
6226
|
"type": "option"
|
|
@@ -6067,6 +6239,13 @@
|
|
|
6067
6239
|
],
|
|
6068
6240
|
"type": "option"
|
|
6069
6241
|
},
|
|
6242
|
+
"view": {
|
|
6243
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
6244
|
+
"name": "view",
|
|
6245
|
+
"required": false,
|
|
6246
|
+
"allowNo": false,
|
|
6247
|
+
"type": "boolean"
|
|
6248
|
+
},
|
|
6070
6249
|
"workspace": {
|
|
6071
6250
|
"char": "w",
|
|
6072
6251
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6079,7 +6258,7 @@
|
|
|
6079
6258
|
},
|
|
6080
6259
|
"hasDynamicHelp": false,
|
|
6081
6260
|
"hiddenAliases": [],
|
|
6082
|
-
"id": "tenant:env:
|
|
6261
|
+
"id": "tenant:env:get_all",
|
|
6083
6262
|
"pluginAlias": "@xano/cli",
|
|
6084
6263
|
"pluginName": "@xano/cli",
|
|
6085
6264
|
"pluginType": "core",
|
|
@@ -6091,7 +6270,7 @@
|
|
|
6091
6270
|
"commands",
|
|
6092
6271
|
"tenant",
|
|
6093
6272
|
"env",
|
|
6094
|
-
"
|
|
6273
|
+
"get_all",
|
|
6095
6274
|
"index.js"
|
|
6096
6275
|
]
|
|
6097
6276
|
},
|
|
@@ -6264,7 +6443,7 @@
|
|
|
6264
6443
|
"index.js"
|
|
6265
6444
|
]
|
|
6266
6445
|
},
|
|
6267
|
-
"tenant:env:
|
|
6446
|
+
"tenant:env:set_all": {
|
|
6268
6447
|
"aliases": [],
|
|
6269
6448
|
"args": {
|
|
6270
6449
|
"tenant_name": {
|
|
@@ -6273,12 +6452,11 @@
|
|
|
6273
6452
|
"required": true
|
|
6274
6453
|
}
|
|
6275
6454
|
},
|
|
6276
|
-
"description": "
|
|
6455
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6277
6456
|
"examples": [
|
|
6278
|
-
"$ xano tenant env
|
|
6279
|
-
"$ xano tenant env
|
|
6280
|
-
"$ xano tenant env
|
|
6281
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
6457
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6458
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6459
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6282
6460
|
],
|
|
6283
6461
|
"flags": {
|
|
6284
6462
|
"profile": {
|
|
@@ -6300,9 +6478,16 @@
|
|
|
6300
6478
|
"allowNo": false,
|
|
6301
6479
|
"type": "boolean"
|
|
6302
6480
|
},
|
|
6481
|
+
"clean": {
|
|
6482
|
+
"description": "Remove the source file after successful upload",
|
|
6483
|
+
"name": "clean",
|
|
6484
|
+
"required": false,
|
|
6485
|
+
"allowNo": false,
|
|
6486
|
+
"type": "boolean"
|
|
6487
|
+
},
|
|
6303
6488
|
"file": {
|
|
6304
6489
|
"char": "f",
|
|
6305
|
-
"description": "
|
|
6490
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6306
6491
|
"name": "file",
|
|
6307
6492
|
"required": false,
|
|
6308
6493
|
"hasDynamicHelp": false,
|
|
@@ -6323,13 +6508,6 @@
|
|
|
6323
6508
|
],
|
|
6324
6509
|
"type": "option"
|
|
6325
6510
|
},
|
|
6326
|
-
"view": {
|
|
6327
|
-
"description": "Print environment variables to stdout instead of saving to file",
|
|
6328
|
-
"name": "view",
|
|
6329
|
-
"required": false,
|
|
6330
|
-
"allowNo": false,
|
|
6331
|
-
"type": "boolean"
|
|
6332
|
-
},
|
|
6333
6511
|
"workspace": {
|
|
6334
6512
|
"char": "w",
|
|
6335
6513
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6342,7 +6520,7 @@
|
|
|
6342
6520
|
},
|
|
6343
6521
|
"hasDynamicHelp": false,
|
|
6344
6522
|
"hiddenAliases": [],
|
|
6345
|
-
"id": "tenant:env:
|
|
6523
|
+
"id": "tenant:env:set_all",
|
|
6346
6524
|
"pluginAlias": "@xano/cli",
|
|
6347
6525
|
"pluginName": "@xano/cli",
|
|
6348
6526
|
"pluginType": "core",
|
|
@@ -6354,11 +6532,11 @@
|
|
|
6354
6532
|
"commands",
|
|
6355
6533
|
"tenant",
|
|
6356
6534
|
"env",
|
|
6357
|
-
"
|
|
6535
|
+
"set_all",
|
|
6358
6536
|
"index.js"
|
|
6359
6537
|
]
|
|
6360
6538
|
},
|
|
6361
|
-
"tenant:
|
|
6539
|
+
"tenant:license:get": {
|
|
6362
6540
|
"aliases": [],
|
|
6363
6541
|
"args": {
|
|
6364
6542
|
"tenant_name": {
|
|
@@ -6367,11 +6545,12 @@
|
|
|
6367
6545
|
"required": true
|
|
6368
6546
|
}
|
|
6369
6547
|
},
|
|
6370
|
-
"description": "
|
|
6548
|
+
"description": "Get the license for a tenant",
|
|
6371
6549
|
"examples": [
|
|
6372
|
-
"$ xano tenant
|
|
6373
|
-
"$ xano tenant
|
|
6374
|
-
"$ xano tenant
|
|
6550
|
+
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6551
|
+
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6552
|
+
"$ xano tenant license get my-tenant --view",
|
|
6553
|
+
"$ xano tenant license get my-tenant -o json"
|
|
6375
6554
|
],
|
|
6376
6555
|
"flags": {
|
|
6377
6556
|
"profile": {
|
|
@@ -6393,16 +6572,9 @@
|
|
|
6393
6572
|
"allowNo": false,
|
|
6394
6573
|
"type": "boolean"
|
|
6395
6574
|
},
|
|
6396
|
-
"clean": {
|
|
6397
|
-
"description": "Remove the source file after successful upload",
|
|
6398
|
-
"name": "clean",
|
|
6399
|
-
"required": false,
|
|
6400
|
-
"allowNo": false,
|
|
6401
|
-
"type": "boolean"
|
|
6402
|
-
},
|
|
6403
6575
|
"file": {
|
|
6404
6576
|
"char": "f",
|
|
6405
|
-
"description": "
|
|
6577
|
+
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6406
6578
|
"name": "file",
|
|
6407
6579
|
"required": false,
|
|
6408
6580
|
"hasDynamicHelp": false,
|
|
@@ -6423,6 +6595,13 @@
|
|
|
6423
6595
|
],
|
|
6424
6596
|
"type": "option"
|
|
6425
6597
|
},
|
|
6598
|
+
"view": {
|
|
6599
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6600
|
+
"name": "view",
|
|
6601
|
+
"required": false,
|
|
6602
|
+
"allowNo": false,
|
|
6603
|
+
"type": "boolean"
|
|
6604
|
+
},
|
|
6426
6605
|
"workspace": {
|
|
6427
6606
|
"char": "w",
|
|
6428
6607
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6435,7 +6614,7 @@
|
|
|
6435
6614
|
},
|
|
6436
6615
|
"hasDynamicHelp": false,
|
|
6437
6616
|
"hiddenAliases": [],
|
|
6438
|
-
"id": "tenant:
|
|
6617
|
+
"id": "tenant:license:get",
|
|
6439
6618
|
"pluginAlias": "@xano/cli",
|
|
6440
6619
|
"pluginName": "@xano/cli",
|
|
6441
6620
|
"pluginType": "core",
|
|
@@ -6446,8 +6625,8 @@
|
|
|
6446
6625
|
"dist",
|
|
6447
6626
|
"commands",
|
|
6448
6627
|
"tenant",
|
|
6449
|
-
"
|
|
6450
|
-
"
|
|
6628
|
+
"license",
|
|
6629
|
+
"get",
|
|
6451
6630
|
"index.js"
|
|
6452
6631
|
]
|
|
6453
6632
|
},
|
|
@@ -6563,100 +6742,6 @@
|
|
|
6563
6742
|
"index.js"
|
|
6564
6743
|
]
|
|
6565
6744
|
},
|
|
6566
|
-
"tenant:license:get": {
|
|
6567
|
-
"aliases": [],
|
|
6568
|
-
"args": {
|
|
6569
|
-
"tenant_name": {
|
|
6570
|
-
"description": "Tenant name",
|
|
6571
|
-
"name": "tenant_name",
|
|
6572
|
-
"required": true
|
|
6573
|
-
}
|
|
6574
|
-
},
|
|
6575
|
-
"description": "Get the license for a tenant",
|
|
6576
|
-
"examples": [
|
|
6577
|
-
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6578
|
-
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6579
|
-
"$ xano tenant license get my-tenant --view",
|
|
6580
|
-
"$ xano tenant license get my-tenant -o json"
|
|
6581
|
-
],
|
|
6582
|
-
"flags": {
|
|
6583
|
-
"profile": {
|
|
6584
|
-
"char": "p",
|
|
6585
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
6586
|
-
"env": "XANO_PROFILE",
|
|
6587
|
-
"name": "profile",
|
|
6588
|
-
"required": false,
|
|
6589
|
-
"hasDynamicHelp": false,
|
|
6590
|
-
"multiple": false,
|
|
6591
|
-
"type": "option"
|
|
6592
|
-
},
|
|
6593
|
-
"verbose": {
|
|
6594
|
-
"char": "v",
|
|
6595
|
-
"description": "Show detailed request/response information",
|
|
6596
|
-
"env": "XANO_VERBOSE",
|
|
6597
|
-
"name": "verbose",
|
|
6598
|
-
"required": false,
|
|
6599
|
-
"allowNo": false,
|
|
6600
|
-
"type": "boolean"
|
|
6601
|
-
},
|
|
6602
|
-
"file": {
|
|
6603
|
-
"char": "f",
|
|
6604
|
-
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6605
|
-
"name": "file",
|
|
6606
|
-
"required": false,
|
|
6607
|
-
"hasDynamicHelp": false,
|
|
6608
|
-
"multiple": false,
|
|
6609
|
-
"type": "option"
|
|
6610
|
-
},
|
|
6611
|
-
"output": {
|
|
6612
|
-
"char": "o",
|
|
6613
|
-
"description": "Output format",
|
|
6614
|
-
"name": "output",
|
|
6615
|
-
"required": false,
|
|
6616
|
-
"default": "summary",
|
|
6617
|
-
"hasDynamicHelp": false,
|
|
6618
|
-
"multiple": false,
|
|
6619
|
-
"options": [
|
|
6620
|
-
"summary",
|
|
6621
|
-
"json"
|
|
6622
|
-
],
|
|
6623
|
-
"type": "option"
|
|
6624
|
-
},
|
|
6625
|
-
"view": {
|
|
6626
|
-
"description": "Print license to stdout instead of saving to file",
|
|
6627
|
-
"name": "view",
|
|
6628
|
-
"required": false,
|
|
6629
|
-
"allowNo": false,
|
|
6630
|
-
"type": "boolean"
|
|
6631
|
-
},
|
|
6632
|
-
"workspace": {
|
|
6633
|
-
"char": "w",
|
|
6634
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6635
|
-
"name": "workspace",
|
|
6636
|
-
"required": false,
|
|
6637
|
-
"hasDynamicHelp": false,
|
|
6638
|
-
"multiple": false,
|
|
6639
|
-
"type": "option"
|
|
6640
|
-
}
|
|
6641
|
-
},
|
|
6642
|
-
"hasDynamicHelp": false,
|
|
6643
|
-
"hiddenAliases": [],
|
|
6644
|
-
"id": "tenant:license:get",
|
|
6645
|
-
"pluginAlias": "@xano/cli",
|
|
6646
|
-
"pluginName": "@xano/cli",
|
|
6647
|
-
"pluginType": "core",
|
|
6648
|
-
"strict": true,
|
|
6649
|
-
"enableJsonFlag": false,
|
|
6650
|
-
"isESM": true,
|
|
6651
|
-
"relativePath": [
|
|
6652
|
-
"dist",
|
|
6653
|
-
"commands",
|
|
6654
|
-
"tenant",
|
|
6655
|
-
"license",
|
|
6656
|
-
"get",
|
|
6657
|
-
"index.js"
|
|
6658
|
-
]
|
|
6659
|
-
},
|
|
6660
6745
|
"workspace:git:pull": {
|
|
6661
6746
|
"aliases": [],
|
|
6662
6747
|
"args": {
|
|
@@ -6940,92 +7025,7 @@
|
|
|
6940
7025
|
"set",
|
|
6941
7026
|
"index.js"
|
|
6942
7027
|
]
|
|
6943
|
-
},
|
|
6944
|
-
"tenant:env:get": {
|
|
6945
|
-
"aliases": [],
|
|
6946
|
-
"args": {
|
|
6947
|
-
"tenant_name": {
|
|
6948
|
-
"description": "Tenant name",
|
|
6949
|
-
"name": "tenant_name",
|
|
6950
|
-
"required": true
|
|
6951
|
-
}
|
|
6952
|
-
},
|
|
6953
|
-
"description": "Get a single environment variable for a tenant",
|
|
6954
|
-
"examples": [
|
|
6955
|
-
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6956
|
-
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6957
|
-
],
|
|
6958
|
-
"flags": {
|
|
6959
|
-
"profile": {
|
|
6960
|
-
"char": "p",
|
|
6961
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
6962
|
-
"env": "XANO_PROFILE",
|
|
6963
|
-
"name": "profile",
|
|
6964
|
-
"required": false,
|
|
6965
|
-
"hasDynamicHelp": false,
|
|
6966
|
-
"multiple": false,
|
|
6967
|
-
"type": "option"
|
|
6968
|
-
},
|
|
6969
|
-
"verbose": {
|
|
6970
|
-
"char": "v",
|
|
6971
|
-
"description": "Show detailed request/response information",
|
|
6972
|
-
"env": "XANO_VERBOSE",
|
|
6973
|
-
"name": "verbose",
|
|
6974
|
-
"required": false,
|
|
6975
|
-
"allowNo": false,
|
|
6976
|
-
"type": "boolean"
|
|
6977
|
-
},
|
|
6978
|
-
"name": {
|
|
6979
|
-
"char": "n",
|
|
6980
|
-
"description": "Environment variable name",
|
|
6981
|
-
"name": "name",
|
|
6982
|
-
"required": true,
|
|
6983
|
-
"hasDynamicHelp": false,
|
|
6984
|
-
"multiple": false,
|
|
6985
|
-
"type": "option"
|
|
6986
|
-
},
|
|
6987
|
-
"output": {
|
|
6988
|
-
"char": "o",
|
|
6989
|
-
"description": "Output format",
|
|
6990
|
-
"name": "output",
|
|
6991
|
-
"required": false,
|
|
6992
|
-
"default": "summary",
|
|
6993
|
-
"hasDynamicHelp": false,
|
|
6994
|
-
"multiple": false,
|
|
6995
|
-
"options": [
|
|
6996
|
-
"summary",
|
|
6997
|
-
"json"
|
|
6998
|
-
],
|
|
6999
|
-
"type": "option"
|
|
7000
|
-
},
|
|
7001
|
-
"workspace": {
|
|
7002
|
-
"char": "w",
|
|
7003
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
7004
|
-
"name": "workspace",
|
|
7005
|
-
"required": false,
|
|
7006
|
-
"hasDynamicHelp": false,
|
|
7007
|
-
"multiple": false,
|
|
7008
|
-
"type": "option"
|
|
7009
|
-
}
|
|
7010
|
-
},
|
|
7011
|
-
"hasDynamicHelp": false,
|
|
7012
|
-
"hiddenAliases": [],
|
|
7013
|
-
"id": "tenant:env:get",
|
|
7014
|
-
"pluginAlias": "@xano/cli",
|
|
7015
|
-
"pluginName": "@xano/cli",
|
|
7016
|
-
"pluginType": "core",
|
|
7017
|
-
"strict": true,
|
|
7018
|
-
"enableJsonFlag": false,
|
|
7019
|
-
"isESM": true,
|
|
7020
|
-
"relativePath": [
|
|
7021
|
-
"dist",
|
|
7022
|
-
"commands",
|
|
7023
|
-
"tenant",
|
|
7024
|
-
"env",
|
|
7025
|
-
"get",
|
|
7026
|
-
"index.js"
|
|
7027
|
-
]
|
|
7028
7028
|
}
|
|
7029
7029
|
},
|
|
7030
|
-
"version": "0.0.
|
|
7030
|
+
"version": "0.0.63"
|
|
7031
7031
|
}
|