@xano/cli 0.0.88 → 0.0.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/oclif.manifest.json
CHANGED
|
@@ -291,82 +291,6 @@
|
|
|
291
291
|
"index.js"
|
|
292
292
|
]
|
|
293
293
|
},
|
|
294
|
-
"branch:get": {
|
|
295
|
-
"aliases": [],
|
|
296
|
-
"args": {
|
|
297
|
-
"branch_label": {
|
|
298
|
-
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
299
|
-
"name": "branch_label",
|
|
300
|
-
"required": true
|
|
301
|
-
}
|
|
302
|
-
},
|
|
303
|
-
"description": "Get details for a specific branch",
|
|
304
|
-
"examples": [
|
|
305
|
-
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
306
|
-
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
307
|
-
"$ 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"
|
|
308
|
-
],
|
|
309
|
-
"flags": {
|
|
310
|
-
"profile": {
|
|
311
|
-
"char": "p",
|
|
312
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
313
|
-
"env": "XANO_PROFILE",
|
|
314
|
-
"name": "profile",
|
|
315
|
-
"required": false,
|
|
316
|
-
"hasDynamicHelp": false,
|
|
317
|
-
"multiple": false,
|
|
318
|
-
"type": "option"
|
|
319
|
-
},
|
|
320
|
-
"verbose": {
|
|
321
|
-
"char": "v",
|
|
322
|
-
"description": "Show detailed request/response information",
|
|
323
|
-
"env": "XANO_VERBOSE",
|
|
324
|
-
"name": "verbose",
|
|
325
|
-
"required": false,
|
|
326
|
-
"allowNo": false,
|
|
327
|
-
"type": "boolean"
|
|
328
|
-
},
|
|
329
|
-
"output": {
|
|
330
|
-
"char": "o",
|
|
331
|
-
"description": "Output format",
|
|
332
|
-
"name": "output",
|
|
333
|
-
"required": false,
|
|
334
|
-
"default": "summary",
|
|
335
|
-
"hasDynamicHelp": false,
|
|
336
|
-
"multiple": false,
|
|
337
|
-
"options": [
|
|
338
|
-
"summary",
|
|
339
|
-
"json"
|
|
340
|
-
],
|
|
341
|
-
"type": "option"
|
|
342
|
-
},
|
|
343
|
-
"workspace": {
|
|
344
|
-
"char": "w",
|
|
345
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
346
|
-
"name": "workspace",
|
|
347
|
-
"required": false,
|
|
348
|
-
"hasDynamicHelp": false,
|
|
349
|
-
"multiple": false,
|
|
350
|
-
"type": "option"
|
|
351
|
-
}
|
|
352
|
-
},
|
|
353
|
-
"hasDynamicHelp": false,
|
|
354
|
-
"hiddenAliases": [],
|
|
355
|
-
"id": "branch:get",
|
|
356
|
-
"pluginAlias": "@xano/cli",
|
|
357
|
-
"pluginName": "@xano/cli",
|
|
358
|
-
"pluginType": "core",
|
|
359
|
-
"strict": true,
|
|
360
|
-
"enableJsonFlag": false,
|
|
361
|
-
"isESM": true,
|
|
362
|
-
"relativePath": [
|
|
363
|
-
"dist",
|
|
364
|
-
"commands",
|
|
365
|
-
"branch",
|
|
366
|
-
"get",
|
|
367
|
-
"index.js"
|
|
368
|
-
]
|
|
369
|
-
},
|
|
370
294
|
"branch:edit": {
|
|
371
295
|
"aliases": [],
|
|
372
296
|
"args": {
|
|
@@ -537,19 +461,20 @@
|
|
|
537
461
|
"index.js"
|
|
538
462
|
]
|
|
539
463
|
},
|
|
540
|
-
"
|
|
464
|
+
"branch:set_live": {
|
|
541
465
|
"aliases": [],
|
|
542
466
|
"args": {
|
|
543
|
-
"
|
|
544
|
-
"description": "
|
|
545
|
-
"name": "
|
|
467
|
+
"branch_label": {
|
|
468
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
469
|
+
"name": "branch_label",
|
|
546
470
|
"required": true
|
|
547
471
|
}
|
|
548
472
|
},
|
|
549
|
-
"description": "
|
|
473
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
550
474
|
"examples": [
|
|
551
|
-
"$ xano
|
|
552
|
-
"$ xano
|
|
475
|
+
"$ 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",
|
|
476
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
477
|
+
"$ 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"
|
|
553
478
|
],
|
|
554
479
|
"flags": {
|
|
555
480
|
"profile": {
|
|
@@ -571,6 +496,14 @@
|
|
|
571
496
|
"allowNo": false,
|
|
572
497
|
"type": "boolean"
|
|
573
498
|
},
|
|
499
|
+
"force": {
|
|
500
|
+
"char": "f",
|
|
501
|
+
"description": "Skip confirmation prompt",
|
|
502
|
+
"name": "force",
|
|
503
|
+
"required": false,
|
|
504
|
+
"allowNo": false,
|
|
505
|
+
"type": "boolean"
|
|
506
|
+
},
|
|
574
507
|
"output": {
|
|
575
508
|
"char": "o",
|
|
576
509
|
"description": "Output format",
|
|
@@ -584,71 +517,20 @@
|
|
|
584
517
|
"json"
|
|
585
518
|
],
|
|
586
519
|
"type": "option"
|
|
587
|
-
}
|
|
588
|
-
},
|
|
589
|
-
"hasDynamicHelp": false,
|
|
590
|
-
"hiddenAliases": [],
|
|
591
|
-
"id": "platform:get",
|
|
592
|
-
"pluginAlias": "@xano/cli",
|
|
593
|
-
"pluginName": "@xano/cli",
|
|
594
|
-
"pluginType": "core",
|
|
595
|
-
"strict": true,
|
|
596
|
-
"enableJsonFlag": false,
|
|
597
|
-
"isESM": true,
|
|
598
|
-
"relativePath": [
|
|
599
|
-
"dist",
|
|
600
|
-
"commands",
|
|
601
|
-
"platform",
|
|
602
|
-
"get",
|
|
603
|
-
"index.js"
|
|
604
|
-
]
|
|
605
|
-
},
|
|
606
|
-
"platform:list": {
|
|
607
|
-
"aliases": [],
|
|
608
|
-
"args": {},
|
|
609
|
-
"description": "List all platforms",
|
|
610
|
-
"examples": [
|
|
611
|
-
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
612
|
-
"$ xano platform list --output json"
|
|
613
|
-
],
|
|
614
|
-
"flags": {
|
|
615
|
-
"profile": {
|
|
616
|
-
"char": "p",
|
|
617
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
618
|
-
"env": "XANO_PROFILE",
|
|
619
|
-
"name": "profile",
|
|
620
|
-
"required": false,
|
|
621
|
-
"hasDynamicHelp": false,
|
|
622
|
-
"multiple": false,
|
|
623
|
-
"type": "option"
|
|
624
|
-
},
|
|
625
|
-
"verbose": {
|
|
626
|
-
"char": "v",
|
|
627
|
-
"description": "Show detailed request/response information",
|
|
628
|
-
"env": "XANO_VERBOSE",
|
|
629
|
-
"name": "verbose",
|
|
630
|
-
"required": false,
|
|
631
|
-
"allowNo": false,
|
|
632
|
-
"type": "boolean"
|
|
633
520
|
},
|
|
634
|
-
"
|
|
635
|
-
"char": "
|
|
636
|
-
"description": "
|
|
637
|
-
"name": "
|
|
521
|
+
"workspace": {
|
|
522
|
+
"char": "w",
|
|
523
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
524
|
+
"name": "workspace",
|
|
638
525
|
"required": false,
|
|
639
|
-
"default": "summary",
|
|
640
526
|
"hasDynamicHelp": false,
|
|
641
527
|
"multiple": false,
|
|
642
|
-
"options": [
|
|
643
|
-
"summary",
|
|
644
|
-
"json"
|
|
645
|
-
],
|
|
646
528
|
"type": "option"
|
|
647
529
|
}
|
|
648
530
|
},
|
|
649
531
|
"hasDynamicHelp": false,
|
|
650
532
|
"hiddenAliases": [],
|
|
651
|
-
"id": "
|
|
533
|
+
"id": "branch:set_live",
|
|
652
534
|
"pluginAlias": "@xano/cli",
|
|
653
535
|
"pluginName": "@xano/cli",
|
|
654
536
|
"pluginType": "core",
|
|
@@ -658,8 +540,8 @@
|
|
|
658
540
|
"relativePath": [
|
|
659
541
|
"dist",
|
|
660
542
|
"commands",
|
|
661
|
-
"
|
|
662
|
-
"
|
|
543
|
+
"branch",
|
|
544
|
+
"set_live",
|
|
663
545
|
"index.js"
|
|
664
546
|
]
|
|
665
547
|
},
|
|
@@ -888,23 +770,15 @@
|
|
|
888
770
|
"index.js"
|
|
889
771
|
]
|
|
890
772
|
},
|
|
891
|
-
"function:
|
|
773
|
+
"function:list": {
|
|
892
774
|
"aliases": [],
|
|
893
|
-
"args": {
|
|
894
|
-
|
|
895
|
-
"description": "Function ID",
|
|
896
|
-
"name": "function_id",
|
|
897
|
-
"required": false
|
|
898
|
-
}
|
|
899
|
-
},
|
|
900
|
-
"description": "Get a specific function from a workspace",
|
|
775
|
+
"args": {},
|
|
776
|
+
"description": "List all functions in a workspace from the Xano Metadata API",
|
|
901
777
|
"examples": [
|
|
902
|
-
"$ xano function:
|
|
903
|
-
"$ xano function:
|
|
904
|
-
"$ xano function:
|
|
905
|
-
"$ xano function:
|
|
906
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
907
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
778
|
+
"$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
|
|
779
|
+
"$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
|
|
780
|
+
"$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
|
|
781
|
+
"$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
|
|
908
782
|
],
|
|
909
783
|
"flags": {
|
|
910
784
|
"profile": {
|
|
@@ -927,7 +801,7 @@
|
|
|
927
801
|
"type": "boolean"
|
|
928
802
|
},
|
|
929
803
|
"include_draft": {
|
|
930
|
-
"description": "Include draft
|
|
804
|
+
"description": "Include draft functions",
|
|
931
805
|
"name": "include_draft",
|
|
932
806
|
"required": false,
|
|
933
807
|
"allowNo": false,
|
|
@@ -940,6 +814,19 @@
|
|
|
940
814
|
"allowNo": false,
|
|
941
815
|
"type": "boolean"
|
|
942
816
|
},
|
|
817
|
+
"order": {
|
|
818
|
+
"description": "Sort order",
|
|
819
|
+
"name": "order",
|
|
820
|
+
"required": false,
|
|
821
|
+
"default": "desc",
|
|
822
|
+
"hasDynamicHelp": false,
|
|
823
|
+
"multiple": false,
|
|
824
|
+
"options": [
|
|
825
|
+
"asc",
|
|
826
|
+
"desc"
|
|
827
|
+
],
|
|
828
|
+
"type": "option"
|
|
829
|
+
},
|
|
943
830
|
"output": {
|
|
944
831
|
"char": "o",
|
|
945
832
|
"description": "Output format",
|
|
@@ -950,11 +837,37 @@
|
|
|
950
837
|
"multiple": false,
|
|
951
838
|
"options": [
|
|
952
839
|
"summary",
|
|
953
|
-
"json"
|
|
954
|
-
"xs"
|
|
840
|
+
"json"
|
|
955
841
|
],
|
|
956
842
|
"type": "option"
|
|
957
843
|
},
|
|
844
|
+
"page": {
|
|
845
|
+
"description": "Page number for pagination",
|
|
846
|
+
"name": "page",
|
|
847
|
+
"required": false,
|
|
848
|
+
"default": 1,
|
|
849
|
+
"hasDynamicHelp": false,
|
|
850
|
+
"multiple": false,
|
|
851
|
+
"type": "option"
|
|
852
|
+
},
|
|
853
|
+
"per_page": {
|
|
854
|
+
"description": "Number of results per page",
|
|
855
|
+
"name": "per_page",
|
|
856
|
+
"required": false,
|
|
857
|
+
"default": 50,
|
|
858
|
+
"hasDynamicHelp": false,
|
|
859
|
+
"multiple": false,
|
|
860
|
+
"type": "option"
|
|
861
|
+
},
|
|
862
|
+
"sort": {
|
|
863
|
+
"description": "Sort field",
|
|
864
|
+
"name": "sort",
|
|
865
|
+
"required": false,
|
|
866
|
+
"default": "created_at",
|
|
867
|
+
"hasDynamicHelp": false,
|
|
868
|
+
"multiple": false,
|
|
869
|
+
"type": "option"
|
|
870
|
+
},
|
|
958
871
|
"workspace": {
|
|
959
872
|
"char": "w",
|
|
960
873
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -967,7 +880,7 @@
|
|
|
967
880
|
},
|
|
968
881
|
"hasDynamicHelp": false,
|
|
969
882
|
"hiddenAliases": [],
|
|
970
|
-
"id": "function:
|
|
883
|
+
"id": "function:list",
|
|
971
884
|
"pluginAlias": "@xano/cli",
|
|
972
885
|
"pluginName": "@xano/cli",
|
|
973
886
|
"pluginType": "core",
|
|
@@ -978,24 +891,32 @@
|
|
|
978
891
|
"dist",
|
|
979
892
|
"commands",
|
|
980
893
|
"function",
|
|
981
|
-
"
|
|
894
|
+
"list",
|
|
982
895
|
"index.js"
|
|
983
896
|
]
|
|
984
897
|
},
|
|
985
|
-
"function:
|
|
898
|
+
"function:get": {
|
|
986
899
|
"aliases": [],
|
|
987
|
-
"args": {
|
|
988
|
-
|
|
900
|
+
"args": {
|
|
901
|
+
"function_id": {
|
|
902
|
+
"description": "Function ID",
|
|
903
|
+
"name": "function_id",
|
|
904
|
+
"required": false
|
|
905
|
+
}
|
|
906
|
+
},
|
|
907
|
+
"description": "Get a specific function from a workspace",
|
|
989
908
|
"examples": [
|
|
990
|
-
"$ xano function:
|
|
991
|
-
"$ xano function:
|
|
992
|
-
"$ xano function:
|
|
993
|
-
"$ xano function:
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
909
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
910
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
911
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
912
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
913
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
914
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
915
|
+
],
|
|
916
|
+
"flags": {
|
|
917
|
+
"profile": {
|
|
918
|
+
"char": "p",
|
|
919
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
999
920
|
"env": "XANO_PROFILE",
|
|
1000
921
|
"name": "profile",
|
|
1001
922
|
"required": false,
|
|
@@ -1013,7 +934,7 @@
|
|
|
1013
934
|
"type": "boolean"
|
|
1014
935
|
},
|
|
1015
936
|
"include_draft": {
|
|
1016
|
-
"description": "Include draft
|
|
937
|
+
"description": "Include draft version",
|
|
1017
938
|
"name": "include_draft",
|
|
1018
939
|
"required": false,
|
|
1019
940
|
"allowNo": false,
|
|
@@ -1026,19 +947,6 @@
|
|
|
1026
947
|
"allowNo": false,
|
|
1027
948
|
"type": "boolean"
|
|
1028
949
|
},
|
|
1029
|
-
"order": {
|
|
1030
|
-
"description": "Sort order",
|
|
1031
|
-
"name": "order",
|
|
1032
|
-
"required": false,
|
|
1033
|
-
"default": "desc",
|
|
1034
|
-
"hasDynamicHelp": false,
|
|
1035
|
-
"multiple": false,
|
|
1036
|
-
"options": [
|
|
1037
|
-
"asc",
|
|
1038
|
-
"desc"
|
|
1039
|
-
],
|
|
1040
|
-
"type": "option"
|
|
1041
|
-
},
|
|
1042
950
|
"output": {
|
|
1043
951
|
"char": "o",
|
|
1044
952
|
"description": "Output format",
|
|
@@ -1049,37 +957,11 @@
|
|
|
1049
957
|
"multiple": false,
|
|
1050
958
|
"options": [
|
|
1051
959
|
"summary",
|
|
1052
|
-
"json"
|
|
960
|
+
"json",
|
|
961
|
+
"xs"
|
|
1053
962
|
],
|
|
1054
963
|
"type": "option"
|
|
1055
964
|
},
|
|
1056
|
-
"page": {
|
|
1057
|
-
"description": "Page number for pagination",
|
|
1058
|
-
"name": "page",
|
|
1059
|
-
"required": false,
|
|
1060
|
-
"default": 1,
|
|
1061
|
-
"hasDynamicHelp": false,
|
|
1062
|
-
"multiple": false,
|
|
1063
|
-
"type": "option"
|
|
1064
|
-
},
|
|
1065
|
-
"per_page": {
|
|
1066
|
-
"description": "Number of results per page",
|
|
1067
|
-
"name": "per_page",
|
|
1068
|
-
"required": false,
|
|
1069
|
-
"default": 50,
|
|
1070
|
-
"hasDynamicHelp": false,
|
|
1071
|
-
"multiple": false,
|
|
1072
|
-
"type": "option"
|
|
1073
|
-
},
|
|
1074
|
-
"sort": {
|
|
1075
|
-
"description": "Sort field",
|
|
1076
|
-
"name": "sort",
|
|
1077
|
-
"required": false,
|
|
1078
|
-
"default": "created_at",
|
|
1079
|
-
"hasDynamicHelp": false,
|
|
1080
|
-
"multiple": false,
|
|
1081
|
-
"type": "option"
|
|
1082
|
-
},
|
|
1083
965
|
"workspace": {
|
|
1084
966
|
"char": "w",
|
|
1085
967
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -1092,7 +974,7 @@
|
|
|
1092
974
|
},
|
|
1093
975
|
"hasDynamicHelp": false,
|
|
1094
976
|
"hiddenAliases": [],
|
|
1095
|
-
"id": "function:
|
|
977
|
+
"id": "function:get",
|
|
1096
978
|
"pluginAlias": "@xano/cli",
|
|
1097
979
|
"pluginName": "@xano/cli",
|
|
1098
980
|
"pluginType": "core",
|
|
@@ -1103,49 +985,7 @@
|
|
|
1103
985
|
"dist",
|
|
1104
986
|
"commands",
|
|
1105
987
|
"function",
|
|
1106
|
-
"
|
|
1107
|
-
"index.js"
|
|
1108
|
-
]
|
|
1109
|
-
},
|
|
1110
|
-
"profile:delete": {
|
|
1111
|
-
"aliases": [],
|
|
1112
|
-
"args": {
|
|
1113
|
-
"name": {
|
|
1114
|
-
"description": "Profile name to delete",
|
|
1115
|
-
"name": "name",
|
|
1116
|
-
"required": true
|
|
1117
|
-
}
|
|
1118
|
-
},
|
|
1119
|
-
"description": "Delete a profile configuration",
|
|
1120
|
-
"examples": [
|
|
1121
|
-
"$ 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",
|
|
1122
|
-
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1123
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1124
|
-
],
|
|
1125
|
-
"flags": {
|
|
1126
|
-
"force": {
|
|
1127
|
-
"char": "f",
|
|
1128
|
-
"description": "Skip confirmation prompt",
|
|
1129
|
-
"name": "force",
|
|
1130
|
-
"required": false,
|
|
1131
|
-
"allowNo": false,
|
|
1132
|
-
"type": "boolean"
|
|
1133
|
-
}
|
|
1134
|
-
},
|
|
1135
|
-
"hasDynamicHelp": false,
|
|
1136
|
-
"hiddenAliases": [],
|
|
1137
|
-
"id": "profile:delete",
|
|
1138
|
-
"pluginAlias": "@xano/cli",
|
|
1139
|
-
"pluginName": "@xano/cli",
|
|
1140
|
-
"pluginType": "core",
|
|
1141
|
-
"strict": true,
|
|
1142
|
-
"enableJsonFlag": false,
|
|
1143
|
-
"isESM": true,
|
|
1144
|
-
"relativePath": [
|
|
1145
|
-
"dist",
|
|
1146
|
-
"commands",
|
|
1147
|
-
"profile",
|
|
1148
|
-
"delete",
|
|
988
|
+
"get",
|
|
1149
989
|
"index.js"
|
|
1150
990
|
]
|
|
1151
991
|
},
|
|
@@ -1245,6 +1085,174 @@
|
|
|
1245
1085
|
"index.js"
|
|
1246
1086
|
]
|
|
1247
1087
|
},
|
|
1088
|
+
"platform:get": {
|
|
1089
|
+
"aliases": [],
|
|
1090
|
+
"args": {
|
|
1091
|
+
"platform_id": {
|
|
1092
|
+
"description": "Platform ID to retrieve",
|
|
1093
|
+
"name": "platform_id",
|
|
1094
|
+
"required": true
|
|
1095
|
+
}
|
|
1096
|
+
},
|
|
1097
|
+
"description": "Get details of a specific platform",
|
|
1098
|
+
"examples": [
|
|
1099
|
+
"$ 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",
|
|
1100
|
+
"$ xano platform get 23629 -o json"
|
|
1101
|
+
],
|
|
1102
|
+
"flags": {
|
|
1103
|
+
"profile": {
|
|
1104
|
+
"char": "p",
|
|
1105
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1106
|
+
"env": "XANO_PROFILE",
|
|
1107
|
+
"name": "profile",
|
|
1108
|
+
"required": false,
|
|
1109
|
+
"hasDynamicHelp": false,
|
|
1110
|
+
"multiple": false,
|
|
1111
|
+
"type": "option"
|
|
1112
|
+
},
|
|
1113
|
+
"verbose": {
|
|
1114
|
+
"char": "v",
|
|
1115
|
+
"description": "Show detailed request/response information",
|
|
1116
|
+
"env": "XANO_VERBOSE",
|
|
1117
|
+
"name": "verbose",
|
|
1118
|
+
"required": false,
|
|
1119
|
+
"allowNo": false,
|
|
1120
|
+
"type": "boolean"
|
|
1121
|
+
},
|
|
1122
|
+
"output": {
|
|
1123
|
+
"char": "o",
|
|
1124
|
+
"description": "Output format",
|
|
1125
|
+
"name": "output",
|
|
1126
|
+
"required": false,
|
|
1127
|
+
"default": "summary",
|
|
1128
|
+
"hasDynamicHelp": false,
|
|
1129
|
+
"multiple": false,
|
|
1130
|
+
"options": [
|
|
1131
|
+
"summary",
|
|
1132
|
+
"json"
|
|
1133
|
+
],
|
|
1134
|
+
"type": "option"
|
|
1135
|
+
}
|
|
1136
|
+
},
|
|
1137
|
+
"hasDynamicHelp": false,
|
|
1138
|
+
"hiddenAliases": [],
|
|
1139
|
+
"id": "platform:get",
|
|
1140
|
+
"pluginAlias": "@xano/cli",
|
|
1141
|
+
"pluginName": "@xano/cli",
|
|
1142
|
+
"pluginType": "core",
|
|
1143
|
+
"strict": true,
|
|
1144
|
+
"enableJsonFlag": false,
|
|
1145
|
+
"isESM": true,
|
|
1146
|
+
"relativePath": [
|
|
1147
|
+
"dist",
|
|
1148
|
+
"commands",
|
|
1149
|
+
"platform",
|
|
1150
|
+
"get",
|
|
1151
|
+
"index.js"
|
|
1152
|
+
]
|
|
1153
|
+
},
|
|
1154
|
+
"platform:list": {
|
|
1155
|
+
"aliases": [],
|
|
1156
|
+
"args": {},
|
|
1157
|
+
"description": "List all platforms",
|
|
1158
|
+
"examples": [
|
|
1159
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1160
|
+
"$ xano platform list --output json"
|
|
1161
|
+
],
|
|
1162
|
+
"flags": {
|
|
1163
|
+
"profile": {
|
|
1164
|
+
"char": "p",
|
|
1165
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1166
|
+
"env": "XANO_PROFILE",
|
|
1167
|
+
"name": "profile",
|
|
1168
|
+
"required": false,
|
|
1169
|
+
"hasDynamicHelp": false,
|
|
1170
|
+
"multiple": false,
|
|
1171
|
+
"type": "option"
|
|
1172
|
+
},
|
|
1173
|
+
"verbose": {
|
|
1174
|
+
"char": "v",
|
|
1175
|
+
"description": "Show detailed request/response information",
|
|
1176
|
+
"env": "XANO_VERBOSE",
|
|
1177
|
+
"name": "verbose",
|
|
1178
|
+
"required": false,
|
|
1179
|
+
"allowNo": false,
|
|
1180
|
+
"type": "boolean"
|
|
1181
|
+
},
|
|
1182
|
+
"output": {
|
|
1183
|
+
"char": "o",
|
|
1184
|
+
"description": "Output format",
|
|
1185
|
+
"name": "output",
|
|
1186
|
+
"required": false,
|
|
1187
|
+
"default": "summary",
|
|
1188
|
+
"hasDynamicHelp": false,
|
|
1189
|
+
"multiple": false,
|
|
1190
|
+
"options": [
|
|
1191
|
+
"summary",
|
|
1192
|
+
"json"
|
|
1193
|
+
],
|
|
1194
|
+
"type": "option"
|
|
1195
|
+
}
|
|
1196
|
+
},
|
|
1197
|
+
"hasDynamicHelp": false,
|
|
1198
|
+
"hiddenAliases": [],
|
|
1199
|
+
"id": "platform:list",
|
|
1200
|
+
"pluginAlias": "@xano/cli",
|
|
1201
|
+
"pluginName": "@xano/cli",
|
|
1202
|
+
"pluginType": "core",
|
|
1203
|
+
"strict": true,
|
|
1204
|
+
"enableJsonFlag": false,
|
|
1205
|
+
"isESM": true,
|
|
1206
|
+
"relativePath": [
|
|
1207
|
+
"dist",
|
|
1208
|
+
"commands",
|
|
1209
|
+
"platform",
|
|
1210
|
+
"list",
|
|
1211
|
+
"index.js"
|
|
1212
|
+
]
|
|
1213
|
+
},
|
|
1214
|
+
"profile:delete": {
|
|
1215
|
+
"aliases": [],
|
|
1216
|
+
"args": {
|
|
1217
|
+
"name": {
|
|
1218
|
+
"description": "Profile name to delete",
|
|
1219
|
+
"name": "name",
|
|
1220
|
+
"required": true
|
|
1221
|
+
}
|
|
1222
|
+
},
|
|
1223
|
+
"description": "Delete a profile configuration",
|
|
1224
|
+
"examples": [
|
|
1225
|
+
"$ 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",
|
|
1226
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1227
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1228
|
+
],
|
|
1229
|
+
"flags": {
|
|
1230
|
+
"force": {
|
|
1231
|
+
"char": "f",
|
|
1232
|
+
"description": "Skip confirmation prompt",
|
|
1233
|
+
"name": "force",
|
|
1234
|
+
"required": false,
|
|
1235
|
+
"allowNo": false,
|
|
1236
|
+
"type": "boolean"
|
|
1237
|
+
}
|
|
1238
|
+
},
|
|
1239
|
+
"hasDynamicHelp": false,
|
|
1240
|
+
"hiddenAliases": [],
|
|
1241
|
+
"id": "profile:delete",
|
|
1242
|
+
"pluginAlias": "@xano/cli",
|
|
1243
|
+
"pluginName": "@xano/cli",
|
|
1244
|
+
"pluginType": "core",
|
|
1245
|
+
"strict": true,
|
|
1246
|
+
"enableJsonFlag": false,
|
|
1247
|
+
"isESM": true,
|
|
1248
|
+
"relativePath": [
|
|
1249
|
+
"dist",
|
|
1250
|
+
"commands",
|
|
1251
|
+
"profile",
|
|
1252
|
+
"delete",
|
|
1253
|
+
"index.js"
|
|
1254
|
+
]
|
|
1255
|
+
},
|
|
1248
1256
|
"profile:edit": {
|
|
1249
1257
|
"aliases": [],
|
|
1250
1258
|
"args": {
|
|
@@ -1375,28 +1383,17 @@
|
|
|
1375
1383
|
"index.js"
|
|
1376
1384
|
]
|
|
1377
1385
|
},
|
|
1378
|
-
"profile:
|
|
1386
|
+
"profile:get": {
|
|
1379
1387
|
"aliases": [],
|
|
1380
1388
|
"args": {},
|
|
1381
|
-
"description": "
|
|
1389
|
+
"description": "Get the current default profile name",
|
|
1382
1390
|
"examples": [
|
|
1383
|
-
"$ xano profile
|
|
1384
|
-
"$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
1385
|
-
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
1391
|
+
"$ xano profile get\nproduction\n"
|
|
1386
1392
|
],
|
|
1387
|
-
"flags": {
|
|
1388
|
-
"details": {
|
|
1389
|
-
"char": "d",
|
|
1390
|
-
"description": "Show detailed information for each profile",
|
|
1391
|
-
"name": "details",
|
|
1392
|
-
"required": false,
|
|
1393
|
-
"allowNo": false,
|
|
1394
|
-
"type": "boolean"
|
|
1395
|
-
}
|
|
1396
|
-
},
|
|
1393
|
+
"flags": {},
|
|
1397
1394
|
"hasDynamicHelp": false,
|
|
1398
1395
|
"hiddenAliases": [],
|
|
1399
|
-
"id": "profile:
|
|
1396
|
+
"id": "profile:get",
|
|
1400
1397
|
"pluginAlias": "@xano/cli",
|
|
1401
1398
|
"pluginName": "@xano/cli",
|
|
1402
1399
|
"pluginType": "core",
|
|
@@ -1407,21 +1404,32 @@
|
|
|
1407
1404
|
"dist",
|
|
1408
1405
|
"commands",
|
|
1409
1406
|
"profile",
|
|
1410
|
-
"
|
|
1407
|
+
"get",
|
|
1411
1408
|
"index.js"
|
|
1412
1409
|
]
|
|
1413
1410
|
},
|
|
1414
|
-
"profile:
|
|
1411
|
+
"profile:list": {
|
|
1415
1412
|
"aliases": [],
|
|
1416
1413
|
"args": {},
|
|
1417
|
-
"description": "
|
|
1414
|
+
"description": "List all available profile configurations",
|
|
1418
1415
|
"examples": [
|
|
1419
|
-
"$ xano profile
|
|
1416
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1417
|
+
"$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
1418
|
+
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
1420
1419
|
],
|
|
1421
|
-
"flags": {
|
|
1420
|
+
"flags": {
|
|
1421
|
+
"details": {
|
|
1422
|
+
"char": "d",
|
|
1423
|
+
"description": "Show detailed information for each profile",
|
|
1424
|
+
"name": "details",
|
|
1425
|
+
"required": false,
|
|
1426
|
+
"allowNo": false,
|
|
1427
|
+
"type": "boolean"
|
|
1428
|
+
}
|
|
1429
|
+
},
|
|
1422
1430
|
"hasDynamicHelp": false,
|
|
1423
1431
|
"hiddenAliases": [],
|
|
1424
|
-
"id": "profile:
|
|
1432
|
+
"id": "profile:list",
|
|
1425
1433
|
"pluginAlias": "@xano/cli",
|
|
1426
1434
|
"pluginName": "@xano/cli",
|
|
1427
1435
|
"pluginType": "core",
|
|
@@ -1432,7 +1440,7 @@
|
|
|
1432
1440
|
"dist",
|
|
1433
1441
|
"commands",
|
|
1434
1442
|
"profile",
|
|
1435
|
-
"
|
|
1443
|
+
"list",
|
|
1436
1444
|
"index.js"
|
|
1437
1445
|
]
|
|
1438
1446
|
},
|
|
@@ -1528,6 +1536,32 @@
|
|
|
1528
1536
|
"index.js"
|
|
1529
1537
|
]
|
|
1530
1538
|
},
|
|
1539
|
+
"profile:token": {
|
|
1540
|
+
"aliases": [],
|
|
1541
|
+
"args": {},
|
|
1542
|
+
"description": "Print the access token for the default profile",
|
|
1543
|
+
"examples": [
|
|
1544
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1545
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1546
|
+
],
|
|
1547
|
+
"flags": {},
|
|
1548
|
+
"hasDynamicHelp": false,
|
|
1549
|
+
"hiddenAliases": [],
|
|
1550
|
+
"id": "profile:token",
|
|
1551
|
+
"pluginAlias": "@xano/cli",
|
|
1552
|
+
"pluginName": "@xano/cli",
|
|
1553
|
+
"pluginType": "core",
|
|
1554
|
+
"strict": true,
|
|
1555
|
+
"enableJsonFlag": false,
|
|
1556
|
+
"isESM": true,
|
|
1557
|
+
"relativePath": [
|
|
1558
|
+
"dist",
|
|
1559
|
+
"commands",
|
|
1560
|
+
"profile",
|
|
1561
|
+
"token",
|
|
1562
|
+
"index.js"
|
|
1563
|
+
]
|
|
1564
|
+
},
|
|
1531
1565
|
"profile:wizard": {
|
|
1532
1566
|
"aliases": [],
|
|
1533
1567
|
"args": {},
|
|
@@ -1581,32 +1615,6 @@
|
|
|
1581
1615
|
"index.js"
|
|
1582
1616
|
]
|
|
1583
1617
|
},
|
|
1584
|
-
"profile:token": {
|
|
1585
|
-
"aliases": [],
|
|
1586
|
-
"args": {},
|
|
1587
|
-
"description": "Print the access token for the default profile",
|
|
1588
|
-
"examples": [
|
|
1589
|
-
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1590
|
-
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1591
|
-
],
|
|
1592
|
-
"flags": {},
|
|
1593
|
-
"hasDynamicHelp": false,
|
|
1594
|
-
"hiddenAliases": [],
|
|
1595
|
-
"id": "profile:token",
|
|
1596
|
-
"pluginAlias": "@xano/cli",
|
|
1597
|
-
"pluginName": "@xano/cli",
|
|
1598
|
-
"pluginType": "core",
|
|
1599
|
-
"strict": true,
|
|
1600
|
-
"enableJsonFlag": false,
|
|
1601
|
-
"isESM": true,
|
|
1602
|
-
"relativePath": [
|
|
1603
|
-
"dist",
|
|
1604
|
-
"commands",
|
|
1605
|
-
"profile",
|
|
1606
|
-
"token",
|
|
1607
|
-
"index.js"
|
|
1608
|
-
]
|
|
1609
|
-
},
|
|
1610
1618
|
"profile:workspace": {
|
|
1611
1619
|
"aliases": [],
|
|
1612
1620
|
"args": {},
|
|
@@ -1729,7 +1737,83 @@
|
|
|
1729
1737
|
},
|
|
1730
1738
|
"hasDynamicHelp": false,
|
|
1731
1739
|
"hiddenAliases": [],
|
|
1732
|
-
"id": "release:create",
|
|
1740
|
+
"id": "release:create",
|
|
1741
|
+
"pluginAlias": "@xano/cli",
|
|
1742
|
+
"pluginName": "@xano/cli",
|
|
1743
|
+
"pluginType": "core",
|
|
1744
|
+
"strict": true,
|
|
1745
|
+
"enableJsonFlag": false,
|
|
1746
|
+
"isESM": true,
|
|
1747
|
+
"relativePath": [
|
|
1748
|
+
"dist",
|
|
1749
|
+
"commands",
|
|
1750
|
+
"release",
|
|
1751
|
+
"create",
|
|
1752
|
+
"index.js"
|
|
1753
|
+
]
|
|
1754
|
+
},
|
|
1755
|
+
"branch:get": {
|
|
1756
|
+
"aliases": [],
|
|
1757
|
+
"args": {
|
|
1758
|
+
"branch_label": {
|
|
1759
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
1760
|
+
"name": "branch_label",
|
|
1761
|
+
"required": true
|
|
1762
|
+
}
|
|
1763
|
+
},
|
|
1764
|
+
"description": "Get details for a specific branch",
|
|
1765
|
+
"examples": [
|
|
1766
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
1767
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
1768
|
+
"$ 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"
|
|
1769
|
+
],
|
|
1770
|
+
"flags": {
|
|
1771
|
+
"profile": {
|
|
1772
|
+
"char": "p",
|
|
1773
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1774
|
+
"env": "XANO_PROFILE",
|
|
1775
|
+
"name": "profile",
|
|
1776
|
+
"required": false,
|
|
1777
|
+
"hasDynamicHelp": false,
|
|
1778
|
+
"multiple": false,
|
|
1779
|
+
"type": "option"
|
|
1780
|
+
},
|
|
1781
|
+
"verbose": {
|
|
1782
|
+
"char": "v",
|
|
1783
|
+
"description": "Show detailed request/response information",
|
|
1784
|
+
"env": "XANO_VERBOSE",
|
|
1785
|
+
"name": "verbose",
|
|
1786
|
+
"required": false,
|
|
1787
|
+
"allowNo": false,
|
|
1788
|
+
"type": "boolean"
|
|
1789
|
+
},
|
|
1790
|
+
"output": {
|
|
1791
|
+
"char": "o",
|
|
1792
|
+
"description": "Output format",
|
|
1793
|
+
"name": "output",
|
|
1794
|
+
"required": false,
|
|
1795
|
+
"default": "summary",
|
|
1796
|
+
"hasDynamicHelp": false,
|
|
1797
|
+
"multiple": false,
|
|
1798
|
+
"options": [
|
|
1799
|
+
"summary",
|
|
1800
|
+
"json"
|
|
1801
|
+
],
|
|
1802
|
+
"type": "option"
|
|
1803
|
+
},
|
|
1804
|
+
"workspace": {
|
|
1805
|
+
"char": "w",
|
|
1806
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1807
|
+
"name": "workspace",
|
|
1808
|
+
"required": false,
|
|
1809
|
+
"hasDynamicHelp": false,
|
|
1810
|
+
"multiple": false,
|
|
1811
|
+
"type": "option"
|
|
1812
|
+
}
|
|
1813
|
+
},
|
|
1814
|
+
"hasDynamicHelp": false,
|
|
1815
|
+
"hiddenAliases": [],
|
|
1816
|
+
"id": "branch:get",
|
|
1733
1817
|
"pluginAlias": "@xano/cli",
|
|
1734
1818
|
"pluginName": "@xano/cli",
|
|
1735
1819
|
"pluginType": "core",
|
|
@@ -1739,8 +1823,8 @@
|
|
|
1739
1823
|
"relativePath": [
|
|
1740
1824
|
"dist",
|
|
1741
1825
|
"commands",
|
|
1742
|
-
"
|
|
1743
|
-
"
|
|
1826
|
+
"branch",
|
|
1827
|
+
"get",
|
|
1744
1828
|
"index.js"
|
|
1745
1829
|
]
|
|
1746
1830
|
},
|
|
@@ -2005,81 +2089,6 @@
|
|
|
2005
2089
|
"index.js"
|
|
2006
2090
|
]
|
|
2007
2091
|
},
|
|
2008
|
-
"release:get": {
|
|
2009
|
-
"aliases": [],
|
|
2010
|
-
"args": {
|
|
2011
|
-
"release_name": {
|
|
2012
|
-
"description": "Release name to retrieve",
|
|
2013
|
-
"name": "release_name",
|
|
2014
|
-
"required": true
|
|
2015
|
-
}
|
|
2016
|
-
},
|
|
2017
|
-
"description": "Get details of a specific release",
|
|
2018
|
-
"examples": [
|
|
2019
|
-
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2020
|
-
"$ xano release get v1.0 -w 5 -o json"
|
|
2021
|
-
],
|
|
2022
|
-
"flags": {
|
|
2023
|
-
"profile": {
|
|
2024
|
-
"char": "p",
|
|
2025
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2026
|
-
"env": "XANO_PROFILE",
|
|
2027
|
-
"name": "profile",
|
|
2028
|
-
"required": false,
|
|
2029
|
-
"hasDynamicHelp": false,
|
|
2030
|
-
"multiple": false,
|
|
2031
|
-
"type": "option"
|
|
2032
|
-
},
|
|
2033
|
-
"verbose": {
|
|
2034
|
-
"char": "v",
|
|
2035
|
-
"description": "Show detailed request/response information",
|
|
2036
|
-
"env": "XANO_VERBOSE",
|
|
2037
|
-
"name": "verbose",
|
|
2038
|
-
"required": false,
|
|
2039
|
-
"allowNo": false,
|
|
2040
|
-
"type": "boolean"
|
|
2041
|
-
},
|
|
2042
|
-
"output": {
|
|
2043
|
-
"char": "o",
|
|
2044
|
-
"description": "Output format",
|
|
2045
|
-
"name": "output",
|
|
2046
|
-
"required": false,
|
|
2047
|
-
"default": "summary",
|
|
2048
|
-
"hasDynamicHelp": false,
|
|
2049
|
-
"multiple": false,
|
|
2050
|
-
"options": [
|
|
2051
|
-
"summary",
|
|
2052
|
-
"json"
|
|
2053
|
-
],
|
|
2054
|
-
"type": "option"
|
|
2055
|
-
},
|
|
2056
|
-
"workspace": {
|
|
2057
|
-
"char": "w",
|
|
2058
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2059
|
-
"name": "workspace",
|
|
2060
|
-
"required": false,
|
|
2061
|
-
"hasDynamicHelp": false,
|
|
2062
|
-
"multiple": false,
|
|
2063
|
-
"type": "option"
|
|
2064
|
-
}
|
|
2065
|
-
},
|
|
2066
|
-
"hasDynamicHelp": false,
|
|
2067
|
-
"hiddenAliases": [],
|
|
2068
|
-
"id": "release:get",
|
|
2069
|
-
"pluginAlias": "@xano/cli",
|
|
2070
|
-
"pluginName": "@xano/cli",
|
|
2071
|
-
"pluginType": "core",
|
|
2072
|
-
"strict": true,
|
|
2073
|
-
"enableJsonFlag": false,
|
|
2074
|
-
"isESM": true,
|
|
2075
|
-
"relativePath": [
|
|
2076
|
-
"dist",
|
|
2077
|
-
"commands",
|
|
2078
|
-
"release",
|
|
2079
|
-
"get",
|
|
2080
|
-
"index.js"
|
|
2081
|
-
]
|
|
2082
|
-
},
|
|
2083
2092
|
"release:import": {
|
|
2084
2093
|
"aliases": [],
|
|
2085
2094
|
"args": {},
|
|
@@ -2519,19 +2528,19 @@
|
|
|
2519
2528
|
"index.js"
|
|
2520
2529
|
]
|
|
2521
2530
|
},
|
|
2522
|
-
"
|
|
2531
|
+
"release:get": {
|
|
2523
2532
|
"aliases": [],
|
|
2524
2533
|
"args": {
|
|
2525
|
-
"
|
|
2526
|
-
"description": "
|
|
2527
|
-
"name": "
|
|
2534
|
+
"release_name": {
|
|
2535
|
+
"description": "Release name to retrieve",
|
|
2536
|
+
"name": "release_name",
|
|
2528
2537
|
"required": true
|
|
2529
2538
|
}
|
|
2530
2539
|
},
|
|
2531
|
-
"description": "
|
|
2540
|
+
"description": "Get details of a specific release",
|
|
2532
2541
|
"examples": [
|
|
2533
|
-
"$ xano
|
|
2534
|
-
"$ xano
|
|
2542
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2543
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
2535
2544
|
],
|
|
2536
2545
|
"flags": {
|
|
2537
2546
|
"profile": {
|
|
@@ -2553,57 +2562,6 @@
|
|
|
2553
2562
|
"allowNo": false,
|
|
2554
2563
|
"type": "boolean"
|
|
2555
2564
|
},
|
|
2556
|
-
"cluster_id": {
|
|
2557
|
-
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2558
|
-
"name": "cluster_id",
|
|
2559
|
-
"required": false,
|
|
2560
|
-
"hasDynamicHelp": false,
|
|
2561
|
-
"multiple": false,
|
|
2562
|
-
"type": "option"
|
|
2563
|
-
},
|
|
2564
|
-
"description": {
|
|
2565
|
-
"char": "d",
|
|
2566
|
-
"description": "Tenant description",
|
|
2567
|
-
"name": "description",
|
|
2568
|
-
"required": false,
|
|
2569
|
-
"hasDynamicHelp": false,
|
|
2570
|
-
"multiple": false,
|
|
2571
|
-
"type": "option"
|
|
2572
|
-
},
|
|
2573
|
-
"domain": {
|
|
2574
|
-
"description": "Custom domain for the tenant",
|
|
2575
|
-
"name": "domain",
|
|
2576
|
-
"required": false,
|
|
2577
|
-
"hasDynamicHelp": false,
|
|
2578
|
-
"multiple": false,
|
|
2579
|
-
"type": "option"
|
|
2580
|
-
},
|
|
2581
|
-
"ephemeral": {
|
|
2582
|
-
"description": "Mark tenant as ephemeral (allows push operations)",
|
|
2583
|
-
"name": "ephemeral",
|
|
2584
|
-
"allowNo": false,
|
|
2585
|
-
"type": "boolean"
|
|
2586
|
-
},
|
|
2587
|
-
"ingress": {
|
|
2588
|
-
"description": "Enable ingress",
|
|
2589
|
-
"name": "ingress",
|
|
2590
|
-
"allowNo": true,
|
|
2591
|
-
"type": "boolean"
|
|
2592
|
-
},
|
|
2593
|
-
"license": {
|
|
2594
|
-
"description": "License tier",
|
|
2595
|
-
"name": "license",
|
|
2596
|
-
"required": false,
|
|
2597
|
-
"default": "tier1",
|
|
2598
|
-
"hasDynamicHelp": false,
|
|
2599
|
-
"multiple": false,
|
|
2600
|
-
"options": [
|
|
2601
|
-
"tier1",
|
|
2602
|
-
"tier2",
|
|
2603
|
-
"tier3"
|
|
2604
|
-
],
|
|
2605
|
-
"type": "option"
|
|
2606
|
-
},
|
|
2607
2565
|
"output": {
|
|
2608
2566
|
"char": "o",
|
|
2609
2567
|
"description": "Output format",
|
|
@@ -2618,20 +2576,6 @@
|
|
|
2618
2576
|
],
|
|
2619
2577
|
"type": "option"
|
|
2620
2578
|
},
|
|
2621
|
-
"platform_id": {
|
|
2622
|
-
"description": "Platform ID to use",
|
|
2623
|
-
"name": "platform_id",
|
|
2624
|
-
"required": false,
|
|
2625
|
-
"hasDynamicHelp": false,
|
|
2626
|
-
"multiple": false,
|
|
2627
|
-
"type": "option"
|
|
2628
|
-
},
|
|
2629
|
-
"tasks": {
|
|
2630
|
-
"description": "Enable background tasks",
|
|
2631
|
-
"name": "tasks",
|
|
2632
|
-
"allowNo": true,
|
|
2633
|
-
"type": "boolean"
|
|
2634
|
-
},
|
|
2635
2579
|
"workspace": {
|
|
2636
2580
|
"char": "w",
|
|
2637
2581
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2644,7 +2588,7 @@
|
|
|
2644
2588
|
},
|
|
2645
2589
|
"hasDynamicHelp": false,
|
|
2646
2590
|
"hiddenAliases": [],
|
|
2647
|
-
"id": "
|
|
2591
|
+
"id": "release:get",
|
|
2648
2592
|
"pluginAlias": "@xano/cli",
|
|
2649
2593
|
"pluginName": "@xano/cli",
|
|
2650
2594
|
"pluginType": "core",
|
|
@@ -2654,25 +2598,24 @@
|
|
|
2654
2598
|
"relativePath": [
|
|
2655
2599
|
"dist",
|
|
2656
2600
|
"commands",
|
|
2657
|
-
"
|
|
2658
|
-
"
|
|
2601
|
+
"release",
|
|
2602
|
+
"get",
|
|
2659
2603
|
"index.js"
|
|
2660
2604
|
]
|
|
2661
2605
|
},
|
|
2662
|
-
"tenant:
|
|
2606
|
+
"tenant:create": {
|
|
2663
2607
|
"aliases": [],
|
|
2664
2608
|
"args": {
|
|
2665
|
-
"
|
|
2666
|
-
"description": "
|
|
2667
|
-
"name": "
|
|
2609
|
+
"display": {
|
|
2610
|
+
"description": "Display name for the tenant",
|
|
2611
|
+
"name": "display",
|
|
2668
2612
|
"required": true
|
|
2669
2613
|
}
|
|
2670
2614
|
},
|
|
2671
|
-
"description": "
|
|
2615
|
+
"description": "Create a new tenant in a workspace",
|
|
2672
2616
|
"examples": [
|
|
2673
|
-
"$ xano tenant
|
|
2674
|
-
"$ xano tenant
|
|
2675
|
-
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2617
|
+
"$ xano tenant create \"Production\"\nCreated tenant: Production (production) - ID: 42\n",
|
|
2618
|
+
"$ xano tenant create \"Staging\" --description \"Staging env\" --cluster_id 1 --platform_id 1 --license tier2 -o json"
|
|
2676
2619
|
],
|
|
2677
2620
|
"flags": {
|
|
2678
2621
|
"profile": {
|
|
@@ -2694,97 +2637,55 @@
|
|
|
2694
2637
|
"allowNo": false,
|
|
2695
2638
|
"type": "boolean"
|
|
2696
2639
|
},
|
|
2697
|
-
"
|
|
2698
|
-
"
|
|
2699
|
-
"
|
|
2700
|
-
"name": "force",
|
|
2701
|
-
"required": false,
|
|
2702
|
-
"allowNo": false,
|
|
2703
|
-
"type": "boolean"
|
|
2704
|
-
},
|
|
2705
|
-
"output": {
|
|
2706
|
-
"char": "o",
|
|
2707
|
-
"description": "Output format",
|
|
2708
|
-
"name": "output",
|
|
2709
|
-
"required": false,
|
|
2710
|
-
"default": "summary",
|
|
2711
|
-
"hasDynamicHelp": false,
|
|
2712
|
-
"multiple": false,
|
|
2713
|
-
"options": [
|
|
2714
|
-
"summary",
|
|
2715
|
-
"json"
|
|
2716
|
-
],
|
|
2717
|
-
"type": "option"
|
|
2718
|
-
},
|
|
2719
|
-
"workspace": {
|
|
2720
|
-
"char": "w",
|
|
2721
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2722
|
-
"name": "workspace",
|
|
2640
|
+
"cluster_id": {
|
|
2641
|
+
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2642
|
+
"name": "cluster_id",
|
|
2723
2643
|
"required": false,
|
|
2724
2644
|
"hasDynamicHelp": false,
|
|
2725
2645
|
"multiple": false,
|
|
2726
2646
|
"type": "option"
|
|
2727
|
-
}
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
"pluginAlias": "@xano/cli",
|
|
2733
|
-
"pluginName": "@xano/cli",
|
|
2734
|
-
"pluginType": "core",
|
|
2735
|
-
"strict": true,
|
|
2736
|
-
"enableJsonFlag": false,
|
|
2737
|
-
"isESM": true,
|
|
2738
|
-
"relativePath": [
|
|
2739
|
-
"dist",
|
|
2740
|
-
"commands",
|
|
2741
|
-
"tenant",
|
|
2742
|
-
"delete",
|
|
2743
|
-
"index.js"
|
|
2744
|
-
]
|
|
2745
|
-
},
|
|
2746
|
-
"tenant:deploy_platform": {
|
|
2747
|
-
"aliases": [],
|
|
2748
|
-
"args": {
|
|
2749
|
-
"tenant_name": {
|
|
2750
|
-
"description": "Tenant name to deploy to",
|
|
2751
|
-
"name": "tenant_name",
|
|
2752
|
-
"required": true
|
|
2753
|
-
}
|
|
2754
|
-
},
|
|
2755
|
-
"description": "Deploy a platform version to a tenant",
|
|
2756
|
-
"examples": [
|
|
2757
|
-
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2758
|
-
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json",
|
|
2759
|
-
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
|
|
2760
|
-
],
|
|
2761
|
-
"flags": {
|
|
2762
|
-
"profile": {
|
|
2763
|
-
"char": "p",
|
|
2764
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2765
|
-
"env": "XANO_PROFILE",
|
|
2766
|
-
"name": "profile",
|
|
2647
|
+
},
|
|
2648
|
+
"description": {
|
|
2649
|
+
"char": "d",
|
|
2650
|
+
"description": "Tenant description",
|
|
2651
|
+
"name": "description",
|
|
2767
2652
|
"required": false,
|
|
2768
2653
|
"hasDynamicHelp": false,
|
|
2769
2654
|
"multiple": false,
|
|
2770
2655
|
"type": "option"
|
|
2771
2656
|
},
|
|
2772
|
-
"
|
|
2773
|
-
"
|
|
2774
|
-
"
|
|
2775
|
-
"env": "XANO_VERBOSE",
|
|
2776
|
-
"name": "verbose",
|
|
2657
|
+
"domain": {
|
|
2658
|
+
"description": "Custom domain for the tenant",
|
|
2659
|
+
"name": "domain",
|
|
2777
2660
|
"required": false,
|
|
2661
|
+
"hasDynamicHelp": false,
|
|
2662
|
+
"multiple": false,
|
|
2663
|
+
"type": "option"
|
|
2664
|
+
},
|
|
2665
|
+
"ephemeral": {
|
|
2666
|
+
"description": "Mark tenant as ephemeral (allows push operations)",
|
|
2667
|
+
"name": "ephemeral",
|
|
2778
2668
|
"allowNo": false,
|
|
2779
2669
|
"type": "boolean"
|
|
2780
2670
|
},
|
|
2671
|
+
"ingress": {
|
|
2672
|
+
"description": "Enable ingress",
|
|
2673
|
+
"name": "ingress",
|
|
2674
|
+
"allowNo": true,
|
|
2675
|
+
"type": "boolean"
|
|
2676
|
+
},
|
|
2781
2677
|
"license": {
|
|
2782
|
-
"
|
|
2783
|
-
"description": "Path to a license override file to apply after deploy",
|
|
2678
|
+
"description": "License tier",
|
|
2784
2679
|
"name": "license",
|
|
2785
2680
|
"required": false,
|
|
2681
|
+
"default": "tier1",
|
|
2786
2682
|
"hasDynamicHelp": false,
|
|
2787
2683
|
"multiple": false,
|
|
2684
|
+
"options": [
|
|
2685
|
+
"tier1",
|
|
2686
|
+
"tier2",
|
|
2687
|
+
"tier3"
|
|
2688
|
+
],
|
|
2788
2689
|
"type": "option"
|
|
2789
2690
|
},
|
|
2790
2691
|
"output": {
|
|
@@ -2802,13 +2703,19 @@
|
|
|
2802
2703
|
"type": "option"
|
|
2803
2704
|
},
|
|
2804
2705
|
"platform_id": {
|
|
2805
|
-
"description": "Platform ID to
|
|
2706
|
+
"description": "Platform ID to use",
|
|
2806
2707
|
"name": "platform_id",
|
|
2807
|
-
"required":
|
|
2708
|
+
"required": false,
|
|
2808
2709
|
"hasDynamicHelp": false,
|
|
2809
2710
|
"multiple": false,
|
|
2810
2711
|
"type": "option"
|
|
2811
2712
|
},
|
|
2713
|
+
"tasks": {
|
|
2714
|
+
"description": "Enable background tasks",
|
|
2715
|
+
"name": "tasks",
|
|
2716
|
+
"allowNo": true,
|
|
2717
|
+
"type": "boolean"
|
|
2718
|
+
},
|
|
2812
2719
|
"workspace": {
|
|
2813
2720
|
"char": "w",
|
|
2814
2721
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2821,7 +2728,7 @@
|
|
|
2821
2728
|
},
|
|
2822
2729
|
"hasDynamicHelp": false,
|
|
2823
2730
|
"hiddenAliases": [],
|
|
2824
|
-
"id": "tenant:
|
|
2731
|
+
"id": "tenant:create",
|
|
2825
2732
|
"pluginAlias": "@xano/cli",
|
|
2826
2733
|
"pluginName": "@xano/cli",
|
|
2827
2734
|
"pluginType": "core",
|
|
@@ -2832,7 +2739,7 @@
|
|
|
2832
2739
|
"dist",
|
|
2833
2740
|
"commands",
|
|
2834
2741
|
"tenant",
|
|
2835
|
-
"
|
|
2742
|
+
"create",
|
|
2836
2743
|
"index.js"
|
|
2837
2744
|
]
|
|
2838
2745
|
},
|
|
@@ -3049,19 +2956,20 @@
|
|
|
3049
2956
|
"index.js"
|
|
3050
2957
|
]
|
|
3051
2958
|
},
|
|
3052
|
-
"tenant:
|
|
2959
|
+
"tenant:deploy_platform": {
|
|
3053
2960
|
"aliases": [],
|
|
3054
2961
|
"args": {
|
|
3055
2962
|
"tenant_name": {
|
|
3056
|
-
"description": "Tenant name to
|
|
2963
|
+
"description": "Tenant name to deploy to",
|
|
3057
2964
|
"name": "tenant_name",
|
|
3058
2965
|
"required": true
|
|
3059
2966
|
}
|
|
3060
2967
|
},
|
|
3061
|
-
"description": "
|
|
2968
|
+
"description": "Deploy a platform version to a tenant",
|
|
3062
2969
|
"examples": [
|
|
3063
|
-
"$ xano tenant
|
|
3064
|
-
"$ xano tenant
|
|
2970
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2971
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json",
|
|
2972
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
|
|
3065
2973
|
],
|
|
3066
2974
|
"flags": {
|
|
3067
2975
|
"profile": {
|
|
@@ -3083,6 +2991,15 @@
|
|
|
3083
2991
|
"allowNo": false,
|
|
3084
2992
|
"type": "boolean"
|
|
3085
2993
|
},
|
|
2994
|
+
"license": {
|
|
2995
|
+
"char": "l",
|
|
2996
|
+
"description": "Path to a license override file to apply after deploy",
|
|
2997
|
+
"name": "license",
|
|
2998
|
+
"required": false,
|
|
2999
|
+
"hasDynamicHelp": false,
|
|
3000
|
+
"multiple": false,
|
|
3001
|
+
"type": "option"
|
|
3002
|
+
},
|
|
3086
3003
|
"output": {
|
|
3087
3004
|
"char": "o",
|
|
3088
3005
|
"description": "Output format",
|
|
@@ -3097,6 +3014,14 @@
|
|
|
3097
3014
|
],
|
|
3098
3015
|
"type": "option"
|
|
3099
3016
|
},
|
|
3017
|
+
"platform_id": {
|
|
3018
|
+
"description": "Platform ID to deploy",
|
|
3019
|
+
"name": "platform_id",
|
|
3020
|
+
"required": true,
|
|
3021
|
+
"hasDynamicHelp": false,
|
|
3022
|
+
"multiple": false,
|
|
3023
|
+
"type": "option"
|
|
3024
|
+
},
|
|
3100
3025
|
"workspace": {
|
|
3101
3026
|
"char": "w",
|
|
3102
3027
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3109,7 +3034,7 @@
|
|
|
3109
3034
|
},
|
|
3110
3035
|
"hasDynamicHelp": false,
|
|
3111
3036
|
"hiddenAliases": [],
|
|
3112
|
-
"id": "tenant:
|
|
3037
|
+
"id": "tenant:deploy_platform",
|
|
3113
3038
|
"pluginAlias": "@xano/cli",
|
|
3114
3039
|
"pluginName": "@xano/cli",
|
|
3115
3040
|
"pluginType": "core",
|
|
@@ -3120,23 +3045,24 @@
|
|
|
3120
3045
|
"dist",
|
|
3121
3046
|
"commands",
|
|
3122
3047
|
"tenant",
|
|
3123
|
-
"
|
|
3048
|
+
"deploy_platform",
|
|
3124
3049
|
"index.js"
|
|
3125
3050
|
]
|
|
3126
3051
|
},
|
|
3127
|
-
"tenant:
|
|
3052
|
+
"tenant:delete": {
|
|
3128
3053
|
"aliases": [],
|
|
3129
3054
|
"args": {
|
|
3130
3055
|
"tenant_name": {
|
|
3131
|
-
"description": "Tenant name to
|
|
3056
|
+
"description": "Tenant name to delete",
|
|
3132
3057
|
"name": "tenant_name",
|
|
3133
3058
|
"required": true
|
|
3134
3059
|
}
|
|
3135
3060
|
},
|
|
3136
|
-
"description": "
|
|
3061
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
3137
3062
|
"examples": [
|
|
3138
|
-
"$ xano tenant
|
|
3139
|
-
"$ xano tenant
|
|
3063
|
+
"$ 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",
|
|
3064
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
3065
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
3140
3066
|
],
|
|
3141
3067
|
"flags": {
|
|
3142
3068
|
"profile": {
|
|
@@ -3158,6 +3084,14 @@
|
|
|
3158
3084
|
"allowNo": false,
|
|
3159
3085
|
"type": "boolean"
|
|
3160
3086
|
},
|
|
3087
|
+
"force": {
|
|
3088
|
+
"char": "f",
|
|
3089
|
+
"description": "Skip confirmation prompt",
|
|
3090
|
+
"name": "force",
|
|
3091
|
+
"required": false,
|
|
3092
|
+
"allowNo": false,
|
|
3093
|
+
"type": "boolean"
|
|
3094
|
+
},
|
|
3161
3095
|
"output": {
|
|
3162
3096
|
"char": "o",
|
|
3163
3097
|
"description": "Output format",
|
|
@@ -3172,14 +3106,6 @@
|
|
|
3172
3106
|
],
|
|
3173
3107
|
"type": "option"
|
|
3174
3108
|
},
|
|
3175
|
-
"url-only": {
|
|
3176
|
-
"char": "u",
|
|
3177
|
-
"description": "Print the URL without opening the browser",
|
|
3178
|
-
"name": "url-only",
|
|
3179
|
-
"required": false,
|
|
3180
|
-
"allowNo": false,
|
|
3181
|
-
"type": "boolean"
|
|
3182
|
-
},
|
|
3183
3109
|
"workspace": {
|
|
3184
3110
|
"char": "w",
|
|
3185
3111
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3192,7 +3118,7 @@
|
|
|
3192
3118
|
},
|
|
3193
3119
|
"hasDynamicHelp": false,
|
|
3194
3120
|
"hiddenAliases": [],
|
|
3195
|
-
"id": "tenant:
|
|
3121
|
+
"id": "tenant:delete",
|
|
3196
3122
|
"pluginAlias": "@xano/cli",
|
|
3197
3123
|
"pluginName": "@xano/cli",
|
|
3198
3124
|
"pluginType": "core",
|
|
@@ -3203,17 +3129,23 @@
|
|
|
3203
3129
|
"dist",
|
|
3204
3130
|
"commands",
|
|
3205
3131
|
"tenant",
|
|
3206
|
-
"
|
|
3132
|
+
"delete",
|
|
3207
3133
|
"index.js"
|
|
3208
3134
|
]
|
|
3209
3135
|
},
|
|
3210
|
-
"tenant:
|
|
3136
|
+
"tenant:get": {
|
|
3211
3137
|
"aliases": [],
|
|
3212
|
-
"args": {
|
|
3213
|
-
|
|
3138
|
+
"args": {
|
|
3139
|
+
"tenant_name": {
|
|
3140
|
+
"description": "Tenant name to retrieve",
|
|
3141
|
+
"name": "tenant_name",
|
|
3142
|
+
"required": true
|
|
3143
|
+
}
|
|
3144
|
+
},
|
|
3145
|
+
"description": "Get details of a specific tenant",
|
|
3214
3146
|
"examples": [
|
|
3215
|
-
"$ xano tenant
|
|
3216
|
-
"$ xano tenant
|
|
3147
|
+
"$ 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",
|
|
3148
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
3217
3149
|
],
|
|
3218
3150
|
"flags": {
|
|
3219
3151
|
"profile": {
|
|
@@ -3261,7 +3193,7 @@
|
|
|
3261
3193
|
},
|
|
3262
3194
|
"hasDynamicHelp": false,
|
|
3263
3195
|
"hiddenAliases": [],
|
|
3264
|
-
"id": "tenant:
|
|
3196
|
+
"id": "tenant:get",
|
|
3265
3197
|
"pluginAlias": "@xano/cli",
|
|
3266
3198
|
"pluginName": "@xano/cli",
|
|
3267
3199
|
"pluginType": "core",
|
|
@@ -3272,25 +3204,23 @@
|
|
|
3272
3204
|
"dist",
|
|
3273
3205
|
"commands",
|
|
3274
3206
|
"tenant",
|
|
3275
|
-
"
|
|
3207
|
+
"get",
|
|
3276
3208
|
"index.js"
|
|
3277
3209
|
]
|
|
3278
3210
|
},
|
|
3279
|
-
"tenant:
|
|
3211
|
+
"tenant:impersonate": {
|
|
3280
3212
|
"aliases": [],
|
|
3281
3213
|
"args": {
|
|
3282
|
-
"
|
|
3283
|
-
"description": "
|
|
3284
|
-
"name": "
|
|
3214
|
+
"tenant_name": {
|
|
3215
|
+
"description": "Tenant name to impersonate",
|
|
3216
|
+
"name": "tenant_name",
|
|
3285
3217
|
"required": true
|
|
3286
3218
|
}
|
|
3287
3219
|
},
|
|
3288
|
-
"description": "
|
|
3220
|
+
"description": "Impersonate a tenant and open it in the browser",
|
|
3289
3221
|
"examples": [
|
|
3290
|
-
"$ xano tenant
|
|
3291
|
-
"$ xano tenant
|
|
3292
|
-
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3293
|
-
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3222
|
+
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3223
|
+
"$ xano tenant impersonate my-tenant -o json"
|
|
3294
3224
|
],
|
|
3295
3225
|
"flags": {
|
|
3296
3226
|
"profile": {
|
|
@@ -3312,39 +3242,31 @@
|
|
|
3312
3242
|
"allowNo": false,
|
|
3313
3243
|
"type": "boolean"
|
|
3314
3244
|
},
|
|
3315
|
-
"
|
|
3316
|
-
"
|
|
3317
|
-
"
|
|
3318
|
-
"
|
|
3319
|
-
"allowNo": false,
|
|
3320
|
-
"type": "boolean"
|
|
3321
|
-
},
|
|
3322
|
-
"env": {
|
|
3323
|
-
"description": "Include environment variables",
|
|
3324
|
-
"name": "env",
|
|
3245
|
+
"output": {
|
|
3246
|
+
"char": "o",
|
|
3247
|
+
"description": "Output format",
|
|
3248
|
+
"name": "output",
|
|
3325
3249
|
"required": false,
|
|
3326
|
-
"
|
|
3327
|
-
"
|
|
3250
|
+
"default": "summary",
|
|
3251
|
+
"hasDynamicHelp": false,
|
|
3252
|
+
"multiple": false,
|
|
3253
|
+
"options": [
|
|
3254
|
+
"summary",
|
|
3255
|
+
"json"
|
|
3256
|
+
],
|
|
3257
|
+
"type": "option"
|
|
3328
3258
|
},
|
|
3329
|
-
"
|
|
3330
|
-
"
|
|
3331
|
-
"
|
|
3259
|
+
"url-only": {
|
|
3260
|
+
"char": "u",
|
|
3261
|
+
"description": "Print the URL without opening the browser",
|
|
3262
|
+
"name": "url-only",
|
|
3332
3263
|
"required": false,
|
|
3333
3264
|
"allowNo": false,
|
|
3334
3265
|
"type": "boolean"
|
|
3335
3266
|
},
|
|
3336
|
-
"tenant": {
|
|
3337
|
-
"char": "t",
|
|
3338
|
-
"description": "Tenant name to pull from",
|
|
3339
|
-
"name": "tenant",
|
|
3340
|
-
"required": true,
|
|
3341
|
-
"hasDynamicHelp": false,
|
|
3342
|
-
"multiple": false,
|
|
3343
|
-
"type": "option"
|
|
3344
|
-
},
|
|
3345
3267
|
"workspace": {
|
|
3346
3268
|
"char": "w",
|
|
3347
|
-
"description": "Workspace ID (
|
|
3269
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3348
3270
|
"name": "workspace",
|
|
3349
3271
|
"required": false,
|
|
3350
3272
|
"hasDynamicHelp": false,
|
|
@@ -3354,7 +3276,7 @@
|
|
|
3354
3276
|
},
|
|
3355
3277
|
"hasDynamicHelp": false,
|
|
3356
3278
|
"hiddenAliases": [],
|
|
3357
|
-
"id": "tenant:
|
|
3279
|
+
"id": "tenant:impersonate",
|
|
3358
3280
|
"pluginAlias": "@xano/cli",
|
|
3359
3281
|
"pluginName": "@xano/cli",
|
|
3360
3282
|
"pluginType": "core",
|
|
@@ -3365,27 +3287,17 @@
|
|
|
3365
3287
|
"dist",
|
|
3366
3288
|
"commands",
|
|
3367
3289
|
"tenant",
|
|
3368
|
-
"
|
|
3290
|
+
"impersonate",
|
|
3369
3291
|
"index.js"
|
|
3370
3292
|
]
|
|
3371
3293
|
},
|
|
3372
|
-
"tenant:
|
|
3294
|
+
"tenant:list": {
|
|
3373
3295
|
"aliases": [],
|
|
3374
|
-
"args": {
|
|
3375
|
-
|
|
3376
|
-
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3377
|
-
"name": "directory",
|
|
3378
|
-
"required": true
|
|
3379
|
-
}
|
|
3380
|
-
},
|
|
3381
|
-
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3296
|
+
"args": {},
|
|
3297
|
+
"description": "List all tenants in a workspace",
|
|
3382
3298
|
"examples": [
|
|
3383
|
-
"$ xano tenant
|
|
3384
|
-
"$ xano tenant
|
|
3385
|
-
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3386
|
-
"$ xano tenant push ./my-workspace -t my-tenant --records\nInclude table records in import\n",
|
|
3387
|
-
"$ xano tenant push ./my-workspace -t my-tenant --env\nInclude environment variables in import\n",
|
|
3388
|
-
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3299
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n Cluster: us-central\n Release: r1\n Platform: default\n - Staging (staging) [ok] - tier1\n Cluster: us-central\n Release: r1\n",
|
|
3300
|
+
"$ xano tenant list -w 5 --output json"
|
|
3389
3301
|
],
|
|
3390
3302
|
"flags": {
|
|
3391
3303
|
"profile": {
|
|
@@ -3394,59 +3306,36 @@
|
|
|
3394
3306
|
"env": "XANO_PROFILE",
|
|
3395
3307
|
"name": "profile",
|
|
3396
3308
|
"required": false,
|
|
3397
|
-
"hasDynamicHelp": false,
|
|
3398
|
-
"multiple": false,
|
|
3399
|
-
"type": "option"
|
|
3400
|
-
},
|
|
3401
|
-
"verbose": {
|
|
3402
|
-
"char": "v",
|
|
3403
|
-
"description": "Show detailed request/response information",
|
|
3404
|
-
"env": "XANO_VERBOSE",
|
|
3405
|
-
"name": "verbose",
|
|
3406
|
-
"required": false,
|
|
3407
|
-
"allowNo": false,
|
|
3408
|
-
"type": "boolean"
|
|
3409
|
-
},
|
|
3410
|
-
"env": {
|
|
3411
|
-
"description": "Include environment variables in import",
|
|
3412
|
-
"name": "env",
|
|
3413
|
-
"required": false,
|
|
3414
|
-
"allowNo": false,
|
|
3415
|
-
"type": "boolean"
|
|
3416
|
-
},
|
|
3417
|
-
"records": {
|
|
3418
|
-
"description": "Include records in import",
|
|
3419
|
-
"name": "records",
|
|
3420
|
-
"required": false,
|
|
3421
|
-
"allowNo": false,
|
|
3422
|
-
"type": "boolean"
|
|
3423
|
-
},
|
|
3424
|
-
"tenant": {
|
|
3425
|
-
"char": "t",
|
|
3426
|
-
"description": "Tenant name to push to",
|
|
3427
|
-
"name": "tenant",
|
|
3428
|
-
"required": true,
|
|
3429
|
-
"hasDynamicHelp": false,
|
|
3430
|
-
"multiple": false,
|
|
3431
|
-
"type": "option"
|
|
3432
|
-
},
|
|
3433
|
-
"transaction": {
|
|
3434
|
-
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
3435
|
-
"name": "transaction",
|
|
3436
|
-
"required": false,
|
|
3437
|
-
"allowNo": true,
|
|
3438
|
-
"type": "boolean"
|
|
3309
|
+
"hasDynamicHelp": false,
|
|
3310
|
+
"multiple": false,
|
|
3311
|
+
"type": "option"
|
|
3439
3312
|
},
|
|
3440
|
-
"
|
|
3441
|
-
"
|
|
3442
|
-
"
|
|
3313
|
+
"verbose": {
|
|
3314
|
+
"char": "v",
|
|
3315
|
+
"description": "Show detailed request/response information",
|
|
3316
|
+
"env": "XANO_VERBOSE",
|
|
3317
|
+
"name": "verbose",
|
|
3443
3318
|
"required": false,
|
|
3444
3319
|
"allowNo": false,
|
|
3445
3320
|
"type": "boolean"
|
|
3446
3321
|
},
|
|
3322
|
+
"output": {
|
|
3323
|
+
"char": "o",
|
|
3324
|
+
"description": "Output format",
|
|
3325
|
+
"name": "output",
|
|
3326
|
+
"required": false,
|
|
3327
|
+
"default": "summary",
|
|
3328
|
+
"hasDynamicHelp": false,
|
|
3329
|
+
"multiple": false,
|
|
3330
|
+
"options": [
|
|
3331
|
+
"summary",
|
|
3332
|
+
"json"
|
|
3333
|
+
],
|
|
3334
|
+
"type": "option"
|
|
3335
|
+
},
|
|
3447
3336
|
"workspace": {
|
|
3448
3337
|
"char": "w",
|
|
3449
|
-
"description": "Workspace ID (
|
|
3338
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3450
3339
|
"name": "workspace",
|
|
3451
3340
|
"required": false,
|
|
3452
3341
|
"hasDynamicHelp": false,
|
|
@@ -3456,7 +3345,7 @@
|
|
|
3456
3345
|
},
|
|
3457
3346
|
"hasDynamicHelp": false,
|
|
3458
3347
|
"hiddenAliases": [],
|
|
3459
|
-
"id": "tenant:
|
|
3348
|
+
"id": "tenant:list",
|
|
3460
3349
|
"pluginAlias": "@xano/cli",
|
|
3461
3350
|
"pluginName": "@xano/cli",
|
|
3462
3351
|
"pluginType": "core",
|
|
@@ -3467,7 +3356,7 @@
|
|
|
3467
3356
|
"dist",
|
|
3468
3357
|
"commands",
|
|
3469
3358
|
"tenant",
|
|
3470
|
-
"
|
|
3359
|
+
"list",
|
|
3471
3360
|
"index.js"
|
|
3472
3361
|
]
|
|
3473
3362
|
},
|
|
@@ -3638,6 +3527,99 @@
|
|
|
3638
3527
|
"index.js"
|
|
3639
3528
|
]
|
|
3640
3529
|
},
|
|
3530
|
+
"tenant:pull": {
|
|
3531
|
+
"aliases": [],
|
|
3532
|
+
"args": {
|
|
3533
|
+
"directory": {
|
|
3534
|
+
"description": "Output directory for pulled documents",
|
|
3535
|
+
"name": "directory",
|
|
3536
|
+
"required": true
|
|
3537
|
+
}
|
|
3538
|
+
},
|
|
3539
|
+
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3540
|
+
"examples": [
|
|
3541
|
+
"$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
|
|
3542
|
+
"$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
|
|
3543
|
+
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3544
|
+
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3545
|
+
],
|
|
3546
|
+
"flags": {
|
|
3547
|
+
"profile": {
|
|
3548
|
+
"char": "p",
|
|
3549
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3550
|
+
"env": "XANO_PROFILE",
|
|
3551
|
+
"name": "profile",
|
|
3552
|
+
"required": false,
|
|
3553
|
+
"hasDynamicHelp": false,
|
|
3554
|
+
"multiple": false,
|
|
3555
|
+
"type": "option"
|
|
3556
|
+
},
|
|
3557
|
+
"verbose": {
|
|
3558
|
+
"char": "v",
|
|
3559
|
+
"description": "Show detailed request/response information",
|
|
3560
|
+
"env": "XANO_VERBOSE",
|
|
3561
|
+
"name": "verbose",
|
|
3562
|
+
"required": false,
|
|
3563
|
+
"allowNo": false,
|
|
3564
|
+
"type": "boolean"
|
|
3565
|
+
},
|
|
3566
|
+
"draft": {
|
|
3567
|
+
"description": "Include draft versions",
|
|
3568
|
+
"name": "draft",
|
|
3569
|
+
"required": false,
|
|
3570
|
+
"allowNo": false,
|
|
3571
|
+
"type": "boolean"
|
|
3572
|
+
},
|
|
3573
|
+
"env": {
|
|
3574
|
+
"description": "Include environment variables",
|
|
3575
|
+
"name": "env",
|
|
3576
|
+
"required": false,
|
|
3577
|
+
"allowNo": false,
|
|
3578
|
+
"type": "boolean"
|
|
3579
|
+
},
|
|
3580
|
+
"records": {
|
|
3581
|
+
"description": "Include records",
|
|
3582
|
+
"name": "records",
|
|
3583
|
+
"required": false,
|
|
3584
|
+
"allowNo": false,
|
|
3585
|
+
"type": "boolean"
|
|
3586
|
+
},
|
|
3587
|
+
"tenant": {
|
|
3588
|
+
"char": "t",
|
|
3589
|
+
"description": "Tenant name to pull from",
|
|
3590
|
+
"name": "tenant",
|
|
3591
|
+
"required": true,
|
|
3592
|
+
"hasDynamicHelp": false,
|
|
3593
|
+
"multiple": false,
|
|
3594
|
+
"type": "option"
|
|
3595
|
+
},
|
|
3596
|
+
"workspace": {
|
|
3597
|
+
"char": "w",
|
|
3598
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3599
|
+
"name": "workspace",
|
|
3600
|
+
"required": false,
|
|
3601
|
+
"hasDynamicHelp": false,
|
|
3602
|
+
"multiple": false,
|
|
3603
|
+
"type": "option"
|
|
3604
|
+
}
|
|
3605
|
+
},
|
|
3606
|
+
"hasDynamicHelp": false,
|
|
3607
|
+
"hiddenAliases": [],
|
|
3608
|
+
"id": "tenant:pull",
|
|
3609
|
+
"pluginAlias": "@xano/cli",
|
|
3610
|
+
"pluginName": "@xano/cli",
|
|
3611
|
+
"pluginType": "core",
|
|
3612
|
+
"strict": true,
|
|
3613
|
+
"enableJsonFlag": false,
|
|
3614
|
+
"isESM": true,
|
|
3615
|
+
"relativePath": [
|
|
3616
|
+
"dist",
|
|
3617
|
+
"commands",
|
|
3618
|
+
"tenant",
|
|
3619
|
+
"pull",
|
|
3620
|
+
"index.js"
|
|
3621
|
+
]
|
|
3622
|
+
},
|
|
3641
3623
|
"unit_test:run_all": {
|
|
3642
3624
|
"aliases": [],
|
|
3643
3625
|
"args": {},
|
|
@@ -3975,19 +3957,13 @@
|
|
|
3975
3957
|
"index.js"
|
|
3976
3958
|
]
|
|
3977
3959
|
},
|
|
3978
|
-
"workflow_test:
|
|
3960
|
+
"workflow_test:run_all": {
|
|
3979
3961
|
"aliases": [],
|
|
3980
|
-
"args": {
|
|
3981
|
-
|
|
3982
|
-
"description": "ID of the workflow test to run",
|
|
3983
|
-
"name": "workflow_test_id",
|
|
3984
|
-
"required": true
|
|
3985
|
-
}
|
|
3986
|
-
},
|
|
3987
|
-
"description": "Run a workflow test",
|
|
3962
|
+
"args": {},
|
|
3963
|
+
"description": "Run all workflow tests in a workspace",
|
|
3988
3964
|
"examples": [
|
|
3989
|
-
"$ xano workflow-test run
|
|
3990
|
-
"$ xano workflow-test run
|
|
3965
|
+
"$ xano workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (1.234s)\nPASS auth-flow (0.567s)\nFAIL data-validation (0.890s)\n Error: assertion failed at step 3\n\nResults: 2 passed, 1 failed (2.691s total)\n",
|
|
3966
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
3991
3967
|
],
|
|
3992
3968
|
"flags": {
|
|
3993
3969
|
"profile": {
|
|
@@ -4009,6 +3985,15 @@
|
|
|
4009
3985
|
"allowNo": false,
|
|
4010
3986
|
"type": "boolean"
|
|
4011
3987
|
},
|
|
3988
|
+
"branch": {
|
|
3989
|
+
"char": "b",
|
|
3990
|
+
"description": "Filter by branch name",
|
|
3991
|
+
"name": "branch",
|
|
3992
|
+
"required": false,
|
|
3993
|
+
"hasDynamicHelp": false,
|
|
3994
|
+
"multiple": false,
|
|
3995
|
+
"type": "option"
|
|
3996
|
+
},
|
|
4012
3997
|
"output": {
|
|
4013
3998
|
"char": "o",
|
|
4014
3999
|
"description": "Output format",
|
|
@@ -4035,7 +4020,7 @@
|
|
|
4035
4020
|
},
|
|
4036
4021
|
"hasDynamicHelp": false,
|
|
4037
4022
|
"hiddenAliases": [],
|
|
4038
|
-
"id": "workflow_test:
|
|
4023
|
+
"id": "workflow_test:run_all",
|
|
4039
4024
|
"pluginAlias": "@xano/cli",
|
|
4040
4025
|
"pluginName": "@xano/cli",
|
|
4041
4026
|
"pluginType": "core",
|
|
@@ -4046,17 +4031,23 @@
|
|
|
4046
4031
|
"dist",
|
|
4047
4032
|
"commands",
|
|
4048
4033
|
"workflow_test",
|
|
4049
|
-
"
|
|
4034
|
+
"run_all",
|
|
4050
4035
|
"index.js"
|
|
4051
4036
|
]
|
|
4052
4037
|
},
|
|
4053
|
-
"workflow_test:
|
|
4038
|
+
"workflow_test:run": {
|
|
4054
4039
|
"aliases": [],
|
|
4055
|
-
"args": {
|
|
4056
|
-
|
|
4040
|
+
"args": {
|
|
4041
|
+
"workflow_test_id": {
|
|
4042
|
+
"description": "ID of the workflow test to run",
|
|
4043
|
+
"name": "workflow_test_id",
|
|
4044
|
+
"required": true
|
|
4045
|
+
}
|
|
4046
|
+
},
|
|
4047
|
+
"description": "Run a workflow test",
|
|
4057
4048
|
"examples": [
|
|
4058
|
-
"$ xano workflow-test run
|
|
4059
|
-
"$ xano workflow-test run
|
|
4049
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
4050
|
+
"$ xano workflow-test run 1 -o json"
|
|
4060
4051
|
],
|
|
4061
4052
|
"flags": {
|
|
4062
4053
|
"profile": {
|
|
@@ -4078,15 +4069,6 @@
|
|
|
4078
4069
|
"allowNo": false,
|
|
4079
4070
|
"type": "boolean"
|
|
4080
4071
|
},
|
|
4081
|
-
"branch": {
|
|
4082
|
-
"char": "b",
|
|
4083
|
-
"description": "Filter by branch name",
|
|
4084
|
-
"name": "branch",
|
|
4085
|
-
"required": false,
|
|
4086
|
-
"hasDynamicHelp": false,
|
|
4087
|
-
"multiple": false,
|
|
4088
|
-
"type": "option"
|
|
4089
|
-
},
|
|
4090
4072
|
"output": {
|
|
4091
4073
|
"char": "o",
|
|
4092
4074
|
"description": "Output format",
|
|
@@ -4113,7 +4095,7 @@
|
|
|
4113
4095
|
},
|
|
4114
4096
|
"hasDynamicHelp": false,
|
|
4115
4097
|
"hiddenAliases": [],
|
|
4116
|
-
"id": "workflow_test:
|
|
4098
|
+
"id": "workflow_test:run",
|
|
4117
4099
|
"pluginAlias": "@xano/cli",
|
|
4118
4100
|
"pluginName": "@xano/cli",
|
|
4119
4101
|
"pluginType": "core",
|
|
@@ -4124,7 +4106,7 @@
|
|
|
4124
4106
|
"dist",
|
|
4125
4107
|
"commands",
|
|
4126
4108
|
"workflow_test",
|
|
4127
|
-
"
|
|
4109
|
+
"run",
|
|
4128
4110
|
"index.js"
|
|
4129
4111
|
]
|
|
4130
4112
|
},
|
|
@@ -4163,33 +4145,135 @@
|
|
|
4163
4145
|
"allowNo": false,
|
|
4164
4146
|
"type": "boolean"
|
|
4165
4147
|
},
|
|
4166
|
-
"description": {
|
|
4167
|
-
"char": "d",
|
|
4168
|
-
"description": "Description for the workspace",
|
|
4169
|
-
"name": "description",
|
|
4148
|
+
"description": {
|
|
4149
|
+
"char": "d",
|
|
4150
|
+
"description": "Description for the workspace",
|
|
4151
|
+
"name": "description",
|
|
4152
|
+
"required": false,
|
|
4153
|
+
"hasDynamicHelp": false,
|
|
4154
|
+
"multiple": false,
|
|
4155
|
+
"type": "option"
|
|
4156
|
+
},
|
|
4157
|
+
"output": {
|
|
4158
|
+
"char": "o",
|
|
4159
|
+
"description": "Output format",
|
|
4160
|
+
"name": "output",
|
|
4161
|
+
"required": false,
|
|
4162
|
+
"default": "summary",
|
|
4163
|
+
"hasDynamicHelp": false,
|
|
4164
|
+
"multiple": false,
|
|
4165
|
+
"options": [
|
|
4166
|
+
"summary",
|
|
4167
|
+
"json"
|
|
4168
|
+
],
|
|
4169
|
+
"type": "option"
|
|
4170
|
+
}
|
|
4171
|
+
},
|
|
4172
|
+
"hasDynamicHelp": false,
|
|
4173
|
+
"hiddenAliases": [],
|
|
4174
|
+
"id": "workspace:create",
|
|
4175
|
+
"pluginAlias": "@xano/cli",
|
|
4176
|
+
"pluginName": "@xano/cli",
|
|
4177
|
+
"pluginType": "core",
|
|
4178
|
+
"strict": true,
|
|
4179
|
+
"enableJsonFlag": false,
|
|
4180
|
+
"isESM": true,
|
|
4181
|
+
"relativePath": [
|
|
4182
|
+
"dist",
|
|
4183
|
+
"commands",
|
|
4184
|
+
"workspace",
|
|
4185
|
+
"create",
|
|
4186
|
+
"index.js"
|
|
4187
|
+
]
|
|
4188
|
+
},
|
|
4189
|
+
"tenant:push": {
|
|
4190
|
+
"aliases": [],
|
|
4191
|
+
"args": {
|
|
4192
|
+
"directory": {
|
|
4193
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
4194
|
+
"name": "directory",
|
|
4195
|
+
"required": true
|
|
4196
|
+
}
|
|
4197
|
+
},
|
|
4198
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
4199
|
+
"examples": [
|
|
4200
|
+
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
4201
|
+
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
4202
|
+
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
4203
|
+
"$ xano tenant push ./my-workspace -t my-tenant --records\nInclude table records in import\n",
|
|
4204
|
+
"$ xano tenant push ./my-workspace -t my-tenant --env\nInclude environment variables in import\n",
|
|
4205
|
+
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
4206
|
+
],
|
|
4207
|
+
"flags": {
|
|
4208
|
+
"profile": {
|
|
4209
|
+
"char": "p",
|
|
4210
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4211
|
+
"env": "XANO_PROFILE",
|
|
4212
|
+
"name": "profile",
|
|
4213
|
+
"required": false,
|
|
4214
|
+
"hasDynamicHelp": false,
|
|
4215
|
+
"multiple": false,
|
|
4216
|
+
"type": "option"
|
|
4217
|
+
},
|
|
4218
|
+
"verbose": {
|
|
4219
|
+
"char": "v",
|
|
4220
|
+
"description": "Show detailed request/response information",
|
|
4221
|
+
"env": "XANO_VERBOSE",
|
|
4222
|
+
"name": "verbose",
|
|
4223
|
+
"required": false,
|
|
4224
|
+
"allowNo": false,
|
|
4225
|
+
"type": "boolean"
|
|
4226
|
+
},
|
|
4227
|
+
"env": {
|
|
4228
|
+
"description": "Include environment variables in import",
|
|
4229
|
+
"name": "env",
|
|
4230
|
+
"required": false,
|
|
4231
|
+
"allowNo": false,
|
|
4232
|
+
"type": "boolean"
|
|
4233
|
+
},
|
|
4234
|
+
"records": {
|
|
4235
|
+
"description": "Include records in import",
|
|
4236
|
+
"name": "records",
|
|
4170
4237
|
"required": false,
|
|
4238
|
+
"allowNo": false,
|
|
4239
|
+
"type": "boolean"
|
|
4240
|
+
},
|
|
4241
|
+
"tenant": {
|
|
4242
|
+
"char": "t",
|
|
4243
|
+
"description": "Tenant name to push to",
|
|
4244
|
+
"name": "tenant",
|
|
4245
|
+
"required": true,
|
|
4171
4246
|
"hasDynamicHelp": false,
|
|
4172
4247
|
"multiple": false,
|
|
4173
4248
|
"type": "option"
|
|
4174
4249
|
},
|
|
4175
|
-
"
|
|
4176
|
-
"
|
|
4177
|
-
"
|
|
4178
|
-
"
|
|
4250
|
+
"transaction": {
|
|
4251
|
+
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
4252
|
+
"name": "transaction",
|
|
4253
|
+
"required": false,
|
|
4254
|
+
"allowNo": true,
|
|
4255
|
+
"type": "boolean"
|
|
4256
|
+
},
|
|
4257
|
+
"truncate": {
|
|
4258
|
+
"description": "Truncate all table records before importing",
|
|
4259
|
+
"name": "truncate",
|
|
4260
|
+
"required": false,
|
|
4261
|
+
"allowNo": false,
|
|
4262
|
+
"type": "boolean"
|
|
4263
|
+
},
|
|
4264
|
+
"workspace": {
|
|
4265
|
+
"char": "w",
|
|
4266
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4267
|
+
"name": "workspace",
|
|
4179
4268
|
"required": false,
|
|
4180
|
-
"default": "summary",
|
|
4181
4269
|
"hasDynamicHelp": false,
|
|
4182
4270
|
"multiple": false,
|
|
4183
|
-
"options": [
|
|
4184
|
-
"summary",
|
|
4185
|
-
"json"
|
|
4186
|
-
],
|
|
4187
4271
|
"type": "option"
|
|
4188
4272
|
}
|
|
4189
4273
|
},
|
|
4190
4274
|
"hasDynamicHelp": false,
|
|
4191
4275
|
"hiddenAliases": [],
|
|
4192
|
-
"id": "
|
|
4276
|
+
"id": "tenant:push",
|
|
4193
4277
|
"pluginAlias": "@xano/cli",
|
|
4194
4278
|
"pluginName": "@xano/cli",
|
|
4195
4279
|
"pluginType": "core",
|
|
@@ -4199,8 +4283,8 @@
|
|
|
4199
4283
|
"relativePath": [
|
|
4200
4284
|
"dist",
|
|
4201
4285
|
"commands",
|
|
4202
|
-
"
|
|
4203
|
-
"
|
|
4286
|
+
"tenant",
|
|
4287
|
+
"push",
|
|
4204
4288
|
"index.js"
|
|
4205
4289
|
]
|
|
4206
4290
|
},
|
|
@@ -4623,7 +4707,11 @@
|
|
|
4623
4707
|
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4624
4708
|
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4625
4709
|
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4626
|
-
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n"
|
|
4710
|
+
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4711
|
+
"$ xano workspace push ./my-workspace -f \"**/func*\"\nPush only files matching the glob pattern\n",
|
|
4712
|
+
"$ xano workspace push ./my-workspace -f \"function/*\" -f \"table/*\"\nPush files matching multiple patterns\n",
|
|
4713
|
+
"$ xano workspace push ./my-workspace -e \"table/*\"\nPush all files except tables\n",
|
|
4714
|
+
"$ xano workspace push ./my-workspace -f \"function/*\" -e \"**/test*\"\nPush functions but exclude test files\n"
|
|
4627
4715
|
],
|
|
4628
4716
|
"flags": {
|
|
4629
4717
|
"profile": {
|
|
@@ -4719,101 +4807,35 @@
|
|
|
4719
4807
|
"multiple": false,
|
|
4720
4808
|
"type": "option"
|
|
4721
4809
|
},
|
|
4722
|
-
"
|
|
4723
|
-
"
|
|
4724
|
-
"
|
|
4725
|
-
"
|
|
4726
|
-
"allowNo": false,
|
|
4727
|
-
"type": "boolean"
|
|
4728
|
-
}
|
|
4729
|
-
},
|
|
4730
|
-
"hasDynamicHelp": false,
|
|
4731
|
-
"hiddenAliases": [],
|
|
4732
|
-
"id": "workspace:push",
|
|
4733
|
-
"pluginAlias": "@xano/cli",
|
|
4734
|
-
"pluginName": "@xano/cli",
|
|
4735
|
-
"pluginType": "core",
|
|
4736
|
-
"strict": true,
|
|
4737
|
-
"enableJsonFlag": false,
|
|
4738
|
-
"isESM": true,
|
|
4739
|
-
"relativePath": [
|
|
4740
|
-
"dist",
|
|
4741
|
-
"commands",
|
|
4742
|
-
"workspace",
|
|
4743
|
-
"push",
|
|
4744
|
-
"index.js"
|
|
4745
|
-
]
|
|
4746
|
-
},
|
|
4747
|
-
"branch:set_live": {
|
|
4748
|
-
"aliases": [],
|
|
4749
|
-
"args": {
|
|
4750
|
-
"branch_label": {
|
|
4751
|
-
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
4752
|
-
"name": "branch_label",
|
|
4753
|
-
"required": true
|
|
4754
|
-
}
|
|
4755
|
-
},
|
|
4756
|
-
"description": "Set a branch as the live (active) branch for API requests",
|
|
4757
|
-
"examples": [
|
|
4758
|
-
"$ 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",
|
|
4759
|
-
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
4760
|
-
"$ 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"
|
|
4761
|
-
],
|
|
4762
|
-
"flags": {
|
|
4763
|
-
"profile": {
|
|
4764
|
-
"char": "p",
|
|
4765
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4766
|
-
"env": "XANO_PROFILE",
|
|
4767
|
-
"name": "profile",
|
|
4810
|
+
"exclude": {
|
|
4811
|
+
"char": "e",
|
|
4812
|
+
"description": "Glob pattern to exclude files (e.g. \"table/*\", \"**/test*\"). Matched against relative paths from the push directory.",
|
|
4813
|
+
"name": "exclude",
|
|
4768
4814
|
"required": false,
|
|
4769
4815
|
"hasDynamicHelp": false,
|
|
4770
|
-
"multiple":
|
|
4816
|
+
"multiple": true,
|
|
4771
4817
|
"type": "option"
|
|
4772
4818
|
},
|
|
4773
|
-
"
|
|
4774
|
-
"char": "
|
|
4775
|
-
"description": "
|
|
4776
|
-
"
|
|
4777
|
-
"name": "verbose",
|
|
4819
|
+
"filter": {
|
|
4820
|
+
"char": "f",
|
|
4821
|
+
"description": "Glob pattern to filter files (e.g. \"**/func*\", \"table/*.xs\"). Matched against relative paths from the push directory.",
|
|
4822
|
+
"name": "filter",
|
|
4778
4823
|
"required": false,
|
|
4779
|
-
"
|
|
4780
|
-
"
|
|
4824
|
+
"hasDynamicHelp": false,
|
|
4825
|
+
"multiple": true,
|
|
4826
|
+
"type": "option"
|
|
4781
4827
|
},
|
|
4782
4828
|
"force": {
|
|
4783
|
-
"
|
|
4784
|
-
"description": "Skip confirmation prompt",
|
|
4829
|
+
"description": "Skip preview and confirmation prompt (for CI/CD pipelines)",
|
|
4785
4830
|
"name": "force",
|
|
4786
4831
|
"required": false,
|
|
4787
4832
|
"allowNo": false,
|
|
4788
4833
|
"type": "boolean"
|
|
4789
|
-
},
|
|
4790
|
-
"output": {
|
|
4791
|
-
"char": "o",
|
|
4792
|
-
"description": "Output format",
|
|
4793
|
-
"name": "output",
|
|
4794
|
-
"required": false,
|
|
4795
|
-
"default": "summary",
|
|
4796
|
-
"hasDynamicHelp": false,
|
|
4797
|
-
"multiple": false,
|
|
4798
|
-
"options": [
|
|
4799
|
-
"summary",
|
|
4800
|
-
"json"
|
|
4801
|
-
],
|
|
4802
|
-
"type": "option"
|
|
4803
|
-
},
|
|
4804
|
-
"workspace": {
|
|
4805
|
-
"char": "w",
|
|
4806
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4807
|
-
"name": "workspace",
|
|
4808
|
-
"required": false,
|
|
4809
|
-
"hasDynamicHelp": false,
|
|
4810
|
-
"multiple": false,
|
|
4811
|
-
"type": "option"
|
|
4812
4834
|
}
|
|
4813
4835
|
},
|
|
4814
4836
|
"hasDynamicHelp": false,
|
|
4815
4837
|
"hiddenAliases": [],
|
|
4816
|
-
"id": "
|
|
4838
|
+
"id": "workspace:push",
|
|
4817
4839
|
"pluginAlias": "@xano/cli",
|
|
4818
4840
|
"pluginName": "@xano/cli",
|
|
4819
4841
|
"pluginType": "core",
|
|
@@ -4823,8 +4845,8 @@
|
|
|
4823
4845
|
"relativePath": [
|
|
4824
4846
|
"dist",
|
|
4825
4847
|
"commands",
|
|
4826
|
-
"
|
|
4827
|
-
"
|
|
4848
|
+
"workspace",
|
|
4849
|
+
"push",
|
|
4828
4850
|
"index.js"
|
|
4829
4851
|
]
|
|
4830
4852
|
},
|
|
@@ -5158,19 +5180,13 @@
|
|
|
5158
5180
|
"index.js"
|
|
5159
5181
|
]
|
|
5160
5182
|
},
|
|
5161
|
-
"tenant:
|
|
5183
|
+
"tenant:cluster:create": {
|
|
5162
5184
|
"aliases": [],
|
|
5163
|
-
"args": {
|
|
5164
|
-
|
|
5165
|
-
"description": "Tenant name to back up",
|
|
5166
|
-
"name": "tenant_name",
|
|
5167
|
-
"required": true
|
|
5168
|
-
}
|
|
5169
|
-
},
|
|
5170
|
-
"description": "Create a backup for a tenant",
|
|
5185
|
+
"args": {},
|
|
5186
|
+
"description": "Create a new tenant cluster",
|
|
5171
5187
|
"examples": [
|
|
5172
|
-
"$ xano tenant
|
|
5173
|
-
"$ xano tenant
|
|
5188
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
5189
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
5174
5190
|
],
|
|
5175
5191
|
"flags": {
|
|
5176
5192
|
"profile": {
|
|
@@ -5192,109 +5208,54 @@
|
|
|
5192
5208
|
"allowNo": false,
|
|
5193
5209
|
"type": "boolean"
|
|
5194
5210
|
},
|
|
5195
|
-
"
|
|
5196
|
-
"
|
|
5197
|
-
"
|
|
5198
|
-
|
|
5211
|
+
"credentials": {
|
|
5212
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
5213
|
+
"exclusive": [
|
|
5214
|
+
"credentials_file"
|
|
5215
|
+
],
|
|
5216
|
+
"name": "credentials",
|
|
5199
5217
|
"required": false,
|
|
5200
|
-
"default": "",
|
|
5201
5218
|
"hasDynamicHelp": false,
|
|
5202
5219
|
"multiple": false,
|
|
5203
5220
|
"type": "option"
|
|
5204
5221
|
},
|
|
5205
|
-
"
|
|
5206
|
-
"
|
|
5207
|
-
"
|
|
5208
|
-
|
|
5209
|
-
"required": false,
|
|
5210
|
-
"default": "summary",
|
|
5211
|
-
"hasDynamicHelp": false,
|
|
5212
|
-
"multiple": false,
|
|
5213
|
-
"options": [
|
|
5214
|
-
"summary",
|
|
5215
|
-
"json"
|
|
5222
|
+
"credentials_file": {
|
|
5223
|
+
"description": "Path to kubeconfig credentials file",
|
|
5224
|
+
"exclusive": [
|
|
5225
|
+
"credentials"
|
|
5216
5226
|
],
|
|
5217
|
-
"
|
|
5218
|
-
},
|
|
5219
|
-
"workspace": {
|
|
5220
|
-
"char": "w",
|
|
5221
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5222
|
-
"name": "workspace",
|
|
5227
|
+
"name": "credentials_file",
|
|
5223
5228
|
"required": false,
|
|
5224
5229
|
"hasDynamicHelp": false,
|
|
5225
5230
|
"multiple": false,
|
|
5226
5231
|
"type": "option"
|
|
5227
|
-
}
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
"pluginAlias": "@xano/cli",
|
|
5233
|
-
"pluginName": "@xano/cli",
|
|
5234
|
-
"pluginType": "core",
|
|
5235
|
-
"strict": true,
|
|
5236
|
-
"enableJsonFlag": false,
|
|
5237
|
-
"isESM": true,
|
|
5238
|
-
"relativePath": [
|
|
5239
|
-
"dist",
|
|
5240
|
-
"commands",
|
|
5241
|
-
"tenant",
|
|
5242
|
-
"backup",
|
|
5243
|
-
"create",
|
|
5244
|
-
"index.js"
|
|
5245
|
-
]
|
|
5246
|
-
},
|
|
5247
|
-
"tenant:backup:delete": {
|
|
5248
|
-
"aliases": [],
|
|
5249
|
-
"args": {
|
|
5250
|
-
"tenant_name": {
|
|
5251
|
-
"description": "Tenant name that owns the backup",
|
|
5252
|
-
"name": "tenant_name",
|
|
5253
|
-
"required": true
|
|
5254
|
-
}
|
|
5255
|
-
},
|
|
5256
|
-
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5257
|
-
"examples": [
|
|
5258
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to delete backup #10? This action cannot be undone. (y/N) y\nDeleted backup #10\n",
|
|
5259
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5260
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5261
|
-
],
|
|
5262
|
-
"flags": {
|
|
5263
|
-
"profile": {
|
|
5264
|
-
"char": "p",
|
|
5265
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5266
|
-
"env": "XANO_PROFILE",
|
|
5267
|
-
"name": "profile",
|
|
5232
|
+
},
|
|
5233
|
+
"description": {
|
|
5234
|
+
"char": "d",
|
|
5235
|
+
"description": "Cluster description",
|
|
5236
|
+
"name": "description",
|
|
5268
5237
|
"required": false,
|
|
5269
5238
|
"hasDynamicHelp": false,
|
|
5270
5239
|
"multiple": false,
|
|
5271
5240
|
"type": "option"
|
|
5272
5241
|
},
|
|
5273
|
-
"
|
|
5274
|
-
"
|
|
5275
|
-
"
|
|
5276
|
-
"env": "XANO_VERBOSE",
|
|
5277
|
-
"name": "verbose",
|
|
5242
|
+
"domain": {
|
|
5243
|
+
"description": "Custom domain for the cluster",
|
|
5244
|
+
"name": "domain",
|
|
5278
5245
|
"required": false,
|
|
5279
|
-
"
|
|
5280
|
-
"
|
|
5246
|
+
"hasDynamicHelp": false,
|
|
5247
|
+
"multiple": false,
|
|
5248
|
+
"type": "option"
|
|
5281
5249
|
},
|
|
5282
|
-
"
|
|
5283
|
-
"
|
|
5284
|
-
"
|
|
5250
|
+
"name": {
|
|
5251
|
+
"char": "n",
|
|
5252
|
+
"description": "Cluster name",
|
|
5253
|
+
"name": "name",
|
|
5285
5254
|
"required": true,
|
|
5286
5255
|
"hasDynamicHelp": false,
|
|
5287
5256
|
"multiple": false,
|
|
5288
5257
|
"type": "option"
|
|
5289
5258
|
},
|
|
5290
|
-
"force": {
|
|
5291
|
-
"char": "f",
|
|
5292
|
-
"description": "Skip confirmation prompt",
|
|
5293
|
-
"name": "force",
|
|
5294
|
-
"required": false,
|
|
5295
|
-
"allowNo": false,
|
|
5296
|
-
"type": "boolean"
|
|
5297
|
-
},
|
|
5298
5259
|
"output": {
|
|
5299
5260
|
"char": "o",
|
|
5300
5261
|
"description": "Output format",
|
|
@@ -5309,19 +5270,23 @@
|
|
|
5309
5270
|
],
|
|
5310
5271
|
"type": "option"
|
|
5311
5272
|
},
|
|
5312
|
-
"
|
|
5313
|
-
"
|
|
5314
|
-
"
|
|
5315
|
-
"name": "workspace",
|
|
5273
|
+
"type": {
|
|
5274
|
+
"description": "Cluster type",
|
|
5275
|
+
"name": "type",
|
|
5316
5276
|
"required": false,
|
|
5277
|
+
"default": "standard",
|
|
5317
5278
|
"hasDynamicHelp": false,
|
|
5318
5279
|
"multiple": false,
|
|
5280
|
+
"options": [
|
|
5281
|
+
"standard",
|
|
5282
|
+
"run"
|
|
5283
|
+
],
|
|
5319
5284
|
"type": "option"
|
|
5320
5285
|
}
|
|
5321
5286
|
},
|
|
5322
5287
|
"hasDynamicHelp": false,
|
|
5323
5288
|
"hiddenAliases": [],
|
|
5324
|
-
"id": "tenant:
|
|
5289
|
+
"id": "tenant:cluster:create",
|
|
5325
5290
|
"pluginAlias": "@xano/cli",
|
|
5326
5291
|
"pluginName": "@xano/cli",
|
|
5327
5292
|
"pluginType": "core",
|
|
@@ -5332,25 +5297,25 @@
|
|
|
5332
5297
|
"dist",
|
|
5333
5298
|
"commands",
|
|
5334
5299
|
"tenant",
|
|
5335
|
-
"
|
|
5336
|
-
"
|
|
5300
|
+
"cluster",
|
|
5301
|
+
"create",
|
|
5337
5302
|
"index.js"
|
|
5338
5303
|
]
|
|
5339
5304
|
},
|
|
5340
|
-
"tenant:
|
|
5305
|
+
"tenant:cluster:delete": {
|
|
5341
5306
|
"aliases": [],
|
|
5342
5307
|
"args": {
|
|
5343
|
-
"
|
|
5344
|
-
"description": "
|
|
5345
|
-
"name": "
|
|
5308
|
+
"cluster_id": {
|
|
5309
|
+
"description": "Cluster ID to delete",
|
|
5310
|
+
"name": "cluster_id",
|
|
5346
5311
|
"required": true
|
|
5347
5312
|
}
|
|
5348
5313
|
},
|
|
5349
|
-
"description": "
|
|
5314
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5350
5315
|
"examples": [
|
|
5351
|
-
"$ xano tenant
|
|
5352
|
-
"$ xano tenant
|
|
5353
|
-
"$ xano tenant
|
|
5316
|
+
"$ 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",
|
|
5317
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5318
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5354
5319
|
],
|
|
5355
5320
|
"flags": {
|
|
5356
5321
|
"profile": {
|
|
@@ -5372,18 +5337,18 @@
|
|
|
5372
5337
|
"allowNo": false,
|
|
5373
5338
|
"type": "boolean"
|
|
5374
5339
|
},
|
|
5375
|
-
"
|
|
5376
|
-
"
|
|
5377
|
-
"
|
|
5378
|
-
"
|
|
5379
|
-
"
|
|
5380
|
-
"
|
|
5381
|
-
"type": "
|
|
5340
|
+
"force": {
|
|
5341
|
+
"char": "f",
|
|
5342
|
+
"description": "Skip confirmation prompt",
|
|
5343
|
+
"name": "force",
|
|
5344
|
+
"required": false,
|
|
5345
|
+
"allowNo": false,
|
|
5346
|
+
"type": "boolean"
|
|
5382
5347
|
},
|
|
5383
|
-
"
|
|
5348
|
+
"output": {
|
|
5384
5349
|
"char": "o",
|
|
5385
5350
|
"description": "Output format",
|
|
5386
|
-
"name": "
|
|
5351
|
+
"name": "output",
|
|
5387
5352
|
"required": false,
|
|
5388
5353
|
"default": "summary",
|
|
5389
5354
|
"hasDynamicHelp": false,
|
|
@@ -5393,28 +5358,11 @@
|
|
|
5393
5358
|
"json"
|
|
5394
5359
|
],
|
|
5395
5360
|
"type": "option"
|
|
5396
|
-
},
|
|
5397
|
-
"output": {
|
|
5398
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5399
|
-
"name": "output",
|
|
5400
|
-
"required": false,
|
|
5401
|
-
"hasDynamicHelp": false,
|
|
5402
|
-
"multiple": false,
|
|
5403
|
-
"type": "option"
|
|
5404
|
-
},
|
|
5405
|
-
"workspace": {
|
|
5406
|
-
"char": "w",
|
|
5407
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5408
|
-
"name": "workspace",
|
|
5409
|
-
"required": false,
|
|
5410
|
-
"hasDynamicHelp": false,
|
|
5411
|
-
"multiple": false,
|
|
5412
|
-
"type": "option"
|
|
5413
5361
|
}
|
|
5414
5362
|
},
|
|
5415
5363
|
"hasDynamicHelp": false,
|
|
5416
5364
|
"hiddenAliases": [],
|
|
5417
|
-
"id": "tenant:
|
|
5365
|
+
"id": "tenant:cluster:delete",
|
|
5418
5366
|
"pluginAlias": "@xano/cli",
|
|
5419
5367
|
"pluginName": "@xano/cli",
|
|
5420
5368
|
"pluginType": "core",
|
|
@@ -5425,24 +5373,24 @@
|
|
|
5425
5373
|
"dist",
|
|
5426
5374
|
"commands",
|
|
5427
5375
|
"tenant",
|
|
5428
|
-
"
|
|
5429
|
-
"
|
|
5376
|
+
"cluster",
|
|
5377
|
+
"delete",
|
|
5430
5378
|
"index.js"
|
|
5431
5379
|
]
|
|
5432
5380
|
},
|
|
5433
|
-
"tenant:
|
|
5381
|
+
"tenant:cluster:edit": {
|
|
5434
5382
|
"aliases": [],
|
|
5435
5383
|
"args": {
|
|
5436
|
-
"
|
|
5437
|
-
"description": "
|
|
5438
|
-
"name": "
|
|
5384
|
+
"cluster_id": {
|
|
5385
|
+
"description": "Cluster ID to edit",
|
|
5386
|
+
"name": "cluster_id",
|
|
5439
5387
|
"required": true
|
|
5440
5388
|
}
|
|
5441
5389
|
},
|
|
5442
|
-
"description": "
|
|
5390
|
+
"description": "Update an existing tenant cluster",
|
|
5443
5391
|
"examples": [
|
|
5444
|
-
"$ xano tenant
|
|
5445
|
-
"$ xano tenant
|
|
5392
|
+
"$ 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",
|
|
5393
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5446
5394
|
],
|
|
5447
5395
|
"flags": {
|
|
5448
5396
|
"profile": {
|
|
@@ -5466,18 +5414,25 @@
|
|
|
5466
5414
|
},
|
|
5467
5415
|
"description": {
|
|
5468
5416
|
"char": "d",
|
|
5469
|
-
"description": "
|
|
5417
|
+
"description": "Cluster description",
|
|
5470
5418
|
"name": "description",
|
|
5471
|
-
"required":
|
|
5472
|
-
"default": "",
|
|
5419
|
+
"required": true,
|
|
5473
5420
|
"hasDynamicHelp": false,
|
|
5474
5421
|
"multiple": false,
|
|
5475
5422
|
"type": "option"
|
|
5476
5423
|
},
|
|
5477
|
-
"
|
|
5478
|
-
"
|
|
5479
|
-
"
|
|
5480
|
-
"
|
|
5424
|
+
"domain": {
|
|
5425
|
+
"description": "Custom domain for the cluster",
|
|
5426
|
+
"name": "domain",
|
|
5427
|
+
"required": true,
|
|
5428
|
+
"hasDynamicHelp": false,
|
|
5429
|
+
"multiple": false,
|
|
5430
|
+
"type": "option"
|
|
5431
|
+
},
|
|
5432
|
+
"name": {
|
|
5433
|
+
"char": "n",
|
|
5434
|
+
"description": "Cluster name",
|
|
5435
|
+
"name": "name",
|
|
5481
5436
|
"required": true,
|
|
5482
5437
|
"hasDynamicHelp": false,
|
|
5483
5438
|
"multiple": false,
|
|
@@ -5497,19 +5452,22 @@
|
|
|
5497
5452
|
],
|
|
5498
5453
|
"type": "option"
|
|
5499
5454
|
},
|
|
5500
|
-
"
|
|
5501
|
-
"
|
|
5502
|
-
"
|
|
5503
|
-
"
|
|
5504
|
-
"required": false,
|
|
5455
|
+
"type": {
|
|
5456
|
+
"description": "Cluster type",
|
|
5457
|
+
"name": "type",
|
|
5458
|
+
"required": true,
|
|
5505
5459
|
"hasDynamicHelp": false,
|
|
5506
5460
|
"multiple": false,
|
|
5461
|
+
"options": [
|
|
5462
|
+
"standard",
|
|
5463
|
+
"run"
|
|
5464
|
+
],
|
|
5507
5465
|
"type": "option"
|
|
5508
5466
|
}
|
|
5509
5467
|
},
|
|
5510
5468
|
"hasDynamicHelp": false,
|
|
5511
5469
|
"hiddenAliases": [],
|
|
5512
|
-
"id": "tenant:
|
|
5470
|
+
"id": "tenant:cluster:edit",
|
|
5513
5471
|
"pluginAlias": "@xano/cli",
|
|
5514
5472
|
"pluginName": "@xano/cli",
|
|
5515
5473
|
"pluginType": "core",
|
|
@@ -5520,24 +5478,18 @@
|
|
|
5520
5478
|
"dist",
|
|
5521
5479
|
"commands",
|
|
5522
5480
|
"tenant",
|
|
5523
|
-
"
|
|
5524
|
-
"
|
|
5481
|
+
"cluster",
|
|
5482
|
+
"edit",
|
|
5525
5483
|
"index.js"
|
|
5526
5484
|
]
|
|
5527
5485
|
},
|
|
5528
|
-
"tenant:
|
|
5486
|
+
"tenant:cluster:list": {
|
|
5529
5487
|
"aliases": [],
|
|
5530
|
-
"args": {
|
|
5531
|
-
|
|
5532
|
-
"description": "Tenant name to list backups for",
|
|
5533
|
-
"name": "tenant_name",
|
|
5534
|
-
"required": true
|
|
5535
|
-
}
|
|
5536
|
-
},
|
|
5537
|
-
"description": "List backups for a tenant",
|
|
5488
|
+
"args": {},
|
|
5489
|
+
"description": "List all tenant clusters",
|
|
5538
5490
|
"examples": [
|
|
5539
|
-
"$ xano tenant
|
|
5540
|
-
"$ xano tenant
|
|
5491
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
5492
|
+
"$ xano tenant cluster list --output json"
|
|
5541
5493
|
],
|
|
5542
5494
|
"flags": {
|
|
5543
5495
|
"profile": {
|
|
@@ -5572,29 +5524,11 @@
|
|
|
5572
5524
|
"json"
|
|
5573
5525
|
],
|
|
5574
5526
|
"type": "option"
|
|
5575
|
-
},
|
|
5576
|
-
"page": {
|
|
5577
|
-
"description": "Page number for pagination",
|
|
5578
|
-
"name": "page",
|
|
5579
|
-
"required": false,
|
|
5580
|
-
"default": 1,
|
|
5581
|
-
"hasDynamicHelp": false,
|
|
5582
|
-
"multiple": false,
|
|
5583
|
-
"type": "option"
|
|
5584
|
-
},
|
|
5585
|
-
"workspace": {
|
|
5586
|
-
"char": "w",
|
|
5587
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5588
|
-
"name": "workspace",
|
|
5589
|
-
"required": false,
|
|
5590
|
-
"hasDynamicHelp": false,
|
|
5591
|
-
"multiple": false,
|
|
5592
|
-
"type": "option"
|
|
5593
5527
|
}
|
|
5594
5528
|
},
|
|
5595
5529
|
"hasDynamicHelp": false,
|
|
5596
5530
|
"hiddenAliases": [],
|
|
5597
|
-
"id": "tenant:
|
|
5531
|
+
"id": "tenant:cluster:list",
|
|
5598
5532
|
"pluginAlias": "@xano/cli",
|
|
5599
5533
|
"pluginName": "@xano/cli",
|
|
5600
5534
|
"pluginType": "core",
|
|
@@ -5605,24 +5539,24 @@
|
|
|
5605
5539
|
"dist",
|
|
5606
5540
|
"commands",
|
|
5607
5541
|
"tenant",
|
|
5608
|
-
"
|
|
5542
|
+
"cluster",
|
|
5609
5543
|
"list",
|
|
5610
5544
|
"index.js"
|
|
5611
5545
|
]
|
|
5612
5546
|
},
|
|
5613
|
-
"tenant:backup:
|
|
5547
|
+
"tenant:backup:create": {
|
|
5614
5548
|
"aliases": [],
|
|
5615
5549
|
"args": {
|
|
5616
5550
|
"tenant_name": {
|
|
5617
|
-
"description": "Tenant name to
|
|
5551
|
+
"description": "Tenant name to back up",
|
|
5618
5552
|
"name": "tenant_name",
|
|
5619
5553
|
"required": true
|
|
5620
5554
|
}
|
|
5621
5555
|
},
|
|
5622
|
-
"description": "
|
|
5556
|
+
"description": "Create a backup for a tenant",
|
|
5623
5557
|
"examples": [
|
|
5624
|
-
"$ xano tenant backup
|
|
5625
|
-
"$ xano tenant backup
|
|
5558
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5559
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5626
5560
|
],
|
|
5627
5561
|
"flags": {
|
|
5628
5562
|
"profile": {
|
|
@@ -5644,22 +5578,16 @@
|
|
|
5644
5578
|
"allowNo": false,
|
|
5645
5579
|
"type": "boolean"
|
|
5646
5580
|
},
|
|
5647
|
-
"
|
|
5648
|
-
"
|
|
5649
|
-
"
|
|
5650
|
-
"
|
|
5581
|
+
"description": {
|
|
5582
|
+
"char": "d",
|
|
5583
|
+
"description": "Backup description",
|
|
5584
|
+
"name": "description",
|
|
5585
|
+
"required": false,
|
|
5586
|
+
"default": "",
|
|
5651
5587
|
"hasDynamicHelp": false,
|
|
5652
5588
|
"multiple": false,
|
|
5653
5589
|
"type": "option"
|
|
5654
5590
|
},
|
|
5655
|
-
"force": {
|
|
5656
|
-
"char": "f",
|
|
5657
|
-
"description": "Skip confirmation prompt",
|
|
5658
|
-
"name": "force",
|
|
5659
|
-
"required": false,
|
|
5660
|
-
"allowNo": false,
|
|
5661
|
-
"type": "boolean"
|
|
5662
|
-
},
|
|
5663
5591
|
"output": {
|
|
5664
5592
|
"char": "o",
|
|
5665
5593
|
"description": "Output format",
|
|
@@ -5686,7 +5614,7 @@
|
|
|
5686
5614
|
},
|
|
5687
5615
|
"hasDynamicHelp": false,
|
|
5688
5616
|
"hiddenAliases": [],
|
|
5689
|
-
"id": "tenant:backup:
|
|
5617
|
+
"id": "tenant:backup:create",
|
|
5690
5618
|
"pluginAlias": "@xano/cli",
|
|
5691
5619
|
"pluginName": "@xano/cli",
|
|
5692
5620
|
"pluginType": "core",
|
|
@@ -5698,85 +5626,60 @@
|
|
|
5698
5626
|
"commands",
|
|
5699
5627
|
"tenant",
|
|
5700
5628
|
"backup",
|
|
5701
|
-
"
|
|
5629
|
+
"create",
|
|
5702
5630
|
"index.js"
|
|
5703
5631
|
]
|
|
5704
5632
|
},
|
|
5705
|
-
"tenant:
|
|
5633
|
+
"tenant:backup:delete": {
|
|
5706
5634
|
"aliases": [],
|
|
5707
|
-
"args": {
|
|
5708
|
-
|
|
5635
|
+
"args": {
|
|
5636
|
+
"tenant_name": {
|
|
5637
|
+
"description": "Tenant name that owns the backup",
|
|
5638
|
+
"name": "tenant_name",
|
|
5639
|
+
"required": true
|
|
5640
|
+
}
|
|
5641
|
+
},
|
|
5642
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5709
5643
|
"examples": [
|
|
5710
|
-
"$ xano tenant
|
|
5711
|
-
"$ xano tenant
|
|
5644
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to delete backup #10? This action cannot be undone. (y/N) y\nDeleted backup #10\n",
|
|
5645
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5646
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5712
5647
|
],
|
|
5713
5648
|
"flags": {
|
|
5714
5649
|
"profile": {
|
|
5715
5650
|
"char": "p",
|
|
5716
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5717
|
-
"env": "XANO_PROFILE",
|
|
5718
|
-
"name": "profile",
|
|
5719
|
-
"required": false,
|
|
5720
|
-
"hasDynamicHelp": false,
|
|
5721
|
-
"multiple": false,
|
|
5722
|
-
"type": "option"
|
|
5723
|
-
},
|
|
5724
|
-
"verbose": {
|
|
5725
|
-
"char": "v",
|
|
5726
|
-
"description": "Show detailed request/response information",
|
|
5727
|
-
"env": "XANO_VERBOSE",
|
|
5728
|
-
"name": "verbose",
|
|
5729
|
-
"required": false,
|
|
5730
|
-
"allowNo": false,
|
|
5731
|
-
"type": "boolean"
|
|
5732
|
-
},
|
|
5733
|
-
"credentials": {
|
|
5734
|
-
"description": "Kubeconfig credentials (raw text)",
|
|
5735
|
-
"exclusive": [
|
|
5736
|
-
"credentials_file"
|
|
5737
|
-
],
|
|
5738
|
-
"name": "credentials",
|
|
5651
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5652
|
+
"env": "XANO_PROFILE",
|
|
5653
|
+
"name": "profile",
|
|
5739
5654
|
"required": false,
|
|
5740
5655
|
"hasDynamicHelp": false,
|
|
5741
5656
|
"multiple": false,
|
|
5742
5657
|
"type": "option"
|
|
5743
5658
|
},
|
|
5744
|
-
"
|
|
5745
|
-
"
|
|
5746
|
-
"
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
"name": "credentials_file",
|
|
5659
|
+
"verbose": {
|
|
5660
|
+
"char": "v",
|
|
5661
|
+
"description": "Show detailed request/response information",
|
|
5662
|
+
"env": "XANO_VERBOSE",
|
|
5663
|
+
"name": "verbose",
|
|
5750
5664
|
"required": false,
|
|
5751
|
-
"
|
|
5752
|
-
"
|
|
5753
|
-
"type": "option"
|
|
5665
|
+
"allowNo": false,
|
|
5666
|
+
"type": "boolean"
|
|
5754
5667
|
},
|
|
5755
|
-
"
|
|
5756
|
-
"
|
|
5757
|
-
"
|
|
5758
|
-
"
|
|
5759
|
-
"required": false,
|
|
5668
|
+
"backup_id": {
|
|
5669
|
+
"description": "Backup ID to delete",
|
|
5670
|
+
"name": "backup_id",
|
|
5671
|
+
"required": true,
|
|
5760
5672
|
"hasDynamicHelp": false,
|
|
5761
5673
|
"multiple": false,
|
|
5762
5674
|
"type": "option"
|
|
5763
5675
|
},
|
|
5764
|
-
"
|
|
5765
|
-
"
|
|
5766
|
-
"
|
|
5676
|
+
"force": {
|
|
5677
|
+
"char": "f",
|
|
5678
|
+
"description": "Skip confirmation prompt",
|
|
5679
|
+
"name": "force",
|
|
5767
5680
|
"required": false,
|
|
5768
|
-
"
|
|
5769
|
-
"
|
|
5770
|
-
"type": "option"
|
|
5771
|
-
},
|
|
5772
|
-
"name": {
|
|
5773
|
-
"char": "n",
|
|
5774
|
-
"description": "Cluster name",
|
|
5775
|
-
"name": "name",
|
|
5776
|
-
"required": true,
|
|
5777
|
-
"hasDynamicHelp": false,
|
|
5778
|
-
"multiple": false,
|
|
5779
|
-
"type": "option"
|
|
5681
|
+
"allowNo": false,
|
|
5682
|
+
"type": "boolean"
|
|
5780
5683
|
},
|
|
5781
5684
|
"output": {
|
|
5782
5685
|
"char": "o",
|
|
@@ -5792,23 +5695,19 @@
|
|
|
5792
5695
|
],
|
|
5793
5696
|
"type": "option"
|
|
5794
5697
|
},
|
|
5795
|
-
"
|
|
5796
|
-
"
|
|
5797
|
-
"
|
|
5698
|
+
"workspace": {
|
|
5699
|
+
"char": "w",
|
|
5700
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5701
|
+
"name": "workspace",
|
|
5798
5702
|
"required": false,
|
|
5799
|
-
"default": "standard",
|
|
5800
5703
|
"hasDynamicHelp": false,
|
|
5801
5704
|
"multiple": false,
|
|
5802
|
-
"options": [
|
|
5803
|
-
"standard",
|
|
5804
|
-
"run"
|
|
5805
|
-
],
|
|
5806
5705
|
"type": "option"
|
|
5807
5706
|
}
|
|
5808
5707
|
},
|
|
5809
5708
|
"hasDynamicHelp": false,
|
|
5810
5709
|
"hiddenAliases": [],
|
|
5811
|
-
"id": "tenant:
|
|
5710
|
+
"id": "tenant:backup:delete",
|
|
5812
5711
|
"pluginAlias": "@xano/cli",
|
|
5813
5712
|
"pluginName": "@xano/cli",
|
|
5814
5713
|
"pluginType": "core",
|
|
@@ -5819,25 +5718,25 @@
|
|
|
5819
5718
|
"dist",
|
|
5820
5719
|
"commands",
|
|
5821
5720
|
"tenant",
|
|
5822
|
-
"
|
|
5823
|
-
"
|
|
5721
|
+
"backup",
|
|
5722
|
+
"delete",
|
|
5824
5723
|
"index.js"
|
|
5825
5724
|
]
|
|
5826
5725
|
},
|
|
5827
|
-
"tenant:
|
|
5726
|
+
"tenant:backup:export": {
|
|
5828
5727
|
"aliases": [],
|
|
5829
5728
|
"args": {
|
|
5830
|
-
"
|
|
5831
|
-
"description": "
|
|
5832
|
-
"name": "
|
|
5729
|
+
"tenant_name": {
|
|
5730
|
+
"description": "Tenant name to export backup from",
|
|
5731
|
+
"name": "tenant_name",
|
|
5833
5732
|
"required": true
|
|
5834
5733
|
}
|
|
5835
5734
|
},
|
|
5836
|
-
"description": "
|
|
5735
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5837
5736
|
"examples": [
|
|
5838
|
-
"$ xano tenant
|
|
5839
|
-
"$ xano tenant
|
|
5840
|
-
"$ xano tenant
|
|
5737
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5738
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5739
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5841
5740
|
],
|
|
5842
5741
|
"flags": {
|
|
5843
5742
|
"profile": {
|
|
@@ -5859,18 +5758,18 @@
|
|
|
5859
5758
|
"allowNo": false,
|
|
5860
5759
|
"type": "boolean"
|
|
5861
5760
|
},
|
|
5862
|
-
"
|
|
5863
|
-
"
|
|
5864
|
-
"
|
|
5865
|
-
"
|
|
5866
|
-
"
|
|
5867
|
-
"
|
|
5868
|
-
"type": "
|
|
5761
|
+
"backup_id": {
|
|
5762
|
+
"description": "Backup ID to export",
|
|
5763
|
+
"name": "backup_id",
|
|
5764
|
+
"required": true,
|
|
5765
|
+
"hasDynamicHelp": false,
|
|
5766
|
+
"multiple": false,
|
|
5767
|
+
"type": "option"
|
|
5869
5768
|
},
|
|
5870
|
-
"
|
|
5769
|
+
"format": {
|
|
5871
5770
|
"char": "o",
|
|
5872
5771
|
"description": "Output format",
|
|
5873
|
-
"name": "
|
|
5772
|
+
"name": "format",
|
|
5874
5773
|
"required": false,
|
|
5875
5774
|
"default": "summary",
|
|
5876
5775
|
"hasDynamicHelp": false,
|
|
@@ -5880,11 +5779,28 @@
|
|
|
5880
5779
|
"json"
|
|
5881
5780
|
],
|
|
5882
5781
|
"type": "option"
|
|
5782
|
+
},
|
|
5783
|
+
"output": {
|
|
5784
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5785
|
+
"name": "output",
|
|
5786
|
+
"required": false,
|
|
5787
|
+
"hasDynamicHelp": false,
|
|
5788
|
+
"multiple": false,
|
|
5789
|
+
"type": "option"
|
|
5790
|
+
},
|
|
5791
|
+
"workspace": {
|
|
5792
|
+
"char": "w",
|
|
5793
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5794
|
+
"name": "workspace",
|
|
5795
|
+
"required": false,
|
|
5796
|
+
"hasDynamicHelp": false,
|
|
5797
|
+
"multiple": false,
|
|
5798
|
+
"type": "option"
|
|
5883
5799
|
}
|
|
5884
5800
|
},
|
|
5885
5801
|
"hasDynamicHelp": false,
|
|
5886
5802
|
"hiddenAliases": [],
|
|
5887
|
-
"id": "tenant:
|
|
5803
|
+
"id": "tenant:backup:export",
|
|
5888
5804
|
"pluginAlias": "@xano/cli",
|
|
5889
5805
|
"pluginName": "@xano/cli",
|
|
5890
5806
|
"pluginType": "core",
|
|
@@ -5895,24 +5811,24 @@
|
|
|
5895
5811
|
"dist",
|
|
5896
5812
|
"commands",
|
|
5897
5813
|
"tenant",
|
|
5898
|
-
"
|
|
5899
|
-
"
|
|
5814
|
+
"backup",
|
|
5815
|
+
"export",
|
|
5900
5816
|
"index.js"
|
|
5901
5817
|
]
|
|
5902
5818
|
},
|
|
5903
|
-
"tenant:
|
|
5819
|
+
"tenant:backup:import": {
|
|
5904
5820
|
"aliases": [],
|
|
5905
5821
|
"args": {
|
|
5906
|
-
"
|
|
5907
|
-
"description": "
|
|
5908
|
-
"name": "
|
|
5822
|
+
"tenant_name": {
|
|
5823
|
+
"description": "Tenant name to import backup into",
|
|
5824
|
+
"name": "tenant_name",
|
|
5909
5825
|
"required": true
|
|
5910
5826
|
}
|
|
5911
5827
|
},
|
|
5912
|
-
"description": "
|
|
5828
|
+
"description": "Import a backup file into a tenant",
|
|
5913
5829
|
"examples": [
|
|
5914
|
-
"$ xano tenant
|
|
5915
|
-
"$ xano tenant
|
|
5830
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5831
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5916
5832
|
],
|
|
5917
5833
|
"flags": {
|
|
5918
5834
|
"profile": {
|
|
@@ -5936,25 +5852,18 @@
|
|
|
5936
5852
|
},
|
|
5937
5853
|
"description": {
|
|
5938
5854
|
"char": "d",
|
|
5939
|
-
"description": "
|
|
5855
|
+
"description": "Backup description",
|
|
5940
5856
|
"name": "description",
|
|
5941
|
-
"required":
|
|
5942
|
-
"
|
|
5943
|
-
"multiple": false,
|
|
5944
|
-
"type": "option"
|
|
5945
|
-
},
|
|
5946
|
-
"domain": {
|
|
5947
|
-
"description": "Custom domain for the cluster",
|
|
5948
|
-
"name": "domain",
|
|
5949
|
-
"required": true,
|
|
5857
|
+
"required": false,
|
|
5858
|
+
"default": "",
|
|
5950
5859
|
"hasDynamicHelp": false,
|
|
5951
5860
|
"multiple": false,
|
|
5952
5861
|
"type": "option"
|
|
5953
5862
|
},
|
|
5954
|
-
"
|
|
5955
|
-
"char": "
|
|
5956
|
-
"description": "
|
|
5957
|
-
"name": "
|
|
5863
|
+
"file": {
|
|
5864
|
+
"char": "f",
|
|
5865
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5866
|
+
"name": "file",
|
|
5958
5867
|
"required": true,
|
|
5959
5868
|
"hasDynamicHelp": false,
|
|
5960
5869
|
"multiple": false,
|
|
@@ -5974,22 +5883,19 @@
|
|
|
5974
5883
|
],
|
|
5975
5884
|
"type": "option"
|
|
5976
5885
|
},
|
|
5977
|
-
"
|
|
5978
|
-
"
|
|
5979
|
-
"
|
|
5980
|
-
"
|
|
5886
|
+
"workspace": {
|
|
5887
|
+
"char": "w",
|
|
5888
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5889
|
+
"name": "workspace",
|
|
5890
|
+
"required": false,
|
|
5981
5891
|
"hasDynamicHelp": false,
|
|
5982
5892
|
"multiple": false,
|
|
5983
|
-
"options": [
|
|
5984
|
-
"standard",
|
|
5985
|
-
"run"
|
|
5986
|
-
],
|
|
5987
5893
|
"type": "option"
|
|
5988
5894
|
}
|
|
5989
5895
|
},
|
|
5990
5896
|
"hasDynamicHelp": false,
|
|
5991
5897
|
"hiddenAliases": [],
|
|
5992
|
-
"id": "tenant:
|
|
5898
|
+
"id": "tenant:backup:import",
|
|
5993
5899
|
"pluginAlias": "@xano/cli",
|
|
5994
5900
|
"pluginName": "@xano/cli",
|
|
5995
5901
|
"pluginType": "core",
|
|
@@ -6000,24 +5906,24 @@
|
|
|
6000
5906
|
"dist",
|
|
6001
5907
|
"commands",
|
|
6002
5908
|
"tenant",
|
|
6003
|
-
"
|
|
6004
|
-
"
|
|
5909
|
+
"backup",
|
|
5910
|
+
"import",
|
|
6005
5911
|
"index.js"
|
|
6006
5912
|
]
|
|
6007
5913
|
},
|
|
6008
|
-
"tenant:
|
|
5914
|
+
"tenant:backup:list": {
|
|
6009
5915
|
"aliases": [],
|
|
6010
5916
|
"args": {
|
|
6011
|
-
"
|
|
6012
|
-
"description": "
|
|
6013
|
-
"name": "
|
|
5917
|
+
"tenant_name": {
|
|
5918
|
+
"description": "Tenant name to list backups for",
|
|
5919
|
+
"name": "tenant_name",
|
|
6014
5920
|
"required": true
|
|
6015
5921
|
}
|
|
6016
5922
|
},
|
|
6017
|
-
"description": "
|
|
5923
|
+
"description": "List backups for a tenant",
|
|
6018
5924
|
"examples": [
|
|
6019
|
-
"$ xano tenant
|
|
6020
|
-
"$ xano tenant
|
|
5925
|
+
"$ 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",
|
|
5926
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
6021
5927
|
],
|
|
6022
5928
|
"flags": {
|
|
6023
5929
|
"profile": {
|
|
@@ -6052,11 +5958,29 @@
|
|
|
6052
5958
|
"json"
|
|
6053
5959
|
],
|
|
6054
5960
|
"type": "option"
|
|
5961
|
+
},
|
|
5962
|
+
"page": {
|
|
5963
|
+
"description": "Page number for pagination",
|
|
5964
|
+
"name": "page",
|
|
5965
|
+
"required": false,
|
|
5966
|
+
"default": 1,
|
|
5967
|
+
"hasDynamicHelp": false,
|
|
5968
|
+
"multiple": false,
|
|
5969
|
+
"type": "option"
|
|
5970
|
+
},
|
|
5971
|
+
"workspace": {
|
|
5972
|
+
"char": "w",
|
|
5973
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5974
|
+
"name": "workspace",
|
|
5975
|
+
"required": false,
|
|
5976
|
+
"hasDynamicHelp": false,
|
|
5977
|
+
"multiple": false,
|
|
5978
|
+
"type": "option"
|
|
6055
5979
|
}
|
|
6056
5980
|
},
|
|
6057
5981
|
"hasDynamicHelp": false,
|
|
6058
5982
|
"hiddenAliases": [],
|
|
6059
|
-
"id": "tenant:
|
|
5983
|
+
"id": "tenant:backup:list",
|
|
6060
5984
|
"pluginAlias": "@xano/cli",
|
|
6061
5985
|
"pluginName": "@xano/cli",
|
|
6062
5986
|
"pluginType": "core",
|
|
@@ -6067,18 +5991,24 @@
|
|
|
6067
5991
|
"dist",
|
|
6068
5992
|
"commands",
|
|
6069
5993
|
"tenant",
|
|
6070
|
-
"
|
|
6071
|
-
"
|
|
5994
|
+
"backup",
|
|
5995
|
+
"list",
|
|
6072
5996
|
"index.js"
|
|
6073
5997
|
]
|
|
6074
5998
|
},
|
|
6075
|
-
"tenant:
|
|
5999
|
+
"tenant:backup:restore": {
|
|
6076
6000
|
"aliases": [],
|
|
6077
|
-
"args": {
|
|
6078
|
-
|
|
6001
|
+
"args": {
|
|
6002
|
+
"tenant_name": {
|
|
6003
|
+
"description": "Tenant name to restore",
|
|
6004
|
+
"name": "tenant_name",
|
|
6005
|
+
"required": true
|
|
6006
|
+
}
|
|
6007
|
+
},
|
|
6008
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
6079
6009
|
"examples": [
|
|
6080
|
-
"$ xano tenant
|
|
6081
|
-
"$ xano tenant
|
|
6010
|
+
"$ 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",
|
|
6011
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
6082
6012
|
],
|
|
6083
6013
|
"flags": {
|
|
6084
6014
|
"profile": {
|
|
@@ -6100,6 +6030,22 @@
|
|
|
6100
6030
|
"allowNo": false,
|
|
6101
6031
|
"type": "boolean"
|
|
6102
6032
|
},
|
|
6033
|
+
"backup_id": {
|
|
6034
|
+
"description": "Backup ID to restore from",
|
|
6035
|
+
"name": "backup_id",
|
|
6036
|
+
"required": true,
|
|
6037
|
+
"hasDynamicHelp": false,
|
|
6038
|
+
"multiple": false,
|
|
6039
|
+
"type": "option"
|
|
6040
|
+
},
|
|
6041
|
+
"force": {
|
|
6042
|
+
"char": "f",
|
|
6043
|
+
"description": "Skip confirmation prompt",
|
|
6044
|
+
"name": "force",
|
|
6045
|
+
"required": false,
|
|
6046
|
+
"allowNo": false,
|
|
6047
|
+
"type": "boolean"
|
|
6048
|
+
},
|
|
6103
6049
|
"output": {
|
|
6104
6050
|
"char": "o",
|
|
6105
6051
|
"description": "Output format",
|
|
@@ -6113,11 +6059,20 @@
|
|
|
6113
6059
|
"json"
|
|
6114
6060
|
],
|
|
6115
6061
|
"type": "option"
|
|
6062
|
+
},
|
|
6063
|
+
"workspace": {
|
|
6064
|
+
"char": "w",
|
|
6065
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6066
|
+
"name": "workspace",
|
|
6067
|
+
"required": false,
|
|
6068
|
+
"hasDynamicHelp": false,
|
|
6069
|
+
"multiple": false,
|
|
6070
|
+
"type": "option"
|
|
6116
6071
|
}
|
|
6117
6072
|
},
|
|
6118
6073
|
"hasDynamicHelp": false,
|
|
6119
6074
|
"hiddenAliases": [],
|
|
6120
|
-
"id": "tenant:
|
|
6075
|
+
"id": "tenant:backup:restore",
|
|
6121
6076
|
"pluginAlias": "@xano/cli",
|
|
6122
6077
|
"pluginName": "@xano/cli",
|
|
6123
6078
|
"pluginType": "core",
|
|
@@ -6128,8 +6083,8 @@
|
|
|
6128
6083
|
"dist",
|
|
6129
6084
|
"commands",
|
|
6130
6085
|
"tenant",
|
|
6131
|
-
"
|
|
6132
|
-
"
|
|
6086
|
+
"backup",
|
|
6087
|
+
"restore",
|
|
6133
6088
|
"index.js"
|
|
6134
6089
|
]
|
|
6135
6090
|
},
|
|
@@ -6499,19 +6454,19 @@
|
|
|
6499
6454
|
"index.js"
|
|
6500
6455
|
]
|
|
6501
6456
|
},
|
|
6502
|
-
"tenant:
|
|
6457
|
+
"tenant:cluster:get": {
|
|
6503
6458
|
"aliases": [],
|
|
6504
6459
|
"args": {
|
|
6505
|
-
"
|
|
6506
|
-
"description": "
|
|
6507
|
-
"name": "
|
|
6460
|
+
"cluster_id": {
|
|
6461
|
+
"description": "Cluster ID to retrieve",
|
|
6462
|
+
"name": "cluster_id",
|
|
6508
6463
|
"required": true
|
|
6509
6464
|
}
|
|
6510
6465
|
},
|
|
6511
|
-
"description": "
|
|
6466
|
+
"description": "Get details of a specific tenant cluster",
|
|
6512
6467
|
"examples": [
|
|
6513
|
-
"$ xano tenant
|
|
6514
|
-
"$ xano tenant
|
|
6468
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
6469
|
+
"$ xano tenant cluster get 1 -o json"
|
|
6515
6470
|
],
|
|
6516
6471
|
"flags": {
|
|
6517
6472
|
"profile": {
|
|
@@ -6546,20 +6501,11 @@
|
|
|
6546
6501
|
"json"
|
|
6547
6502
|
],
|
|
6548
6503
|
"type": "option"
|
|
6549
|
-
},
|
|
6550
|
-
"workspace": {
|
|
6551
|
-
"char": "w",
|
|
6552
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6553
|
-
"name": "workspace",
|
|
6554
|
-
"required": false,
|
|
6555
|
-
"hasDynamicHelp": false,
|
|
6556
|
-
"multiple": false,
|
|
6557
|
-
"type": "option"
|
|
6558
6504
|
}
|
|
6559
6505
|
},
|
|
6560
6506
|
"hasDynamicHelp": false,
|
|
6561
6507
|
"hiddenAliases": [],
|
|
6562
|
-
"id": "tenant:
|
|
6508
|
+
"id": "tenant:cluster:get",
|
|
6563
6509
|
"pluginAlias": "@xano/cli",
|
|
6564
6510
|
"pluginName": "@xano/cli",
|
|
6565
6511
|
"pluginType": "core",
|
|
@@ -6570,12 +6516,12 @@
|
|
|
6570
6516
|
"dist",
|
|
6571
6517
|
"commands",
|
|
6572
6518
|
"tenant",
|
|
6573
|
-
"
|
|
6574
|
-
"
|
|
6519
|
+
"cluster",
|
|
6520
|
+
"get",
|
|
6575
6521
|
"index.js"
|
|
6576
6522
|
]
|
|
6577
6523
|
},
|
|
6578
|
-
"tenant:env:
|
|
6524
|
+
"tenant:env:list": {
|
|
6579
6525
|
"aliases": [],
|
|
6580
6526
|
"args": {
|
|
6581
6527
|
"tenant_name": {
|
|
@@ -6584,11 +6530,10 @@
|
|
|
6584
6530
|
"required": true
|
|
6585
6531
|
}
|
|
6586
6532
|
},
|
|
6587
|
-
"description": "
|
|
6533
|
+
"description": "List environment variable keys for a tenant",
|
|
6588
6534
|
"examples": [
|
|
6589
|
-
"$ xano tenant env
|
|
6590
|
-
"$ xano tenant env
|
|
6591
|
-
"$ xano tenant env set_all my-tenant -o json"
|
|
6535
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6536
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6592
6537
|
],
|
|
6593
6538
|
"flags": {
|
|
6594
6539
|
"profile": {
|
|
@@ -6610,22 +6555,6 @@
|
|
|
6610
6555
|
"allowNo": false,
|
|
6611
6556
|
"type": "boolean"
|
|
6612
6557
|
},
|
|
6613
|
-
"clean": {
|
|
6614
|
-
"description": "Remove the source file after successful upload",
|
|
6615
|
-
"name": "clean",
|
|
6616
|
-
"required": false,
|
|
6617
|
-
"allowNo": false,
|
|
6618
|
-
"type": "boolean"
|
|
6619
|
-
},
|
|
6620
|
-
"file": {
|
|
6621
|
-
"char": "f",
|
|
6622
|
-
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6623
|
-
"name": "file",
|
|
6624
|
-
"required": false,
|
|
6625
|
-
"hasDynamicHelp": false,
|
|
6626
|
-
"multiple": false,
|
|
6627
|
-
"type": "option"
|
|
6628
|
-
},
|
|
6629
6558
|
"output": {
|
|
6630
6559
|
"char": "o",
|
|
6631
6560
|
"description": "Output format",
|
|
@@ -6652,7 +6581,7 @@
|
|
|
6652
6581
|
},
|
|
6653
6582
|
"hasDynamicHelp": false,
|
|
6654
6583
|
"hiddenAliases": [],
|
|
6655
|
-
"id": "tenant:env:
|
|
6584
|
+
"id": "tenant:env:list",
|
|
6656
6585
|
"pluginAlias": "@xano/cli",
|
|
6657
6586
|
"pluginName": "@xano/cli",
|
|
6658
6587
|
"pluginType": "core",
|
|
@@ -6664,11 +6593,11 @@
|
|
|
6664
6593
|
"commands",
|
|
6665
6594
|
"tenant",
|
|
6666
6595
|
"env",
|
|
6667
|
-
"
|
|
6596
|
+
"list",
|
|
6668
6597
|
"index.js"
|
|
6669
6598
|
]
|
|
6670
6599
|
},
|
|
6671
|
-
"tenant:
|
|
6600
|
+
"tenant:env:set_all": {
|
|
6672
6601
|
"aliases": [],
|
|
6673
6602
|
"args": {
|
|
6674
6603
|
"tenant_name": {
|
|
@@ -6677,12 +6606,11 @@
|
|
|
6677
6606
|
"required": true
|
|
6678
6607
|
}
|
|
6679
6608
|
},
|
|
6680
|
-
"description": "
|
|
6609
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6681
6610
|
"examples": [
|
|
6682
|
-
"$ xano tenant
|
|
6683
|
-
"$ xano tenant
|
|
6684
|
-
"$ xano tenant
|
|
6685
|
-
"$ xano tenant license get my-tenant -o json"
|
|
6611
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6612
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6613
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6686
6614
|
],
|
|
6687
6615
|
"flags": {
|
|
6688
6616
|
"profile": {
|
|
@@ -6704,9 +6632,16 @@
|
|
|
6704
6632
|
"allowNo": false,
|
|
6705
6633
|
"type": "boolean"
|
|
6706
6634
|
},
|
|
6635
|
+
"clean": {
|
|
6636
|
+
"description": "Remove the source file after successful upload",
|
|
6637
|
+
"name": "clean",
|
|
6638
|
+
"required": false,
|
|
6639
|
+
"allowNo": false,
|
|
6640
|
+
"type": "boolean"
|
|
6641
|
+
},
|
|
6707
6642
|
"file": {
|
|
6708
6643
|
"char": "f",
|
|
6709
|
-
"description": "
|
|
6644
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6710
6645
|
"name": "file",
|
|
6711
6646
|
"required": false,
|
|
6712
6647
|
"hasDynamicHelp": false,
|
|
@@ -6727,13 +6662,6 @@
|
|
|
6727
6662
|
],
|
|
6728
6663
|
"type": "option"
|
|
6729
6664
|
},
|
|
6730
|
-
"view": {
|
|
6731
|
-
"description": "Print license to stdout instead of saving to file",
|
|
6732
|
-
"name": "view",
|
|
6733
|
-
"required": false,
|
|
6734
|
-
"allowNo": false,
|
|
6735
|
-
"type": "boolean"
|
|
6736
|
-
},
|
|
6737
6665
|
"workspace": {
|
|
6738
6666
|
"char": "w",
|
|
6739
6667
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6746,7 +6674,7 @@
|
|
|
6746
6674
|
},
|
|
6747
6675
|
"hasDynamicHelp": false,
|
|
6748
6676
|
"hiddenAliases": [],
|
|
6749
|
-
"id": "tenant:
|
|
6677
|
+
"id": "tenant:env:set_all",
|
|
6750
6678
|
"pluginAlias": "@xano/cli",
|
|
6751
6679
|
"pluginName": "@xano/cli",
|
|
6752
6680
|
"pluginType": "core",
|
|
@@ -6757,12 +6685,12 @@
|
|
|
6757
6685
|
"dist",
|
|
6758
6686
|
"commands",
|
|
6759
6687
|
"tenant",
|
|
6760
|
-
"
|
|
6761
|
-
"
|
|
6688
|
+
"env",
|
|
6689
|
+
"set_all",
|
|
6762
6690
|
"index.js"
|
|
6763
6691
|
]
|
|
6764
6692
|
},
|
|
6765
|
-
"tenant:license:
|
|
6693
|
+
"tenant:license:get": {
|
|
6766
6694
|
"aliases": [],
|
|
6767
6695
|
"args": {
|
|
6768
6696
|
"tenant_name": {
|
|
@@ -6771,12 +6699,12 @@
|
|
|
6771
6699
|
"required": true
|
|
6772
6700
|
}
|
|
6773
6701
|
},
|
|
6774
|
-
"description": "
|
|
6702
|
+
"description": "Get the license for a tenant",
|
|
6775
6703
|
"examples": [
|
|
6776
|
-
"$ xano tenant license
|
|
6777
|
-
"$ xano tenant license
|
|
6778
|
-
"$ xano tenant license
|
|
6779
|
-
"$ xano tenant license
|
|
6704
|
+
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6705
|
+
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6706
|
+
"$ xano tenant license get my-tenant --view",
|
|
6707
|
+
"$ xano tenant license get my-tenant -o json"
|
|
6780
6708
|
],
|
|
6781
6709
|
"flags": {
|
|
6782
6710
|
"profile": {
|
|
@@ -6798,22 +6726,9 @@
|
|
|
6798
6726
|
"allowNo": false,
|
|
6799
6727
|
"type": "boolean"
|
|
6800
6728
|
},
|
|
6801
|
-
"clean": {
|
|
6802
|
-
"description": "Remove the source file after successful upload",
|
|
6803
|
-
"exclusive": [
|
|
6804
|
-
"value"
|
|
6805
|
-
],
|
|
6806
|
-
"name": "clean",
|
|
6807
|
-
"required": false,
|
|
6808
|
-
"allowNo": false,
|
|
6809
|
-
"type": "boolean"
|
|
6810
|
-
},
|
|
6811
6729
|
"file": {
|
|
6812
6730
|
"char": "f",
|
|
6813
|
-
"description": "
|
|
6814
|
-
"exclusive": [
|
|
6815
|
-
"value"
|
|
6816
|
-
],
|
|
6731
|
+
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6817
6732
|
"name": "file",
|
|
6818
6733
|
"required": false,
|
|
6819
6734
|
"hasDynamicHelp": false,
|
|
@@ -6834,17 +6749,12 @@
|
|
|
6834
6749
|
],
|
|
6835
6750
|
"type": "option"
|
|
6836
6751
|
},
|
|
6837
|
-
"
|
|
6838
|
-
"description": "
|
|
6839
|
-
"
|
|
6840
|
-
"file",
|
|
6841
|
-
"clean"
|
|
6842
|
-
],
|
|
6843
|
-
"name": "value",
|
|
6752
|
+
"view": {
|
|
6753
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6754
|
+
"name": "view",
|
|
6844
6755
|
"required": false,
|
|
6845
|
-
"
|
|
6846
|
-
"
|
|
6847
|
-
"type": "option"
|
|
6756
|
+
"allowNo": false,
|
|
6757
|
+
"type": "boolean"
|
|
6848
6758
|
},
|
|
6849
6759
|
"workspace": {
|
|
6850
6760
|
"char": "w",
|
|
@@ -6858,7 +6768,7 @@
|
|
|
6858
6768
|
},
|
|
6859
6769
|
"hasDynamicHelp": false,
|
|
6860
6770
|
"hiddenAliases": [],
|
|
6861
|
-
"id": "tenant:license:
|
|
6771
|
+
"id": "tenant:license:get",
|
|
6862
6772
|
"pluginAlias": "@xano/cli",
|
|
6863
6773
|
"pluginName": "@xano/cli",
|
|
6864
6774
|
"pluginType": "core",
|
|
@@ -6870,7 +6780,7 @@
|
|
|
6870
6780
|
"commands",
|
|
6871
6781
|
"tenant",
|
|
6872
6782
|
"license",
|
|
6873
|
-
"
|
|
6783
|
+
"get",
|
|
6874
6784
|
"index.js"
|
|
6875
6785
|
]
|
|
6876
6786
|
},
|
|
@@ -7157,7 +7067,119 @@
|
|
|
7157
7067
|
"set",
|
|
7158
7068
|
"index.js"
|
|
7159
7069
|
]
|
|
7070
|
+
},
|
|
7071
|
+
"tenant:license:set": {
|
|
7072
|
+
"aliases": [],
|
|
7073
|
+
"args": {
|
|
7074
|
+
"tenant_name": {
|
|
7075
|
+
"description": "Tenant name",
|
|
7076
|
+
"name": "tenant_name",
|
|
7077
|
+
"required": true
|
|
7078
|
+
}
|
|
7079
|
+
},
|
|
7080
|
+
"description": "Set/update the license for a tenant",
|
|
7081
|
+
"examples": [
|
|
7082
|
+
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
7083
|
+
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
7084
|
+
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
7085
|
+
"$ xano tenant license set my-tenant -o json"
|
|
7086
|
+
],
|
|
7087
|
+
"flags": {
|
|
7088
|
+
"profile": {
|
|
7089
|
+
"char": "p",
|
|
7090
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
7091
|
+
"env": "XANO_PROFILE",
|
|
7092
|
+
"name": "profile",
|
|
7093
|
+
"required": false,
|
|
7094
|
+
"hasDynamicHelp": false,
|
|
7095
|
+
"multiple": false,
|
|
7096
|
+
"type": "option"
|
|
7097
|
+
},
|
|
7098
|
+
"verbose": {
|
|
7099
|
+
"char": "v",
|
|
7100
|
+
"description": "Show detailed request/response information",
|
|
7101
|
+
"env": "XANO_VERBOSE",
|
|
7102
|
+
"name": "verbose",
|
|
7103
|
+
"required": false,
|
|
7104
|
+
"allowNo": false,
|
|
7105
|
+
"type": "boolean"
|
|
7106
|
+
},
|
|
7107
|
+
"clean": {
|
|
7108
|
+
"description": "Remove the source file after successful upload",
|
|
7109
|
+
"exclusive": [
|
|
7110
|
+
"value"
|
|
7111
|
+
],
|
|
7112
|
+
"name": "clean",
|
|
7113
|
+
"required": false,
|
|
7114
|
+
"allowNo": false,
|
|
7115
|
+
"type": "boolean"
|
|
7116
|
+
},
|
|
7117
|
+
"file": {
|
|
7118
|
+
"char": "f",
|
|
7119
|
+
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
7120
|
+
"exclusive": [
|
|
7121
|
+
"value"
|
|
7122
|
+
],
|
|
7123
|
+
"name": "file",
|
|
7124
|
+
"required": false,
|
|
7125
|
+
"hasDynamicHelp": false,
|
|
7126
|
+
"multiple": false,
|
|
7127
|
+
"type": "option"
|
|
7128
|
+
},
|
|
7129
|
+
"output": {
|
|
7130
|
+
"char": "o",
|
|
7131
|
+
"description": "Output format",
|
|
7132
|
+
"name": "output",
|
|
7133
|
+
"required": false,
|
|
7134
|
+
"default": "summary",
|
|
7135
|
+
"hasDynamicHelp": false,
|
|
7136
|
+
"multiple": false,
|
|
7137
|
+
"options": [
|
|
7138
|
+
"summary",
|
|
7139
|
+
"json"
|
|
7140
|
+
],
|
|
7141
|
+
"type": "option"
|
|
7142
|
+
},
|
|
7143
|
+
"value": {
|
|
7144
|
+
"description": "Inline license value",
|
|
7145
|
+
"exclusive": [
|
|
7146
|
+
"file",
|
|
7147
|
+
"clean"
|
|
7148
|
+
],
|
|
7149
|
+
"name": "value",
|
|
7150
|
+
"required": false,
|
|
7151
|
+
"hasDynamicHelp": false,
|
|
7152
|
+
"multiple": false,
|
|
7153
|
+
"type": "option"
|
|
7154
|
+
},
|
|
7155
|
+
"workspace": {
|
|
7156
|
+
"char": "w",
|
|
7157
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
7158
|
+
"name": "workspace",
|
|
7159
|
+
"required": false,
|
|
7160
|
+
"hasDynamicHelp": false,
|
|
7161
|
+
"multiple": false,
|
|
7162
|
+
"type": "option"
|
|
7163
|
+
}
|
|
7164
|
+
},
|
|
7165
|
+
"hasDynamicHelp": false,
|
|
7166
|
+
"hiddenAliases": [],
|
|
7167
|
+
"id": "tenant:license:set",
|
|
7168
|
+
"pluginAlias": "@xano/cli",
|
|
7169
|
+
"pluginName": "@xano/cli",
|
|
7170
|
+
"pluginType": "core",
|
|
7171
|
+
"strict": true,
|
|
7172
|
+
"enableJsonFlag": false,
|
|
7173
|
+
"isESM": true,
|
|
7174
|
+
"relativePath": [
|
|
7175
|
+
"dist",
|
|
7176
|
+
"commands",
|
|
7177
|
+
"tenant",
|
|
7178
|
+
"license",
|
|
7179
|
+
"set",
|
|
7180
|
+
"index.js"
|
|
7181
|
+
]
|
|
7160
7182
|
}
|
|
7161
7183
|
},
|
|
7162
|
-
"version": "0.0.
|
|
7184
|
+
"version": "0.0.90"
|
|
7163
7185
|
}
|