@xano/cli 0.0.71-beta.2 → 0.0.73-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/workspace/push/index.js +17 -1
- package/oclif.manifest.json +1558 -1558
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -200,20 +200,20 @@
|
|
|
200
200
|
"index.js"
|
|
201
201
|
]
|
|
202
202
|
},
|
|
203
|
-
"branch:
|
|
203
|
+
"branch:list": {
|
|
204
204
|
"aliases": [],
|
|
205
205
|
"args": {
|
|
206
|
-
"
|
|
207
|
-
"description": "
|
|
208
|
-
"name": "
|
|
209
|
-
"required":
|
|
206
|
+
"workspace_id": {
|
|
207
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
208
|
+
"name": "workspace_id",
|
|
209
|
+
"required": false
|
|
210
210
|
}
|
|
211
211
|
},
|
|
212
|
-
"description": "
|
|
212
|
+
"description": "List all branches in a workspace",
|
|
213
213
|
"examples": [
|
|
214
|
-
"$ xano branch
|
|
215
|
-
"$ xano branch
|
|
216
|
-
"$ xano branch
|
|
214
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
215
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
216
|
+
"$ 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"
|
|
217
217
|
],
|
|
218
218
|
"flags": {
|
|
219
219
|
"profile": {
|
|
@@ -235,14 +235,6 @@
|
|
|
235
235
|
"allowNo": false,
|
|
236
236
|
"type": "boolean"
|
|
237
237
|
},
|
|
238
|
-
"force": {
|
|
239
|
-
"char": "f",
|
|
240
|
-
"description": "Skip confirmation prompt",
|
|
241
|
-
"name": "force",
|
|
242
|
-
"required": false,
|
|
243
|
-
"allowNo": false,
|
|
244
|
-
"type": "boolean"
|
|
245
|
-
},
|
|
246
238
|
"output": {
|
|
247
239
|
"char": "o",
|
|
248
240
|
"description": "Output format",
|
|
@@ -256,20 +248,11 @@
|
|
|
256
248
|
"json"
|
|
257
249
|
],
|
|
258
250
|
"type": "option"
|
|
259
|
-
},
|
|
260
|
-
"workspace": {
|
|
261
|
-
"char": "w",
|
|
262
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
263
|
-
"name": "workspace",
|
|
264
|
-
"required": false,
|
|
265
|
-
"hasDynamicHelp": false,
|
|
266
|
-
"multiple": false,
|
|
267
|
-
"type": "option"
|
|
268
251
|
}
|
|
269
252
|
},
|
|
270
253
|
"hasDynamicHelp": false,
|
|
271
254
|
"hiddenAliases": [],
|
|
272
|
-
"id": "branch:
|
|
255
|
+
"id": "branch:list",
|
|
273
256
|
"pluginAlias": "@xano/cli",
|
|
274
257
|
"pluginName": "@xano/cli",
|
|
275
258
|
"pluginType": "core",
|
|
@@ -280,24 +263,24 @@
|
|
|
280
263
|
"dist",
|
|
281
264
|
"commands",
|
|
282
265
|
"branch",
|
|
283
|
-
"
|
|
266
|
+
"list",
|
|
284
267
|
"index.js"
|
|
285
268
|
]
|
|
286
269
|
},
|
|
287
|
-
"branch:
|
|
270
|
+
"branch:set_live": {
|
|
288
271
|
"aliases": [],
|
|
289
272
|
"args": {
|
|
290
273
|
"branch_label": {
|
|
291
|
-
"description": "Branch label to
|
|
274
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
292
275
|
"name": "branch_label",
|
|
293
276
|
"required": true
|
|
294
277
|
}
|
|
295
278
|
},
|
|
296
|
-
"description": "
|
|
279
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
297
280
|
"examples": [
|
|
298
|
-
"$ xano branch
|
|
299
|
-
"$ xano branch
|
|
300
|
-
"$ xano branch
|
|
281
|
+
"$ 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",
|
|
282
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
283
|
+
"$ 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"
|
|
301
284
|
],
|
|
302
285
|
"flags": {
|
|
303
286
|
"profile": {
|
|
@@ -319,32 +302,13 @@
|
|
|
319
302
|
"allowNo": false,
|
|
320
303
|
"type": "boolean"
|
|
321
304
|
},
|
|
322
|
-
"
|
|
323
|
-
"char": "
|
|
324
|
-
"description": "
|
|
325
|
-
"name": "
|
|
326
|
-
"required": false,
|
|
327
|
-
"hasDynamicHelp": false,
|
|
328
|
-
"multiple": false,
|
|
329
|
-
"type": "option"
|
|
330
|
-
},
|
|
331
|
-
"description": {
|
|
332
|
-
"char": "d",
|
|
333
|
-
"description": "New description for the branch",
|
|
334
|
-
"name": "description",
|
|
335
|
-
"required": false,
|
|
336
|
-
"hasDynamicHelp": false,
|
|
337
|
-
"multiple": false,
|
|
338
|
-
"type": "option"
|
|
339
|
-
},
|
|
340
|
-
"label": {
|
|
341
|
-
"char": "l",
|
|
342
|
-
"description": "New label for the branch",
|
|
343
|
-
"name": "label",
|
|
305
|
+
"force": {
|
|
306
|
+
"char": "f",
|
|
307
|
+
"description": "Skip confirmation prompt",
|
|
308
|
+
"name": "force",
|
|
344
309
|
"required": false,
|
|
345
|
-
"
|
|
346
|
-
"
|
|
347
|
-
"type": "option"
|
|
310
|
+
"allowNo": false,
|
|
311
|
+
"type": "boolean"
|
|
348
312
|
},
|
|
349
313
|
"output": {
|
|
350
314
|
"char": "o",
|
|
@@ -372,74 +336,7 @@
|
|
|
372
336
|
},
|
|
373
337
|
"hasDynamicHelp": false,
|
|
374
338
|
"hiddenAliases": [],
|
|
375
|
-
"id": "branch:
|
|
376
|
-
"pluginAlias": "@xano/cli",
|
|
377
|
-
"pluginName": "@xano/cli",
|
|
378
|
-
"pluginType": "core",
|
|
379
|
-
"strict": true,
|
|
380
|
-
"enableJsonFlag": false,
|
|
381
|
-
"isESM": true,
|
|
382
|
-
"relativePath": [
|
|
383
|
-
"dist",
|
|
384
|
-
"commands",
|
|
385
|
-
"branch",
|
|
386
|
-
"edit",
|
|
387
|
-
"index.js"
|
|
388
|
-
]
|
|
389
|
-
},
|
|
390
|
-
"branch:list": {
|
|
391
|
-
"aliases": [],
|
|
392
|
-
"args": {
|
|
393
|
-
"workspace_id": {
|
|
394
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
395
|
-
"name": "workspace_id",
|
|
396
|
-
"required": false
|
|
397
|
-
}
|
|
398
|
-
},
|
|
399
|
-
"description": "List all branches in a workspace",
|
|
400
|
-
"examples": [
|
|
401
|
-
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
402
|
-
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
403
|
-
"$ 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"
|
|
404
|
-
],
|
|
405
|
-
"flags": {
|
|
406
|
-
"profile": {
|
|
407
|
-
"char": "p",
|
|
408
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
409
|
-
"env": "XANO_PROFILE",
|
|
410
|
-
"name": "profile",
|
|
411
|
-
"required": false,
|
|
412
|
-
"hasDynamicHelp": false,
|
|
413
|
-
"multiple": false,
|
|
414
|
-
"type": "option"
|
|
415
|
-
},
|
|
416
|
-
"verbose": {
|
|
417
|
-
"char": "v",
|
|
418
|
-
"description": "Show detailed request/response information",
|
|
419
|
-
"env": "XANO_VERBOSE",
|
|
420
|
-
"name": "verbose",
|
|
421
|
-
"required": false,
|
|
422
|
-
"allowNo": false,
|
|
423
|
-
"type": "boolean"
|
|
424
|
-
},
|
|
425
|
-
"output": {
|
|
426
|
-
"char": "o",
|
|
427
|
-
"description": "Output format",
|
|
428
|
-
"name": "output",
|
|
429
|
-
"required": false,
|
|
430
|
-
"default": "summary",
|
|
431
|
-
"hasDynamicHelp": false,
|
|
432
|
-
"multiple": false,
|
|
433
|
-
"options": [
|
|
434
|
-
"summary",
|
|
435
|
-
"json"
|
|
436
|
-
],
|
|
437
|
-
"type": "option"
|
|
438
|
-
}
|
|
439
|
-
},
|
|
440
|
-
"hasDynamicHelp": false,
|
|
441
|
-
"hiddenAliases": [],
|
|
442
|
-
"id": "branch:list",
|
|
339
|
+
"id": "branch:set_live",
|
|
443
340
|
"pluginAlias": "@xano/cli",
|
|
444
341
|
"pluginName": "@xano/cli",
|
|
445
342
|
"pluginType": "core",
|
|
@@ -450,7 +347,7 @@
|
|
|
450
347
|
"dist",
|
|
451
348
|
"commands",
|
|
452
349
|
"branch",
|
|
453
|
-
"
|
|
350
|
+
"set_live",
|
|
454
351
|
"index.js"
|
|
455
352
|
]
|
|
456
353
|
},
|
|
@@ -560,20 +457,20 @@
|
|
|
560
457
|
"index.js"
|
|
561
458
|
]
|
|
562
459
|
},
|
|
563
|
-
"branch:
|
|
460
|
+
"branch:get": {
|
|
564
461
|
"aliases": [],
|
|
565
462
|
"args": {
|
|
566
463
|
"branch_label": {
|
|
567
|
-
"description": "Branch label
|
|
464
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
568
465
|
"name": "branch_label",
|
|
569
466
|
"required": true
|
|
570
467
|
}
|
|
571
468
|
},
|
|
572
|
-
"description": "
|
|
469
|
+
"description": "Get details for a specific branch",
|
|
573
470
|
"examples": [
|
|
574
|
-
"$ xano branch
|
|
575
|
-
"$ xano branch
|
|
576
|
-
"$ xano branch
|
|
471
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
472
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
473
|
+
"$ xano branch get staging --output json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
577
474
|
],
|
|
578
475
|
"flags": {
|
|
579
476
|
"profile": {
|
|
@@ -595,14 +492,6 @@
|
|
|
595
492
|
"allowNo": false,
|
|
596
493
|
"type": "boolean"
|
|
597
494
|
},
|
|
598
|
-
"force": {
|
|
599
|
-
"char": "f",
|
|
600
|
-
"description": "Skip confirmation prompt",
|
|
601
|
-
"name": "force",
|
|
602
|
-
"required": false,
|
|
603
|
-
"allowNo": false,
|
|
604
|
-
"type": "boolean"
|
|
605
|
-
},
|
|
606
495
|
"output": {
|
|
607
496
|
"char": "o",
|
|
608
497
|
"description": "Output format",
|
|
@@ -629,7 +518,7 @@
|
|
|
629
518
|
},
|
|
630
519
|
"hasDynamicHelp": false,
|
|
631
520
|
"hiddenAliases": [],
|
|
632
|
-
"id": "branch:
|
|
521
|
+
"id": "branch:get",
|
|
633
522
|
"pluginAlias": "@xano/cli",
|
|
634
523
|
"pluginName": "@xano/cli",
|
|
635
524
|
"pluginType": "core",
|
|
@@ -640,27 +529,24 @@
|
|
|
640
529
|
"dist",
|
|
641
530
|
"commands",
|
|
642
531
|
"branch",
|
|
643
|
-
"
|
|
532
|
+
"get",
|
|
644
533
|
"index.js"
|
|
645
534
|
]
|
|
646
535
|
},
|
|
647
|
-
"
|
|
536
|
+
"branch:delete": {
|
|
648
537
|
"aliases": [],
|
|
649
538
|
"args": {
|
|
650
|
-
"
|
|
651
|
-
"description": "
|
|
652
|
-
"name": "
|
|
653
|
-
"required":
|
|
539
|
+
"branch_label": {
|
|
540
|
+
"description": "Branch label to delete (cannot delete \"v1\" or the live branch)",
|
|
541
|
+
"name": "branch_label",
|
|
542
|
+
"required": true
|
|
654
543
|
}
|
|
655
544
|
},
|
|
656
|
-
"description": "
|
|
545
|
+
"description": "Delete a branch (cannot delete \"v1\" or the live branch)",
|
|
657
546
|
"examples": [
|
|
658
|
-
"$ xano
|
|
659
|
-
"$ xano
|
|
660
|
-
"$ xano
|
|
661
|
-
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
662
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
663
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
547
|
+
"$ 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",
|
|
548
|
+
"$ xano branch delete dev --force\nDeleted branch: dev\n",
|
|
549
|
+
"$ xano branch delete staging -f -o json\n{\n \"deleted\": true,\n \"branch_label\": \"staging\"\n}\n"
|
|
664
550
|
],
|
|
665
551
|
"flags": {
|
|
666
552
|
"profile": {
|
|
@@ -682,16 +568,10 @@
|
|
|
682
568
|
"allowNo": false,
|
|
683
569
|
"type": "boolean"
|
|
684
570
|
},
|
|
685
|
-
"
|
|
686
|
-
"
|
|
687
|
-
"
|
|
688
|
-
"
|
|
689
|
-
"allowNo": false,
|
|
690
|
-
"type": "boolean"
|
|
691
|
-
},
|
|
692
|
-
"include_xanoscript": {
|
|
693
|
-
"description": "Include XanoScript in response",
|
|
694
|
-
"name": "include_xanoscript",
|
|
571
|
+
"force": {
|
|
572
|
+
"char": "f",
|
|
573
|
+
"description": "Skip confirmation prompt",
|
|
574
|
+
"name": "force",
|
|
695
575
|
"required": false,
|
|
696
576
|
"allowNo": false,
|
|
697
577
|
"type": "boolean"
|
|
@@ -706,14 +586,13 @@
|
|
|
706
586
|
"multiple": false,
|
|
707
587
|
"options": [
|
|
708
588
|
"summary",
|
|
709
|
-
"json"
|
|
710
|
-
"xs"
|
|
589
|
+
"json"
|
|
711
590
|
],
|
|
712
591
|
"type": "option"
|
|
713
592
|
},
|
|
714
593
|
"workspace": {
|
|
715
594
|
"char": "w",
|
|
716
|
-
"description": "Workspace ID (
|
|
595
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
717
596
|
"name": "workspace",
|
|
718
597
|
"required": false,
|
|
719
598
|
"hasDynamicHelp": false,
|
|
@@ -723,7 +602,7 @@
|
|
|
723
602
|
},
|
|
724
603
|
"hasDynamicHelp": false,
|
|
725
604
|
"hiddenAliases": [],
|
|
726
|
-
"id": "
|
|
605
|
+
"id": "branch:delete",
|
|
727
606
|
"pluginAlias": "@xano/cli",
|
|
728
607
|
"pluginName": "@xano/cli",
|
|
729
608
|
"pluginType": "core",
|
|
@@ -733,20 +612,25 @@
|
|
|
733
612
|
"relativePath": [
|
|
734
613
|
"dist",
|
|
735
614
|
"commands",
|
|
736
|
-
"
|
|
737
|
-
"
|
|
615
|
+
"branch",
|
|
616
|
+
"delete",
|
|
738
617
|
"index.js"
|
|
739
618
|
]
|
|
740
619
|
},
|
|
741
|
-
"
|
|
620
|
+
"branch:edit": {
|
|
742
621
|
"aliases": [],
|
|
743
|
-
"args": {
|
|
744
|
-
|
|
622
|
+
"args": {
|
|
623
|
+
"branch_label": {
|
|
624
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
625
|
+
"name": "branch_label",
|
|
626
|
+
"required": true
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
745
630
|
"examples": [
|
|
746
|
-
"$ xano
|
|
747
|
-
"$ xano
|
|
748
|
-
"$ xano
|
|
749
|
-
"$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
|
|
631
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
632
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
633
|
+
"$ 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"
|
|
750
634
|
],
|
|
751
635
|
"flags": {
|
|
752
636
|
"profile": {
|
|
@@ -768,31 +652,31 @@
|
|
|
768
652
|
"allowNo": false,
|
|
769
653
|
"type": "boolean"
|
|
770
654
|
},
|
|
771
|
-
"
|
|
772
|
-
"
|
|
773
|
-
"
|
|
655
|
+
"color": {
|
|
656
|
+
"char": "c",
|
|
657
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
658
|
+
"name": "color",
|
|
774
659
|
"required": false,
|
|
775
|
-
"
|
|
776
|
-
"
|
|
660
|
+
"hasDynamicHelp": false,
|
|
661
|
+
"multiple": false,
|
|
662
|
+
"type": "option"
|
|
777
663
|
},
|
|
778
|
-
"
|
|
779
|
-
"
|
|
780
|
-
"
|
|
664
|
+
"description": {
|
|
665
|
+
"char": "d",
|
|
666
|
+
"description": "New description for the branch",
|
|
667
|
+
"name": "description",
|
|
781
668
|
"required": false,
|
|
782
|
-
"
|
|
783
|
-
"
|
|
669
|
+
"hasDynamicHelp": false,
|
|
670
|
+
"multiple": false,
|
|
671
|
+
"type": "option"
|
|
784
672
|
},
|
|
785
|
-
"
|
|
786
|
-
"
|
|
787
|
-
"
|
|
673
|
+
"label": {
|
|
674
|
+
"char": "l",
|
|
675
|
+
"description": "New label for the branch",
|
|
676
|
+
"name": "label",
|
|
788
677
|
"required": false,
|
|
789
|
-
"default": "desc",
|
|
790
678
|
"hasDynamicHelp": false,
|
|
791
679
|
"multiple": false,
|
|
792
|
-
"options": [
|
|
793
|
-
"asc",
|
|
794
|
-
"desc"
|
|
795
|
-
],
|
|
796
680
|
"type": "option"
|
|
797
681
|
},
|
|
798
682
|
"output": {
|
|
@@ -809,33 +693,125 @@
|
|
|
809
693
|
],
|
|
810
694
|
"type": "option"
|
|
811
695
|
},
|
|
812
|
-
"
|
|
813
|
-
"
|
|
814
|
-
"
|
|
696
|
+
"workspace": {
|
|
697
|
+
"char": "w",
|
|
698
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
699
|
+
"name": "workspace",
|
|
700
|
+
"required": false,
|
|
701
|
+
"hasDynamicHelp": false,
|
|
702
|
+
"multiple": false,
|
|
703
|
+
"type": "option"
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
"hasDynamicHelp": false,
|
|
707
|
+
"hiddenAliases": [],
|
|
708
|
+
"id": "branch:edit",
|
|
709
|
+
"pluginAlias": "@xano/cli",
|
|
710
|
+
"pluginName": "@xano/cli",
|
|
711
|
+
"pluginType": "core",
|
|
712
|
+
"strict": true,
|
|
713
|
+
"enableJsonFlag": false,
|
|
714
|
+
"isESM": true,
|
|
715
|
+
"relativePath": [
|
|
716
|
+
"dist",
|
|
717
|
+
"commands",
|
|
718
|
+
"branch",
|
|
719
|
+
"edit",
|
|
720
|
+
"index.js"
|
|
721
|
+
]
|
|
722
|
+
},
|
|
723
|
+
"function:edit": {
|
|
724
|
+
"aliases": [],
|
|
725
|
+
"args": {
|
|
726
|
+
"function_id": {
|
|
727
|
+
"description": "Function ID to edit",
|
|
728
|
+
"name": "function_id",
|
|
729
|
+
"required": false
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
"description": "Edit a function in a workspace",
|
|
733
|
+
"examples": [
|
|
734
|
+
"$ xano function:edit 163\n# Fetches the function code and opens it in $EDITOR for editing\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
735
|
+
"$ xano function:edit\n# Prompts for function, fetches the code and opens it in $EDITOR for editing\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
736
|
+
"$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
737
|
+
"$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
738
|
+
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
739
|
+
"$ xano function:edit 163 -f function.xs --edit\n# Opens function.xs in $EDITOR, then updates function with edited content\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
740
|
+
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
741
|
+
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
742
|
+
],
|
|
743
|
+
"flags": {
|
|
744
|
+
"profile": {
|
|
745
|
+
"char": "p",
|
|
746
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
747
|
+
"env": "XANO_PROFILE",
|
|
748
|
+
"name": "profile",
|
|
815
749
|
"required": false,
|
|
816
|
-
"default": 1,
|
|
817
750
|
"hasDynamicHelp": false,
|
|
818
751
|
"multiple": false,
|
|
819
752
|
"type": "option"
|
|
820
753
|
},
|
|
821
|
-
"
|
|
822
|
-
"
|
|
823
|
-
"
|
|
754
|
+
"verbose": {
|
|
755
|
+
"char": "v",
|
|
756
|
+
"description": "Show detailed request/response information",
|
|
757
|
+
"env": "XANO_VERBOSE",
|
|
758
|
+
"name": "verbose",
|
|
759
|
+
"required": false,
|
|
760
|
+
"allowNo": false,
|
|
761
|
+
"type": "boolean"
|
|
762
|
+
},
|
|
763
|
+
"edit": {
|
|
764
|
+
"char": "e",
|
|
765
|
+
"description": "Open file in editor before updating function (requires --file)",
|
|
766
|
+
"name": "edit",
|
|
767
|
+
"required": false,
|
|
768
|
+
"allowNo": false,
|
|
769
|
+
"type": "boolean"
|
|
770
|
+
},
|
|
771
|
+
"file": {
|
|
772
|
+
"char": "f",
|
|
773
|
+
"description": "Path to file containing XanoScript code",
|
|
774
|
+
"exclusive": [
|
|
775
|
+
"stdin"
|
|
776
|
+
],
|
|
777
|
+
"name": "file",
|
|
824
778
|
"required": false,
|
|
825
|
-
"default": 50,
|
|
826
779
|
"hasDynamicHelp": false,
|
|
827
780
|
"multiple": false,
|
|
828
781
|
"type": "option"
|
|
829
782
|
},
|
|
830
|
-
"
|
|
831
|
-
"
|
|
832
|
-
"
|
|
783
|
+
"output": {
|
|
784
|
+
"char": "o",
|
|
785
|
+
"description": "Output format",
|
|
786
|
+
"name": "output",
|
|
833
787
|
"required": false,
|
|
834
|
-
"default": "
|
|
788
|
+
"default": "summary",
|
|
835
789
|
"hasDynamicHelp": false,
|
|
836
790
|
"multiple": false,
|
|
791
|
+
"options": [
|
|
792
|
+
"summary",
|
|
793
|
+
"json"
|
|
794
|
+
],
|
|
837
795
|
"type": "option"
|
|
838
796
|
},
|
|
797
|
+
"publish": {
|
|
798
|
+
"description": "Publish the function after editing",
|
|
799
|
+
"name": "publish",
|
|
800
|
+
"required": false,
|
|
801
|
+
"allowNo": false,
|
|
802
|
+
"type": "boolean"
|
|
803
|
+
},
|
|
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
|
+
},
|
|
839
815
|
"workspace": {
|
|
840
816
|
"char": "w",
|
|
841
817
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -848,7 +824,7 @@
|
|
|
848
824
|
},
|
|
849
825
|
"hasDynamicHelp": false,
|
|
850
826
|
"hiddenAliases": [],
|
|
851
|
-
"id": "function:
|
|
827
|
+
"id": "function:edit",
|
|
852
828
|
"pluginAlias": "@xano/cli",
|
|
853
829
|
"pluginName": "@xano/cli",
|
|
854
830
|
"pluginType": "core",
|
|
@@ -859,17 +835,19 @@
|
|
|
859
835
|
"dist",
|
|
860
836
|
"commands",
|
|
861
837
|
"function",
|
|
862
|
-
"
|
|
838
|
+
"edit",
|
|
863
839
|
"index.js"
|
|
864
840
|
]
|
|
865
841
|
},
|
|
866
|
-
"
|
|
842
|
+
"function:list": {
|
|
867
843
|
"aliases": [],
|
|
868
844
|
"args": {},
|
|
869
|
-
"description": "List all
|
|
845
|
+
"description": "List all functions in a workspace from the Xano Metadata API",
|
|
870
846
|
"examples": [
|
|
871
|
-
"$ xano
|
|
872
|
-
"$ xano
|
|
847
|
+
"$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
|
|
848
|
+
"$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
|
|
849
|
+
"$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
|
|
850
|
+
"$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
|
|
873
851
|
],
|
|
874
852
|
"flags": {
|
|
875
853
|
"profile": {
|
|
@@ -891,6 +869,33 @@
|
|
|
891
869
|
"allowNo": false,
|
|
892
870
|
"type": "boolean"
|
|
893
871
|
},
|
|
872
|
+
"include_draft": {
|
|
873
|
+
"description": "Include draft functions",
|
|
874
|
+
"name": "include_draft",
|
|
875
|
+
"required": false,
|
|
876
|
+
"allowNo": false,
|
|
877
|
+
"type": "boolean"
|
|
878
|
+
},
|
|
879
|
+
"include_xanoscript": {
|
|
880
|
+
"description": "Include XanoScript in response",
|
|
881
|
+
"name": "include_xanoscript",
|
|
882
|
+
"required": false,
|
|
883
|
+
"allowNo": false,
|
|
884
|
+
"type": "boolean"
|
|
885
|
+
},
|
|
886
|
+
"order": {
|
|
887
|
+
"description": "Sort order",
|
|
888
|
+
"name": "order",
|
|
889
|
+
"required": false,
|
|
890
|
+
"default": "desc",
|
|
891
|
+
"hasDynamicHelp": false,
|
|
892
|
+
"multiple": false,
|
|
893
|
+
"options": [
|
|
894
|
+
"asc",
|
|
895
|
+
"desc"
|
|
896
|
+
],
|
|
897
|
+
"type": "option"
|
|
898
|
+
},
|
|
894
899
|
"output": {
|
|
895
900
|
"char": "o",
|
|
896
901
|
"description": "Output format",
|
|
@@ -904,11 +909,47 @@
|
|
|
904
909
|
"json"
|
|
905
910
|
],
|
|
906
911
|
"type": "option"
|
|
912
|
+
},
|
|
913
|
+
"page": {
|
|
914
|
+
"description": "Page number for pagination",
|
|
915
|
+
"name": "page",
|
|
916
|
+
"required": false,
|
|
917
|
+
"default": 1,
|
|
918
|
+
"hasDynamicHelp": false,
|
|
919
|
+
"multiple": false,
|
|
920
|
+
"type": "option"
|
|
921
|
+
},
|
|
922
|
+
"per_page": {
|
|
923
|
+
"description": "Number of results per page",
|
|
924
|
+
"name": "per_page",
|
|
925
|
+
"required": false,
|
|
926
|
+
"default": 50,
|
|
927
|
+
"hasDynamicHelp": false,
|
|
928
|
+
"multiple": false,
|
|
929
|
+
"type": "option"
|
|
930
|
+
},
|
|
931
|
+
"sort": {
|
|
932
|
+
"description": "Sort field",
|
|
933
|
+
"name": "sort",
|
|
934
|
+
"required": false,
|
|
935
|
+
"default": "created_at",
|
|
936
|
+
"hasDynamicHelp": false,
|
|
937
|
+
"multiple": false,
|
|
938
|
+
"type": "option"
|
|
939
|
+
},
|
|
940
|
+
"workspace": {
|
|
941
|
+
"char": "w",
|
|
942
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
943
|
+
"name": "workspace",
|
|
944
|
+
"required": false,
|
|
945
|
+
"hasDynamicHelp": false,
|
|
946
|
+
"multiple": false,
|
|
947
|
+
"type": "option"
|
|
907
948
|
}
|
|
908
949
|
},
|
|
909
950
|
"hasDynamicHelp": false,
|
|
910
951
|
"hiddenAliases": [],
|
|
911
|
-
"id": "
|
|
952
|
+
"id": "function:list",
|
|
912
953
|
"pluginAlias": "@xano/cli",
|
|
913
954
|
"pluginName": "@xano/cli",
|
|
914
955
|
"pluginType": "core",
|
|
@@ -918,24 +959,18 @@
|
|
|
918
959
|
"relativePath": [
|
|
919
960
|
"dist",
|
|
920
961
|
"commands",
|
|
921
|
-
"
|
|
962
|
+
"function",
|
|
922
963
|
"list",
|
|
923
964
|
"index.js"
|
|
924
965
|
]
|
|
925
966
|
},
|
|
926
|
-
"platform:
|
|
967
|
+
"platform:list": {
|
|
927
968
|
"aliases": [],
|
|
928
|
-
"args": {
|
|
929
|
-
|
|
930
|
-
"description": "Platform ID to retrieve",
|
|
931
|
-
"name": "platform_id",
|
|
932
|
-
"required": true
|
|
933
|
-
}
|
|
934
|
-
},
|
|
935
|
-
"description": "Get details of a specific platform",
|
|
969
|
+
"args": {},
|
|
970
|
+
"description": "List all platforms",
|
|
936
971
|
"examples": [
|
|
937
|
-
"$ xano platform
|
|
938
|
-
"$ xano platform
|
|
972
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
973
|
+
"$ xano platform list --output json"
|
|
939
974
|
],
|
|
940
975
|
"flags": {
|
|
941
976
|
"profile": {
|
|
@@ -974,7 +1009,7 @@
|
|
|
974
1009
|
},
|
|
975
1010
|
"hasDynamicHelp": false,
|
|
976
1011
|
"hiddenAliases": [],
|
|
977
|
-
"id": "platform:
|
|
1012
|
+
"id": "platform:list",
|
|
978
1013
|
"pluginAlias": "@xano/cli",
|
|
979
1014
|
"pluginName": "@xano/cli",
|
|
980
1015
|
"pluginType": "core",
|
|
@@ -985,38 +1020,90 @@
|
|
|
985
1020
|
"dist",
|
|
986
1021
|
"commands",
|
|
987
1022
|
"platform",
|
|
988
|
-
"
|
|
1023
|
+
"list",
|
|
989
1024
|
"index.js"
|
|
990
1025
|
]
|
|
991
1026
|
},
|
|
992
|
-
"
|
|
1027
|
+
"function:get": {
|
|
993
1028
|
"aliases": [],
|
|
994
1029
|
"args": {
|
|
995
|
-
"
|
|
996
|
-
"description": "
|
|
997
|
-
"name": "
|
|
998
|
-
"required":
|
|
1030
|
+
"function_id": {
|
|
1031
|
+
"description": "Function ID",
|
|
1032
|
+
"name": "function_id",
|
|
1033
|
+
"required": false
|
|
999
1034
|
}
|
|
1000
1035
|
},
|
|
1001
|
-
"description": "
|
|
1036
|
+
"description": "Get a specific function from a workspace",
|
|
1002
1037
|
"examples": [
|
|
1003
|
-
"$ xano
|
|
1004
|
-
"$ xano
|
|
1005
|
-
"$ xano
|
|
1038
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
1039
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
1040
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
1041
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
1042
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
1043
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
1006
1044
|
],
|
|
1007
1045
|
"flags": {
|
|
1008
|
-
"
|
|
1009
|
-
"char": "
|
|
1010
|
-
"description": "
|
|
1011
|
-
"
|
|
1046
|
+
"profile": {
|
|
1047
|
+
"char": "p",
|
|
1048
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1049
|
+
"env": "XANO_PROFILE",
|
|
1050
|
+
"name": "profile",
|
|
1051
|
+
"required": false,
|
|
1052
|
+
"hasDynamicHelp": false,
|
|
1053
|
+
"multiple": false,
|
|
1054
|
+
"type": "option"
|
|
1055
|
+
},
|
|
1056
|
+
"verbose": {
|
|
1057
|
+
"char": "v",
|
|
1058
|
+
"description": "Show detailed request/response information",
|
|
1059
|
+
"env": "XANO_VERBOSE",
|
|
1060
|
+
"name": "verbose",
|
|
1061
|
+
"required": false,
|
|
1062
|
+
"allowNo": false,
|
|
1063
|
+
"type": "boolean"
|
|
1064
|
+
},
|
|
1065
|
+
"include_draft": {
|
|
1066
|
+
"description": "Include draft version",
|
|
1067
|
+
"name": "include_draft",
|
|
1068
|
+
"required": false,
|
|
1069
|
+
"allowNo": false,
|
|
1070
|
+
"type": "boolean"
|
|
1071
|
+
},
|
|
1072
|
+
"include_xanoscript": {
|
|
1073
|
+
"description": "Include XanoScript in response",
|
|
1074
|
+
"name": "include_xanoscript",
|
|
1075
|
+
"required": false,
|
|
1076
|
+
"allowNo": false,
|
|
1077
|
+
"type": "boolean"
|
|
1078
|
+
},
|
|
1079
|
+
"output": {
|
|
1080
|
+
"char": "o",
|
|
1081
|
+
"description": "Output format",
|
|
1082
|
+
"name": "output",
|
|
1012
1083
|
"required": false,
|
|
1013
|
-
"
|
|
1014
|
-
"
|
|
1084
|
+
"default": "summary",
|
|
1085
|
+
"hasDynamicHelp": false,
|
|
1086
|
+
"multiple": false,
|
|
1087
|
+
"options": [
|
|
1088
|
+
"summary",
|
|
1089
|
+
"json",
|
|
1090
|
+
"xs"
|
|
1091
|
+
],
|
|
1092
|
+
"type": "option"
|
|
1093
|
+
},
|
|
1094
|
+
"workspace": {
|
|
1095
|
+
"char": "w",
|
|
1096
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1097
|
+
"name": "workspace",
|
|
1098
|
+
"required": false,
|
|
1099
|
+
"hasDynamicHelp": false,
|
|
1100
|
+
"multiple": false,
|
|
1101
|
+
"type": "option"
|
|
1015
1102
|
}
|
|
1016
1103
|
},
|
|
1017
1104
|
"hasDynamicHelp": false,
|
|
1018
1105
|
"hiddenAliases": [],
|
|
1019
|
-
"id": "
|
|
1106
|
+
"id": "function:get",
|
|
1020
1107
|
"pluginAlias": "@xano/cli",
|
|
1021
1108
|
"pluginName": "@xano/cli",
|
|
1022
1109
|
"pluginType": "core",
|
|
@@ -1026,8 +1113,8 @@
|
|
|
1026
1113
|
"relativePath": [
|
|
1027
1114
|
"dist",
|
|
1028
1115
|
"commands",
|
|
1029
|
-
"
|
|
1030
|
-
"
|
|
1116
|
+
"function",
|
|
1117
|
+
"get",
|
|
1031
1118
|
"index.js"
|
|
1032
1119
|
]
|
|
1033
1120
|
},
|
|
@@ -1127,6 +1214,73 @@
|
|
|
1127
1214
|
"index.js"
|
|
1128
1215
|
]
|
|
1129
1216
|
},
|
|
1217
|
+
"profile:get": {
|
|
1218
|
+
"aliases": [],
|
|
1219
|
+
"args": {},
|
|
1220
|
+
"description": "Get the current default profile name",
|
|
1221
|
+
"examples": [
|
|
1222
|
+
"$ xano profile get\nproduction\n"
|
|
1223
|
+
],
|
|
1224
|
+
"flags": {},
|
|
1225
|
+
"hasDynamicHelp": false,
|
|
1226
|
+
"hiddenAliases": [],
|
|
1227
|
+
"id": "profile:get",
|
|
1228
|
+
"pluginAlias": "@xano/cli",
|
|
1229
|
+
"pluginName": "@xano/cli",
|
|
1230
|
+
"pluginType": "core",
|
|
1231
|
+
"strict": true,
|
|
1232
|
+
"enableJsonFlag": false,
|
|
1233
|
+
"isESM": true,
|
|
1234
|
+
"relativePath": [
|
|
1235
|
+
"dist",
|
|
1236
|
+
"commands",
|
|
1237
|
+
"profile",
|
|
1238
|
+
"get",
|
|
1239
|
+
"index.js"
|
|
1240
|
+
]
|
|
1241
|
+
},
|
|
1242
|
+
"profile:delete": {
|
|
1243
|
+
"aliases": [],
|
|
1244
|
+
"args": {
|
|
1245
|
+
"name": {
|
|
1246
|
+
"description": "Profile name to delete",
|
|
1247
|
+
"name": "name",
|
|
1248
|
+
"required": true
|
|
1249
|
+
}
|
|
1250
|
+
},
|
|
1251
|
+
"description": "Delete a profile configuration",
|
|
1252
|
+
"examples": [
|
|
1253
|
+
"$ 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",
|
|
1254
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1255
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1256
|
+
],
|
|
1257
|
+
"flags": {
|
|
1258
|
+
"force": {
|
|
1259
|
+
"char": "f",
|
|
1260
|
+
"description": "Skip confirmation prompt",
|
|
1261
|
+
"name": "force",
|
|
1262
|
+
"required": false,
|
|
1263
|
+
"allowNo": false,
|
|
1264
|
+
"type": "boolean"
|
|
1265
|
+
}
|
|
1266
|
+
},
|
|
1267
|
+
"hasDynamicHelp": false,
|
|
1268
|
+
"hiddenAliases": [],
|
|
1269
|
+
"id": "profile:delete",
|
|
1270
|
+
"pluginAlias": "@xano/cli",
|
|
1271
|
+
"pluginName": "@xano/cli",
|
|
1272
|
+
"pluginType": "core",
|
|
1273
|
+
"strict": true,
|
|
1274
|
+
"enableJsonFlag": false,
|
|
1275
|
+
"isESM": true,
|
|
1276
|
+
"relativePath": [
|
|
1277
|
+
"dist",
|
|
1278
|
+
"commands",
|
|
1279
|
+
"profile",
|
|
1280
|
+
"delete",
|
|
1281
|
+
"index.js"
|
|
1282
|
+
]
|
|
1283
|
+
},
|
|
1130
1284
|
"profile:edit": {
|
|
1131
1285
|
"aliases": [],
|
|
1132
1286
|
"args": {
|
|
@@ -1257,31 +1411,6 @@
|
|
|
1257
1411
|
"index.js"
|
|
1258
1412
|
]
|
|
1259
1413
|
},
|
|
1260
|
-
"profile:get": {
|
|
1261
|
-
"aliases": [],
|
|
1262
|
-
"args": {},
|
|
1263
|
-
"description": "Get the current default profile name",
|
|
1264
|
-
"examples": [
|
|
1265
|
-
"$ xano profile get\nproduction\n"
|
|
1266
|
-
],
|
|
1267
|
-
"flags": {},
|
|
1268
|
-
"hasDynamicHelp": false,
|
|
1269
|
-
"hiddenAliases": [],
|
|
1270
|
-
"id": "profile:get",
|
|
1271
|
-
"pluginAlias": "@xano/cli",
|
|
1272
|
-
"pluginName": "@xano/cli",
|
|
1273
|
-
"pluginType": "core",
|
|
1274
|
-
"strict": true,
|
|
1275
|
-
"enableJsonFlag": false,
|
|
1276
|
-
"isESM": true,
|
|
1277
|
-
"relativePath": [
|
|
1278
|
-
"dist",
|
|
1279
|
-
"commands",
|
|
1280
|
-
"profile",
|
|
1281
|
-
"get",
|
|
1282
|
-
"index.js"
|
|
1283
|
-
]
|
|
1284
|
-
},
|
|
1285
1414
|
"profile:list": {
|
|
1286
1415
|
"aliases": [],
|
|
1287
1416
|
"args": {},
|
|
@@ -1318,81 +1447,19 @@
|
|
|
1318
1447
|
"index.js"
|
|
1319
1448
|
]
|
|
1320
1449
|
},
|
|
1321
|
-
"
|
|
1322
|
-
"aliases": [],
|
|
1323
|
-
"args": {},
|
|
1324
|
-
"description": "Get information about the currently authenticated user",
|
|
1325
|
-
"examples": [
|
|
1326
|
-
"$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
|
|
1327
|
-
"$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
|
|
1328
|
-
"$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
|
|
1329
|
-
],
|
|
1330
|
-
"flags": {
|
|
1331
|
-
"profile": {
|
|
1332
|
-
"char": "p",
|
|
1333
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1334
|
-
"env": "XANO_PROFILE",
|
|
1335
|
-
"name": "profile",
|
|
1336
|
-
"required": false,
|
|
1337
|
-
"hasDynamicHelp": false,
|
|
1338
|
-
"multiple": false,
|
|
1339
|
-
"type": "option"
|
|
1340
|
-
},
|
|
1341
|
-
"verbose": {
|
|
1342
|
-
"char": "v",
|
|
1343
|
-
"description": "Show detailed request/response information",
|
|
1344
|
-
"env": "XANO_VERBOSE",
|
|
1345
|
-
"name": "verbose",
|
|
1346
|
-
"required": false,
|
|
1347
|
-
"allowNo": false,
|
|
1348
|
-
"type": "boolean"
|
|
1349
|
-
},
|
|
1350
|
-
"output": {
|
|
1351
|
-
"char": "o",
|
|
1352
|
-
"description": "Output format",
|
|
1353
|
-
"name": "output",
|
|
1354
|
-
"required": false,
|
|
1355
|
-
"default": "summary",
|
|
1356
|
-
"hasDynamicHelp": false,
|
|
1357
|
-
"multiple": false,
|
|
1358
|
-
"options": [
|
|
1359
|
-
"summary",
|
|
1360
|
-
"json"
|
|
1361
|
-
],
|
|
1362
|
-
"type": "option"
|
|
1363
|
-
}
|
|
1364
|
-
},
|
|
1365
|
-
"hasDynamicHelp": false,
|
|
1366
|
-
"hiddenAliases": [],
|
|
1367
|
-
"id": "profile:me",
|
|
1368
|
-
"pluginAlias": "@xano/cli",
|
|
1369
|
-
"pluginName": "@xano/cli",
|
|
1370
|
-
"pluginType": "core",
|
|
1371
|
-
"strict": true,
|
|
1372
|
-
"enableJsonFlag": false,
|
|
1373
|
-
"isESM": true,
|
|
1374
|
-
"relativePath": [
|
|
1375
|
-
"dist",
|
|
1376
|
-
"commands",
|
|
1377
|
-
"profile",
|
|
1378
|
-
"me",
|
|
1379
|
-
"index.js"
|
|
1380
|
-
]
|
|
1381
|
-
},
|
|
1382
|
-
"branch:get": {
|
|
1450
|
+
"platform:get": {
|
|
1383
1451
|
"aliases": [],
|
|
1384
1452
|
"args": {
|
|
1385
|
-
"
|
|
1386
|
-
"description": "
|
|
1387
|
-
"name": "
|
|
1453
|
+
"platform_id": {
|
|
1454
|
+
"description": "Platform ID to retrieve",
|
|
1455
|
+
"name": "platform_id",
|
|
1388
1456
|
"required": true
|
|
1389
1457
|
}
|
|
1390
1458
|
},
|
|
1391
|
-
"description": "Get details
|
|
1459
|
+
"description": "Get details of a specific platform",
|
|
1392
1460
|
"examples": [
|
|
1393
|
-
"$ xano
|
|
1394
|
-
"$ xano
|
|
1395
|
-
"$ xano branch get staging --output json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
1461
|
+
"$ 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",
|
|
1462
|
+
"$ xano platform get 23629 -o json"
|
|
1396
1463
|
],
|
|
1397
1464
|
"flags": {
|
|
1398
1465
|
"profile": {
|
|
@@ -1427,20 +1494,11 @@
|
|
|
1427
1494
|
"json"
|
|
1428
1495
|
],
|
|
1429
1496
|
"type": "option"
|
|
1430
|
-
},
|
|
1431
|
-
"workspace": {
|
|
1432
|
-
"char": "w",
|
|
1433
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1434
|
-
"name": "workspace",
|
|
1435
|
-
"required": false,
|
|
1436
|
-
"hasDynamicHelp": false,
|
|
1437
|
-
"multiple": false,
|
|
1438
|
-
"type": "option"
|
|
1439
1497
|
}
|
|
1440
1498
|
},
|
|
1441
1499
|
"hasDynamicHelp": false,
|
|
1442
1500
|
"hiddenAliases": [],
|
|
1443
|
-
"id": "
|
|
1501
|
+
"id": "platform:get",
|
|
1444
1502
|
"pluginAlias": "@xano/cli",
|
|
1445
1503
|
"pluginName": "@xano/cli",
|
|
1446
1504
|
"pluginType": "core",
|
|
@@ -1450,7 +1508,7 @@
|
|
|
1450
1508
|
"relativePath": [
|
|
1451
1509
|
"dist",
|
|
1452
1510
|
"commands",
|
|
1453
|
-
"
|
|
1511
|
+
"platform",
|
|
1454
1512
|
"get",
|
|
1455
1513
|
"index.js"
|
|
1456
1514
|
]
|
|
@@ -1476,61 +1534,19 @@
|
|
|
1476
1534
|
"relativePath": [
|
|
1477
1535
|
"dist",
|
|
1478
1536
|
"commands",
|
|
1479
|
-
"profile",
|
|
1480
|
-
"token",
|
|
1481
|
-
"index.js"
|
|
1482
|
-
]
|
|
1483
|
-
},
|
|
1484
|
-
"profile:
|
|
1485
|
-
"aliases": [],
|
|
1486
|
-
"args": {
|
|
1487
|
-
|
|
1488
|
-
"description": "Profile name to set as default",
|
|
1489
|
-
"name": "name",
|
|
1490
|
-
"required": true
|
|
1491
|
-
}
|
|
1492
|
-
},
|
|
1493
|
-
"description": "Set the default profile",
|
|
1494
|
-
"examples": [
|
|
1495
|
-
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1496
|
-
],
|
|
1497
|
-
"flags": {},
|
|
1498
|
-
"hasDynamicHelp": false,
|
|
1499
|
-
"hiddenAliases": [],
|
|
1500
|
-
"id": "profile:set",
|
|
1501
|
-
"pluginAlias": "@xano/cli",
|
|
1502
|
-
"pluginName": "@xano/cli",
|
|
1503
|
-
"pluginType": "core",
|
|
1504
|
-
"strict": true,
|
|
1505
|
-
"enableJsonFlag": false,
|
|
1506
|
-
"isESM": true,
|
|
1507
|
-
"relativePath": [
|
|
1508
|
-
"dist",
|
|
1509
|
-
"commands",
|
|
1510
|
-
"profile",
|
|
1511
|
-
"set",
|
|
1512
|
-
"index.js"
|
|
1513
|
-
]
|
|
1514
|
-
},
|
|
1515
|
-
"function:edit": {
|
|
1516
|
-
"aliases": [],
|
|
1517
|
-
"args": {
|
|
1518
|
-
"function_id": {
|
|
1519
|
-
"description": "Function ID to edit",
|
|
1520
|
-
"name": "function_id",
|
|
1521
|
-
"required": false
|
|
1522
|
-
}
|
|
1523
|
-
},
|
|
1524
|
-
"description": "Edit a function in a workspace",
|
|
1537
|
+
"profile",
|
|
1538
|
+
"token",
|
|
1539
|
+
"index.js"
|
|
1540
|
+
]
|
|
1541
|
+
},
|
|
1542
|
+
"profile:me": {
|
|
1543
|
+
"aliases": [],
|
|
1544
|
+
"args": {},
|
|
1545
|
+
"description": "Get information about the currently authenticated user",
|
|
1525
1546
|
"examples": [
|
|
1526
|
-
"$ xano
|
|
1527
|
-
"$ xano
|
|
1528
|
-
"$ xano
|
|
1529
|
-
"$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
1530
|
-
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
1531
|
-
"$ xano function:edit 163 -f function.xs --edit\n# Opens function.xs in $EDITOR, then updates function with edited content\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
1532
|
-
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
1533
|
-
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
1547
|
+
"$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
|
|
1548
|
+
"$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
|
|
1549
|
+
"$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
|
|
1534
1550
|
],
|
|
1535
1551
|
"flags": {
|
|
1536
1552
|
"profile": {
|
|
@@ -1552,26 +1568,6 @@
|
|
|
1552
1568
|
"allowNo": false,
|
|
1553
1569
|
"type": "boolean"
|
|
1554
1570
|
},
|
|
1555
|
-
"edit": {
|
|
1556
|
-
"char": "e",
|
|
1557
|
-
"description": "Open file in editor before updating function (requires --file)",
|
|
1558
|
-
"name": "edit",
|
|
1559
|
-
"required": false,
|
|
1560
|
-
"allowNo": false,
|
|
1561
|
-
"type": "boolean"
|
|
1562
|
-
},
|
|
1563
|
-
"file": {
|
|
1564
|
-
"char": "f",
|
|
1565
|
-
"description": "Path to file containing XanoScript code",
|
|
1566
|
-
"exclusive": [
|
|
1567
|
-
"stdin"
|
|
1568
|
-
],
|
|
1569
|
-
"name": "file",
|
|
1570
|
-
"required": false,
|
|
1571
|
-
"hasDynamicHelp": false,
|
|
1572
|
-
"multiple": false,
|
|
1573
|
-
"type": "option"
|
|
1574
|
-
},
|
|
1575
1571
|
"output": {
|
|
1576
1572
|
"char": "o",
|
|
1577
1573
|
"description": "Output format",
|
|
@@ -1585,30 +1581,56 @@
|
|
|
1585
1581
|
"json"
|
|
1586
1582
|
],
|
|
1587
1583
|
"type": "option"
|
|
1588
|
-
}
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1584
|
+
}
|
|
1585
|
+
},
|
|
1586
|
+
"hasDynamicHelp": false,
|
|
1587
|
+
"hiddenAliases": [],
|
|
1588
|
+
"id": "profile:me",
|
|
1589
|
+
"pluginAlias": "@xano/cli",
|
|
1590
|
+
"pluginName": "@xano/cli",
|
|
1591
|
+
"pluginType": "core",
|
|
1592
|
+
"strict": true,
|
|
1593
|
+
"enableJsonFlag": false,
|
|
1594
|
+
"isESM": true,
|
|
1595
|
+
"relativePath": [
|
|
1596
|
+
"dist",
|
|
1597
|
+
"commands",
|
|
1598
|
+
"profile",
|
|
1599
|
+
"me",
|
|
1600
|
+
"index.js"
|
|
1601
|
+
]
|
|
1602
|
+
},
|
|
1603
|
+
"profile:wizard": {
|
|
1604
|
+
"aliases": [],
|
|
1605
|
+
"args": {},
|
|
1606
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
1607
|
+
"examples": [
|
|
1608
|
+
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
1609
|
+
],
|
|
1610
|
+
"flags": {
|
|
1611
|
+
"insecure": {
|
|
1612
|
+
"char": "k",
|
|
1613
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1614
|
+
"name": "insecure",
|
|
1592
1615
|
"required": false,
|
|
1593
1616
|
"allowNo": false,
|
|
1594
1617
|
"type": "boolean"
|
|
1595
1618
|
},
|
|
1596
|
-
"
|
|
1597
|
-
"char": "
|
|
1598
|
-
"description": "
|
|
1599
|
-
"
|
|
1600
|
-
"file"
|
|
1601
|
-
],
|
|
1602
|
-
"name": "stdin",
|
|
1619
|
+
"name": {
|
|
1620
|
+
"char": "n",
|
|
1621
|
+
"description": "Profile name (skip prompt if provided)",
|
|
1622
|
+
"name": "name",
|
|
1603
1623
|
"required": false,
|
|
1604
|
-
"
|
|
1605
|
-
"
|
|
1624
|
+
"hasDynamicHelp": false,
|
|
1625
|
+
"multiple": false,
|
|
1626
|
+
"type": "option"
|
|
1606
1627
|
},
|
|
1607
|
-
"
|
|
1608
|
-
"char": "
|
|
1609
|
-
"description": "
|
|
1610
|
-
"name": "
|
|
1628
|
+
"origin": {
|
|
1629
|
+
"char": "o",
|
|
1630
|
+
"description": "Xano instance origin URL",
|
|
1631
|
+
"name": "origin",
|
|
1611
1632
|
"required": false,
|
|
1633
|
+
"default": "https://app.xano.com",
|
|
1612
1634
|
"hasDynamicHelp": false,
|
|
1613
1635
|
"multiple": false,
|
|
1614
1636
|
"type": "option"
|
|
@@ -1616,7 +1638,7 @@
|
|
|
1616
1638
|
},
|
|
1617
1639
|
"hasDynamicHelp": false,
|
|
1618
1640
|
"hiddenAliases": [],
|
|
1619
|
-
"id": "
|
|
1641
|
+
"id": "profile:wizard",
|
|
1620
1642
|
"pluginAlias": "@xano/cli",
|
|
1621
1643
|
"pluginName": "@xano/cli",
|
|
1622
1644
|
"pluginType": "core",
|
|
@@ -1626,8 +1648,8 @@
|
|
|
1626
1648
|
"relativePath": [
|
|
1627
1649
|
"dist",
|
|
1628
1650
|
"commands",
|
|
1629
|
-
"
|
|
1630
|
-
"
|
|
1651
|
+
"profile",
|
|
1652
|
+
"wizard",
|
|
1631
1653
|
"index.js"
|
|
1632
1654
|
]
|
|
1633
1655
|
},
|
|
@@ -1768,6 +1790,126 @@
|
|
|
1768
1790
|
"index.js"
|
|
1769
1791
|
]
|
|
1770
1792
|
},
|
|
1793
|
+
"static_host:list": {
|
|
1794
|
+
"aliases": [],
|
|
1795
|
+
"args": {},
|
|
1796
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
1797
|
+
"examples": [
|
|
1798
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1799
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1800
|
+
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
1801
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
1802
|
+
],
|
|
1803
|
+
"flags": {
|
|
1804
|
+
"profile": {
|
|
1805
|
+
"char": "p",
|
|
1806
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1807
|
+
"env": "XANO_PROFILE",
|
|
1808
|
+
"name": "profile",
|
|
1809
|
+
"required": false,
|
|
1810
|
+
"hasDynamicHelp": false,
|
|
1811
|
+
"multiple": false,
|
|
1812
|
+
"type": "option"
|
|
1813
|
+
},
|
|
1814
|
+
"verbose": {
|
|
1815
|
+
"char": "v",
|
|
1816
|
+
"description": "Show detailed request/response information",
|
|
1817
|
+
"env": "XANO_VERBOSE",
|
|
1818
|
+
"name": "verbose",
|
|
1819
|
+
"required": false,
|
|
1820
|
+
"allowNo": false,
|
|
1821
|
+
"type": "boolean"
|
|
1822
|
+
},
|
|
1823
|
+
"output": {
|
|
1824
|
+
"char": "o",
|
|
1825
|
+
"description": "Output format",
|
|
1826
|
+
"name": "output",
|
|
1827
|
+
"required": false,
|
|
1828
|
+
"default": "summary",
|
|
1829
|
+
"hasDynamicHelp": false,
|
|
1830
|
+
"multiple": false,
|
|
1831
|
+
"options": [
|
|
1832
|
+
"summary",
|
|
1833
|
+
"json"
|
|
1834
|
+
],
|
|
1835
|
+
"type": "option"
|
|
1836
|
+
},
|
|
1837
|
+
"page": {
|
|
1838
|
+
"description": "Page number for pagination",
|
|
1839
|
+
"name": "page",
|
|
1840
|
+
"required": false,
|
|
1841
|
+
"default": 1,
|
|
1842
|
+
"hasDynamicHelp": false,
|
|
1843
|
+
"multiple": false,
|
|
1844
|
+
"type": "option"
|
|
1845
|
+
},
|
|
1846
|
+
"per_page": {
|
|
1847
|
+
"description": "Number of results per page",
|
|
1848
|
+
"name": "per_page",
|
|
1849
|
+
"required": false,
|
|
1850
|
+
"default": 50,
|
|
1851
|
+
"hasDynamicHelp": false,
|
|
1852
|
+
"multiple": false,
|
|
1853
|
+
"type": "option"
|
|
1854
|
+
},
|
|
1855
|
+
"workspace": {
|
|
1856
|
+
"char": "w",
|
|
1857
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1858
|
+
"name": "workspace",
|
|
1859
|
+
"required": false,
|
|
1860
|
+
"hasDynamicHelp": false,
|
|
1861
|
+
"multiple": false,
|
|
1862
|
+
"type": "option"
|
|
1863
|
+
}
|
|
1864
|
+
},
|
|
1865
|
+
"hasDynamicHelp": false,
|
|
1866
|
+
"hiddenAliases": [],
|
|
1867
|
+
"id": "static_host:list",
|
|
1868
|
+
"pluginAlias": "@xano/cli",
|
|
1869
|
+
"pluginName": "@xano/cli",
|
|
1870
|
+
"pluginType": "core",
|
|
1871
|
+
"strict": true,
|
|
1872
|
+
"enableJsonFlag": false,
|
|
1873
|
+
"isESM": true,
|
|
1874
|
+
"relativePath": [
|
|
1875
|
+
"dist",
|
|
1876
|
+
"commands",
|
|
1877
|
+
"static_host",
|
|
1878
|
+
"list",
|
|
1879
|
+
"index.js"
|
|
1880
|
+
]
|
|
1881
|
+
},
|
|
1882
|
+
"profile:set": {
|
|
1883
|
+
"aliases": [],
|
|
1884
|
+
"args": {
|
|
1885
|
+
"name": {
|
|
1886
|
+
"description": "Profile name to set as default",
|
|
1887
|
+
"name": "name",
|
|
1888
|
+
"required": true
|
|
1889
|
+
}
|
|
1890
|
+
},
|
|
1891
|
+
"description": "Set the default profile",
|
|
1892
|
+
"examples": [
|
|
1893
|
+
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1894
|
+
],
|
|
1895
|
+
"flags": {},
|
|
1896
|
+
"hasDynamicHelp": false,
|
|
1897
|
+
"hiddenAliases": [],
|
|
1898
|
+
"id": "profile:set",
|
|
1899
|
+
"pluginAlias": "@xano/cli",
|
|
1900
|
+
"pluginName": "@xano/cli",
|
|
1901
|
+
"pluginType": "core",
|
|
1902
|
+
"strict": true,
|
|
1903
|
+
"enableJsonFlag": false,
|
|
1904
|
+
"isESM": true,
|
|
1905
|
+
"relativePath": [
|
|
1906
|
+
"dist",
|
|
1907
|
+
"commands",
|
|
1908
|
+
"profile",
|
|
1909
|
+
"set",
|
|
1910
|
+
"index.js"
|
|
1911
|
+
]
|
|
1912
|
+
},
|
|
1771
1913
|
"release:delete": {
|
|
1772
1914
|
"aliases": [],
|
|
1773
1915
|
"args": {
|
|
@@ -1852,20 +1994,19 @@
|
|
|
1852
1994
|
"index.js"
|
|
1853
1995
|
]
|
|
1854
1996
|
},
|
|
1855
|
-
"release:
|
|
1997
|
+
"release:edit": {
|
|
1856
1998
|
"aliases": [],
|
|
1857
1999
|
"args": {
|
|
1858
2000
|
"release_name": {
|
|
1859
|
-
"description": "Release name to
|
|
2001
|
+
"description": "Release name to edit",
|
|
1860
2002
|
"name": "release_name",
|
|
1861
2003
|
"required": true
|
|
1862
2004
|
}
|
|
1863
2005
|
},
|
|
1864
|
-
"description": "
|
|
2006
|
+
"description": "Edit an existing release",
|
|
1865
2007
|
"examples": [
|
|
1866
|
-
"$ xano release
|
|
1867
|
-
"$ xano release
|
|
1868
|
-
"$ xano release export v1.0 -o json"
|
|
2008
|
+
"$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
|
|
2009
|
+
"$ xano release edit v1.0 --description \"New description\" -o json"
|
|
1869
2010
|
],
|
|
1870
2011
|
"flags": {
|
|
1871
2012
|
"profile": {
|
|
@@ -1887,10 +2028,28 @@
|
|
|
1887
2028
|
"allowNo": false,
|
|
1888
2029
|
"type": "boolean"
|
|
1889
2030
|
},
|
|
1890
|
-
"
|
|
2031
|
+
"description": {
|
|
2032
|
+
"char": "d",
|
|
2033
|
+
"description": "New description",
|
|
2034
|
+
"name": "description",
|
|
2035
|
+
"required": false,
|
|
2036
|
+
"hasDynamicHelp": false,
|
|
2037
|
+
"multiple": false,
|
|
2038
|
+
"type": "option"
|
|
2039
|
+
},
|
|
2040
|
+
"name": {
|
|
2041
|
+
"char": "n",
|
|
2042
|
+
"description": "New name for the release",
|
|
2043
|
+
"name": "name",
|
|
2044
|
+
"required": false,
|
|
2045
|
+
"hasDynamicHelp": false,
|
|
2046
|
+
"multiple": false,
|
|
2047
|
+
"type": "option"
|
|
2048
|
+
},
|
|
2049
|
+
"output": {
|
|
1891
2050
|
"char": "o",
|
|
1892
2051
|
"description": "Output format",
|
|
1893
|
-
"name": "
|
|
2052
|
+
"name": "output",
|
|
1894
2053
|
"required": false,
|
|
1895
2054
|
"default": "summary",
|
|
1896
2055
|
"hasDynamicHelp": false,
|
|
@@ -1901,14 +2060,6 @@
|
|
|
1901
2060
|
],
|
|
1902
2061
|
"type": "option"
|
|
1903
2062
|
},
|
|
1904
|
-
"output": {
|
|
1905
|
-
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
1906
|
-
"name": "output",
|
|
1907
|
-
"required": false,
|
|
1908
|
-
"hasDynamicHelp": false,
|
|
1909
|
-
"multiple": false,
|
|
1910
|
-
"type": "option"
|
|
1911
|
-
},
|
|
1912
2063
|
"workspace": {
|
|
1913
2064
|
"char": "w",
|
|
1914
2065
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -1921,7 +2072,7 @@
|
|
|
1921
2072
|
},
|
|
1922
2073
|
"hasDynamicHelp": false,
|
|
1923
2074
|
"hiddenAliases": [],
|
|
1924
|
-
"id": "release:
|
|
2075
|
+
"id": "release:edit",
|
|
1925
2076
|
"pluginAlias": "@xano/cli",
|
|
1926
2077
|
"pluginName": "@xano/cli",
|
|
1927
2078
|
"pluginType": "core",
|
|
@@ -1932,23 +2083,24 @@
|
|
|
1932
2083
|
"dist",
|
|
1933
2084
|
"commands",
|
|
1934
2085
|
"release",
|
|
1935
|
-
"
|
|
2086
|
+
"edit",
|
|
1936
2087
|
"index.js"
|
|
1937
2088
|
]
|
|
1938
2089
|
},
|
|
1939
|
-
"release:
|
|
2090
|
+
"release:export": {
|
|
1940
2091
|
"aliases": [],
|
|
1941
2092
|
"args": {
|
|
1942
2093
|
"release_name": {
|
|
1943
|
-
"description": "Release name to
|
|
2094
|
+
"description": "Release name to export",
|
|
1944
2095
|
"name": "release_name",
|
|
1945
2096
|
"required": true
|
|
1946
2097
|
}
|
|
1947
2098
|
},
|
|
1948
|
-
"description": "
|
|
2099
|
+
"description": "Export (download) a release to a local file",
|
|
1949
2100
|
"examples": [
|
|
1950
|
-
"$ xano release
|
|
1951
|
-
"$ xano release
|
|
2101
|
+
"$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
|
|
2102
|
+
"$ xano release export v1.0 --output ./backups/my-release.tar.gz",
|
|
2103
|
+
"$ xano release export v1.0 -o json"
|
|
1952
2104
|
],
|
|
1953
2105
|
"flags": {
|
|
1954
2106
|
"profile": {
|
|
@@ -1970,28 +2122,10 @@
|
|
|
1970
2122
|
"allowNo": false,
|
|
1971
2123
|
"type": "boolean"
|
|
1972
2124
|
},
|
|
1973
|
-
"
|
|
1974
|
-
"char": "d",
|
|
1975
|
-
"description": "New description",
|
|
1976
|
-
"name": "description",
|
|
1977
|
-
"required": false,
|
|
1978
|
-
"hasDynamicHelp": false,
|
|
1979
|
-
"multiple": false,
|
|
1980
|
-
"type": "option"
|
|
1981
|
-
},
|
|
1982
|
-
"name": {
|
|
1983
|
-
"char": "n",
|
|
1984
|
-
"description": "New name for the release",
|
|
1985
|
-
"name": "name",
|
|
1986
|
-
"required": false,
|
|
1987
|
-
"hasDynamicHelp": false,
|
|
1988
|
-
"multiple": false,
|
|
1989
|
-
"type": "option"
|
|
1990
|
-
},
|
|
1991
|
-
"output": {
|
|
2125
|
+
"format": {
|
|
1992
2126
|
"char": "o",
|
|
1993
2127
|
"description": "Output format",
|
|
1994
|
-
"name": "
|
|
2128
|
+
"name": "format",
|
|
1995
2129
|
"required": false,
|
|
1996
2130
|
"default": "summary",
|
|
1997
2131
|
"hasDynamicHelp": false,
|
|
@@ -2002,6 +2136,14 @@
|
|
|
2002
2136
|
],
|
|
2003
2137
|
"type": "option"
|
|
2004
2138
|
},
|
|
2139
|
+
"output": {
|
|
2140
|
+
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
2141
|
+
"name": "output",
|
|
2142
|
+
"required": false,
|
|
2143
|
+
"hasDynamicHelp": false,
|
|
2144
|
+
"multiple": false,
|
|
2145
|
+
"type": "option"
|
|
2146
|
+
},
|
|
2005
2147
|
"workspace": {
|
|
2006
2148
|
"char": "w",
|
|
2007
2149
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2014,7 +2156,7 @@
|
|
|
2014
2156
|
},
|
|
2015
2157
|
"hasDynamicHelp": false,
|
|
2016
2158
|
"hiddenAliases": [],
|
|
2017
|
-
"id": "release:
|
|
2159
|
+
"id": "release:export",
|
|
2018
2160
|
"pluginAlias": "@xano/cli",
|
|
2019
2161
|
"pluginName": "@xano/cli",
|
|
2020
2162
|
"pluginType": "core",
|
|
@@ -2025,17 +2167,17 @@
|
|
|
2025
2167
|
"dist",
|
|
2026
2168
|
"commands",
|
|
2027
2169
|
"release",
|
|
2028
|
-
"
|
|
2170
|
+
"export",
|
|
2029
2171
|
"index.js"
|
|
2030
2172
|
]
|
|
2031
2173
|
},
|
|
2032
|
-
"release:
|
|
2174
|
+
"release:list": {
|
|
2033
2175
|
"aliases": [],
|
|
2034
2176
|
"args": {},
|
|
2035
|
-
"description": "
|
|
2177
|
+
"description": "List all releases in a workspace",
|
|
2036
2178
|
"examples": [
|
|
2037
|
-
"$ xano release
|
|
2038
|
-
"$ xano release
|
|
2179
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2180
|
+
"$ xano release list -w 5 --output json"
|
|
2039
2181
|
],
|
|
2040
2182
|
"flags": {
|
|
2041
2183
|
"profile": {
|
|
@@ -2057,15 +2199,6 @@
|
|
|
2057
2199
|
"allowNo": false,
|
|
2058
2200
|
"type": "boolean"
|
|
2059
2201
|
},
|
|
2060
|
-
"file": {
|
|
2061
|
-
"char": "f",
|
|
2062
|
-
"description": "Path to the release file (.tar.gz)",
|
|
2063
|
-
"name": "file",
|
|
2064
|
-
"required": true,
|
|
2065
|
-
"hasDynamicHelp": false,
|
|
2066
|
-
"multiple": false,
|
|
2067
|
-
"type": "option"
|
|
2068
|
-
},
|
|
2069
2202
|
"output": {
|
|
2070
2203
|
"char": "o",
|
|
2071
2204
|
"description": "Output format",
|
|
@@ -2092,7 +2225,7 @@
|
|
|
2092
2225
|
},
|
|
2093
2226
|
"hasDynamicHelp": false,
|
|
2094
2227
|
"hiddenAliases": [],
|
|
2095
|
-
"id": "release:
|
|
2228
|
+
"id": "release:list",
|
|
2096
2229
|
"pluginAlias": "@xano/cli",
|
|
2097
2230
|
"pluginName": "@xano/cli",
|
|
2098
2231
|
"pluginType": "core",
|
|
@@ -2103,7 +2236,7 @@
|
|
|
2103
2236
|
"dist",
|
|
2104
2237
|
"commands",
|
|
2105
2238
|
"release",
|
|
2106
|
-
"
|
|
2239
|
+
"list",
|
|
2107
2240
|
"index.js"
|
|
2108
2241
|
]
|
|
2109
2242
|
},
|
|
@@ -2182,13 +2315,13 @@
|
|
|
2182
2315
|
"index.js"
|
|
2183
2316
|
]
|
|
2184
2317
|
},
|
|
2185
|
-
"release:
|
|
2318
|
+
"release:import": {
|
|
2186
2319
|
"aliases": [],
|
|
2187
2320
|
"args": {},
|
|
2188
|
-
"description": "
|
|
2321
|
+
"description": "Import a release file into a workspace",
|
|
2189
2322
|
"examples": [
|
|
2190
|
-
"$ xano release
|
|
2191
|
-
"$ xano release
|
|
2323
|
+
"$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
|
|
2324
|
+
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2192
2325
|
],
|
|
2193
2326
|
"flags": {
|
|
2194
2327
|
"profile": {
|
|
@@ -2210,6 +2343,15 @@
|
|
|
2210
2343
|
"allowNo": false,
|
|
2211
2344
|
"type": "boolean"
|
|
2212
2345
|
},
|
|
2346
|
+
"file": {
|
|
2347
|
+
"char": "f",
|
|
2348
|
+
"description": "Path to the release file (.tar.gz)",
|
|
2349
|
+
"name": "file",
|
|
2350
|
+
"required": true,
|
|
2351
|
+
"hasDynamicHelp": false,
|
|
2352
|
+
"multiple": false,
|
|
2353
|
+
"type": "option"
|
|
2354
|
+
},
|
|
2213
2355
|
"output": {
|
|
2214
2356
|
"char": "o",
|
|
2215
2357
|
"description": "Output format",
|
|
@@ -2236,7 +2378,7 @@
|
|
|
2236
2378
|
},
|
|
2237
2379
|
"hasDynamicHelp": false,
|
|
2238
2380
|
"hiddenAliases": [],
|
|
2239
|
-
"id": "release:
|
|
2381
|
+
"id": "release:import",
|
|
2240
2382
|
"pluginAlias": "@xano/cli",
|
|
2241
2383
|
"pluginName": "@xano/cli",
|
|
2242
2384
|
"pluginType": "core",
|
|
@@ -2247,41 +2389,106 @@
|
|
|
2247
2389
|
"dist",
|
|
2248
2390
|
"commands",
|
|
2249
2391
|
"release",
|
|
2250
|
-
"
|
|
2392
|
+
"import",
|
|
2251
2393
|
"index.js"
|
|
2252
2394
|
]
|
|
2253
2395
|
},
|
|
2254
|
-
"
|
|
2396
|
+
"release:push": {
|
|
2255
2397
|
"aliases": [],
|
|
2256
|
-
"args": {
|
|
2257
|
-
|
|
2398
|
+
"args": {
|
|
2399
|
+
"directory": {
|
|
2400
|
+
"description": "Directory containing .xs documents to create the release from",
|
|
2401
|
+
"name": "directory",
|
|
2402
|
+
"required": true
|
|
2403
|
+
}
|
|
2404
|
+
},
|
|
2405
|
+
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2258
2406
|
"examples": [
|
|
2259
|
-
"$ xano
|
|
2407
|
+
"$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
|
|
2408
|
+
"$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
|
|
2409
|
+
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2410
|
+
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2411
|
+
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2260
2412
|
],
|
|
2261
2413
|
"flags": {
|
|
2262
|
-
"
|
|
2263
|
-
"char": "
|
|
2264
|
-
"description": "
|
|
2265
|
-
"
|
|
2414
|
+
"profile": {
|
|
2415
|
+
"char": "p",
|
|
2416
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2417
|
+
"env": "XANO_PROFILE",
|
|
2418
|
+
"name": "profile",
|
|
2419
|
+
"required": false,
|
|
2420
|
+
"hasDynamicHelp": false,
|
|
2421
|
+
"multiple": false,
|
|
2422
|
+
"type": "option"
|
|
2423
|
+
},
|
|
2424
|
+
"verbose": {
|
|
2425
|
+
"char": "v",
|
|
2426
|
+
"description": "Show detailed request/response information",
|
|
2427
|
+
"env": "XANO_VERBOSE",
|
|
2428
|
+
"name": "verbose",
|
|
2429
|
+
"required": false,
|
|
2430
|
+
"allowNo": false,
|
|
2431
|
+
"type": "boolean"
|
|
2432
|
+
},
|
|
2433
|
+
"description": {
|
|
2434
|
+
"char": "d",
|
|
2435
|
+
"description": "Release description",
|
|
2436
|
+
"name": "description",
|
|
2437
|
+
"required": false,
|
|
2438
|
+
"default": "",
|
|
2439
|
+
"hasDynamicHelp": false,
|
|
2440
|
+
"multiple": false,
|
|
2441
|
+
"type": "option"
|
|
2442
|
+
},
|
|
2443
|
+
"env": {
|
|
2444
|
+
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2445
|
+
"name": "env",
|
|
2446
|
+
"required": false,
|
|
2447
|
+
"allowNo": true,
|
|
2448
|
+
"type": "boolean"
|
|
2449
|
+
},
|
|
2450
|
+
"hotfix": {
|
|
2451
|
+
"description": "Mark as a hotfix release",
|
|
2452
|
+
"name": "hotfix",
|
|
2266
2453
|
"required": false,
|
|
2267
2454
|
"allowNo": false,
|
|
2268
2455
|
"type": "boolean"
|
|
2269
2456
|
},
|
|
2270
2457
|
"name": {
|
|
2271
2458
|
"char": "n",
|
|
2272
|
-
"description": "
|
|
2459
|
+
"description": "Name for the release",
|
|
2273
2460
|
"name": "name",
|
|
2274
|
-
"required":
|
|
2461
|
+
"required": true,
|
|
2275
2462
|
"hasDynamicHelp": false,
|
|
2276
2463
|
"multiple": false,
|
|
2277
2464
|
"type": "option"
|
|
2278
2465
|
},
|
|
2279
|
-
"
|
|
2466
|
+
"output": {
|
|
2280
2467
|
"char": "o",
|
|
2281
|
-
"description": "
|
|
2282
|
-
"name": "
|
|
2468
|
+
"description": "Output format",
|
|
2469
|
+
"name": "output",
|
|
2470
|
+
"required": false,
|
|
2471
|
+
"default": "summary",
|
|
2472
|
+
"hasDynamicHelp": false,
|
|
2473
|
+
"multiple": false,
|
|
2474
|
+
"options": [
|
|
2475
|
+
"summary",
|
|
2476
|
+
"json"
|
|
2477
|
+
],
|
|
2478
|
+
"type": "option"
|
|
2479
|
+
},
|
|
2480
|
+
"records": {
|
|
2481
|
+
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2482
|
+
"name": "records",
|
|
2483
|
+
"required": false,
|
|
2484
|
+
"allowNo": true,
|
|
2485
|
+
"type": "boolean"
|
|
2486
|
+
},
|
|
2487
|
+
"workspace": {
|
|
2488
|
+
"char": "w",
|
|
2489
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2490
|
+
"name": "workspace",
|
|
2283
2491
|
"required": false,
|
|
2284
|
-
"default": "https://app.xano.com",
|
|
2285
2492
|
"hasDynamicHelp": false,
|
|
2286
2493
|
"multiple": false,
|
|
2287
2494
|
"type": "option"
|
|
@@ -2289,7 +2496,7 @@
|
|
|
2289
2496
|
},
|
|
2290
2497
|
"hasDynamicHelp": false,
|
|
2291
2498
|
"hiddenAliases": [],
|
|
2292
|
-
"id": "
|
|
2499
|
+
"id": "release:push",
|
|
2293
2500
|
"pluginAlias": "@xano/cli",
|
|
2294
2501
|
"pluginName": "@xano/cli",
|
|
2295
2502
|
"pluginType": "core",
|
|
@@ -2299,8 +2506,8 @@
|
|
|
2299
2506
|
"relativePath": [
|
|
2300
2507
|
"dist",
|
|
2301
2508
|
"commands",
|
|
2302
|
-
"
|
|
2303
|
-
"
|
|
2509
|
+
"release",
|
|
2510
|
+
"push",
|
|
2304
2511
|
"index.js"
|
|
2305
2512
|
]
|
|
2306
2513
|
},
|
|
@@ -2389,76 +2596,40 @@
|
|
|
2389
2596
|
"index.js"
|
|
2390
2597
|
]
|
|
2391
2598
|
},
|
|
2392
|
-
"
|
|
2599
|
+
"tenant:deploy_platform": {
|
|
2393
2600
|
"aliases": [],
|
|
2394
2601
|
"args": {
|
|
2395
|
-
"
|
|
2396
|
-
"description": "
|
|
2397
|
-
"name": "
|
|
2602
|
+
"tenant_name": {
|
|
2603
|
+
"description": "Tenant name to deploy to",
|
|
2604
|
+
"name": "tenant_name",
|
|
2398
2605
|
"required": true
|
|
2399
2606
|
}
|
|
2400
2607
|
},
|
|
2401
|
-
"description": "
|
|
2608
|
+
"description": "Deploy a platform version to a tenant",
|
|
2402
2609
|
"examples": [
|
|
2403
|
-
"$ xano
|
|
2404
|
-
"$ xano
|
|
2405
|
-
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2406
|
-
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2407
|
-
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2610
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2611
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
|
|
2408
2612
|
],
|
|
2409
2613
|
"flags": {
|
|
2410
2614
|
"profile": {
|
|
2411
|
-
"char": "p",
|
|
2412
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2413
|
-
"env": "XANO_PROFILE",
|
|
2414
|
-
"name": "profile",
|
|
2415
|
-
"required": false,
|
|
2416
|
-
"hasDynamicHelp": false,
|
|
2417
|
-
"multiple": false,
|
|
2418
|
-
"type": "option"
|
|
2419
|
-
},
|
|
2420
|
-
"verbose": {
|
|
2421
|
-
"char": "v",
|
|
2422
|
-
"description": "Show detailed request/response information",
|
|
2423
|
-
"env": "XANO_VERBOSE",
|
|
2424
|
-
"name": "verbose",
|
|
2425
|
-
"required": false,
|
|
2426
|
-
"allowNo": false,
|
|
2427
|
-
"type": "boolean"
|
|
2428
|
-
},
|
|
2429
|
-
"description": {
|
|
2430
|
-
"char": "d",
|
|
2431
|
-
"description": "Release description",
|
|
2432
|
-
"name": "description",
|
|
2433
|
-
"required": false,
|
|
2434
|
-
"default": "",
|
|
2435
|
-
"hasDynamicHelp": false,
|
|
2436
|
-
"multiple": false,
|
|
2437
|
-
"type": "option"
|
|
2438
|
-
},
|
|
2439
|
-
"env": {
|
|
2440
|
-
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2441
|
-
"name": "env",
|
|
2442
|
-
"required": false,
|
|
2443
|
-
"allowNo": true,
|
|
2444
|
-
"type": "boolean"
|
|
2445
|
-
},
|
|
2446
|
-
"hotfix": {
|
|
2447
|
-
"description": "Mark as a hotfix release",
|
|
2448
|
-
"name": "hotfix",
|
|
2615
|
+
"char": "p",
|
|
2616
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2617
|
+
"env": "XANO_PROFILE",
|
|
2618
|
+
"name": "profile",
|
|
2449
2619
|
"required": false,
|
|
2450
|
-
"allowNo": false,
|
|
2451
|
-
"type": "boolean"
|
|
2452
|
-
},
|
|
2453
|
-
"name": {
|
|
2454
|
-
"char": "n",
|
|
2455
|
-
"description": "Name for the release",
|
|
2456
|
-
"name": "name",
|
|
2457
|
-
"required": true,
|
|
2458
2620
|
"hasDynamicHelp": false,
|
|
2459
2621
|
"multiple": false,
|
|
2460
2622
|
"type": "option"
|
|
2461
2623
|
},
|
|
2624
|
+
"verbose": {
|
|
2625
|
+
"char": "v",
|
|
2626
|
+
"description": "Show detailed request/response information",
|
|
2627
|
+
"env": "XANO_VERBOSE",
|
|
2628
|
+
"name": "verbose",
|
|
2629
|
+
"required": false,
|
|
2630
|
+
"allowNo": false,
|
|
2631
|
+
"type": "boolean"
|
|
2632
|
+
},
|
|
2462
2633
|
"output": {
|
|
2463
2634
|
"char": "o",
|
|
2464
2635
|
"description": "Output format",
|
|
@@ -2473,16 +2644,17 @@
|
|
|
2473
2644
|
],
|
|
2474
2645
|
"type": "option"
|
|
2475
2646
|
},
|
|
2476
|
-
"
|
|
2477
|
-
"description": "
|
|
2478
|
-
"name": "
|
|
2479
|
-
"required":
|
|
2480
|
-
"
|
|
2481
|
-
"
|
|
2647
|
+
"platform_id": {
|
|
2648
|
+
"description": "Platform ID to deploy",
|
|
2649
|
+
"name": "platform_id",
|
|
2650
|
+
"required": true,
|
|
2651
|
+
"hasDynamicHelp": false,
|
|
2652
|
+
"multiple": false,
|
|
2653
|
+
"type": "option"
|
|
2482
2654
|
},
|
|
2483
2655
|
"workspace": {
|
|
2484
2656
|
"char": "w",
|
|
2485
|
-
"description": "Workspace ID (
|
|
2657
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2486
2658
|
"name": "workspace",
|
|
2487
2659
|
"required": false,
|
|
2488
2660
|
"hasDynamicHelp": false,
|
|
@@ -2492,7 +2664,7 @@
|
|
|
2492
2664
|
},
|
|
2493
2665
|
"hasDynamicHelp": false,
|
|
2494
2666
|
"hiddenAliases": [],
|
|
2495
|
-
"id": "
|
|
2667
|
+
"id": "tenant:deploy_platform",
|
|
2496
2668
|
"pluginAlias": "@xano/cli",
|
|
2497
2669
|
"pluginName": "@xano/cli",
|
|
2498
2670
|
"pluginType": "core",
|
|
@@ -2502,8 +2674,8 @@
|
|
|
2502
2674
|
"relativePath": [
|
|
2503
2675
|
"dist",
|
|
2504
2676
|
"commands",
|
|
2505
|
-
"
|
|
2506
|
-
"
|
|
2677
|
+
"tenant",
|
|
2678
|
+
"deploy_platform",
|
|
2507
2679
|
"index.js"
|
|
2508
2680
|
]
|
|
2509
2681
|
},
|
|
@@ -2647,90 +2819,6 @@
|
|
|
2647
2819
|
"index.js"
|
|
2648
2820
|
]
|
|
2649
2821
|
},
|
|
2650
|
-
"tenant:delete": {
|
|
2651
|
-
"aliases": [],
|
|
2652
|
-
"args": {
|
|
2653
|
-
"tenant_name": {
|
|
2654
|
-
"description": "Tenant name to delete",
|
|
2655
|
-
"name": "tenant_name",
|
|
2656
|
-
"required": true
|
|
2657
|
-
}
|
|
2658
|
-
},
|
|
2659
|
-
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2660
|
-
"examples": [
|
|
2661
|
-
"$ 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",
|
|
2662
|
-
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2663
|
-
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2664
|
-
],
|
|
2665
|
-
"flags": {
|
|
2666
|
-
"profile": {
|
|
2667
|
-
"char": "p",
|
|
2668
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2669
|
-
"env": "XANO_PROFILE",
|
|
2670
|
-
"name": "profile",
|
|
2671
|
-
"required": false,
|
|
2672
|
-
"hasDynamicHelp": false,
|
|
2673
|
-
"multiple": false,
|
|
2674
|
-
"type": "option"
|
|
2675
|
-
},
|
|
2676
|
-
"verbose": {
|
|
2677
|
-
"char": "v",
|
|
2678
|
-
"description": "Show detailed request/response information",
|
|
2679
|
-
"env": "XANO_VERBOSE",
|
|
2680
|
-
"name": "verbose",
|
|
2681
|
-
"required": false,
|
|
2682
|
-
"allowNo": false,
|
|
2683
|
-
"type": "boolean"
|
|
2684
|
-
},
|
|
2685
|
-
"force": {
|
|
2686
|
-
"char": "f",
|
|
2687
|
-
"description": "Skip confirmation prompt",
|
|
2688
|
-
"name": "force",
|
|
2689
|
-
"required": false,
|
|
2690
|
-
"allowNo": false,
|
|
2691
|
-
"type": "boolean"
|
|
2692
|
-
},
|
|
2693
|
-
"output": {
|
|
2694
|
-
"char": "o",
|
|
2695
|
-
"description": "Output format",
|
|
2696
|
-
"name": "output",
|
|
2697
|
-
"required": false,
|
|
2698
|
-
"default": "summary",
|
|
2699
|
-
"hasDynamicHelp": false,
|
|
2700
|
-
"multiple": false,
|
|
2701
|
-
"options": [
|
|
2702
|
-
"summary",
|
|
2703
|
-
"json"
|
|
2704
|
-
],
|
|
2705
|
-
"type": "option"
|
|
2706
|
-
},
|
|
2707
|
-
"workspace": {
|
|
2708
|
-
"char": "w",
|
|
2709
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2710
|
-
"name": "workspace",
|
|
2711
|
-
"required": false,
|
|
2712
|
-
"hasDynamicHelp": false,
|
|
2713
|
-
"multiple": false,
|
|
2714
|
-
"type": "option"
|
|
2715
|
-
}
|
|
2716
|
-
},
|
|
2717
|
-
"hasDynamicHelp": false,
|
|
2718
|
-
"hiddenAliases": [],
|
|
2719
|
-
"id": "tenant:delete",
|
|
2720
|
-
"pluginAlias": "@xano/cli",
|
|
2721
|
-
"pluginName": "@xano/cli",
|
|
2722
|
-
"pluginType": "core",
|
|
2723
|
-
"strict": true,
|
|
2724
|
-
"enableJsonFlag": false,
|
|
2725
|
-
"isESM": true,
|
|
2726
|
-
"relativePath": [
|
|
2727
|
-
"dist",
|
|
2728
|
-
"commands",
|
|
2729
|
-
"tenant",
|
|
2730
|
-
"delete",
|
|
2731
|
-
"index.js"
|
|
2732
|
-
]
|
|
2733
|
-
},
|
|
2734
2822
|
"tenant:deploy_release": {
|
|
2735
2823
|
"aliases": [],
|
|
2736
2824
|
"args": {
|
|
@@ -2815,19 +2903,20 @@
|
|
|
2815
2903
|
"index.js"
|
|
2816
2904
|
]
|
|
2817
2905
|
},
|
|
2818
|
-
"tenant:
|
|
2906
|
+
"tenant:delete": {
|
|
2819
2907
|
"aliases": [],
|
|
2820
2908
|
"args": {
|
|
2821
2909
|
"tenant_name": {
|
|
2822
|
-
"description": "Tenant name to
|
|
2910
|
+
"description": "Tenant name to delete",
|
|
2823
2911
|
"name": "tenant_name",
|
|
2824
2912
|
"required": true
|
|
2825
2913
|
}
|
|
2826
2914
|
},
|
|
2827
|
-
"description": "
|
|
2915
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2828
2916
|
"examples": [
|
|
2829
|
-
"$ xano tenant
|
|
2830
|
-
"$ xano tenant
|
|
2917
|
+
"$ 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",
|
|
2918
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2919
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2831
2920
|
],
|
|
2832
2921
|
"flags": {
|
|
2833
2922
|
"profile": {
|
|
@@ -2849,6 +2938,14 @@
|
|
|
2849
2938
|
"allowNo": false,
|
|
2850
2939
|
"type": "boolean"
|
|
2851
2940
|
},
|
|
2941
|
+
"force": {
|
|
2942
|
+
"char": "f",
|
|
2943
|
+
"description": "Skip confirmation prompt",
|
|
2944
|
+
"name": "force",
|
|
2945
|
+
"required": false,
|
|
2946
|
+
"allowNo": false,
|
|
2947
|
+
"type": "boolean"
|
|
2948
|
+
},
|
|
2852
2949
|
"output": {
|
|
2853
2950
|
"char": "o",
|
|
2854
2951
|
"description": "Output format",
|
|
@@ -2863,14 +2960,6 @@
|
|
|
2863
2960
|
],
|
|
2864
2961
|
"type": "option"
|
|
2865
2962
|
},
|
|
2866
|
-
"platform_id": {
|
|
2867
|
-
"description": "Platform ID to deploy",
|
|
2868
|
-
"name": "platform_id",
|
|
2869
|
-
"required": true,
|
|
2870
|
-
"hasDynamicHelp": false,
|
|
2871
|
-
"multiple": false,
|
|
2872
|
-
"type": "option"
|
|
2873
|
-
},
|
|
2874
2963
|
"workspace": {
|
|
2875
2964
|
"char": "w",
|
|
2876
2965
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2883,7 +2972,7 @@
|
|
|
2883
2972
|
},
|
|
2884
2973
|
"hasDynamicHelp": false,
|
|
2885
2974
|
"hiddenAliases": [],
|
|
2886
|
-
"id": "tenant:
|
|
2975
|
+
"id": "tenant:delete",
|
|
2887
2976
|
"pluginAlias": "@xano/cli",
|
|
2888
2977
|
"pluginName": "@xano/cli",
|
|
2889
2978
|
"pluginType": "core",
|
|
@@ -2894,7 +2983,7 @@
|
|
|
2894
2983
|
"dist",
|
|
2895
2984
|
"commands",
|
|
2896
2985
|
"tenant",
|
|
2897
|
-
"
|
|
2986
|
+
"delete",
|
|
2898
2987
|
"index.js"
|
|
2899
2988
|
]
|
|
2900
2989
|
},
|
|
@@ -3027,15 +3116,19 @@
|
|
|
3027
3116
|
"index.js"
|
|
3028
3117
|
]
|
|
3029
3118
|
},
|
|
3030
|
-
"
|
|
3119
|
+
"tenant:get": {
|
|
3031
3120
|
"aliases": [],
|
|
3032
|
-
"args": {
|
|
3033
|
-
|
|
3121
|
+
"args": {
|
|
3122
|
+
"tenant_name": {
|
|
3123
|
+
"description": "Tenant name to retrieve",
|
|
3124
|
+
"name": "tenant_name",
|
|
3125
|
+
"required": true
|
|
3126
|
+
}
|
|
3127
|
+
},
|
|
3128
|
+
"description": "Get details of a specific tenant",
|
|
3034
3129
|
"examples": [
|
|
3035
|
-
"$ xano
|
|
3036
|
-
"$ xano
|
|
3037
|
-
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
3038
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
3130
|
+
"$ 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",
|
|
3131
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
3039
3132
|
],
|
|
3040
3133
|
"flags": {
|
|
3041
3134
|
"profile": {
|
|
@@ -3071,27 +3164,92 @@
|
|
|
3071
3164
|
],
|
|
3072
3165
|
"type": "option"
|
|
3073
3166
|
},
|
|
3074
|
-
"
|
|
3075
|
-
"
|
|
3076
|
-
"
|
|
3167
|
+
"workspace": {
|
|
3168
|
+
"char": "w",
|
|
3169
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3170
|
+
"name": "workspace",
|
|
3171
|
+
"required": false,
|
|
3172
|
+
"hasDynamicHelp": false,
|
|
3173
|
+
"multiple": false,
|
|
3174
|
+
"type": "option"
|
|
3175
|
+
}
|
|
3176
|
+
},
|
|
3177
|
+
"hasDynamicHelp": false,
|
|
3178
|
+
"hiddenAliases": [],
|
|
3179
|
+
"id": "tenant:get",
|
|
3180
|
+
"pluginAlias": "@xano/cli",
|
|
3181
|
+
"pluginName": "@xano/cli",
|
|
3182
|
+
"pluginType": "core",
|
|
3183
|
+
"strict": true,
|
|
3184
|
+
"enableJsonFlag": false,
|
|
3185
|
+
"isESM": true,
|
|
3186
|
+
"relativePath": [
|
|
3187
|
+
"dist",
|
|
3188
|
+
"commands",
|
|
3189
|
+
"tenant",
|
|
3190
|
+
"get",
|
|
3191
|
+
"index.js"
|
|
3192
|
+
]
|
|
3193
|
+
},
|
|
3194
|
+
"tenant:impersonate": {
|
|
3195
|
+
"aliases": [],
|
|
3196
|
+
"args": {
|
|
3197
|
+
"tenant_name": {
|
|
3198
|
+
"description": "Tenant name to impersonate",
|
|
3199
|
+
"name": "tenant_name",
|
|
3200
|
+
"required": true
|
|
3201
|
+
}
|
|
3202
|
+
},
|
|
3203
|
+
"description": "Impersonate a tenant and open it in the browser",
|
|
3204
|
+
"examples": [
|
|
3205
|
+
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3206
|
+
"$ xano tenant impersonate my-tenant -o json"
|
|
3207
|
+
],
|
|
3208
|
+
"flags": {
|
|
3209
|
+
"profile": {
|
|
3210
|
+
"char": "p",
|
|
3211
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3212
|
+
"env": "XANO_PROFILE",
|
|
3213
|
+
"name": "profile",
|
|
3077
3214
|
"required": false,
|
|
3078
|
-
"default": 1,
|
|
3079
3215
|
"hasDynamicHelp": false,
|
|
3080
3216
|
"multiple": false,
|
|
3081
3217
|
"type": "option"
|
|
3082
3218
|
},
|
|
3083
|
-
"
|
|
3084
|
-
"
|
|
3085
|
-
"
|
|
3219
|
+
"verbose": {
|
|
3220
|
+
"char": "v",
|
|
3221
|
+
"description": "Show detailed request/response information",
|
|
3222
|
+
"env": "XANO_VERBOSE",
|
|
3223
|
+
"name": "verbose",
|
|
3224
|
+
"required": false,
|
|
3225
|
+
"allowNo": false,
|
|
3226
|
+
"type": "boolean"
|
|
3227
|
+
},
|
|
3228
|
+
"output": {
|
|
3229
|
+
"char": "o",
|
|
3230
|
+
"description": "Output format",
|
|
3231
|
+
"name": "output",
|
|
3232
|
+
"required": false,
|
|
3233
|
+
"default": "summary",
|
|
3234
|
+
"hasDynamicHelp": false,
|
|
3235
|
+
"multiple": false,
|
|
3236
|
+
"options": [
|
|
3237
|
+
"summary",
|
|
3238
|
+
"json"
|
|
3239
|
+
],
|
|
3240
|
+
"type": "option"
|
|
3241
|
+
},
|
|
3242
|
+
"url-only": {
|
|
3243
|
+
"char": "u",
|
|
3244
|
+
"description": "Print the URL without opening the browser",
|
|
3245
|
+
"name": "url-only",
|
|
3086
3246
|
"required": false,
|
|
3087
|
-
"
|
|
3088
|
-
"
|
|
3089
|
-
"multiple": false,
|
|
3090
|
-
"type": "option"
|
|
3247
|
+
"allowNo": false,
|
|
3248
|
+
"type": "boolean"
|
|
3091
3249
|
},
|
|
3092
3250
|
"workspace": {
|
|
3093
3251
|
"char": "w",
|
|
3094
|
-
"description": "Workspace ID (
|
|
3252
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3095
3253
|
"name": "workspace",
|
|
3096
3254
|
"required": false,
|
|
3097
3255
|
"hasDynamicHelp": false,
|
|
@@ -3101,7 +3259,7 @@
|
|
|
3101
3259
|
},
|
|
3102
3260
|
"hasDynamicHelp": false,
|
|
3103
3261
|
"hiddenAliases": [],
|
|
3104
|
-
"id": "
|
|
3262
|
+
"id": "tenant:impersonate",
|
|
3105
3263
|
"pluginAlias": "@xano/cli",
|
|
3106
3264
|
"pluginName": "@xano/cli",
|
|
3107
3265
|
"pluginType": "core",
|
|
@@ -3111,24 +3269,18 @@
|
|
|
3111
3269
|
"relativePath": [
|
|
3112
3270
|
"dist",
|
|
3113
3271
|
"commands",
|
|
3114
|
-
"
|
|
3115
|
-
"
|
|
3272
|
+
"tenant",
|
|
3273
|
+
"impersonate",
|
|
3116
3274
|
"index.js"
|
|
3117
3275
|
]
|
|
3118
3276
|
},
|
|
3119
|
-
"tenant:
|
|
3277
|
+
"tenant:list": {
|
|
3120
3278
|
"aliases": [],
|
|
3121
|
-
"args": {
|
|
3122
|
-
|
|
3123
|
-
"description": "Tenant name to impersonate",
|
|
3124
|
-
"name": "tenant_name",
|
|
3125
|
-
"required": true
|
|
3126
|
-
}
|
|
3127
|
-
},
|
|
3128
|
-
"description": "Impersonate a tenant and open it in the browser",
|
|
3279
|
+
"args": {},
|
|
3280
|
+
"description": "List all tenants in a workspace",
|
|
3129
3281
|
"examples": [
|
|
3130
|
-
"$ xano tenant
|
|
3131
|
-
"$ xano tenant
|
|
3282
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
|
|
3283
|
+
"$ xano tenant list -w 5 --output json"
|
|
3132
3284
|
],
|
|
3133
3285
|
"flags": {
|
|
3134
3286
|
"profile": {
|
|
@@ -3164,14 +3316,6 @@
|
|
|
3164
3316
|
],
|
|
3165
3317
|
"type": "option"
|
|
3166
3318
|
},
|
|
3167
|
-
"url-only": {
|
|
3168
|
-
"char": "u",
|
|
3169
|
-
"description": "Print the URL without opening the browser",
|
|
3170
|
-
"name": "url-only",
|
|
3171
|
-
"required": false,
|
|
3172
|
-
"allowNo": false,
|
|
3173
|
-
"type": "boolean"
|
|
3174
|
-
},
|
|
3175
3319
|
"workspace": {
|
|
3176
3320
|
"char": "w",
|
|
3177
3321
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3184,7 +3328,7 @@
|
|
|
3184
3328
|
},
|
|
3185
3329
|
"hasDynamicHelp": false,
|
|
3186
3330
|
"hiddenAliases": [],
|
|
3187
|
-
"id": "tenant:
|
|
3331
|
+
"id": "tenant:list",
|
|
3188
3332
|
"pluginAlias": "@xano/cli",
|
|
3189
3333
|
"pluginName": "@xano/cli",
|
|
3190
3334
|
"pluginType": "core",
|
|
@@ -3195,7 +3339,7 @@
|
|
|
3195
3339
|
"dist",
|
|
3196
3340
|
"commands",
|
|
3197
3341
|
"tenant",
|
|
3198
|
-
"
|
|
3342
|
+
"list",
|
|
3199
3343
|
"index.js"
|
|
3200
3344
|
]
|
|
3201
3345
|
},
|
|
@@ -3387,14 +3531,13 @@
|
|
|
3387
3531
|
"index.js"
|
|
3388
3532
|
]
|
|
3389
3533
|
},
|
|
3390
|
-
"unit_test:
|
|
3534
|
+
"unit_test:run_all": {
|
|
3391
3535
|
"aliases": [],
|
|
3392
3536
|
"args": {},
|
|
3393
|
-
"description": "
|
|
3537
|
+
"description": "Run all unit tests in a workspace",
|
|
3394
3538
|
"examples": [
|
|
3395
|
-
"$ xano unit-test
|
|
3396
|
-
"$ xano unit-test
|
|
3397
|
-
"$ xano unit-test list --obj-type function"
|
|
3539
|
+
"$ xano unit-test run-all\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nPASS auth-check [query: /user/login]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 2 passed, 1 failed\n",
|
|
3540
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
3398
3541
|
],
|
|
3399
3542
|
"flags": {
|
|
3400
3543
|
"profile": {
|
|
@@ -3464,82 +3607,7 @@
|
|
|
3464
3607
|
},
|
|
3465
3608
|
"hasDynamicHelp": false,
|
|
3466
3609
|
"hiddenAliases": [],
|
|
3467
|
-
"id": "unit_test:
|
|
3468
|
-
"pluginAlias": "@xano/cli",
|
|
3469
|
-
"pluginName": "@xano/cli",
|
|
3470
|
-
"pluginType": "core",
|
|
3471
|
-
"strict": true,
|
|
3472
|
-
"enableJsonFlag": false,
|
|
3473
|
-
"isESM": true,
|
|
3474
|
-
"relativePath": [
|
|
3475
|
-
"dist",
|
|
3476
|
-
"commands",
|
|
3477
|
-
"unit_test",
|
|
3478
|
-
"list",
|
|
3479
|
-
"index.js"
|
|
3480
|
-
]
|
|
3481
|
-
},
|
|
3482
|
-
"unit_test:run": {
|
|
3483
|
-
"aliases": [],
|
|
3484
|
-
"args": {
|
|
3485
|
-
"unit_test_id": {
|
|
3486
|
-
"description": "ID of the unit test to run",
|
|
3487
|
-
"name": "unit_test_id",
|
|
3488
|
-
"required": true
|
|
3489
|
-
}
|
|
3490
|
-
},
|
|
3491
|
-
"description": "Run a unit test",
|
|
3492
|
-
"examples": [
|
|
3493
|
-
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3494
|
-
"$ xano unit-test run abc-123 -o json"
|
|
3495
|
-
],
|
|
3496
|
-
"flags": {
|
|
3497
|
-
"profile": {
|
|
3498
|
-
"char": "p",
|
|
3499
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3500
|
-
"env": "XANO_PROFILE",
|
|
3501
|
-
"name": "profile",
|
|
3502
|
-
"required": false,
|
|
3503
|
-
"hasDynamicHelp": false,
|
|
3504
|
-
"multiple": false,
|
|
3505
|
-
"type": "option"
|
|
3506
|
-
},
|
|
3507
|
-
"verbose": {
|
|
3508
|
-
"char": "v",
|
|
3509
|
-
"description": "Show detailed request/response information",
|
|
3510
|
-
"env": "XANO_VERBOSE",
|
|
3511
|
-
"name": "verbose",
|
|
3512
|
-
"required": false,
|
|
3513
|
-
"allowNo": false,
|
|
3514
|
-
"type": "boolean"
|
|
3515
|
-
},
|
|
3516
|
-
"output": {
|
|
3517
|
-
"char": "o",
|
|
3518
|
-
"description": "Output format",
|
|
3519
|
-
"name": "output",
|
|
3520
|
-
"required": false,
|
|
3521
|
-
"default": "summary",
|
|
3522
|
-
"hasDynamicHelp": false,
|
|
3523
|
-
"multiple": false,
|
|
3524
|
-
"options": [
|
|
3525
|
-
"summary",
|
|
3526
|
-
"json"
|
|
3527
|
-
],
|
|
3528
|
-
"type": "option"
|
|
3529
|
-
},
|
|
3530
|
-
"workspace": {
|
|
3531
|
-
"char": "w",
|
|
3532
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3533
|
-
"name": "workspace",
|
|
3534
|
-
"required": false,
|
|
3535
|
-
"hasDynamicHelp": false,
|
|
3536
|
-
"multiple": false,
|
|
3537
|
-
"type": "option"
|
|
3538
|
-
}
|
|
3539
|
-
},
|
|
3540
|
-
"hasDynamicHelp": false,
|
|
3541
|
-
"hiddenAliases": [],
|
|
3542
|
-
"id": "unit_test:run",
|
|
3610
|
+
"id": "unit_test:run_all",
|
|
3543
3611
|
"pluginAlias": "@xano/cli",
|
|
3544
3612
|
"pluginName": "@xano/cli",
|
|
3545
3613
|
"pluginType": "core",
|
|
@@ -3550,17 +3618,18 @@
|
|
|
3550
3618
|
"dist",
|
|
3551
3619
|
"commands",
|
|
3552
3620
|
"unit_test",
|
|
3553
|
-
"
|
|
3621
|
+
"run_all",
|
|
3554
3622
|
"index.js"
|
|
3555
3623
|
]
|
|
3556
3624
|
},
|
|
3557
|
-
"unit_test:
|
|
3625
|
+
"unit_test:list": {
|
|
3558
3626
|
"aliases": [],
|
|
3559
3627
|
"args": {},
|
|
3560
|
-
"description": "
|
|
3628
|
+
"description": "List all unit tests in a workspace",
|
|
3561
3629
|
"examples": [
|
|
3562
|
-
"$ xano unit-test
|
|
3563
|
-
"$ xano unit-test
|
|
3630
|
+
"$ 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",
|
|
3631
|
+
"$ xano unit-test list -w 5 --output json",
|
|
3632
|
+
"$ xano unit-test list --obj-type function"
|
|
3564
3633
|
],
|
|
3565
3634
|
"flags": {
|
|
3566
3635
|
"profile": {
|
|
@@ -3630,7 +3699,7 @@
|
|
|
3630
3699
|
},
|
|
3631
3700
|
"hasDynamicHelp": false,
|
|
3632
3701
|
"hiddenAliases": [],
|
|
3633
|
-
"id": "unit_test:
|
|
3702
|
+
"id": "unit_test:list",
|
|
3634
3703
|
"pluginAlias": "@xano/cli",
|
|
3635
3704
|
"pluginName": "@xano/cli",
|
|
3636
3705
|
"pluginType": "core",
|
|
@@ -3641,92 +3710,23 @@
|
|
|
3641
3710
|
"dist",
|
|
3642
3711
|
"commands",
|
|
3643
3712
|
"unit_test",
|
|
3644
|
-
"run_all",
|
|
3645
|
-
"index.js"
|
|
3646
|
-
]
|
|
3647
|
-
},
|
|
3648
|
-
"tenant:list": {
|
|
3649
|
-
"aliases": [],
|
|
3650
|
-
"args": {},
|
|
3651
|
-
"description": "List all tenants in a workspace",
|
|
3652
|
-
"examples": [
|
|
3653
|
-
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
|
|
3654
|
-
"$ xano tenant list -w 5 --output json"
|
|
3655
|
-
],
|
|
3656
|
-
"flags": {
|
|
3657
|
-
"profile": {
|
|
3658
|
-
"char": "p",
|
|
3659
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3660
|
-
"env": "XANO_PROFILE",
|
|
3661
|
-
"name": "profile",
|
|
3662
|
-
"required": false,
|
|
3663
|
-
"hasDynamicHelp": false,
|
|
3664
|
-
"multiple": false,
|
|
3665
|
-
"type": "option"
|
|
3666
|
-
},
|
|
3667
|
-
"verbose": {
|
|
3668
|
-
"char": "v",
|
|
3669
|
-
"description": "Show detailed request/response information",
|
|
3670
|
-
"env": "XANO_VERBOSE",
|
|
3671
|
-
"name": "verbose",
|
|
3672
|
-
"required": false,
|
|
3673
|
-
"allowNo": false,
|
|
3674
|
-
"type": "boolean"
|
|
3675
|
-
},
|
|
3676
|
-
"output": {
|
|
3677
|
-
"char": "o",
|
|
3678
|
-
"description": "Output format",
|
|
3679
|
-
"name": "output",
|
|
3680
|
-
"required": false,
|
|
3681
|
-
"default": "summary",
|
|
3682
|
-
"hasDynamicHelp": false,
|
|
3683
|
-
"multiple": false,
|
|
3684
|
-
"options": [
|
|
3685
|
-
"summary",
|
|
3686
|
-
"json"
|
|
3687
|
-
],
|
|
3688
|
-
"type": "option"
|
|
3689
|
-
},
|
|
3690
|
-
"workspace": {
|
|
3691
|
-
"char": "w",
|
|
3692
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3693
|
-
"name": "workspace",
|
|
3694
|
-
"required": false,
|
|
3695
|
-
"hasDynamicHelp": false,
|
|
3696
|
-
"multiple": false,
|
|
3697
|
-
"type": "option"
|
|
3698
|
-
}
|
|
3699
|
-
},
|
|
3700
|
-
"hasDynamicHelp": false,
|
|
3701
|
-
"hiddenAliases": [],
|
|
3702
|
-
"id": "tenant:list",
|
|
3703
|
-
"pluginAlias": "@xano/cli",
|
|
3704
|
-
"pluginName": "@xano/cli",
|
|
3705
|
-
"pluginType": "core",
|
|
3706
|
-
"strict": true,
|
|
3707
|
-
"enableJsonFlag": false,
|
|
3708
|
-
"isESM": true,
|
|
3709
|
-
"relativePath": [
|
|
3710
|
-
"dist",
|
|
3711
|
-
"commands",
|
|
3712
|
-
"tenant",
|
|
3713
3713
|
"list",
|
|
3714
3714
|
"index.js"
|
|
3715
3715
|
]
|
|
3716
3716
|
},
|
|
3717
|
-
"
|
|
3717
|
+
"unit_test:run": {
|
|
3718
3718
|
"aliases": [],
|
|
3719
3719
|
"args": {
|
|
3720
|
-
"
|
|
3721
|
-
"description": "
|
|
3722
|
-
"name": "
|
|
3720
|
+
"unit_test_id": {
|
|
3721
|
+
"description": "ID of the unit test to run",
|
|
3722
|
+
"name": "unit_test_id",
|
|
3723
3723
|
"required": true
|
|
3724
3724
|
}
|
|
3725
3725
|
},
|
|
3726
|
-
"description": "
|
|
3726
|
+
"description": "Run a unit test",
|
|
3727
3727
|
"examples": [
|
|
3728
|
-
"$ xano
|
|
3729
|
-
"$ xano
|
|
3728
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3729
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3730
3730
|
],
|
|
3731
3731
|
"flags": {
|
|
3732
3732
|
"profile": {
|
|
@@ -3774,7 +3774,7 @@
|
|
|
3774
3774
|
},
|
|
3775
3775
|
"hasDynamicHelp": false,
|
|
3776
3776
|
"hiddenAliases": [],
|
|
3777
|
-
"id": "
|
|
3777
|
+
"id": "unit_test:run",
|
|
3778
3778
|
"pluginAlias": "@xano/cli",
|
|
3779
3779
|
"pluginName": "@xano/cli",
|
|
3780
3780
|
"pluginType": "core",
|
|
@@ -3784,24 +3784,25 @@
|
|
|
3784
3784
|
"relativePath": [
|
|
3785
3785
|
"dist",
|
|
3786
3786
|
"commands",
|
|
3787
|
-
"
|
|
3788
|
-
"
|
|
3787
|
+
"unit_test",
|
|
3788
|
+
"run",
|
|
3789
3789
|
"index.js"
|
|
3790
3790
|
]
|
|
3791
3791
|
},
|
|
3792
|
-
"workflow_test:
|
|
3792
|
+
"workflow_test:get": {
|
|
3793
3793
|
"aliases": [],
|
|
3794
3794
|
"args": {
|
|
3795
3795
|
"workflow_test_id": {
|
|
3796
|
-
"description": "ID of the workflow test
|
|
3796
|
+
"description": "ID of the workflow test",
|
|
3797
3797
|
"name": "workflow_test_id",
|
|
3798
3798
|
"required": true
|
|
3799
3799
|
}
|
|
3800
3800
|
},
|
|
3801
|
-
"description": "
|
|
3801
|
+
"description": "Get a specific workflow test",
|
|
3802
3802
|
"examples": [
|
|
3803
|
-
"$ xano workflow-test
|
|
3804
|
-
"$ xano workflow-test
|
|
3803
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
3804
|
+
"$ xano workflow-test get 1 -o xs",
|
|
3805
|
+
"$ xano workflow-test get 1 -o json"
|
|
3805
3806
|
],
|
|
3806
3807
|
"flags": {
|
|
3807
3808
|
"profile": {
|
|
@@ -3823,10 +3824,9 @@
|
|
|
3823
3824
|
"allowNo": false,
|
|
3824
3825
|
"type": "boolean"
|
|
3825
3826
|
},
|
|
3826
|
-
"
|
|
3827
|
-
"
|
|
3828
|
-
"
|
|
3829
|
-
"name": "force",
|
|
3827
|
+
"include-draft": {
|
|
3828
|
+
"description": "Include draft version",
|
|
3829
|
+
"name": "include-draft",
|
|
3830
3830
|
"required": false,
|
|
3831
3831
|
"allowNo": false,
|
|
3832
3832
|
"type": "boolean"
|
|
@@ -3841,7 +3841,8 @@
|
|
|
3841
3841
|
"multiple": false,
|
|
3842
3842
|
"options": [
|
|
3843
3843
|
"summary",
|
|
3844
|
-
"json"
|
|
3844
|
+
"json",
|
|
3845
|
+
"xs"
|
|
3845
3846
|
],
|
|
3846
3847
|
"type": "option"
|
|
3847
3848
|
},
|
|
@@ -3857,7 +3858,7 @@
|
|
|
3857
3858
|
},
|
|
3858
3859
|
"hasDynamicHelp": false,
|
|
3859
3860
|
"hiddenAliases": [],
|
|
3860
|
-
"id": "workflow_test:
|
|
3861
|
+
"id": "workflow_test:get",
|
|
3861
3862
|
"pluginAlias": "@xano/cli",
|
|
3862
3863
|
"pluginName": "@xano/cli",
|
|
3863
3864
|
"pluginType": "core",
|
|
@@ -3868,24 +3869,18 @@
|
|
|
3868
3869
|
"dist",
|
|
3869
3870
|
"commands",
|
|
3870
3871
|
"workflow_test",
|
|
3871
|
-
"
|
|
3872
|
+
"get",
|
|
3872
3873
|
"index.js"
|
|
3873
3874
|
]
|
|
3874
3875
|
},
|
|
3875
|
-
"workflow_test:
|
|
3876
|
+
"workflow_test:list": {
|
|
3876
3877
|
"aliases": [],
|
|
3877
|
-
"args": {
|
|
3878
|
-
|
|
3879
|
-
"description": "ID of the workflow test",
|
|
3880
|
-
"name": "workflow_test_id",
|
|
3881
|
-
"required": true
|
|
3882
|
-
}
|
|
3883
|
-
},
|
|
3884
|
-
"description": "Get a specific workflow test",
|
|
3878
|
+
"args": {},
|
|
3879
|
+
"description": "List all workflow tests in a workspace",
|
|
3885
3880
|
"examples": [
|
|
3886
|
-
"$ xano workflow-test
|
|
3887
|
-
"$ xano workflow-test
|
|
3888
|
-
"$ xano workflow-test
|
|
3881
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
3882
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
3883
|
+
"$ xano workflow-test list --branch main"
|
|
3889
3884
|
],
|
|
3890
3885
|
"flags": {
|
|
3891
3886
|
"profile": {
|
|
@@ -3907,12 +3902,14 @@
|
|
|
3907
3902
|
"allowNo": false,
|
|
3908
3903
|
"type": "boolean"
|
|
3909
3904
|
},
|
|
3910
|
-
"
|
|
3911
|
-
"
|
|
3912
|
-
"
|
|
3905
|
+
"branch": {
|
|
3906
|
+
"char": "b",
|
|
3907
|
+
"description": "Filter by branch name",
|
|
3908
|
+
"name": "branch",
|
|
3913
3909
|
"required": false,
|
|
3914
|
-
"
|
|
3915
|
-
"
|
|
3910
|
+
"hasDynamicHelp": false,
|
|
3911
|
+
"multiple": false,
|
|
3912
|
+
"type": "option"
|
|
3916
3913
|
},
|
|
3917
3914
|
"output": {
|
|
3918
3915
|
"char": "o",
|
|
@@ -3924,8 +3921,7 @@
|
|
|
3924
3921
|
"multiple": false,
|
|
3925
3922
|
"options": [
|
|
3926
3923
|
"summary",
|
|
3927
|
-
"json"
|
|
3928
|
-
"xs"
|
|
3924
|
+
"json"
|
|
3929
3925
|
],
|
|
3930
3926
|
"type": "option"
|
|
3931
3927
|
},
|
|
@@ -3941,7 +3937,7 @@
|
|
|
3941
3937
|
},
|
|
3942
3938
|
"hasDynamicHelp": false,
|
|
3943
3939
|
"hiddenAliases": [],
|
|
3944
|
-
"id": "workflow_test:
|
|
3940
|
+
"id": "workflow_test:list",
|
|
3945
3941
|
"pluginAlias": "@xano/cli",
|
|
3946
3942
|
"pluginName": "@xano/cli",
|
|
3947
3943
|
"pluginType": "core",
|
|
@@ -3952,18 +3948,23 @@
|
|
|
3952
3948
|
"dist",
|
|
3953
3949
|
"commands",
|
|
3954
3950
|
"workflow_test",
|
|
3955
|
-
"
|
|
3951
|
+
"list",
|
|
3956
3952
|
"index.js"
|
|
3957
3953
|
]
|
|
3958
3954
|
},
|
|
3959
|
-
"workflow_test:
|
|
3955
|
+
"workflow_test:delete": {
|
|
3960
3956
|
"aliases": [],
|
|
3961
|
-
"args": {
|
|
3962
|
-
|
|
3957
|
+
"args": {
|
|
3958
|
+
"workflow_test_id": {
|
|
3959
|
+
"description": "ID of the workflow test to delete",
|
|
3960
|
+
"name": "workflow_test_id",
|
|
3961
|
+
"required": true
|
|
3962
|
+
}
|
|
3963
|
+
},
|
|
3964
|
+
"description": "Delete a workflow test",
|
|
3963
3965
|
"examples": [
|
|
3964
|
-
"$ xano workflow-test
|
|
3965
|
-
"$ xano workflow-test
|
|
3966
|
-
"$ xano workflow-test list --branch main"
|
|
3966
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
3967
|
+
"$ xano workflow-test delete 1 --force"
|
|
3967
3968
|
],
|
|
3968
3969
|
"flags": {
|
|
3969
3970
|
"profile": {
|
|
@@ -3985,14 +3986,13 @@
|
|
|
3985
3986
|
"allowNo": false,
|
|
3986
3987
|
"type": "boolean"
|
|
3987
3988
|
},
|
|
3988
|
-
"
|
|
3989
|
-
"char": "
|
|
3990
|
-
"description": "
|
|
3991
|
-
"name": "
|
|
3989
|
+
"force": {
|
|
3990
|
+
"char": "f",
|
|
3991
|
+
"description": "Skip confirmation prompt",
|
|
3992
|
+
"name": "force",
|
|
3992
3993
|
"required": false,
|
|
3993
|
-
"
|
|
3994
|
-
"
|
|
3995
|
-
"type": "option"
|
|
3994
|
+
"allowNo": false,
|
|
3995
|
+
"type": "boolean"
|
|
3996
3996
|
},
|
|
3997
3997
|
"output": {
|
|
3998
3998
|
"char": "o",
|
|
@@ -4020,7 +4020,7 @@
|
|
|
4020
4020
|
},
|
|
4021
4021
|
"hasDynamicHelp": false,
|
|
4022
4022
|
"hiddenAliases": [],
|
|
4023
|
-
"id": "workflow_test:
|
|
4023
|
+
"id": "workflow_test:delete",
|
|
4024
4024
|
"pluginAlias": "@xano/cli",
|
|
4025
4025
|
"pluginName": "@xano/cli",
|
|
4026
4026
|
"pluginType": "core",
|
|
@@ -4031,7 +4031,7 @@
|
|
|
4031
4031
|
"dist",
|
|
4032
4032
|
"commands",
|
|
4033
4033
|
"workflow_test",
|
|
4034
|
-
"
|
|
4034
|
+
"delete",
|
|
4035
4035
|
"index.js"
|
|
4036
4036
|
]
|
|
4037
4037
|
},
|
|
@@ -4587,6 +4587,81 @@
|
|
|
4587
4587
|
"index.js"
|
|
4588
4588
|
]
|
|
4589
4589
|
},
|
|
4590
|
+
"workflow_test:run": {
|
|
4591
|
+
"aliases": [],
|
|
4592
|
+
"args": {
|
|
4593
|
+
"workflow_test_id": {
|
|
4594
|
+
"description": "ID of the workflow test to run",
|
|
4595
|
+
"name": "workflow_test_id",
|
|
4596
|
+
"required": true
|
|
4597
|
+
}
|
|
4598
|
+
},
|
|
4599
|
+
"description": "Run a workflow test",
|
|
4600
|
+
"examples": [
|
|
4601
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
4602
|
+
"$ xano workflow-test run 1 -o json"
|
|
4603
|
+
],
|
|
4604
|
+
"flags": {
|
|
4605
|
+
"profile": {
|
|
4606
|
+
"char": "p",
|
|
4607
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4608
|
+
"env": "XANO_PROFILE",
|
|
4609
|
+
"name": "profile",
|
|
4610
|
+
"required": false,
|
|
4611
|
+
"hasDynamicHelp": false,
|
|
4612
|
+
"multiple": false,
|
|
4613
|
+
"type": "option"
|
|
4614
|
+
},
|
|
4615
|
+
"verbose": {
|
|
4616
|
+
"char": "v",
|
|
4617
|
+
"description": "Show detailed request/response information",
|
|
4618
|
+
"env": "XANO_VERBOSE",
|
|
4619
|
+
"name": "verbose",
|
|
4620
|
+
"required": false,
|
|
4621
|
+
"allowNo": false,
|
|
4622
|
+
"type": "boolean"
|
|
4623
|
+
},
|
|
4624
|
+
"output": {
|
|
4625
|
+
"char": "o",
|
|
4626
|
+
"description": "Output format",
|
|
4627
|
+
"name": "output",
|
|
4628
|
+
"required": false,
|
|
4629
|
+
"default": "summary",
|
|
4630
|
+
"hasDynamicHelp": false,
|
|
4631
|
+
"multiple": false,
|
|
4632
|
+
"options": [
|
|
4633
|
+
"summary",
|
|
4634
|
+
"json"
|
|
4635
|
+
],
|
|
4636
|
+
"type": "option"
|
|
4637
|
+
},
|
|
4638
|
+
"workspace": {
|
|
4639
|
+
"char": "w",
|
|
4640
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4641
|
+
"name": "workspace",
|
|
4642
|
+
"required": false,
|
|
4643
|
+
"hasDynamicHelp": false,
|
|
4644
|
+
"multiple": false,
|
|
4645
|
+
"type": "option"
|
|
4646
|
+
}
|
|
4647
|
+
},
|
|
4648
|
+
"hasDynamicHelp": false,
|
|
4649
|
+
"hiddenAliases": [],
|
|
4650
|
+
"id": "workflow_test:run",
|
|
4651
|
+
"pluginAlias": "@xano/cli",
|
|
4652
|
+
"pluginName": "@xano/cli",
|
|
4653
|
+
"pluginType": "core",
|
|
4654
|
+
"strict": true,
|
|
4655
|
+
"enableJsonFlag": false,
|
|
4656
|
+
"isESM": true,
|
|
4657
|
+
"relativePath": [
|
|
4658
|
+
"dist",
|
|
4659
|
+
"commands",
|
|
4660
|
+
"workflow_test",
|
|
4661
|
+
"run",
|
|
4662
|
+
"index.js"
|
|
4663
|
+
]
|
|
4664
|
+
},
|
|
4590
4665
|
"workspace:push": {
|
|
4591
4666
|
"aliases": [],
|
|
4592
4667
|
"args": {
|
|
@@ -4865,19 +4940,21 @@
|
|
|
4865
4940
|
"index.js"
|
|
4866
4941
|
]
|
|
4867
4942
|
},
|
|
4868
|
-
"
|
|
4943
|
+
"static_host:build:list": {
|
|
4869
4944
|
"aliases": [],
|
|
4870
4945
|
"args": {
|
|
4871
|
-
"
|
|
4872
|
-
"description": "
|
|
4873
|
-
"name": "
|
|
4946
|
+
"static_host": {
|
|
4947
|
+
"description": "Static Host name",
|
|
4948
|
+
"name": "static_host",
|
|
4874
4949
|
"required": true
|
|
4875
4950
|
}
|
|
4876
4951
|
},
|
|
4877
|
-
"description": "
|
|
4952
|
+
"description": "List all builds for a static host",
|
|
4878
4953
|
"examples": [
|
|
4879
|
-
"$ xano
|
|
4880
|
-
"$ xano
|
|
4954
|
+
"$ 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",
|
|
4955
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
4956
|
+
"$ 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",
|
|
4957
|
+
"$ 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"
|
|
4881
4958
|
],
|
|
4882
4959
|
"flags": {
|
|
4883
4960
|
"profile": {
|
|
@@ -4913,86 +4990,22 @@
|
|
|
4913
4990
|
],
|
|
4914
4991
|
"type": "option"
|
|
4915
4992
|
},
|
|
4916
|
-
"
|
|
4917
|
-
"
|
|
4918
|
-
"
|
|
4919
|
-
"name": "workspace",
|
|
4920
|
-
"required": false,
|
|
4921
|
-
"hasDynamicHelp": false,
|
|
4922
|
-
"multiple": false,
|
|
4923
|
-
"type": "option"
|
|
4924
|
-
}
|
|
4925
|
-
},
|
|
4926
|
-
"hasDynamicHelp": false,
|
|
4927
|
-
"hiddenAliases": [],
|
|
4928
|
-
"id": "workflow_test:run",
|
|
4929
|
-
"pluginAlias": "@xano/cli",
|
|
4930
|
-
"pluginName": "@xano/cli",
|
|
4931
|
-
"pluginType": "core",
|
|
4932
|
-
"strict": true,
|
|
4933
|
-
"enableJsonFlag": false,
|
|
4934
|
-
"isESM": true,
|
|
4935
|
-
"relativePath": [
|
|
4936
|
-
"dist",
|
|
4937
|
-
"commands",
|
|
4938
|
-
"workflow_test",
|
|
4939
|
-
"run",
|
|
4940
|
-
"index.js"
|
|
4941
|
-
]
|
|
4942
|
-
},
|
|
4943
|
-
"static_host:build:get": {
|
|
4944
|
-
"aliases": [],
|
|
4945
|
-
"args": {
|
|
4946
|
-
"build_id": {
|
|
4947
|
-
"description": "Build ID",
|
|
4948
|
-
"name": "build_id",
|
|
4949
|
-
"required": true
|
|
4950
|
-
},
|
|
4951
|
-
"static_host": {
|
|
4952
|
-
"description": "Static Host name",
|
|
4953
|
-
"name": "static_host",
|
|
4954
|
-
"required": true
|
|
4955
|
-
}
|
|
4956
|
-
},
|
|
4957
|
-
"description": "Get details of a specific build for a static host",
|
|
4958
|
-
"examples": [
|
|
4959
|
-
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4960
|
-
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4961
|
-
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
4962
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4963
|
-
],
|
|
4964
|
-
"flags": {
|
|
4965
|
-
"profile": {
|
|
4966
|
-
"char": "p",
|
|
4967
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4968
|
-
"env": "XANO_PROFILE",
|
|
4969
|
-
"name": "profile",
|
|
4993
|
+
"page": {
|
|
4994
|
+
"description": "Page number for pagination",
|
|
4995
|
+
"name": "page",
|
|
4970
4996
|
"required": false,
|
|
4997
|
+
"default": 1,
|
|
4971
4998
|
"hasDynamicHelp": false,
|
|
4972
4999
|
"multiple": false,
|
|
4973
5000
|
"type": "option"
|
|
4974
5001
|
},
|
|
4975
|
-
"
|
|
4976
|
-
"
|
|
4977
|
-
"
|
|
4978
|
-
"env": "XANO_VERBOSE",
|
|
4979
|
-
"name": "verbose",
|
|
4980
|
-
"required": false,
|
|
4981
|
-
"allowNo": false,
|
|
4982
|
-
"type": "boolean"
|
|
4983
|
-
},
|
|
4984
|
-
"output": {
|
|
4985
|
-
"char": "o",
|
|
4986
|
-
"description": "Output format",
|
|
4987
|
-
"name": "output",
|
|
5002
|
+
"per_page": {
|
|
5003
|
+
"description": "Number of results per page",
|
|
5004
|
+
"name": "per_page",
|
|
4988
5005
|
"required": false,
|
|
4989
|
-
"default":
|
|
5006
|
+
"default": 50,
|
|
4990
5007
|
"hasDynamicHelp": false,
|
|
4991
5008
|
"multiple": false,
|
|
4992
|
-
"options": [
|
|
4993
|
-
"summary",
|
|
4994
|
-
"json"
|
|
4995
|
-
],
|
|
4996
5009
|
"type": "option"
|
|
4997
5010
|
},
|
|
4998
5011
|
"workspace": {
|
|
@@ -5007,7 +5020,7 @@
|
|
|
5007
5020
|
},
|
|
5008
5021
|
"hasDynamicHelp": false,
|
|
5009
5022
|
"hiddenAliases": [],
|
|
5010
|
-
"id": "static_host:build:
|
|
5023
|
+
"id": "static_host:build:list",
|
|
5011
5024
|
"pluginAlias": "@xano/cli",
|
|
5012
5025
|
"pluginName": "@xano/cli",
|
|
5013
5026
|
"pluginType": "core",
|
|
@@ -5019,25 +5032,17 @@
|
|
|
5019
5032
|
"commands",
|
|
5020
5033
|
"static_host",
|
|
5021
5034
|
"build",
|
|
5022
|
-
"
|
|
5035
|
+
"list",
|
|
5023
5036
|
"index.js"
|
|
5024
5037
|
]
|
|
5025
|
-
},
|
|
5026
|
-
"
|
|
5027
|
-
"aliases": [],
|
|
5028
|
-
"args": {
|
|
5029
|
-
|
|
5030
|
-
"description": "Static Host name",
|
|
5031
|
-
"name": "static_host",
|
|
5032
|
-
"required": true
|
|
5033
|
-
}
|
|
5034
|
-
},
|
|
5035
|
-
"description": "List all builds for a static host",
|
|
5038
|
+
},
|
|
5039
|
+
"tenant:cluster:create": {
|
|
5040
|
+
"aliases": [],
|
|
5041
|
+
"args": {},
|
|
5042
|
+
"description": "Create a new tenant cluster",
|
|
5036
5043
|
"examples": [
|
|
5037
|
-
"$ xano
|
|
5038
|
-
"$ xano
|
|
5039
|
-
"$ 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",
|
|
5040
|
-
"$ 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"
|
|
5044
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
5045
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
5041
5046
|
],
|
|
5042
5047
|
"flags": {
|
|
5043
5048
|
"profile": {
|
|
@@ -5059,51 +5064,85 @@
|
|
|
5059
5064
|
"allowNo": false,
|
|
5060
5065
|
"type": "boolean"
|
|
5061
5066
|
},
|
|
5062
|
-
"
|
|
5063
|
-
"
|
|
5064
|
-
"
|
|
5065
|
-
|
|
5067
|
+
"credentials": {
|
|
5068
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
5069
|
+
"exclusive": [
|
|
5070
|
+
"credentials_file"
|
|
5071
|
+
],
|
|
5072
|
+
"name": "credentials",
|
|
5066
5073
|
"required": false,
|
|
5067
|
-
"default": "summary",
|
|
5068
5074
|
"hasDynamicHelp": false,
|
|
5069
5075
|
"multiple": false,
|
|
5070
|
-
"
|
|
5071
|
-
|
|
5072
|
-
|
|
5076
|
+
"type": "option"
|
|
5077
|
+
},
|
|
5078
|
+
"credentials_file": {
|
|
5079
|
+
"description": "Path to kubeconfig credentials file",
|
|
5080
|
+
"exclusive": [
|
|
5081
|
+
"credentials"
|
|
5073
5082
|
],
|
|
5083
|
+
"name": "credentials_file",
|
|
5084
|
+
"required": false,
|
|
5085
|
+
"hasDynamicHelp": false,
|
|
5086
|
+
"multiple": false,
|
|
5074
5087
|
"type": "option"
|
|
5075
5088
|
},
|
|
5076
|
-
"
|
|
5077
|
-
"
|
|
5078
|
-
"
|
|
5089
|
+
"description": {
|
|
5090
|
+
"char": "d",
|
|
5091
|
+
"description": "Cluster description",
|
|
5092
|
+
"name": "description",
|
|
5079
5093
|
"required": false,
|
|
5080
|
-
"default": 1,
|
|
5081
5094
|
"hasDynamicHelp": false,
|
|
5082
5095
|
"multiple": false,
|
|
5083
5096
|
"type": "option"
|
|
5084
5097
|
},
|
|
5085
|
-
"
|
|
5086
|
-
"description": "
|
|
5087
|
-
"name": "
|
|
5098
|
+
"domain": {
|
|
5099
|
+
"description": "Custom domain for the cluster",
|
|
5100
|
+
"name": "domain",
|
|
5088
5101
|
"required": false,
|
|
5089
|
-
"default": 50,
|
|
5090
5102
|
"hasDynamicHelp": false,
|
|
5091
5103
|
"multiple": false,
|
|
5092
5104
|
"type": "option"
|
|
5093
5105
|
},
|
|
5094
|
-
"
|
|
5095
|
-
"char": "
|
|
5096
|
-
"description": "
|
|
5097
|
-
"name": "
|
|
5106
|
+
"name": {
|
|
5107
|
+
"char": "n",
|
|
5108
|
+
"description": "Cluster name",
|
|
5109
|
+
"name": "name",
|
|
5110
|
+
"required": true,
|
|
5111
|
+
"hasDynamicHelp": false,
|
|
5112
|
+
"multiple": false,
|
|
5113
|
+
"type": "option"
|
|
5114
|
+
},
|
|
5115
|
+
"output": {
|
|
5116
|
+
"char": "o",
|
|
5117
|
+
"description": "Output format",
|
|
5118
|
+
"name": "output",
|
|
5119
|
+
"required": false,
|
|
5120
|
+
"default": "summary",
|
|
5121
|
+
"hasDynamicHelp": false,
|
|
5122
|
+
"multiple": false,
|
|
5123
|
+
"options": [
|
|
5124
|
+
"summary",
|
|
5125
|
+
"json"
|
|
5126
|
+
],
|
|
5127
|
+
"type": "option"
|
|
5128
|
+
},
|
|
5129
|
+
"type": {
|
|
5130
|
+
"description": "Cluster type",
|
|
5131
|
+
"name": "type",
|
|
5098
5132
|
"required": false,
|
|
5133
|
+
"default": "standard",
|
|
5099
5134
|
"hasDynamicHelp": false,
|
|
5100
5135
|
"multiple": false,
|
|
5136
|
+
"options": [
|
|
5137
|
+
"standard",
|
|
5138
|
+
"run"
|
|
5139
|
+
],
|
|
5101
5140
|
"type": "option"
|
|
5102
5141
|
}
|
|
5103
5142
|
},
|
|
5104
5143
|
"hasDynamicHelp": false,
|
|
5105
5144
|
"hiddenAliases": [],
|
|
5106
|
-
"id": "
|
|
5145
|
+
"id": "tenant:cluster:create",
|
|
5107
5146
|
"pluginAlias": "@xano/cli",
|
|
5108
5147
|
"pluginName": "@xano/cli",
|
|
5109
5148
|
"pluginType": "core",
|
|
@@ -5113,25 +5152,26 @@
|
|
|
5113
5152
|
"relativePath": [
|
|
5114
5153
|
"dist",
|
|
5115
5154
|
"commands",
|
|
5116
|
-
"
|
|
5117
|
-
"
|
|
5118
|
-
"
|
|
5155
|
+
"tenant",
|
|
5156
|
+
"cluster",
|
|
5157
|
+
"create",
|
|
5119
5158
|
"index.js"
|
|
5120
5159
|
]
|
|
5121
5160
|
},
|
|
5122
|
-
"tenant:
|
|
5161
|
+
"tenant:cluster:delete": {
|
|
5123
5162
|
"aliases": [],
|
|
5124
5163
|
"args": {
|
|
5125
|
-
"
|
|
5126
|
-
"description": "
|
|
5127
|
-
"name": "
|
|
5164
|
+
"cluster_id": {
|
|
5165
|
+
"description": "Cluster ID to delete",
|
|
5166
|
+
"name": "cluster_id",
|
|
5128
5167
|
"required": true
|
|
5129
5168
|
}
|
|
5130
5169
|
},
|
|
5131
|
-
"description": "
|
|
5170
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5132
5171
|
"examples": [
|
|
5133
|
-
"$ xano tenant
|
|
5134
|
-
"$ xano tenant
|
|
5172
|
+
"$ 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",
|
|
5173
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5174
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5135
5175
|
],
|
|
5136
5176
|
"flags": {
|
|
5137
5177
|
"profile": {
|
|
@@ -5153,15 +5193,13 @@
|
|
|
5153
5193
|
"allowNo": false,
|
|
5154
5194
|
"type": "boolean"
|
|
5155
5195
|
},
|
|
5156
|
-
"
|
|
5157
|
-
"char": "
|
|
5158
|
-
"description": "
|
|
5159
|
-
"name": "
|
|
5196
|
+
"force": {
|
|
5197
|
+
"char": "f",
|
|
5198
|
+
"description": "Skip confirmation prompt",
|
|
5199
|
+
"name": "force",
|
|
5160
5200
|
"required": false,
|
|
5161
|
-
"
|
|
5162
|
-
"
|
|
5163
|
-
"multiple": false,
|
|
5164
|
-
"type": "option"
|
|
5201
|
+
"allowNo": false,
|
|
5202
|
+
"type": "boolean"
|
|
5165
5203
|
},
|
|
5166
5204
|
"output": {
|
|
5167
5205
|
"char": "o",
|
|
@@ -5176,20 +5214,11 @@
|
|
|
5176
5214
|
"json"
|
|
5177
5215
|
],
|
|
5178
5216
|
"type": "option"
|
|
5179
|
-
},
|
|
5180
|
-
"workspace": {
|
|
5181
|
-
"char": "w",
|
|
5182
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5183
|
-
"name": "workspace",
|
|
5184
|
-
"required": false,
|
|
5185
|
-
"hasDynamicHelp": false,
|
|
5186
|
-
"multiple": false,
|
|
5187
|
-
"type": "option"
|
|
5188
5217
|
}
|
|
5189
5218
|
},
|
|
5190
5219
|
"hasDynamicHelp": false,
|
|
5191
5220
|
"hiddenAliases": [],
|
|
5192
|
-
"id": "tenant:
|
|
5221
|
+
"id": "tenant:cluster:delete",
|
|
5193
5222
|
"pluginAlias": "@xano/cli",
|
|
5194
5223
|
"pluginName": "@xano/cli",
|
|
5195
5224
|
"pluginType": "core",
|
|
@@ -5200,25 +5229,24 @@
|
|
|
5200
5229
|
"dist",
|
|
5201
5230
|
"commands",
|
|
5202
5231
|
"tenant",
|
|
5203
|
-
"
|
|
5204
|
-
"
|
|
5232
|
+
"cluster",
|
|
5233
|
+
"delete",
|
|
5205
5234
|
"index.js"
|
|
5206
5235
|
]
|
|
5207
5236
|
},
|
|
5208
|
-
"tenant:
|
|
5237
|
+
"tenant:cluster:edit": {
|
|
5209
5238
|
"aliases": [],
|
|
5210
5239
|
"args": {
|
|
5211
|
-
"
|
|
5212
|
-
"description": "
|
|
5213
|
-
"name": "
|
|
5240
|
+
"cluster_id": {
|
|
5241
|
+
"description": "Cluster ID to edit",
|
|
5242
|
+
"name": "cluster_id",
|
|
5214
5243
|
"required": true
|
|
5215
5244
|
}
|
|
5216
5245
|
},
|
|
5217
|
-
"description": "
|
|
5246
|
+
"description": "Update an existing tenant cluster",
|
|
5218
5247
|
"examples": [
|
|
5219
|
-
"$ xano tenant
|
|
5220
|
-
"$ xano tenant
|
|
5221
|
-
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5248
|
+
"$ 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",
|
|
5249
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5222
5250
|
],
|
|
5223
5251
|
"flags": {
|
|
5224
5252
|
"profile": {
|
|
@@ -5240,18 +5268,36 @@
|
|
|
5240
5268
|
"allowNo": false,
|
|
5241
5269
|
"type": "boolean"
|
|
5242
5270
|
},
|
|
5243
|
-
"
|
|
5244
|
-
"
|
|
5245
|
-
"
|
|
5271
|
+
"description": {
|
|
5272
|
+
"char": "d",
|
|
5273
|
+
"description": "Cluster description",
|
|
5274
|
+
"name": "description",
|
|
5246
5275
|
"required": true,
|
|
5247
5276
|
"hasDynamicHelp": false,
|
|
5248
5277
|
"multiple": false,
|
|
5249
5278
|
"type": "option"
|
|
5250
5279
|
},
|
|
5251
|
-
"
|
|
5280
|
+
"domain": {
|
|
5281
|
+
"description": "Custom domain for the cluster",
|
|
5282
|
+
"name": "domain",
|
|
5283
|
+
"required": true,
|
|
5284
|
+
"hasDynamicHelp": false,
|
|
5285
|
+
"multiple": false,
|
|
5286
|
+
"type": "option"
|
|
5287
|
+
},
|
|
5288
|
+
"name": {
|
|
5289
|
+
"char": "n",
|
|
5290
|
+
"description": "Cluster name",
|
|
5291
|
+
"name": "name",
|
|
5292
|
+
"required": true,
|
|
5293
|
+
"hasDynamicHelp": false,
|
|
5294
|
+
"multiple": false,
|
|
5295
|
+
"type": "option"
|
|
5296
|
+
},
|
|
5297
|
+
"output": {
|
|
5252
5298
|
"char": "o",
|
|
5253
5299
|
"description": "Output format",
|
|
5254
|
-
"name": "
|
|
5300
|
+
"name": "output",
|
|
5255
5301
|
"required": false,
|
|
5256
5302
|
"default": "summary",
|
|
5257
5303
|
"hasDynamicHelp": false,
|
|
@@ -5262,27 +5308,22 @@
|
|
|
5262
5308
|
],
|
|
5263
5309
|
"type": "option"
|
|
5264
5310
|
},
|
|
5265
|
-
"
|
|
5266
|
-
"description": "
|
|
5267
|
-
"name": "
|
|
5268
|
-
"required":
|
|
5269
|
-
"hasDynamicHelp": false,
|
|
5270
|
-
"multiple": false,
|
|
5271
|
-
"type": "option"
|
|
5272
|
-
},
|
|
5273
|
-
"workspace": {
|
|
5274
|
-
"char": "w",
|
|
5275
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5276
|
-
"name": "workspace",
|
|
5277
|
-
"required": false,
|
|
5311
|
+
"type": {
|
|
5312
|
+
"description": "Cluster type",
|
|
5313
|
+
"name": "type",
|
|
5314
|
+
"required": true,
|
|
5278
5315
|
"hasDynamicHelp": false,
|
|
5279
5316
|
"multiple": false,
|
|
5317
|
+
"options": [
|
|
5318
|
+
"standard",
|
|
5319
|
+
"run"
|
|
5320
|
+
],
|
|
5280
5321
|
"type": "option"
|
|
5281
5322
|
}
|
|
5282
5323
|
},
|
|
5283
5324
|
"hasDynamicHelp": false,
|
|
5284
5325
|
"hiddenAliases": [],
|
|
5285
|
-
"id": "tenant:
|
|
5326
|
+
"id": "tenant:cluster:edit",
|
|
5286
5327
|
"pluginAlias": "@xano/cli",
|
|
5287
5328
|
"pluginName": "@xano/cli",
|
|
5288
5329
|
"pluginType": "core",
|
|
@@ -5293,24 +5334,24 @@
|
|
|
5293
5334
|
"dist",
|
|
5294
5335
|
"commands",
|
|
5295
5336
|
"tenant",
|
|
5296
|
-
"
|
|
5297
|
-
"
|
|
5337
|
+
"cluster",
|
|
5338
|
+
"edit",
|
|
5298
5339
|
"index.js"
|
|
5299
5340
|
]
|
|
5300
5341
|
},
|
|
5301
|
-
"tenant:
|
|
5342
|
+
"tenant:cluster:get": {
|
|
5302
5343
|
"aliases": [],
|
|
5303
5344
|
"args": {
|
|
5304
|
-
"
|
|
5305
|
-
"description": "
|
|
5306
|
-
"name": "
|
|
5345
|
+
"cluster_id": {
|
|
5346
|
+
"description": "Cluster ID to retrieve",
|
|
5347
|
+
"name": "cluster_id",
|
|
5307
5348
|
"required": true
|
|
5308
5349
|
}
|
|
5309
5350
|
},
|
|
5310
|
-
"description": "
|
|
5351
|
+
"description": "Get details of a specific tenant cluster",
|
|
5311
5352
|
"examples": [
|
|
5312
|
-
"$ xano tenant
|
|
5313
|
-
"$ xano tenant
|
|
5353
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5354
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5314
5355
|
],
|
|
5315
5356
|
"flags": {
|
|
5316
5357
|
"profile": {
|
|
@@ -5345,29 +5386,11 @@
|
|
|
5345
5386
|
"json"
|
|
5346
5387
|
],
|
|
5347
5388
|
"type": "option"
|
|
5348
|
-
},
|
|
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
|
-
"workspace": {
|
|
5359
|
-
"char": "w",
|
|
5360
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5361
|
-
"name": "workspace",
|
|
5362
|
-
"required": false,
|
|
5363
|
-
"hasDynamicHelp": false,
|
|
5364
|
-
"multiple": false,
|
|
5365
|
-
"type": "option"
|
|
5366
5389
|
}
|
|
5367
5390
|
},
|
|
5368
5391
|
"hasDynamicHelp": false,
|
|
5369
5392
|
"hiddenAliases": [],
|
|
5370
|
-
"id": "tenant:
|
|
5393
|
+
"id": "tenant:cluster:get",
|
|
5371
5394
|
"pluginAlias": "@xano/cli",
|
|
5372
5395
|
"pluginName": "@xano/cli",
|
|
5373
5396
|
"pluginType": "core",
|
|
@@ -5378,24 +5401,18 @@
|
|
|
5378
5401
|
"dist",
|
|
5379
5402
|
"commands",
|
|
5380
5403
|
"tenant",
|
|
5381
|
-
"
|
|
5382
|
-
"
|
|
5404
|
+
"cluster",
|
|
5405
|
+
"get",
|
|
5383
5406
|
"index.js"
|
|
5384
5407
|
]
|
|
5385
|
-
},
|
|
5386
|
-
"tenant:
|
|
5387
|
-
"aliases": [],
|
|
5388
|
-
"args": {
|
|
5389
|
-
|
|
5390
|
-
"description": "Tenant name to import backup into",
|
|
5391
|
-
"name": "tenant_name",
|
|
5392
|
-
"required": true
|
|
5393
|
-
}
|
|
5394
|
-
},
|
|
5395
|
-
"description": "Import a backup file into a tenant",
|
|
5408
|
+
},
|
|
5409
|
+
"tenant:cluster:list": {
|
|
5410
|
+
"aliases": [],
|
|
5411
|
+
"args": {},
|
|
5412
|
+
"description": "List all tenant clusters",
|
|
5396
5413
|
"examples": [
|
|
5397
|
-
"$ xano tenant
|
|
5398
|
-
"$ xano tenant
|
|
5414
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
5415
|
+
"$ xano tenant cluster list --output json"
|
|
5399
5416
|
],
|
|
5400
5417
|
"flags": {
|
|
5401
5418
|
"profile": {
|
|
@@ -5417,25 +5434,6 @@
|
|
|
5417
5434
|
"allowNo": false,
|
|
5418
5435
|
"type": "boolean"
|
|
5419
5436
|
},
|
|
5420
|
-
"description": {
|
|
5421
|
-
"char": "d",
|
|
5422
|
-
"description": "Backup description",
|
|
5423
|
-
"name": "description",
|
|
5424
|
-
"required": false,
|
|
5425
|
-
"default": "",
|
|
5426
|
-
"hasDynamicHelp": false,
|
|
5427
|
-
"multiple": false,
|
|
5428
|
-
"type": "option"
|
|
5429
|
-
},
|
|
5430
|
-
"file": {
|
|
5431
|
-
"char": "f",
|
|
5432
|
-
"description": "Path to the backup file (.tar.gz)",
|
|
5433
|
-
"name": "file",
|
|
5434
|
-
"required": true,
|
|
5435
|
-
"hasDynamicHelp": false,
|
|
5436
|
-
"multiple": false,
|
|
5437
|
-
"type": "option"
|
|
5438
|
-
},
|
|
5439
5437
|
"output": {
|
|
5440
5438
|
"char": "o",
|
|
5441
5439
|
"description": "Output format",
|
|
@@ -5449,20 +5447,11 @@
|
|
|
5449
5447
|
"json"
|
|
5450
5448
|
],
|
|
5451
5449
|
"type": "option"
|
|
5452
|
-
},
|
|
5453
|
-
"workspace": {
|
|
5454
|
-
"char": "w",
|
|
5455
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5456
|
-
"name": "workspace",
|
|
5457
|
-
"required": false,
|
|
5458
|
-
"hasDynamicHelp": false,
|
|
5459
|
-
"multiple": false,
|
|
5460
|
-
"type": "option"
|
|
5461
5450
|
}
|
|
5462
5451
|
},
|
|
5463
5452
|
"hasDynamicHelp": false,
|
|
5464
5453
|
"hiddenAliases": [],
|
|
5465
|
-
"id": "tenant:
|
|
5454
|
+
"id": "tenant:cluster:list",
|
|
5466
5455
|
"pluginAlias": "@xano/cli",
|
|
5467
5456
|
"pluginName": "@xano/cli",
|
|
5468
5457
|
"pluginType": "core",
|
|
@@ -5473,8 +5462,8 @@
|
|
|
5473
5462
|
"dist",
|
|
5474
5463
|
"commands",
|
|
5475
5464
|
"tenant",
|
|
5476
|
-
"
|
|
5477
|
-
"
|
|
5465
|
+
"cluster",
|
|
5466
|
+
"list",
|
|
5478
5467
|
"index.js"
|
|
5479
5468
|
]
|
|
5480
5469
|
},
|
|
@@ -5571,19 +5560,19 @@
|
|
|
5571
5560
|
"index.js"
|
|
5572
5561
|
]
|
|
5573
5562
|
},
|
|
5574
|
-
"tenant:backup:
|
|
5563
|
+
"tenant:backup:create": {
|
|
5575
5564
|
"aliases": [],
|
|
5576
5565
|
"args": {
|
|
5577
5566
|
"tenant_name": {
|
|
5578
|
-
"description": "Tenant name to
|
|
5567
|
+
"description": "Tenant name to back up",
|
|
5579
5568
|
"name": "tenant_name",
|
|
5580
5569
|
"required": true
|
|
5581
5570
|
}
|
|
5582
5571
|
},
|
|
5583
|
-
"description": "
|
|
5572
|
+
"description": "Create a backup for a tenant",
|
|
5584
5573
|
"examples": [
|
|
5585
|
-
"$ xano tenant backup
|
|
5586
|
-
"$ xano tenant backup
|
|
5574
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5575
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5587
5576
|
],
|
|
5588
5577
|
"flags": {
|
|
5589
5578
|
"profile": {
|
|
@@ -5605,22 +5594,16 @@
|
|
|
5605
5594
|
"allowNo": false,
|
|
5606
5595
|
"type": "boolean"
|
|
5607
5596
|
},
|
|
5608
|
-
"
|
|
5609
|
-
"
|
|
5610
|
-
"
|
|
5611
|
-
"
|
|
5597
|
+
"description": {
|
|
5598
|
+
"char": "d",
|
|
5599
|
+
"description": "Backup description",
|
|
5600
|
+
"name": "description",
|
|
5601
|
+
"required": false,
|
|
5602
|
+
"default": "",
|
|
5612
5603
|
"hasDynamicHelp": false,
|
|
5613
5604
|
"multiple": false,
|
|
5614
5605
|
"type": "option"
|
|
5615
5606
|
},
|
|
5616
|
-
"force": {
|
|
5617
|
-
"char": "f",
|
|
5618
|
-
"description": "Skip confirmation prompt",
|
|
5619
|
-
"name": "force",
|
|
5620
|
-
"required": false,
|
|
5621
|
-
"allowNo": false,
|
|
5622
|
-
"type": "boolean"
|
|
5623
|
-
},
|
|
5624
5607
|
"output": {
|
|
5625
5608
|
"char": "o",
|
|
5626
5609
|
"description": "Output format",
|
|
@@ -5647,7 +5630,7 @@
|
|
|
5647
5630
|
},
|
|
5648
5631
|
"hasDynamicHelp": false,
|
|
5649
5632
|
"hiddenAliases": [],
|
|
5650
|
-
"id": "tenant:backup:
|
|
5633
|
+
"id": "tenant:backup:create",
|
|
5651
5634
|
"pluginAlias": "@xano/cli",
|
|
5652
5635
|
"pluginName": "@xano/cli",
|
|
5653
5636
|
"pluginType": "core",
|
|
@@ -5659,17 +5642,30 @@
|
|
|
5659
5642
|
"commands",
|
|
5660
5643
|
"tenant",
|
|
5661
5644
|
"backup",
|
|
5662
|
-
"
|
|
5645
|
+
"create",
|
|
5663
5646
|
"index.js"
|
|
5664
5647
|
]
|
|
5665
5648
|
},
|
|
5666
|
-
"
|
|
5649
|
+
"static_host:build:get": {
|
|
5667
5650
|
"aliases": [],
|
|
5668
|
-
"args": {
|
|
5669
|
-
|
|
5651
|
+
"args": {
|
|
5652
|
+
"build_id": {
|
|
5653
|
+
"description": "Build ID",
|
|
5654
|
+
"name": "build_id",
|
|
5655
|
+
"required": true
|
|
5656
|
+
},
|
|
5657
|
+
"static_host": {
|
|
5658
|
+
"description": "Static Host name",
|
|
5659
|
+
"name": "static_host",
|
|
5660
|
+
"required": true
|
|
5661
|
+
}
|
|
5662
|
+
},
|
|
5663
|
+
"description": "Get details of a specific build for a static host",
|
|
5670
5664
|
"examples": [
|
|
5671
|
-
"$ xano
|
|
5672
|
-
"$ xano
|
|
5665
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
5666
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
5667
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
5668
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
5673
5669
|
],
|
|
5674
5670
|
"flags": {
|
|
5675
5671
|
"profile": {
|
|
@@ -5691,54 +5687,6 @@
|
|
|
5691
5687
|
"allowNo": false,
|
|
5692
5688
|
"type": "boolean"
|
|
5693
5689
|
},
|
|
5694
|
-
"credentials": {
|
|
5695
|
-
"description": "Kubeconfig credentials (raw text)",
|
|
5696
|
-
"exclusive": [
|
|
5697
|
-
"credentials_file"
|
|
5698
|
-
],
|
|
5699
|
-
"name": "credentials",
|
|
5700
|
-
"required": false,
|
|
5701
|
-
"hasDynamicHelp": false,
|
|
5702
|
-
"multiple": false,
|
|
5703
|
-
"type": "option"
|
|
5704
|
-
},
|
|
5705
|
-
"credentials_file": {
|
|
5706
|
-
"description": "Path to kubeconfig credentials file",
|
|
5707
|
-
"exclusive": [
|
|
5708
|
-
"credentials"
|
|
5709
|
-
],
|
|
5710
|
-
"name": "credentials_file",
|
|
5711
|
-
"required": false,
|
|
5712
|
-
"hasDynamicHelp": false,
|
|
5713
|
-
"multiple": false,
|
|
5714
|
-
"type": "option"
|
|
5715
|
-
},
|
|
5716
|
-
"description": {
|
|
5717
|
-
"char": "d",
|
|
5718
|
-
"description": "Cluster description",
|
|
5719
|
-
"name": "description",
|
|
5720
|
-
"required": false,
|
|
5721
|
-
"hasDynamicHelp": false,
|
|
5722
|
-
"multiple": false,
|
|
5723
|
-
"type": "option"
|
|
5724
|
-
},
|
|
5725
|
-
"domain": {
|
|
5726
|
-
"description": "Custom domain for the cluster",
|
|
5727
|
-
"name": "domain",
|
|
5728
|
-
"required": false,
|
|
5729
|
-
"hasDynamicHelp": false,
|
|
5730
|
-
"multiple": false,
|
|
5731
|
-
"type": "option"
|
|
5732
|
-
},
|
|
5733
|
-
"name": {
|
|
5734
|
-
"char": "n",
|
|
5735
|
-
"description": "Cluster name",
|
|
5736
|
-
"name": "name",
|
|
5737
|
-
"required": true,
|
|
5738
|
-
"hasDynamicHelp": false,
|
|
5739
|
-
"multiple": false,
|
|
5740
|
-
"type": "option"
|
|
5741
|
-
},
|
|
5742
5690
|
"output": {
|
|
5743
5691
|
"char": "o",
|
|
5744
5692
|
"description": "Output format",
|
|
@@ -5753,23 +5701,19 @@
|
|
|
5753
5701
|
],
|
|
5754
5702
|
"type": "option"
|
|
5755
5703
|
},
|
|
5756
|
-
"
|
|
5757
|
-
"
|
|
5758
|
-
"
|
|
5704
|
+
"workspace": {
|
|
5705
|
+
"char": "w",
|
|
5706
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5707
|
+
"name": "workspace",
|
|
5759
5708
|
"required": false,
|
|
5760
|
-
"default": "standard",
|
|
5761
5709
|
"hasDynamicHelp": false,
|
|
5762
5710
|
"multiple": false,
|
|
5763
|
-
"options": [
|
|
5764
|
-
"standard",
|
|
5765
|
-
"run"
|
|
5766
|
-
],
|
|
5767
5711
|
"type": "option"
|
|
5768
5712
|
}
|
|
5769
5713
|
},
|
|
5770
5714
|
"hasDynamicHelp": false,
|
|
5771
5715
|
"hiddenAliases": [],
|
|
5772
|
-
"id": "
|
|
5716
|
+
"id": "static_host:build:get",
|
|
5773
5717
|
"pluginAlias": "@xano/cli",
|
|
5774
5718
|
"pluginName": "@xano/cli",
|
|
5775
5719
|
"pluginType": "core",
|
|
@@ -5779,26 +5723,26 @@
|
|
|
5779
5723
|
"relativePath": [
|
|
5780
5724
|
"dist",
|
|
5781
5725
|
"commands",
|
|
5782
|
-
"
|
|
5783
|
-
"
|
|
5784
|
-
"
|
|
5726
|
+
"static_host",
|
|
5727
|
+
"build",
|
|
5728
|
+
"get",
|
|
5785
5729
|
"index.js"
|
|
5786
5730
|
]
|
|
5787
5731
|
},
|
|
5788
|
-
"tenant:
|
|
5732
|
+
"tenant:backup:export": {
|
|
5789
5733
|
"aliases": [],
|
|
5790
5734
|
"args": {
|
|
5791
|
-
"
|
|
5792
|
-
"description": "
|
|
5793
|
-
"name": "
|
|
5735
|
+
"tenant_name": {
|
|
5736
|
+
"description": "Tenant name to export backup from",
|
|
5737
|
+
"name": "tenant_name",
|
|
5794
5738
|
"required": true
|
|
5795
5739
|
}
|
|
5796
5740
|
},
|
|
5797
|
-
"description": "
|
|
5741
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5798
5742
|
"examples": [
|
|
5799
|
-
"$ xano tenant
|
|
5800
|
-
"$ xano tenant
|
|
5801
|
-
"$ xano tenant
|
|
5743
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5744
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5745
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5802
5746
|
],
|
|
5803
5747
|
"flags": {
|
|
5804
5748
|
"profile": {
|
|
@@ -5820,18 +5764,18 @@
|
|
|
5820
5764
|
"allowNo": false,
|
|
5821
5765
|
"type": "boolean"
|
|
5822
5766
|
},
|
|
5823
|
-
"
|
|
5824
|
-
"
|
|
5825
|
-
"
|
|
5826
|
-
"
|
|
5827
|
-
"
|
|
5828
|
-
"
|
|
5829
|
-
"type": "
|
|
5767
|
+
"backup_id": {
|
|
5768
|
+
"description": "Backup ID to export",
|
|
5769
|
+
"name": "backup_id",
|
|
5770
|
+
"required": true,
|
|
5771
|
+
"hasDynamicHelp": false,
|
|
5772
|
+
"multiple": false,
|
|
5773
|
+
"type": "option"
|
|
5830
5774
|
},
|
|
5831
|
-
"
|
|
5775
|
+
"format": {
|
|
5832
5776
|
"char": "o",
|
|
5833
5777
|
"description": "Output format",
|
|
5834
|
-
"name": "
|
|
5778
|
+
"name": "format",
|
|
5835
5779
|
"required": false,
|
|
5836
5780
|
"default": "summary",
|
|
5837
5781
|
"hasDynamicHelp": false,
|
|
@@ -5841,11 +5785,28 @@
|
|
|
5841
5785
|
"json"
|
|
5842
5786
|
],
|
|
5843
5787
|
"type": "option"
|
|
5788
|
+
},
|
|
5789
|
+
"output": {
|
|
5790
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5791
|
+
"name": "output",
|
|
5792
|
+
"required": false,
|
|
5793
|
+
"hasDynamicHelp": false,
|
|
5794
|
+
"multiple": false,
|
|
5795
|
+
"type": "option"
|
|
5796
|
+
},
|
|
5797
|
+
"workspace": {
|
|
5798
|
+
"char": "w",
|
|
5799
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5800
|
+
"name": "workspace",
|
|
5801
|
+
"required": false,
|
|
5802
|
+
"hasDynamicHelp": false,
|
|
5803
|
+
"multiple": false,
|
|
5804
|
+
"type": "option"
|
|
5844
5805
|
}
|
|
5845
5806
|
},
|
|
5846
5807
|
"hasDynamicHelp": false,
|
|
5847
5808
|
"hiddenAliases": [],
|
|
5848
|
-
"id": "tenant:
|
|
5809
|
+
"id": "tenant:backup:export",
|
|
5849
5810
|
"pluginAlias": "@xano/cli",
|
|
5850
5811
|
"pluginName": "@xano/cli",
|
|
5851
5812
|
"pluginType": "core",
|
|
@@ -5856,24 +5817,24 @@
|
|
|
5856
5817
|
"dist",
|
|
5857
5818
|
"commands",
|
|
5858
5819
|
"tenant",
|
|
5859
|
-
"
|
|
5860
|
-
"
|
|
5820
|
+
"backup",
|
|
5821
|
+
"export",
|
|
5861
5822
|
"index.js"
|
|
5862
5823
|
]
|
|
5863
5824
|
},
|
|
5864
|
-
"tenant:
|
|
5825
|
+
"tenant:backup:import": {
|
|
5865
5826
|
"aliases": [],
|
|
5866
5827
|
"args": {
|
|
5867
|
-
"
|
|
5868
|
-
"description": "
|
|
5869
|
-
"name": "
|
|
5828
|
+
"tenant_name": {
|
|
5829
|
+
"description": "Tenant name to import backup into",
|
|
5830
|
+
"name": "tenant_name",
|
|
5870
5831
|
"required": true
|
|
5871
5832
|
}
|
|
5872
5833
|
},
|
|
5873
|
-
"description": "
|
|
5834
|
+
"description": "Import a backup file into a tenant",
|
|
5874
5835
|
"examples": [
|
|
5875
|
-
"$ xano tenant
|
|
5876
|
-
"$ xano tenant
|
|
5836
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5837
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5877
5838
|
],
|
|
5878
5839
|
"flags": {
|
|
5879
5840
|
"profile": {
|
|
@@ -5895,6 +5856,25 @@
|
|
|
5895
5856
|
"allowNo": false,
|
|
5896
5857
|
"type": "boolean"
|
|
5897
5858
|
},
|
|
5859
|
+
"description": {
|
|
5860
|
+
"char": "d",
|
|
5861
|
+
"description": "Backup description",
|
|
5862
|
+
"name": "description",
|
|
5863
|
+
"required": false,
|
|
5864
|
+
"default": "",
|
|
5865
|
+
"hasDynamicHelp": false,
|
|
5866
|
+
"multiple": false,
|
|
5867
|
+
"type": "option"
|
|
5868
|
+
},
|
|
5869
|
+
"file": {
|
|
5870
|
+
"char": "f",
|
|
5871
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5872
|
+
"name": "file",
|
|
5873
|
+
"required": true,
|
|
5874
|
+
"hasDynamicHelp": false,
|
|
5875
|
+
"multiple": false,
|
|
5876
|
+
"type": "option"
|
|
5877
|
+
},
|
|
5898
5878
|
"output": {
|
|
5899
5879
|
"char": "o",
|
|
5900
5880
|
"description": "Output format",
|
|
@@ -5908,11 +5888,20 @@
|
|
|
5908
5888
|
"json"
|
|
5909
5889
|
],
|
|
5910
5890
|
"type": "option"
|
|
5891
|
+
},
|
|
5892
|
+
"workspace": {
|
|
5893
|
+
"char": "w",
|
|
5894
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5895
|
+
"name": "workspace",
|
|
5896
|
+
"required": false,
|
|
5897
|
+
"hasDynamicHelp": false,
|
|
5898
|
+
"multiple": false,
|
|
5899
|
+
"type": "option"
|
|
5911
5900
|
}
|
|
5912
5901
|
},
|
|
5913
5902
|
"hasDynamicHelp": false,
|
|
5914
5903
|
"hiddenAliases": [],
|
|
5915
|
-
"id": "tenant:
|
|
5904
|
+
"id": "tenant:backup:import",
|
|
5916
5905
|
"pluginAlias": "@xano/cli",
|
|
5917
5906
|
"pluginName": "@xano/cli",
|
|
5918
5907
|
"pluginType": "core",
|
|
@@ -5923,18 +5912,24 @@
|
|
|
5923
5912
|
"dist",
|
|
5924
5913
|
"commands",
|
|
5925
5914
|
"tenant",
|
|
5926
|
-
"
|
|
5927
|
-
"
|
|
5915
|
+
"backup",
|
|
5916
|
+
"import",
|
|
5928
5917
|
"index.js"
|
|
5929
5918
|
]
|
|
5930
5919
|
},
|
|
5931
|
-
"tenant:
|
|
5920
|
+
"tenant:backup:list": {
|
|
5932
5921
|
"aliases": [],
|
|
5933
|
-
"args": {
|
|
5934
|
-
|
|
5922
|
+
"args": {
|
|
5923
|
+
"tenant_name": {
|
|
5924
|
+
"description": "Tenant name to list backups for",
|
|
5925
|
+
"name": "tenant_name",
|
|
5926
|
+
"required": true
|
|
5927
|
+
}
|
|
5928
|
+
},
|
|
5929
|
+
"description": "List backups for a tenant",
|
|
5935
5930
|
"examples": [
|
|
5936
|
-
"$ xano tenant
|
|
5937
|
-
"$ xano tenant
|
|
5931
|
+
"$ 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",
|
|
5932
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5938
5933
|
],
|
|
5939
5934
|
"flags": {
|
|
5940
5935
|
"profile": {
|
|
@@ -5969,11 +5964,29 @@
|
|
|
5969
5964
|
"json"
|
|
5970
5965
|
],
|
|
5971
5966
|
"type": "option"
|
|
5967
|
+
},
|
|
5968
|
+
"page": {
|
|
5969
|
+
"description": "Page number for pagination",
|
|
5970
|
+
"name": "page",
|
|
5971
|
+
"required": false,
|
|
5972
|
+
"default": 1,
|
|
5973
|
+
"hasDynamicHelp": false,
|
|
5974
|
+
"multiple": false,
|
|
5975
|
+
"type": "option"
|
|
5976
|
+
},
|
|
5977
|
+
"workspace": {
|
|
5978
|
+
"char": "w",
|
|
5979
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5980
|
+
"name": "workspace",
|
|
5981
|
+
"required": false,
|
|
5982
|
+
"hasDynamicHelp": false,
|
|
5983
|
+
"multiple": false,
|
|
5984
|
+
"type": "option"
|
|
5972
5985
|
}
|
|
5973
5986
|
},
|
|
5974
5987
|
"hasDynamicHelp": false,
|
|
5975
5988
|
"hiddenAliases": [],
|
|
5976
|
-
"id": "tenant:
|
|
5989
|
+
"id": "tenant:backup:list",
|
|
5977
5990
|
"pluginAlias": "@xano/cli",
|
|
5978
5991
|
"pluginName": "@xano/cli",
|
|
5979
5992
|
"pluginType": "core",
|
|
@@ -5984,7 +5997,7 @@
|
|
|
5984
5997
|
"dist",
|
|
5985
5998
|
"commands",
|
|
5986
5999
|
"tenant",
|
|
5987
|
-
"
|
|
6000
|
+
"backup",
|
|
5988
6001
|
"list",
|
|
5989
6002
|
"index.js"
|
|
5990
6003
|
]
|
|
@@ -6083,19 +6096,19 @@
|
|
|
6083
6096
|
"index.js"
|
|
6084
6097
|
]
|
|
6085
6098
|
},
|
|
6086
|
-
"tenant:
|
|
6099
|
+
"tenant:env:get": {
|
|
6087
6100
|
"aliases": [],
|
|
6088
6101
|
"args": {
|
|
6089
|
-
"
|
|
6090
|
-
"description": "
|
|
6091
|
-
"name": "
|
|
6102
|
+
"tenant_name": {
|
|
6103
|
+
"description": "Tenant name",
|
|
6104
|
+
"name": "tenant_name",
|
|
6092
6105
|
"required": true
|
|
6093
6106
|
}
|
|
6094
6107
|
},
|
|
6095
|
-
"description": "
|
|
6108
|
+
"description": "Get a single environment variable for a tenant",
|
|
6096
6109
|
"examples": [
|
|
6097
|
-
"$ xano tenant
|
|
6098
|
-
"$ xano tenant
|
|
6110
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6111
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6099
6112
|
],
|
|
6100
6113
|
"flags": {
|
|
6101
6114
|
"profile": {
|
|
@@ -6117,26 +6130,9 @@
|
|
|
6117
6130
|
"allowNo": false,
|
|
6118
6131
|
"type": "boolean"
|
|
6119
6132
|
},
|
|
6120
|
-
"description": {
|
|
6121
|
-
"char": "d",
|
|
6122
|
-
"description": "Cluster description",
|
|
6123
|
-
"name": "description",
|
|
6124
|
-
"required": true,
|
|
6125
|
-
"hasDynamicHelp": false,
|
|
6126
|
-
"multiple": false,
|
|
6127
|
-
"type": "option"
|
|
6128
|
-
},
|
|
6129
|
-
"domain": {
|
|
6130
|
-
"description": "Custom domain for the cluster",
|
|
6131
|
-
"name": "domain",
|
|
6132
|
-
"required": true,
|
|
6133
|
-
"hasDynamicHelp": false,
|
|
6134
|
-
"multiple": false,
|
|
6135
|
-
"type": "option"
|
|
6136
|
-
},
|
|
6137
6133
|
"name": {
|
|
6138
6134
|
"char": "n",
|
|
6139
|
-
"description": "
|
|
6135
|
+
"description": "Environment variable name",
|
|
6140
6136
|
"name": "name",
|
|
6141
6137
|
"required": true,
|
|
6142
6138
|
"hasDynamicHelp": false,
|
|
@@ -6157,22 +6153,19 @@
|
|
|
6157
6153
|
],
|
|
6158
6154
|
"type": "option"
|
|
6159
6155
|
},
|
|
6160
|
-
"
|
|
6161
|
-
"
|
|
6162
|
-
"
|
|
6163
|
-
"
|
|
6156
|
+
"workspace": {
|
|
6157
|
+
"char": "w",
|
|
6158
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6159
|
+
"name": "workspace",
|
|
6160
|
+
"required": false,
|
|
6164
6161
|
"hasDynamicHelp": false,
|
|
6165
6162
|
"multiple": false,
|
|
6166
|
-
"options": [
|
|
6167
|
-
"standard",
|
|
6168
|
-
"run"
|
|
6169
|
-
],
|
|
6170
6163
|
"type": "option"
|
|
6171
6164
|
}
|
|
6172
6165
|
},
|
|
6173
6166
|
"hasDynamicHelp": false,
|
|
6174
6167
|
"hiddenAliases": [],
|
|
6175
|
-
"id": "tenant:
|
|
6168
|
+
"id": "tenant:env:get",
|
|
6176
6169
|
"pluginAlias": "@xano/cli",
|
|
6177
6170
|
"pluginName": "@xano/cli",
|
|
6178
6171
|
"pluginType": "core",
|
|
@@ -6183,8 +6176,8 @@
|
|
|
6183
6176
|
"dist",
|
|
6184
6177
|
"commands",
|
|
6185
6178
|
"tenant",
|
|
6186
|
-
"
|
|
6187
|
-
"
|
|
6179
|
+
"env",
|
|
6180
|
+
"get",
|
|
6188
6181
|
"index.js"
|
|
6189
6182
|
]
|
|
6190
6183
|
},
|
|
@@ -6358,19 +6351,19 @@
|
|
|
6358
6351
|
"index.js"
|
|
6359
6352
|
]
|
|
6360
6353
|
},
|
|
6361
|
-
"tenant:
|
|
6354
|
+
"tenant:backup:restore": {
|
|
6362
6355
|
"aliases": [],
|
|
6363
6356
|
"args": {
|
|
6364
6357
|
"tenant_name": {
|
|
6365
|
-
"description": "Tenant name",
|
|
6358
|
+
"description": "Tenant name to restore",
|
|
6366
6359
|
"name": "tenant_name",
|
|
6367
6360
|
"required": true
|
|
6368
6361
|
}
|
|
6369
6362
|
},
|
|
6370
|
-
"description": "
|
|
6363
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
6371
6364
|
"examples": [
|
|
6372
|
-
"$ xano tenant
|
|
6373
|
-
"$ xano tenant
|
|
6365
|
+
"$ 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",
|
|
6366
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
6374
6367
|
],
|
|
6375
6368
|
"flags": {
|
|
6376
6369
|
"profile": {
|
|
@@ -6392,15 +6385,22 @@
|
|
|
6392
6385
|
"allowNo": false,
|
|
6393
6386
|
"type": "boolean"
|
|
6394
6387
|
},
|
|
6395
|
-
"
|
|
6396
|
-
"
|
|
6397
|
-
"
|
|
6398
|
-
"name": "name",
|
|
6388
|
+
"backup_id": {
|
|
6389
|
+
"description": "Backup ID to restore from",
|
|
6390
|
+
"name": "backup_id",
|
|
6399
6391
|
"required": true,
|
|
6400
6392
|
"hasDynamicHelp": false,
|
|
6401
6393
|
"multiple": false,
|
|
6402
6394
|
"type": "option"
|
|
6403
6395
|
},
|
|
6396
|
+
"force": {
|
|
6397
|
+
"char": "f",
|
|
6398
|
+
"description": "Skip confirmation prompt",
|
|
6399
|
+
"name": "force",
|
|
6400
|
+
"required": false,
|
|
6401
|
+
"allowNo": false,
|
|
6402
|
+
"type": "boolean"
|
|
6403
|
+
},
|
|
6404
6404
|
"output": {
|
|
6405
6405
|
"char": "o",
|
|
6406
6406
|
"description": "Output format",
|
|
@@ -6427,7 +6427,7 @@
|
|
|
6427
6427
|
},
|
|
6428
6428
|
"hasDynamicHelp": false,
|
|
6429
6429
|
"hiddenAliases": [],
|
|
6430
|
-
"id": "tenant:
|
|
6430
|
+
"id": "tenant:backup:restore",
|
|
6431
6431
|
"pluginAlias": "@xano/cli",
|
|
6432
6432
|
"pluginName": "@xano/cli",
|
|
6433
6433
|
"pluginType": "core",
|
|
@@ -6438,12 +6438,12 @@
|
|
|
6438
6438
|
"dist",
|
|
6439
6439
|
"commands",
|
|
6440
6440
|
"tenant",
|
|
6441
|
-
"
|
|
6442
|
-
"
|
|
6441
|
+
"backup",
|
|
6442
|
+
"restore",
|
|
6443
6443
|
"index.js"
|
|
6444
6444
|
]
|
|
6445
6445
|
},
|
|
6446
|
-
"tenant:
|
|
6446
|
+
"tenant:license:get": {
|
|
6447
6447
|
"aliases": [],
|
|
6448
6448
|
"args": {
|
|
6449
6449
|
"tenant_name": {
|
|
@@ -6452,11 +6452,12 @@
|
|
|
6452
6452
|
"required": true
|
|
6453
6453
|
}
|
|
6454
6454
|
},
|
|
6455
|
-
"description": "
|
|
6455
|
+
"description": "Get the license for a tenant",
|
|
6456
6456
|
"examples": [
|
|
6457
|
-
"$ xano tenant
|
|
6458
|
-
"$ xano tenant
|
|
6459
|
-
"$ xano tenant
|
|
6457
|
+
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6458
|
+
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6459
|
+
"$ xano tenant license get my-tenant --view",
|
|
6460
|
+
"$ xano tenant license get my-tenant -o json"
|
|
6460
6461
|
],
|
|
6461
6462
|
"flags": {
|
|
6462
6463
|
"profile": {
|
|
@@ -6478,18 +6479,103 @@
|
|
|
6478
6479
|
"allowNo": false,
|
|
6479
6480
|
"type": "boolean"
|
|
6480
6481
|
},
|
|
6481
|
-
"
|
|
6482
|
-
"
|
|
6483
|
-
"
|
|
6482
|
+
"file": {
|
|
6483
|
+
"char": "f",
|
|
6484
|
+
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6485
|
+
"name": "file",
|
|
6486
|
+
"required": false,
|
|
6487
|
+
"hasDynamicHelp": false,
|
|
6488
|
+
"multiple": false,
|
|
6489
|
+
"type": "option"
|
|
6490
|
+
},
|
|
6491
|
+
"output": {
|
|
6492
|
+
"char": "o",
|
|
6493
|
+
"description": "Output format",
|
|
6494
|
+
"name": "output",
|
|
6495
|
+
"required": false,
|
|
6496
|
+
"default": "summary",
|
|
6497
|
+
"hasDynamicHelp": false,
|
|
6498
|
+
"multiple": false,
|
|
6499
|
+
"options": [
|
|
6500
|
+
"summary",
|
|
6501
|
+
"json"
|
|
6502
|
+
],
|
|
6503
|
+
"type": "option"
|
|
6504
|
+
},
|
|
6505
|
+
"view": {
|
|
6506
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6507
|
+
"name": "view",
|
|
6484
6508
|
"required": false,
|
|
6485
6509
|
"allowNo": false,
|
|
6486
6510
|
"type": "boolean"
|
|
6487
6511
|
},
|
|
6488
|
-
"
|
|
6489
|
-
"char": "
|
|
6490
|
-
"description": "
|
|
6491
|
-
"name": "
|
|
6512
|
+
"workspace": {
|
|
6513
|
+
"char": "w",
|
|
6514
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6515
|
+
"name": "workspace",
|
|
6516
|
+
"required": false,
|
|
6517
|
+
"hasDynamicHelp": false,
|
|
6518
|
+
"multiple": false,
|
|
6519
|
+
"type": "option"
|
|
6520
|
+
}
|
|
6521
|
+
},
|
|
6522
|
+
"hasDynamicHelp": false,
|
|
6523
|
+
"hiddenAliases": [],
|
|
6524
|
+
"id": "tenant:license:get",
|
|
6525
|
+
"pluginAlias": "@xano/cli",
|
|
6526
|
+
"pluginName": "@xano/cli",
|
|
6527
|
+
"pluginType": "core",
|
|
6528
|
+
"strict": true,
|
|
6529
|
+
"enableJsonFlag": false,
|
|
6530
|
+
"isESM": true,
|
|
6531
|
+
"relativePath": [
|
|
6532
|
+
"dist",
|
|
6533
|
+
"commands",
|
|
6534
|
+
"tenant",
|
|
6535
|
+
"license",
|
|
6536
|
+
"get",
|
|
6537
|
+
"index.js"
|
|
6538
|
+
]
|
|
6539
|
+
},
|
|
6540
|
+
"tenant:env:set": {
|
|
6541
|
+
"aliases": [],
|
|
6542
|
+
"args": {
|
|
6543
|
+
"tenant_name": {
|
|
6544
|
+
"description": "Tenant name",
|
|
6545
|
+
"name": "tenant_name",
|
|
6546
|
+
"required": true
|
|
6547
|
+
}
|
|
6548
|
+
},
|
|
6549
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6550
|
+
"examples": [
|
|
6551
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6552
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6553
|
+
],
|
|
6554
|
+
"flags": {
|
|
6555
|
+
"profile": {
|
|
6556
|
+
"char": "p",
|
|
6557
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
6558
|
+
"env": "XANO_PROFILE",
|
|
6559
|
+
"name": "profile",
|
|
6560
|
+
"required": false,
|
|
6561
|
+
"hasDynamicHelp": false,
|
|
6562
|
+
"multiple": false,
|
|
6563
|
+
"type": "option"
|
|
6564
|
+
},
|
|
6565
|
+
"verbose": {
|
|
6566
|
+
"char": "v",
|
|
6567
|
+
"description": "Show detailed request/response information",
|
|
6568
|
+
"env": "XANO_VERBOSE",
|
|
6569
|
+
"name": "verbose",
|
|
6492
6570
|
"required": false,
|
|
6571
|
+
"allowNo": false,
|
|
6572
|
+
"type": "boolean"
|
|
6573
|
+
},
|
|
6574
|
+
"name": {
|
|
6575
|
+
"char": "n",
|
|
6576
|
+
"description": "Environment variable name",
|
|
6577
|
+
"name": "name",
|
|
6578
|
+
"required": true,
|
|
6493
6579
|
"hasDynamicHelp": false,
|
|
6494
6580
|
"multiple": false,
|
|
6495
6581
|
"type": "option"
|
|
@@ -6502,10 +6588,18 @@
|
|
|
6502
6588
|
"default": "summary",
|
|
6503
6589
|
"hasDynamicHelp": false,
|
|
6504
6590
|
"multiple": false,
|
|
6505
|
-
"options": [
|
|
6506
|
-
"summary",
|
|
6507
|
-
"json"
|
|
6508
|
-
],
|
|
6591
|
+
"options": [
|
|
6592
|
+
"summary",
|
|
6593
|
+
"json"
|
|
6594
|
+
],
|
|
6595
|
+
"type": "option"
|
|
6596
|
+
},
|
|
6597
|
+
"value": {
|
|
6598
|
+
"description": "Environment variable value",
|
|
6599
|
+
"name": "value",
|
|
6600
|
+
"required": true,
|
|
6601
|
+
"hasDynamicHelp": false,
|
|
6602
|
+
"multiple": false,
|
|
6509
6603
|
"type": "option"
|
|
6510
6604
|
},
|
|
6511
6605
|
"workspace": {
|
|
@@ -6520,7 +6614,7 @@
|
|
|
6520
6614
|
},
|
|
6521
6615
|
"hasDynamicHelp": false,
|
|
6522
6616
|
"hiddenAliases": [],
|
|
6523
|
-
"id": "tenant:env:
|
|
6617
|
+
"id": "tenant:env:set",
|
|
6524
6618
|
"pluginAlias": "@xano/cli",
|
|
6525
6619
|
"pluginName": "@xano/cli",
|
|
6526
6620
|
"pluginType": "core",
|
|
@@ -6532,11 +6626,11 @@
|
|
|
6532
6626
|
"commands",
|
|
6533
6627
|
"tenant",
|
|
6534
6628
|
"env",
|
|
6535
|
-
"
|
|
6629
|
+
"set",
|
|
6536
6630
|
"index.js"
|
|
6537
6631
|
]
|
|
6538
6632
|
},
|
|
6539
|
-
"tenant:
|
|
6633
|
+
"tenant:env:set_all": {
|
|
6540
6634
|
"aliases": [],
|
|
6541
6635
|
"args": {
|
|
6542
6636
|
"tenant_name": {
|
|
@@ -6545,12 +6639,11 @@
|
|
|
6545
6639
|
"required": true
|
|
6546
6640
|
}
|
|
6547
6641
|
},
|
|
6548
|
-
"description": "Set
|
|
6642
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6549
6643
|
"examples": [
|
|
6550
|
-
"$ xano tenant
|
|
6551
|
-
"$ xano tenant
|
|
6552
|
-
"$ xano tenant
|
|
6553
|
-
"$ xano tenant license set my-tenant -o json"
|
|
6644
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6645
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6646
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6554
6647
|
],
|
|
6555
6648
|
"flags": {
|
|
6556
6649
|
"profile": {
|
|
@@ -6574,9 +6667,6 @@
|
|
|
6574
6667
|
},
|
|
6575
6668
|
"clean": {
|
|
6576
6669
|
"description": "Remove the source file after successful upload",
|
|
6577
|
-
"exclusive": [
|
|
6578
|
-
"value"
|
|
6579
|
-
],
|
|
6580
6670
|
"name": "clean",
|
|
6581
6671
|
"required": false,
|
|
6582
6672
|
"allowNo": false,
|
|
@@ -6584,10 +6674,7 @@
|
|
|
6584
6674
|
},
|
|
6585
6675
|
"file": {
|
|
6586
6676
|
"char": "f",
|
|
6587
|
-
"description": "Path to
|
|
6588
|
-
"exclusive": [
|
|
6589
|
-
"value"
|
|
6590
|
-
],
|
|
6677
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6591
6678
|
"name": "file",
|
|
6592
6679
|
"required": false,
|
|
6593
6680
|
"hasDynamicHelp": false,
|
|
@@ -6608,18 +6695,6 @@
|
|
|
6608
6695
|
],
|
|
6609
6696
|
"type": "option"
|
|
6610
6697
|
},
|
|
6611
|
-
"value": {
|
|
6612
|
-
"description": "Inline license value",
|
|
6613
|
-
"exclusive": [
|
|
6614
|
-
"file",
|
|
6615
|
-
"clean"
|
|
6616
|
-
],
|
|
6617
|
-
"name": "value",
|
|
6618
|
-
"required": false,
|
|
6619
|
-
"hasDynamicHelp": false,
|
|
6620
|
-
"multiple": false,
|
|
6621
|
-
"type": "option"
|
|
6622
|
-
},
|
|
6623
6698
|
"workspace": {
|
|
6624
6699
|
"char": "w",
|
|
6625
6700
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6632,7 +6707,7 @@
|
|
|
6632
6707
|
},
|
|
6633
6708
|
"hasDynamicHelp": false,
|
|
6634
6709
|
"hiddenAliases": [],
|
|
6635
|
-
"id": "tenant:
|
|
6710
|
+
"id": "tenant:env:set_all",
|
|
6636
6711
|
"pluginAlias": "@xano/cli",
|
|
6637
6712
|
"pluginName": "@xano/cli",
|
|
6638
6713
|
"pluginType": "core",
|
|
@@ -6643,12 +6718,12 @@
|
|
|
6643
6718
|
"dist",
|
|
6644
6719
|
"commands",
|
|
6645
6720
|
"tenant",
|
|
6646
|
-
"
|
|
6647
|
-
"
|
|
6721
|
+
"env",
|
|
6722
|
+
"set_all",
|
|
6648
6723
|
"index.js"
|
|
6649
6724
|
]
|
|
6650
6725
|
},
|
|
6651
|
-
"tenant:license:
|
|
6726
|
+
"tenant:license:set": {
|
|
6652
6727
|
"aliases": [],
|
|
6653
6728
|
"args": {
|
|
6654
6729
|
"tenant_name": {
|
|
@@ -6657,12 +6732,12 @@
|
|
|
6657
6732
|
"required": true
|
|
6658
6733
|
}
|
|
6659
6734
|
},
|
|
6660
|
-
"description": "
|
|
6735
|
+
"description": "Set/update the license for a tenant",
|
|
6661
6736
|
"examples": [
|
|
6662
|
-
"$ xano tenant license
|
|
6663
|
-
"$ xano tenant license
|
|
6664
|
-
"$ xano tenant license
|
|
6665
|
-
"$ xano tenant license
|
|
6737
|
+
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
6738
|
+
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
6739
|
+
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6740
|
+
"$ xano tenant license set my-tenant -o json"
|
|
6666
6741
|
],
|
|
6667
6742
|
"flags": {
|
|
6668
6743
|
"profile": {
|
|
@@ -6684,9 +6759,22 @@
|
|
|
6684
6759
|
"allowNo": false,
|
|
6685
6760
|
"type": "boolean"
|
|
6686
6761
|
},
|
|
6762
|
+
"clean": {
|
|
6763
|
+
"description": "Remove the source file after successful upload",
|
|
6764
|
+
"exclusive": [
|
|
6765
|
+
"value"
|
|
6766
|
+
],
|
|
6767
|
+
"name": "clean",
|
|
6768
|
+
"required": false,
|
|
6769
|
+
"allowNo": false,
|
|
6770
|
+
"type": "boolean"
|
|
6771
|
+
},
|
|
6687
6772
|
"file": {
|
|
6688
6773
|
"char": "f",
|
|
6689
|
-
"description": "
|
|
6774
|
+
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6775
|
+
"exclusive": [
|
|
6776
|
+
"value"
|
|
6777
|
+
],
|
|
6690
6778
|
"name": "file",
|
|
6691
6779
|
"required": false,
|
|
6692
6780
|
"hasDynamicHelp": false,
|
|
@@ -6707,12 +6795,17 @@
|
|
|
6707
6795
|
],
|
|
6708
6796
|
"type": "option"
|
|
6709
6797
|
},
|
|
6710
|
-
"
|
|
6711
|
-
"description": "
|
|
6712
|
-
"
|
|
6798
|
+
"value": {
|
|
6799
|
+
"description": "Inline license value",
|
|
6800
|
+
"exclusive": [
|
|
6801
|
+
"file",
|
|
6802
|
+
"clean"
|
|
6803
|
+
],
|
|
6804
|
+
"name": "value",
|
|
6713
6805
|
"required": false,
|
|
6714
|
-
"
|
|
6715
|
-
"
|
|
6806
|
+
"hasDynamicHelp": false,
|
|
6807
|
+
"multiple": false,
|
|
6808
|
+
"type": "option"
|
|
6716
6809
|
},
|
|
6717
6810
|
"workspace": {
|
|
6718
6811
|
"char": "w",
|
|
@@ -6726,7 +6819,7 @@
|
|
|
6726
6819
|
},
|
|
6727
6820
|
"hasDynamicHelp": false,
|
|
6728
6821
|
"hiddenAliases": [],
|
|
6729
|
-
"id": "tenant:license:
|
|
6822
|
+
"id": "tenant:license:set",
|
|
6730
6823
|
"pluginAlias": "@xano/cli",
|
|
6731
6824
|
"pluginName": "@xano/cli",
|
|
6732
6825
|
"pluginType": "core",
|
|
@@ -6738,7 +6831,7 @@
|
|
|
6738
6831
|
"commands",
|
|
6739
6832
|
"tenant",
|
|
6740
6833
|
"license",
|
|
6741
|
-
"
|
|
6834
|
+
"set",
|
|
6742
6835
|
"index.js"
|
|
6743
6836
|
]
|
|
6744
6837
|
},
|
|
@@ -6836,110 +6929,6 @@
|
|
|
6836
6929
|
"index.js"
|
|
6837
6930
|
]
|
|
6838
6931
|
},
|
|
6839
|
-
"tenant:cluster:license:set": {
|
|
6840
|
-
"aliases": [],
|
|
6841
|
-
"args": {
|
|
6842
|
-
"cluster_id": {
|
|
6843
|
-
"description": "Tenant cluster ID",
|
|
6844
|
-
"name": "cluster_id",
|
|
6845
|
-
"required": true
|
|
6846
|
-
}
|
|
6847
|
-
},
|
|
6848
|
-
"description": "Set/update the license (kubeconfig) for a tenant cluster",
|
|
6849
|
-
"examples": [
|
|
6850
|
-
"$ xano tenant cluster license set 1\nReads from kubeconfig-1.yaml\n",
|
|
6851
|
-
"$ xano tenant cluster license set 1 --file ./kubeconfig.yaml",
|
|
6852
|
-
"$ xano tenant cluster license set 1 --value 'apiVersion: v1...'",
|
|
6853
|
-
"$ xano tenant cluster license set 1 -o json"
|
|
6854
|
-
],
|
|
6855
|
-
"flags": {
|
|
6856
|
-
"profile": {
|
|
6857
|
-
"char": "p",
|
|
6858
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
6859
|
-
"env": "XANO_PROFILE",
|
|
6860
|
-
"name": "profile",
|
|
6861
|
-
"required": false,
|
|
6862
|
-
"hasDynamicHelp": false,
|
|
6863
|
-
"multiple": false,
|
|
6864
|
-
"type": "option"
|
|
6865
|
-
},
|
|
6866
|
-
"verbose": {
|
|
6867
|
-
"char": "v",
|
|
6868
|
-
"description": "Show detailed request/response information",
|
|
6869
|
-
"env": "XANO_VERBOSE",
|
|
6870
|
-
"name": "verbose",
|
|
6871
|
-
"required": false,
|
|
6872
|
-
"allowNo": false,
|
|
6873
|
-
"type": "boolean"
|
|
6874
|
-
},
|
|
6875
|
-
"clean": {
|
|
6876
|
-
"description": "Remove the source file after successful upload",
|
|
6877
|
-
"exclusive": [
|
|
6878
|
-
"value"
|
|
6879
|
-
],
|
|
6880
|
-
"name": "clean",
|
|
6881
|
-
"required": false,
|
|
6882
|
-
"allowNo": false,
|
|
6883
|
-
"type": "boolean"
|
|
6884
|
-
},
|
|
6885
|
-
"file": {
|
|
6886
|
-
"char": "f",
|
|
6887
|
-
"description": "Path to kubeconfig file (default: kubeconfig_<cluster_id>.yaml)",
|
|
6888
|
-
"exclusive": [
|
|
6889
|
-
"value"
|
|
6890
|
-
],
|
|
6891
|
-
"name": "file",
|
|
6892
|
-
"required": false,
|
|
6893
|
-
"hasDynamicHelp": false,
|
|
6894
|
-
"multiple": false,
|
|
6895
|
-
"type": "option"
|
|
6896
|
-
},
|
|
6897
|
-
"output": {
|
|
6898
|
-
"char": "o",
|
|
6899
|
-
"description": "Output format",
|
|
6900
|
-
"name": "output",
|
|
6901
|
-
"required": false,
|
|
6902
|
-
"default": "summary",
|
|
6903
|
-
"hasDynamicHelp": false,
|
|
6904
|
-
"multiple": false,
|
|
6905
|
-
"options": [
|
|
6906
|
-
"summary",
|
|
6907
|
-
"json"
|
|
6908
|
-
],
|
|
6909
|
-
"type": "option"
|
|
6910
|
-
},
|
|
6911
|
-
"value": {
|
|
6912
|
-
"description": "Inline kubeconfig YAML value",
|
|
6913
|
-
"exclusive": [
|
|
6914
|
-
"file",
|
|
6915
|
-
"clean"
|
|
6916
|
-
],
|
|
6917
|
-
"name": "value",
|
|
6918
|
-
"required": false,
|
|
6919
|
-
"hasDynamicHelp": false,
|
|
6920
|
-
"multiple": false,
|
|
6921
|
-
"type": "option"
|
|
6922
|
-
}
|
|
6923
|
-
},
|
|
6924
|
-
"hasDynamicHelp": false,
|
|
6925
|
-
"hiddenAliases": [],
|
|
6926
|
-
"id": "tenant:cluster:license:set",
|
|
6927
|
-
"pluginAlias": "@xano/cli",
|
|
6928
|
-
"pluginName": "@xano/cli",
|
|
6929
|
-
"pluginType": "core",
|
|
6930
|
-
"strict": true,
|
|
6931
|
-
"enableJsonFlag": false,
|
|
6932
|
-
"isESM": true,
|
|
6933
|
-
"relativePath": [
|
|
6934
|
-
"dist",
|
|
6935
|
-
"commands",
|
|
6936
|
-
"tenant",
|
|
6937
|
-
"cluster",
|
|
6938
|
-
"license",
|
|
6939
|
-
"set",
|
|
6940
|
-
"index.js"
|
|
6941
|
-
]
|
|
6942
|
-
},
|
|
6943
6932
|
"tenant:cluster:license:get": {
|
|
6944
6933
|
"aliases": [],
|
|
6945
6934
|
"args": {
|
|
@@ -7026,19 +7015,21 @@
|
|
|
7026
7015
|
"index.js"
|
|
7027
7016
|
]
|
|
7028
7017
|
},
|
|
7029
|
-
"tenant:
|
|
7018
|
+
"tenant:cluster:license:set": {
|
|
7030
7019
|
"aliases": [],
|
|
7031
7020
|
"args": {
|
|
7032
|
-
"
|
|
7033
|
-
"description": "Tenant
|
|
7034
|
-
"name": "
|
|
7021
|
+
"cluster_id": {
|
|
7022
|
+
"description": "Tenant cluster ID",
|
|
7023
|
+
"name": "cluster_id",
|
|
7035
7024
|
"required": true
|
|
7036
7025
|
}
|
|
7037
7026
|
},
|
|
7038
|
-
"description": "Set
|
|
7027
|
+
"description": "Set/update the license (kubeconfig) for a tenant cluster",
|
|
7039
7028
|
"examples": [
|
|
7040
|
-
"$ xano tenant
|
|
7041
|
-
"$ xano tenant
|
|
7029
|
+
"$ xano tenant cluster license set 1\nReads from kubeconfig-1.yaml\n",
|
|
7030
|
+
"$ xano tenant cluster license set 1 --file ./kubeconfig.yaml",
|
|
7031
|
+
"$ xano tenant cluster license set 1 --value 'apiVersion: v1...'",
|
|
7032
|
+
"$ xano tenant cluster license set 1 -o json"
|
|
7042
7033
|
],
|
|
7043
7034
|
"flags": {
|
|
7044
7035
|
"profile": {
|
|
@@ -7060,11 +7051,24 @@
|
|
|
7060
7051
|
"allowNo": false,
|
|
7061
7052
|
"type": "boolean"
|
|
7062
7053
|
},
|
|
7063
|
-
"
|
|
7064
|
-
"
|
|
7065
|
-
"
|
|
7066
|
-
|
|
7067
|
-
|
|
7054
|
+
"clean": {
|
|
7055
|
+
"description": "Remove the source file after successful upload",
|
|
7056
|
+
"exclusive": [
|
|
7057
|
+
"value"
|
|
7058
|
+
],
|
|
7059
|
+
"name": "clean",
|
|
7060
|
+
"required": false,
|
|
7061
|
+
"allowNo": false,
|
|
7062
|
+
"type": "boolean"
|
|
7063
|
+
},
|
|
7064
|
+
"file": {
|
|
7065
|
+
"char": "f",
|
|
7066
|
+
"description": "Path to kubeconfig file (default: kubeconfig_<cluster_id>.yaml)",
|
|
7067
|
+
"exclusive": [
|
|
7068
|
+
"value"
|
|
7069
|
+
],
|
|
7070
|
+
"name": "file",
|
|
7071
|
+
"required": false,
|
|
7068
7072
|
"hasDynamicHelp": false,
|
|
7069
7073
|
"multiple": false,
|
|
7070
7074
|
"type": "option"
|
|
@@ -7084,17 +7088,12 @@
|
|
|
7084
7088
|
"type": "option"
|
|
7085
7089
|
},
|
|
7086
7090
|
"value": {
|
|
7087
|
-
"description": "
|
|
7091
|
+
"description": "Inline kubeconfig YAML value",
|
|
7092
|
+
"exclusive": [
|
|
7093
|
+
"file",
|
|
7094
|
+
"clean"
|
|
7095
|
+
],
|
|
7088
7096
|
"name": "value",
|
|
7089
|
-
"required": true,
|
|
7090
|
-
"hasDynamicHelp": false,
|
|
7091
|
-
"multiple": false,
|
|
7092
|
-
"type": "option"
|
|
7093
|
-
},
|
|
7094
|
-
"workspace": {
|
|
7095
|
-
"char": "w",
|
|
7096
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
7097
|
-
"name": "workspace",
|
|
7098
7097
|
"required": false,
|
|
7099
7098
|
"hasDynamicHelp": false,
|
|
7100
7099
|
"multiple": false,
|
|
@@ -7103,7 +7102,7 @@
|
|
|
7103
7102
|
},
|
|
7104
7103
|
"hasDynamicHelp": false,
|
|
7105
7104
|
"hiddenAliases": [],
|
|
7106
|
-
"id": "tenant:
|
|
7105
|
+
"id": "tenant:cluster:license:set",
|
|
7107
7106
|
"pluginAlias": "@xano/cli",
|
|
7108
7107
|
"pluginName": "@xano/cli",
|
|
7109
7108
|
"pluginType": "core",
|
|
@@ -7114,11 +7113,12 @@
|
|
|
7114
7113
|
"dist",
|
|
7115
7114
|
"commands",
|
|
7116
7115
|
"tenant",
|
|
7117
|
-
"
|
|
7116
|
+
"cluster",
|
|
7117
|
+
"license",
|
|
7118
7118
|
"set",
|
|
7119
7119
|
"index.js"
|
|
7120
7120
|
]
|
|
7121
7121
|
}
|
|
7122
7122
|
},
|
|
7123
|
-
"version": "0.0.
|
|
7123
|
+
"version": "0.0.73-beta.0"
|
|
7124
7124
|
}
|