@xano/cli 0.0.95-beta.16 → 0.0.95-beta.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/branch/create/index.d.ts +3 -1
- package/dist/commands/branch/create/index.js +21 -17
- package/oclif.manifest.json +1381 -1384
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -102,12 +102,18 @@
|
|
|
102
102
|
},
|
|
103
103
|
"branch:create": {
|
|
104
104
|
"aliases": [],
|
|
105
|
-
"args": {
|
|
105
|
+
"args": {
|
|
106
|
+
"label": {
|
|
107
|
+
"description": "Label for the new branch",
|
|
108
|
+
"name": "label",
|
|
109
|
+
"required": true
|
|
110
|
+
}
|
|
111
|
+
},
|
|
106
112
|
"description": "Create a new branch by cloning from an existing branch",
|
|
107
113
|
"examples": [
|
|
108
|
-
"$ xano branch create
|
|
109
|
-
"$ xano branch create
|
|
110
|
-
"$ xano branch create
|
|
114
|
+
"$ xano branch create dev\nCreated branch: dev\n Cloned from: v1\n",
|
|
115
|
+
"$ xano branch create feature-auth -s dev -d \"Authentication feature\"\nCreated branch: feature-auth\n Cloned from: dev\n Description: Authentication feature\n",
|
|
116
|
+
"$ xano branch create staging --color \"#ebc346\" --output json\n{\n \"created_at\": \"2024-02-11T10:00:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
111
117
|
],
|
|
112
118
|
"flags": {
|
|
113
119
|
"profile": {
|
|
@@ -147,15 +153,6 @@
|
|
|
147
153
|
"multiple": false,
|
|
148
154
|
"type": "option"
|
|
149
155
|
},
|
|
150
|
-
"label": {
|
|
151
|
-
"char": "l",
|
|
152
|
-
"description": "Label for the new branch",
|
|
153
|
-
"name": "label",
|
|
154
|
-
"required": true,
|
|
155
|
-
"hasDynamicHelp": false,
|
|
156
|
-
"multiple": false,
|
|
157
|
-
"type": "option"
|
|
158
|
-
},
|
|
159
156
|
"output": {
|
|
160
157
|
"char": "o",
|
|
161
158
|
"description": "Output format",
|
|
@@ -394,82 +391,6 @@
|
|
|
394
391
|
"index.js"
|
|
395
392
|
]
|
|
396
393
|
},
|
|
397
|
-
"branch:get": {
|
|
398
|
-
"aliases": [],
|
|
399
|
-
"args": {
|
|
400
|
-
"branch_label": {
|
|
401
|
-
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
402
|
-
"name": "branch_label",
|
|
403
|
-
"required": true
|
|
404
|
-
}
|
|
405
|
-
},
|
|
406
|
-
"description": "Get details for a specific branch",
|
|
407
|
-
"examples": [
|
|
408
|
-
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
409
|
-
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
410
|
-
"$ 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"
|
|
411
|
-
],
|
|
412
|
-
"flags": {
|
|
413
|
-
"profile": {
|
|
414
|
-
"char": "p",
|
|
415
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
416
|
-
"env": "XANO_PROFILE",
|
|
417
|
-
"name": "profile",
|
|
418
|
-
"required": false,
|
|
419
|
-
"hasDynamicHelp": false,
|
|
420
|
-
"multiple": false,
|
|
421
|
-
"type": "option"
|
|
422
|
-
},
|
|
423
|
-
"verbose": {
|
|
424
|
-
"char": "v",
|
|
425
|
-
"description": "Show detailed request/response information",
|
|
426
|
-
"env": "XANO_VERBOSE",
|
|
427
|
-
"name": "verbose",
|
|
428
|
-
"required": false,
|
|
429
|
-
"allowNo": false,
|
|
430
|
-
"type": "boolean"
|
|
431
|
-
},
|
|
432
|
-
"output": {
|
|
433
|
-
"char": "o",
|
|
434
|
-
"description": "Output format",
|
|
435
|
-
"name": "output",
|
|
436
|
-
"required": false,
|
|
437
|
-
"default": "summary",
|
|
438
|
-
"hasDynamicHelp": false,
|
|
439
|
-
"multiple": false,
|
|
440
|
-
"options": [
|
|
441
|
-
"summary",
|
|
442
|
-
"json"
|
|
443
|
-
],
|
|
444
|
-
"type": "option"
|
|
445
|
-
},
|
|
446
|
-
"workspace": {
|
|
447
|
-
"char": "w",
|
|
448
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
449
|
-
"name": "workspace",
|
|
450
|
-
"required": false,
|
|
451
|
-
"hasDynamicHelp": false,
|
|
452
|
-
"multiple": false,
|
|
453
|
-
"type": "option"
|
|
454
|
-
}
|
|
455
|
-
},
|
|
456
|
-
"hasDynamicHelp": false,
|
|
457
|
-
"hiddenAliases": [],
|
|
458
|
-
"id": "branch:get",
|
|
459
|
-
"pluginAlias": "@xano/cli",
|
|
460
|
-
"pluginName": "@xano/cli",
|
|
461
|
-
"pluginType": "core",
|
|
462
|
-
"strict": true,
|
|
463
|
-
"enableJsonFlag": false,
|
|
464
|
-
"isESM": true,
|
|
465
|
-
"relativePath": [
|
|
466
|
-
"dist",
|
|
467
|
-
"commands",
|
|
468
|
-
"branch",
|
|
469
|
-
"get",
|
|
470
|
-
"index.js"
|
|
471
|
-
]
|
|
472
|
-
},
|
|
473
394
|
"branch:list": {
|
|
474
395
|
"aliases": [],
|
|
475
396
|
"args": {
|
|
@@ -621,15 +542,16 @@
|
|
|
621
542
|
"index.js"
|
|
622
543
|
]
|
|
623
544
|
},
|
|
624
|
-
"function:
|
|
545
|
+
"function:create": {
|
|
625
546
|
"aliases": [],
|
|
626
547
|
"args": {},
|
|
627
|
-
"description": "
|
|
548
|
+
"description": "Create a new function in a workspace",
|
|
628
549
|
"examples": [
|
|
629
|
-
"$ xano function:
|
|
630
|
-
"$ xano function:
|
|
631
|
-
"$ xano function:
|
|
632
|
-
"$ xano function:
|
|
550
|
+
"$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
551
|
+
"$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
552
|
+
"$ xano function:create -w 40 -f function.xs --edit\n# Opens function.xs in $EDITOR, then creates function with edited content\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
553
|
+
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
554
|
+
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
633
555
|
],
|
|
634
556
|
"flags": {
|
|
635
557
|
"profile": {
|
|
@@ -651,31 +573,27 @@
|
|
|
651
573
|
"allowNo": false,
|
|
652
574
|
"type": "boolean"
|
|
653
575
|
},
|
|
654
|
-
"
|
|
655
|
-
"
|
|
656
|
-
"
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
"
|
|
660
|
-
|
|
661
|
-
"include_xanoscript": {
|
|
662
|
-
"description": "Include XanoScript in response",
|
|
663
|
-
"name": "include_xanoscript",
|
|
576
|
+
"edit": {
|
|
577
|
+
"char": "e",
|
|
578
|
+
"dependsOn": [
|
|
579
|
+
"file"
|
|
580
|
+
],
|
|
581
|
+
"description": "Open file in editor before creating function (requires --file)",
|
|
582
|
+
"name": "edit",
|
|
664
583
|
"required": false,
|
|
665
584
|
"allowNo": false,
|
|
666
585
|
"type": "boolean"
|
|
667
586
|
},
|
|
668
|
-
"
|
|
669
|
-
"
|
|
670
|
-
"
|
|
587
|
+
"file": {
|
|
588
|
+
"char": "f",
|
|
589
|
+
"description": "Path to file containing XanoScript code",
|
|
590
|
+
"exclusive": [
|
|
591
|
+
"stdin"
|
|
592
|
+
],
|
|
593
|
+
"name": "file",
|
|
671
594
|
"required": false,
|
|
672
|
-
"default": "desc",
|
|
673
595
|
"hasDynamicHelp": false,
|
|
674
596
|
"multiple": false,
|
|
675
|
-
"options": [
|
|
676
|
-
"asc",
|
|
677
|
-
"desc"
|
|
678
|
-
],
|
|
679
597
|
"type": "option"
|
|
680
598
|
},
|
|
681
599
|
"output": {
|
|
@@ -692,32 +610,16 @@
|
|
|
692
610
|
],
|
|
693
611
|
"type": "option"
|
|
694
612
|
},
|
|
695
|
-
"
|
|
696
|
-
"
|
|
697
|
-
"
|
|
698
|
-
"
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
"
|
|
702
|
-
"type": "option"
|
|
703
|
-
},
|
|
704
|
-
"per_page": {
|
|
705
|
-
"description": "Number of results per page",
|
|
706
|
-
"name": "per_page",
|
|
707
|
-
"required": false,
|
|
708
|
-
"default": 50,
|
|
709
|
-
"hasDynamicHelp": false,
|
|
710
|
-
"multiple": false,
|
|
711
|
-
"type": "option"
|
|
712
|
-
},
|
|
713
|
-
"sort": {
|
|
714
|
-
"description": "Sort field",
|
|
715
|
-
"name": "sort",
|
|
613
|
+
"stdin": {
|
|
614
|
+
"char": "s",
|
|
615
|
+
"description": "Read XanoScript code from stdin",
|
|
616
|
+
"exclusive": [
|
|
617
|
+
"file"
|
|
618
|
+
],
|
|
619
|
+
"name": "stdin",
|
|
716
620
|
"required": false,
|
|
717
|
-
"
|
|
718
|
-
"
|
|
719
|
-
"multiple": false,
|
|
720
|
-
"type": "option"
|
|
621
|
+
"allowNo": false,
|
|
622
|
+
"type": "boolean"
|
|
721
623
|
},
|
|
722
624
|
"workspace": {
|
|
723
625
|
"char": "w",
|
|
@@ -731,7 +633,7 @@
|
|
|
731
633
|
},
|
|
732
634
|
"hasDynamicHelp": false,
|
|
733
635
|
"hiddenAliases": [],
|
|
734
|
-
"id": "function:
|
|
636
|
+
"id": "function:create",
|
|
735
637
|
"pluginAlias": "@xano/cli",
|
|
736
638
|
"pluginName": "@xano/cli",
|
|
737
639
|
"pluginType": "core",
|
|
@@ -742,7 +644,7 @@
|
|
|
742
644
|
"dist",
|
|
743
645
|
"commands",
|
|
744
646
|
"function",
|
|
745
|
-
"
|
|
647
|
+
"create",
|
|
746
648
|
"index.js"
|
|
747
649
|
]
|
|
748
650
|
},
|
|
@@ -959,19 +861,15 @@
|
|
|
959
861
|
"index.js"
|
|
960
862
|
]
|
|
961
863
|
},
|
|
962
|
-
"
|
|
864
|
+
"function:list": {
|
|
963
865
|
"aliases": [],
|
|
964
|
-
"args": {
|
|
965
|
-
|
|
966
|
-
"description": "Platform ID to retrieve",
|
|
967
|
-
"name": "platform_id",
|
|
968
|
-
"required": true
|
|
969
|
-
}
|
|
970
|
-
},
|
|
971
|
-
"description": "Get details of a specific platform",
|
|
866
|
+
"args": {},
|
|
867
|
+
"description": "List all functions in a workspace from the Xano Metadata API",
|
|
972
868
|
"examples": [
|
|
973
|
-
"$ xano
|
|
974
|
-
"$ xano
|
|
869
|
+
"$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
|
|
870
|
+
"$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
|
|
871
|
+
"$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
|
|
872
|
+
"$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
|
|
975
873
|
],
|
|
976
874
|
"flags": {
|
|
977
875
|
"profile": {
|
|
@@ -993,6 +891,33 @@
|
|
|
993
891
|
"allowNo": false,
|
|
994
892
|
"type": "boolean"
|
|
995
893
|
},
|
|
894
|
+
"include_draft": {
|
|
895
|
+
"description": "Include draft functions",
|
|
896
|
+
"name": "include_draft",
|
|
897
|
+
"required": false,
|
|
898
|
+
"allowNo": false,
|
|
899
|
+
"type": "boolean"
|
|
900
|
+
},
|
|
901
|
+
"include_xanoscript": {
|
|
902
|
+
"description": "Include XanoScript in response",
|
|
903
|
+
"name": "include_xanoscript",
|
|
904
|
+
"required": false,
|
|
905
|
+
"allowNo": false,
|
|
906
|
+
"type": "boolean"
|
|
907
|
+
},
|
|
908
|
+
"order": {
|
|
909
|
+
"description": "Sort order",
|
|
910
|
+
"name": "order",
|
|
911
|
+
"required": false,
|
|
912
|
+
"default": "desc",
|
|
913
|
+
"hasDynamicHelp": false,
|
|
914
|
+
"multiple": false,
|
|
915
|
+
"options": [
|
|
916
|
+
"asc",
|
|
917
|
+
"desc"
|
|
918
|
+
],
|
|
919
|
+
"type": "option"
|
|
920
|
+
},
|
|
996
921
|
"output": {
|
|
997
922
|
"char": "o",
|
|
998
923
|
"description": "Output format",
|
|
@@ -1006,41 +931,83 @@
|
|
|
1006
931
|
"json"
|
|
1007
932
|
],
|
|
1008
933
|
"type": "option"
|
|
1009
|
-
}
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
"
|
|
1038
|
-
"char": "
|
|
1039
|
-
"description": "
|
|
1040
|
-
"
|
|
1041
|
-
"
|
|
1042
|
-
"
|
|
1043
|
-
"
|
|
934
|
+
},
|
|
935
|
+
"page": {
|
|
936
|
+
"description": "Page number for pagination",
|
|
937
|
+
"name": "page",
|
|
938
|
+
"required": false,
|
|
939
|
+
"default": 1,
|
|
940
|
+
"hasDynamicHelp": false,
|
|
941
|
+
"multiple": false,
|
|
942
|
+
"type": "option"
|
|
943
|
+
},
|
|
944
|
+
"per_page": {
|
|
945
|
+
"description": "Number of results per page",
|
|
946
|
+
"name": "per_page",
|
|
947
|
+
"required": false,
|
|
948
|
+
"default": 50,
|
|
949
|
+
"hasDynamicHelp": false,
|
|
950
|
+
"multiple": false,
|
|
951
|
+
"type": "option"
|
|
952
|
+
},
|
|
953
|
+
"sort": {
|
|
954
|
+
"description": "Sort field",
|
|
955
|
+
"name": "sort",
|
|
956
|
+
"required": false,
|
|
957
|
+
"default": "created_at",
|
|
958
|
+
"hasDynamicHelp": false,
|
|
959
|
+
"multiple": false,
|
|
960
|
+
"type": "option"
|
|
961
|
+
},
|
|
962
|
+
"workspace": {
|
|
963
|
+
"char": "w",
|
|
964
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
965
|
+
"name": "workspace",
|
|
966
|
+
"required": false,
|
|
967
|
+
"hasDynamicHelp": false,
|
|
968
|
+
"multiple": false,
|
|
969
|
+
"type": "option"
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
"hasDynamicHelp": false,
|
|
973
|
+
"hiddenAliases": [],
|
|
974
|
+
"id": "function:list",
|
|
975
|
+
"pluginAlias": "@xano/cli",
|
|
976
|
+
"pluginName": "@xano/cli",
|
|
977
|
+
"pluginType": "core",
|
|
978
|
+
"strict": true,
|
|
979
|
+
"enableJsonFlag": false,
|
|
980
|
+
"isESM": true,
|
|
981
|
+
"relativePath": [
|
|
982
|
+
"dist",
|
|
983
|
+
"commands",
|
|
984
|
+
"function",
|
|
985
|
+
"list",
|
|
986
|
+
"index.js"
|
|
987
|
+
]
|
|
988
|
+
},
|
|
989
|
+
"platform:get": {
|
|
990
|
+
"aliases": [],
|
|
991
|
+
"args": {
|
|
992
|
+
"platform_id": {
|
|
993
|
+
"description": "Platform ID to retrieve",
|
|
994
|
+
"name": "platform_id",
|
|
995
|
+
"required": true
|
|
996
|
+
}
|
|
997
|
+
},
|
|
998
|
+
"description": "Get details of a specific platform",
|
|
999
|
+
"examples": [
|
|
1000
|
+
"$ 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",
|
|
1001
|
+
"$ xano platform get 23629 -o json"
|
|
1002
|
+
],
|
|
1003
|
+
"flags": {
|
|
1004
|
+
"profile": {
|
|
1005
|
+
"char": "p",
|
|
1006
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1007
|
+
"env": "XANO_PROFILE",
|
|
1008
|
+
"name": "profile",
|
|
1009
|
+
"required": false,
|
|
1010
|
+
"hasDynamicHelp": false,
|
|
1044
1011
|
"multiple": false,
|
|
1045
1012
|
"type": "option"
|
|
1046
1013
|
},
|
|
@@ -1070,7 +1037,7 @@
|
|
|
1070
1037
|
},
|
|
1071
1038
|
"hasDynamicHelp": false,
|
|
1072
1039
|
"hiddenAliases": [],
|
|
1073
|
-
"id": "platform:
|
|
1040
|
+
"id": "platform:get",
|
|
1074
1041
|
"pluginAlias": "@xano/cli",
|
|
1075
1042
|
"pluginName": "@xano/cli",
|
|
1076
1043
|
"pluginType": "core",
|
|
@@ -1081,7 +1048,7 @@
|
|
|
1081
1048
|
"dist",
|
|
1082
1049
|
"commands",
|
|
1083
1050
|
"platform",
|
|
1084
|
-
"
|
|
1051
|
+
"get",
|
|
1085
1052
|
"index.js"
|
|
1086
1053
|
]
|
|
1087
1054
|
},
|
|
@@ -1181,6 +1148,66 @@
|
|
|
1181
1148
|
"index.js"
|
|
1182
1149
|
]
|
|
1183
1150
|
},
|
|
1151
|
+
"platform:list": {
|
|
1152
|
+
"aliases": [],
|
|
1153
|
+
"args": {},
|
|
1154
|
+
"description": "List all platforms",
|
|
1155
|
+
"examples": [
|
|
1156
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1157
|
+
"$ xano platform list --output json"
|
|
1158
|
+
],
|
|
1159
|
+
"flags": {
|
|
1160
|
+
"profile": {
|
|
1161
|
+
"char": "p",
|
|
1162
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1163
|
+
"env": "XANO_PROFILE",
|
|
1164
|
+
"name": "profile",
|
|
1165
|
+
"required": false,
|
|
1166
|
+
"hasDynamicHelp": false,
|
|
1167
|
+
"multiple": false,
|
|
1168
|
+
"type": "option"
|
|
1169
|
+
},
|
|
1170
|
+
"verbose": {
|
|
1171
|
+
"char": "v",
|
|
1172
|
+
"description": "Show detailed request/response information",
|
|
1173
|
+
"env": "XANO_VERBOSE",
|
|
1174
|
+
"name": "verbose",
|
|
1175
|
+
"required": false,
|
|
1176
|
+
"allowNo": false,
|
|
1177
|
+
"type": "boolean"
|
|
1178
|
+
},
|
|
1179
|
+
"output": {
|
|
1180
|
+
"char": "o",
|
|
1181
|
+
"description": "Output format",
|
|
1182
|
+
"name": "output",
|
|
1183
|
+
"required": false,
|
|
1184
|
+
"default": "summary",
|
|
1185
|
+
"hasDynamicHelp": false,
|
|
1186
|
+
"multiple": false,
|
|
1187
|
+
"options": [
|
|
1188
|
+
"summary",
|
|
1189
|
+
"json"
|
|
1190
|
+
],
|
|
1191
|
+
"type": "option"
|
|
1192
|
+
}
|
|
1193
|
+
},
|
|
1194
|
+
"hasDynamicHelp": false,
|
|
1195
|
+
"hiddenAliases": [],
|
|
1196
|
+
"id": "platform:list",
|
|
1197
|
+
"pluginAlias": "@xano/cli",
|
|
1198
|
+
"pluginName": "@xano/cli",
|
|
1199
|
+
"pluginType": "core",
|
|
1200
|
+
"strict": true,
|
|
1201
|
+
"enableJsonFlag": false,
|
|
1202
|
+
"isESM": true,
|
|
1203
|
+
"relativePath": [
|
|
1204
|
+
"dist",
|
|
1205
|
+
"commands",
|
|
1206
|
+
"platform",
|
|
1207
|
+
"list",
|
|
1208
|
+
"index.js"
|
|
1209
|
+
]
|
|
1210
|
+
},
|
|
1184
1211
|
"profile:delete": {
|
|
1185
1212
|
"aliases": [],
|
|
1186
1213
|
"args": {
|
|
@@ -1353,16 +1380,45 @@
|
|
|
1353
1380
|
"index.js"
|
|
1354
1381
|
]
|
|
1355
1382
|
},
|
|
1356
|
-
"
|
|
1383
|
+
"profile:get": {
|
|
1357
1384
|
"aliases": [],
|
|
1358
1385
|
"args": {},
|
|
1359
|
-
"description": "
|
|
1386
|
+
"description": "Get the current default profile name",
|
|
1360
1387
|
"examples": [
|
|
1361
|
-
"$ xano
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1388
|
+
"$ xano profile get\nproduction\n"
|
|
1389
|
+
],
|
|
1390
|
+
"flags": {},
|
|
1391
|
+
"hasDynamicHelp": false,
|
|
1392
|
+
"hiddenAliases": [],
|
|
1393
|
+
"id": "profile:get",
|
|
1394
|
+
"pluginAlias": "@xano/cli",
|
|
1395
|
+
"pluginName": "@xano/cli",
|
|
1396
|
+
"pluginType": "core",
|
|
1397
|
+
"strict": true,
|
|
1398
|
+
"enableJsonFlag": false,
|
|
1399
|
+
"isESM": true,
|
|
1400
|
+
"relativePath": [
|
|
1401
|
+
"dist",
|
|
1402
|
+
"commands",
|
|
1403
|
+
"profile",
|
|
1404
|
+
"get",
|
|
1405
|
+
"index.js"
|
|
1406
|
+
]
|
|
1407
|
+
},
|
|
1408
|
+
"branch:get": {
|
|
1409
|
+
"aliases": [],
|
|
1410
|
+
"args": {
|
|
1411
|
+
"branch_label": {
|
|
1412
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
1413
|
+
"name": "branch_label",
|
|
1414
|
+
"required": true
|
|
1415
|
+
}
|
|
1416
|
+
},
|
|
1417
|
+
"description": "Get details for a specific branch",
|
|
1418
|
+
"examples": [
|
|
1419
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
1420
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
1421
|
+
"$ 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"
|
|
1366
1422
|
],
|
|
1367
1423
|
"flags": {
|
|
1368
1424
|
"profile": {
|
|
@@ -1384,29 +1440,6 @@
|
|
|
1384
1440
|
"allowNo": false,
|
|
1385
1441
|
"type": "boolean"
|
|
1386
1442
|
},
|
|
1387
|
-
"edit": {
|
|
1388
|
-
"char": "e",
|
|
1389
|
-
"dependsOn": [
|
|
1390
|
-
"file"
|
|
1391
|
-
],
|
|
1392
|
-
"description": "Open file in editor before creating function (requires --file)",
|
|
1393
|
-
"name": "edit",
|
|
1394
|
-
"required": false,
|
|
1395
|
-
"allowNo": false,
|
|
1396
|
-
"type": "boolean"
|
|
1397
|
-
},
|
|
1398
|
-
"file": {
|
|
1399
|
-
"char": "f",
|
|
1400
|
-
"description": "Path to file containing XanoScript code",
|
|
1401
|
-
"exclusive": [
|
|
1402
|
-
"stdin"
|
|
1403
|
-
],
|
|
1404
|
-
"name": "file",
|
|
1405
|
-
"required": false,
|
|
1406
|
-
"hasDynamicHelp": false,
|
|
1407
|
-
"multiple": false,
|
|
1408
|
-
"type": "option"
|
|
1409
|
-
},
|
|
1410
1443
|
"output": {
|
|
1411
1444
|
"char": "o",
|
|
1412
1445
|
"description": "Output format",
|
|
@@ -1421,20 +1454,9 @@
|
|
|
1421
1454
|
],
|
|
1422
1455
|
"type": "option"
|
|
1423
1456
|
},
|
|
1424
|
-
"stdin": {
|
|
1425
|
-
"char": "s",
|
|
1426
|
-
"description": "Read XanoScript code from stdin",
|
|
1427
|
-
"exclusive": [
|
|
1428
|
-
"file"
|
|
1429
|
-
],
|
|
1430
|
-
"name": "stdin",
|
|
1431
|
-
"required": false,
|
|
1432
|
-
"allowNo": false,
|
|
1433
|
-
"type": "boolean"
|
|
1434
|
-
},
|
|
1435
1457
|
"workspace": {
|
|
1436
1458
|
"char": "w",
|
|
1437
|
-
"description": "Workspace ID (
|
|
1459
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1438
1460
|
"name": "workspace",
|
|
1439
1461
|
"required": false,
|
|
1440
1462
|
"hasDynamicHelp": false,
|
|
@@ -1444,32 +1466,7 @@
|
|
|
1444
1466
|
},
|
|
1445
1467
|
"hasDynamicHelp": false,
|
|
1446
1468
|
"hiddenAliases": [],
|
|
1447
|
-
"id": "
|
|
1448
|
-
"pluginAlias": "@xano/cli",
|
|
1449
|
-
"pluginName": "@xano/cli",
|
|
1450
|
-
"pluginType": "core",
|
|
1451
|
-
"strict": true,
|
|
1452
|
-
"enableJsonFlag": false,
|
|
1453
|
-
"isESM": true,
|
|
1454
|
-
"relativePath": [
|
|
1455
|
-
"dist",
|
|
1456
|
-
"commands",
|
|
1457
|
-
"function",
|
|
1458
|
-
"create",
|
|
1459
|
-
"index.js"
|
|
1460
|
-
]
|
|
1461
|
-
},
|
|
1462
|
-
"profile:get": {
|
|
1463
|
-
"aliases": [],
|
|
1464
|
-
"args": {},
|
|
1465
|
-
"description": "Get the current default profile name",
|
|
1466
|
-
"examples": [
|
|
1467
|
-
"$ xano profile get\nproduction\n"
|
|
1468
|
-
],
|
|
1469
|
-
"flags": {},
|
|
1470
|
-
"hasDynamicHelp": false,
|
|
1471
|
-
"hiddenAliases": [],
|
|
1472
|
-
"id": "profile:get",
|
|
1469
|
+
"id": "branch:get",
|
|
1473
1470
|
"pluginAlias": "@xano/cli",
|
|
1474
1471
|
"pluginName": "@xano/cli",
|
|
1475
1472
|
"pluginType": "core",
|
|
@@ -1479,77 +1476,15 @@
|
|
|
1479
1476
|
"relativePath": [
|
|
1480
1477
|
"dist",
|
|
1481
1478
|
"commands",
|
|
1482
|
-
"
|
|
1479
|
+
"branch",
|
|
1483
1480
|
"get",
|
|
1484
1481
|
"index.js"
|
|
1485
1482
|
]
|
|
1486
1483
|
},
|
|
1487
|
-
"profile:
|
|
1484
|
+
"profile:me": {
|
|
1488
1485
|
"aliases": [],
|
|
1489
1486
|
"args": {},
|
|
1490
|
-
"description": "
|
|
1491
|
-
"examples": [
|
|
1492
|
-
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1493
|
-
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1494
|
-
],
|
|
1495
|
-
"flags": {},
|
|
1496
|
-
"hasDynamicHelp": false,
|
|
1497
|
-
"hiddenAliases": [],
|
|
1498
|
-
"id": "profile:token",
|
|
1499
|
-
"pluginAlias": "@xano/cli",
|
|
1500
|
-
"pluginName": "@xano/cli",
|
|
1501
|
-
"pluginType": "core",
|
|
1502
|
-
"strict": true,
|
|
1503
|
-
"enableJsonFlag": false,
|
|
1504
|
-
"isESM": true,
|
|
1505
|
-
"relativePath": [
|
|
1506
|
-
"dist",
|
|
1507
|
-
"commands",
|
|
1508
|
-
"profile",
|
|
1509
|
-
"token",
|
|
1510
|
-
"index.js"
|
|
1511
|
-
]
|
|
1512
|
-
},
|
|
1513
|
-
"profile:list": {
|
|
1514
|
-
"aliases": [],
|
|
1515
|
-
"args": {},
|
|
1516
|
-
"description": "List all available profile configurations",
|
|
1517
|
-
"examples": [
|
|
1518
|
-
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1519
|
-
"$ 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",
|
|
1520
|
-
"$ 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"
|
|
1521
|
-
],
|
|
1522
|
-
"flags": {
|
|
1523
|
-
"details": {
|
|
1524
|
-
"char": "d",
|
|
1525
|
-
"description": "Show detailed information for each profile",
|
|
1526
|
-
"name": "details",
|
|
1527
|
-
"required": false,
|
|
1528
|
-
"allowNo": false,
|
|
1529
|
-
"type": "boolean"
|
|
1530
|
-
}
|
|
1531
|
-
},
|
|
1532
|
-
"hasDynamicHelp": false,
|
|
1533
|
-
"hiddenAliases": [],
|
|
1534
|
-
"id": "profile:list",
|
|
1535
|
-
"pluginAlias": "@xano/cli",
|
|
1536
|
-
"pluginName": "@xano/cli",
|
|
1537
|
-
"pluginType": "core",
|
|
1538
|
-
"strict": true,
|
|
1539
|
-
"enableJsonFlag": false,
|
|
1540
|
-
"isESM": true,
|
|
1541
|
-
"relativePath": [
|
|
1542
|
-
"dist",
|
|
1543
|
-
"commands",
|
|
1544
|
-
"profile",
|
|
1545
|
-
"list",
|
|
1546
|
-
"index.js"
|
|
1547
|
-
]
|
|
1548
|
-
},
|
|
1549
|
-
"profile:me": {
|
|
1550
|
-
"aliases": [],
|
|
1551
|
-
"args": {},
|
|
1552
|
-
"description": "Get information about the currently authenticated user",
|
|
1487
|
+
"description": "Get information about the currently authenticated user",
|
|
1553
1488
|
"examples": [
|
|
1554
1489
|
"$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
|
|
1555
1490
|
"$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
|
|
@@ -1607,23 +1542,28 @@
|
|
|
1607
1542
|
"index.js"
|
|
1608
1543
|
]
|
|
1609
1544
|
},
|
|
1610
|
-
"profile:
|
|
1545
|
+
"profile:list": {
|
|
1611
1546
|
"aliases": [],
|
|
1612
|
-
"args": {
|
|
1613
|
-
|
|
1614
|
-
"description": "Profile name to set as default",
|
|
1615
|
-
"name": "name",
|
|
1616
|
-
"required": true
|
|
1617
|
-
}
|
|
1618
|
-
},
|
|
1619
|
-
"description": "Set the default profile",
|
|
1547
|
+
"args": {},
|
|
1548
|
+
"description": "List all available profile configurations",
|
|
1620
1549
|
"examples": [
|
|
1621
|
-
"$ xano profile
|
|
1550
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1551
|
+
"$ 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",
|
|
1552
|
+
"$ 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"
|
|
1622
1553
|
],
|
|
1623
|
-
"flags": {
|
|
1554
|
+
"flags": {
|
|
1555
|
+
"details": {
|
|
1556
|
+
"char": "d",
|
|
1557
|
+
"description": "Show detailed information for each profile",
|
|
1558
|
+
"name": "details",
|
|
1559
|
+
"required": false,
|
|
1560
|
+
"allowNo": false,
|
|
1561
|
+
"type": "boolean"
|
|
1562
|
+
}
|
|
1563
|
+
},
|
|
1624
1564
|
"hasDynamicHelp": false,
|
|
1625
1565
|
"hiddenAliases": [],
|
|
1626
|
-
"id": "profile:
|
|
1566
|
+
"id": "profile:list",
|
|
1627
1567
|
"pluginAlias": "@xano/cli",
|
|
1628
1568
|
"pluginName": "@xano/cli",
|
|
1629
1569
|
"pluginType": "core",
|
|
@@ -1634,49 +1574,27 @@
|
|
|
1634
1574
|
"dist",
|
|
1635
1575
|
"commands",
|
|
1636
1576
|
"profile",
|
|
1637
|
-
"
|
|
1577
|
+
"list",
|
|
1638
1578
|
"index.js"
|
|
1639
1579
|
]
|
|
1640
1580
|
},
|
|
1641
|
-
"profile:
|
|
1581
|
+
"profile:set": {
|
|
1642
1582
|
"aliases": [],
|
|
1643
|
-
"args": {
|
|
1644
|
-
"description": "Create a new profile configuration using an interactive wizard",
|
|
1645
|
-
"examples": [
|
|
1646
|
-
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
1647
|
-
],
|
|
1648
|
-
"flags": {
|
|
1649
|
-
"insecure": {
|
|
1650
|
-
"char": "k",
|
|
1651
|
-
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1652
|
-
"name": "insecure",
|
|
1653
|
-
"required": false,
|
|
1654
|
-
"allowNo": false,
|
|
1655
|
-
"type": "boolean"
|
|
1656
|
-
},
|
|
1583
|
+
"args": {
|
|
1657
1584
|
"name": {
|
|
1658
|
-
"
|
|
1659
|
-
"description": "Profile name (skip prompt if provided)",
|
|
1585
|
+
"description": "Profile name to set as default",
|
|
1660
1586
|
"name": "name",
|
|
1661
|
-
"required":
|
|
1662
|
-
"hasDynamicHelp": false,
|
|
1663
|
-
"multiple": false,
|
|
1664
|
-
"type": "option"
|
|
1665
|
-
},
|
|
1666
|
-
"origin": {
|
|
1667
|
-
"char": "o",
|
|
1668
|
-
"description": "Xano instance origin URL",
|
|
1669
|
-
"name": "origin",
|
|
1670
|
-
"required": false,
|
|
1671
|
-
"default": "https://app.xano.com",
|
|
1672
|
-
"hasDynamicHelp": false,
|
|
1673
|
-
"multiple": false,
|
|
1674
|
-
"type": "option"
|
|
1587
|
+
"required": true
|
|
1675
1588
|
}
|
|
1676
1589
|
},
|
|
1590
|
+
"description": "Set the default profile",
|
|
1591
|
+
"examples": [
|
|
1592
|
+
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1593
|
+
],
|
|
1594
|
+
"flags": {},
|
|
1677
1595
|
"hasDynamicHelp": false,
|
|
1678
1596
|
"hiddenAliases": [],
|
|
1679
|
-
"id": "profile:
|
|
1597
|
+
"id": "profile:set",
|
|
1680
1598
|
"pluginAlias": "@xano/cli",
|
|
1681
1599
|
"pluginName": "@xano/cli",
|
|
1682
1600
|
"pluginType": "core",
|
|
@@ -1687,7 +1605,7 @@
|
|
|
1687
1605
|
"dist",
|
|
1688
1606
|
"commands",
|
|
1689
1607
|
"profile",
|
|
1690
|
-
"
|
|
1608
|
+
"set",
|
|
1691
1609
|
"index.js"
|
|
1692
1610
|
]
|
|
1693
1611
|
},
|
|
@@ -1802,6 +1720,59 @@
|
|
|
1802
1720
|
"index.js"
|
|
1803
1721
|
]
|
|
1804
1722
|
},
|
|
1723
|
+
"profile:wizard": {
|
|
1724
|
+
"aliases": [],
|
|
1725
|
+
"args": {},
|
|
1726
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
1727
|
+
"examples": [
|
|
1728
|
+
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
1729
|
+
],
|
|
1730
|
+
"flags": {
|
|
1731
|
+
"insecure": {
|
|
1732
|
+
"char": "k",
|
|
1733
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1734
|
+
"name": "insecure",
|
|
1735
|
+
"required": false,
|
|
1736
|
+
"allowNo": false,
|
|
1737
|
+
"type": "boolean"
|
|
1738
|
+
},
|
|
1739
|
+
"name": {
|
|
1740
|
+
"char": "n",
|
|
1741
|
+
"description": "Profile name (skip prompt if provided)",
|
|
1742
|
+
"name": "name",
|
|
1743
|
+
"required": false,
|
|
1744
|
+
"hasDynamicHelp": false,
|
|
1745
|
+
"multiple": false,
|
|
1746
|
+
"type": "option"
|
|
1747
|
+
},
|
|
1748
|
+
"origin": {
|
|
1749
|
+
"char": "o",
|
|
1750
|
+
"description": "Xano instance origin URL",
|
|
1751
|
+
"name": "origin",
|
|
1752
|
+
"required": false,
|
|
1753
|
+
"default": "https://app.xano.com",
|
|
1754
|
+
"hasDynamicHelp": false,
|
|
1755
|
+
"multiple": false,
|
|
1756
|
+
"type": "option"
|
|
1757
|
+
}
|
|
1758
|
+
},
|
|
1759
|
+
"hasDynamicHelp": false,
|
|
1760
|
+
"hiddenAliases": [],
|
|
1761
|
+
"id": "profile:wizard",
|
|
1762
|
+
"pluginAlias": "@xano/cli",
|
|
1763
|
+
"pluginName": "@xano/cli",
|
|
1764
|
+
"pluginType": "core",
|
|
1765
|
+
"strict": true,
|
|
1766
|
+
"enableJsonFlag": false,
|
|
1767
|
+
"isESM": true,
|
|
1768
|
+
"relativePath": [
|
|
1769
|
+
"dist",
|
|
1770
|
+
"commands",
|
|
1771
|
+
"profile",
|
|
1772
|
+
"wizard",
|
|
1773
|
+
"index.js"
|
|
1774
|
+
]
|
|
1775
|
+
},
|
|
1805
1776
|
"profile:workspace": {
|
|
1806
1777
|
"aliases": [],
|
|
1807
1778
|
"args": {},
|
|
@@ -1828,6 +1799,32 @@
|
|
|
1828
1799
|
"index.js"
|
|
1829
1800
|
]
|
|
1830
1801
|
},
|
|
1802
|
+
"profile:token": {
|
|
1803
|
+
"aliases": [],
|
|
1804
|
+
"args": {},
|
|
1805
|
+
"description": "Print the access token for the default profile",
|
|
1806
|
+
"examples": [
|
|
1807
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1808
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1809
|
+
],
|
|
1810
|
+
"flags": {},
|
|
1811
|
+
"hasDynamicHelp": false,
|
|
1812
|
+
"hiddenAliases": [],
|
|
1813
|
+
"id": "profile:token",
|
|
1814
|
+
"pluginAlias": "@xano/cli",
|
|
1815
|
+
"pluginName": "@xano/cli",
|
|
1816
|
+
"pluginType": "core",
|
|
1817
|
+
"strict": true,
|
|
1818
|
+
"enableJsonFlag": false,
|
|
1819
|
+
"isESM": true,
|
|
1820
|
+
"relativePath": [
|
|
1821
|
+
"dist",
|
|
1822
|
+
"commands",
|
|
1823
|
+
"profile",
|
|
1824
|
+
"token",
|
|
1825
|
+
"index.js"
|
|
1826
|
+
]
|
|
1827
|
+
},
|
|
1831
1828
|
"release:deploy": {
|
|
1832
1829
|
"aliases": [],
|
|
1833
1830
|
"args": {
|
|
@@ -1920,20 +1917,20 @@
|
|
|
1920
1917
|
"index.js"
|
|
1921
1918
|
]
|
|
1922
1919
|
},
|
|
1923
|
-
"release:
|
|
1920
|
+
"release:delete": {
|
|
1924
1921
|
"aliases": [],
|
|
1925
1922
|
"args": {
|
|
1926
1923
|
"release_name": {
|
|
1927
|
-
"description": "Release name to
|
|
1924
|
+
"description": "Release name to delete",
|
|
1928
1925
|
"name": "release_name",
|
|
1929
1926
|
"required": true
|
|
1930
1927
|
}
|
|
1931
1928
|
},
|
|
1932
|
-
"description": "
|
|
1929
|
+
"description": "Delete a release permanently. This action cannot be undone.",
|
|
1933
1930
|
"examples": [
|
|
1934
|
-
"$ xano release
|
|
1935
|
-
"$ xano release
|
|
1936
|
-
"$ xano release
|
|
1931
|
+
"$ xano release delete v1.0\nAre you sure you want to delete release 'v1.0'? This action cannot be undone. (y/N) y\nDeleted release 'v1.0'\n",
|
|
1932
|
+
"$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
|
|
1933
|
+
"$ xano release delete v1.0 -f -o json"
|
|
1937
1934
|
],
|
|
1938
1935
|
"flags": {
|
|
1939
1936
|
"profile": {
|
|
@@ -1955,10 +1952,18 @@
|
|
|
1955
1952
|
"allowNo": false,
|
|
1956
1953
|
"type": "boolean"
|
|
1957
1954
|
},
|
|
1958
|
-
"
|
|
1955
|
+
"force": {
|
|
1956
|
+
"char": "f",
|
|
1957
|
+
"description": "Skip confirmation prompt",
|
|
1958
|
+
"name": "force",
|
|
1959
|
+
"required": false,
|
|
1960
|
+
"allowNo": false,
|
|
1961
|
+
"type": "boolean"
|
|
1962
|
+
},
|
|
1963
|
+
"output": {
|
|
1959
1964
|
"char": "o",
|
|
1960
1965
|
"description": "Output format",
|
|
1961
|
-
"name": "
|
|
1966
|
+
"name": "output",
|
|
1962
1967
|
"required": false,
|
|
1963
1968
|
"default": "summary",
|
|
1964
1969
|
"hasDynamicHelp": false,
|
|
@@ -1969,14 +1974,6 @@
|
|
|
1969
1974
|
],
|
|
1970
1975
|
"type": "option"
|
|
1971
1976
|
},
|
|
1972
|
-
"output": {
|
|
1973
|
-
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
1974
|
-
"name": "output",
|
|
1975
|
-
"required": false,
|
|
1976
|
-
"hasDynamicHelp": false,
|
|
1977
|
-
"multiple": false,
|
|
1978
|
-
"type": "option"
|
|
1979
|
-
},
|
|
1980
1977
|
"workspace": {
|
|
1981
1978
|
"char": "w",
|
|
1982
1979
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -1989,7 +1986,7 @@
|
|
|
1989
1986
|
},
|
|
1990
1987
|
"hasDynamicHelp": false,
|
|
1991
1988
|
"hiddenAliases": [],
|
|
1992
|
-
"id": "release:
|
|
1989
|
+
"id": "release:delete",
|
|
1993
1990
|
"pluginAlias": "@xano/cli",
|
|
1994
1991
|
"pluginName": "@xano/cli",
|
|
1995
1992
|
"pluginType": "core",
|
|
@@ -2000,7 +1997,7 @@
|
|
|
2000
1997
|
"dist",
|
|
2001
1998
|
"commands",
|
|
2002
1999
|
"release",
|
|
2003
|
-
"
|
|
2000
|
+
"delete",
|
|
2004
2001
|
"index.js"
|
|
2005
2002
|
]
|
|
2006
2003
|
},
|
|
@@ -2172,14 +2169,14 @@
|
|
|
2172
2169
|
"index.js"
|
|
2173
2170
|
]
|
|
2174
2171
|
},
|
|
2175
|
-
"release:
|
|
2172
|
+
"release:list": {
|
|
2176
2173
|
"aliases": [],
|
|
2177
2174
|
"args": {},
|
|
2178
|
-
"description": "
|
|
2175
|
+
"description": "List all releases in a workspace",
|
|
2179
2176
|
"examples": [
|
|
2180
|
-
"$ xano release
|
|
2181
|
-
"$ xano release
|
|
2182
|
-
],
|
|
2177
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2178
|
+
"$ xano release list -w 5 --output json"
|
|
2179
|
+
],
|
|
2183
2180
|
"flags": {
|
|
2184
2181
|
"profile": {
|
|
2185
2182
|
"char": "p",
|
|
@@ -2200,15 +2197,6 @@
|
|
|
2200
2197
|
"allowNo": false,
|
|
2201
2198
|
"type": "boolean"
|
|
2202
2199
|
},
|
|
2203
|
-
"file": {
|
|
2204
|
-
"char": "f",
|
|
2205
|
-
"description": "Path to the release file (.tar.gz)",
|
|
2206
|
-
"name": "file",
|
|
2207
|
-
"required": true,
|
|
2208
|
-
"hasDynamicHelp": false,
|
|
2209
|
-
"multiple": false,
|
|
2210
|
-
"type": "option"
|
|
2211
|
-
},
|
|
2212
2200
|
"output": {
|
|
2213
2201
|
"char": "o",
|
|
2214
2202
|
"description": "Output format",
|
|
@@ -2235,7 +2223,7 @@
|
|
|
2235
2223
|
},
|
|
2236
2224
|
"hasDynamicHelp": false,
|
|
2237
2225
|
"hiddenAliases": [],
|
|
2238
|
-
"id": "release:
|
|
2226
|
+
"id": "release:list",
|
|
2239
2227
|
"pluginAlias": "@xano/cli",
|
|
2240
2228
|
"pluginName": "@xano/cli",
|
|
2241
2229
|
"pluginType": "core",
|
|
@@ -2246,17 +2234,17 @@
|
|
|
2246
2234
|
"dist",
|
|
2247
2235
|
"commands",
|
|
2248
2236
|
"release",
|
|
2249
|
-
"
|
|
2237
|
+
"list",
|
|
2250
2238
|
"index.js"
|
|
2251
2239
|
]
|
|
2252
2240
|
},
|
|
2253
|
-
"release:
|
|
2241
|
+
"release:import": {
|
|
2254
2242
|
"aliases": [],
|
|
2255
2243
|
"args": {},
|
|
2256
|
-
"description": "
|
|
2244
|
+
"description": "Import a release file into a workspace",
|
|
2257
2245
|
"examples": [
|
|
2258
|
-
"$ xano release
|
|
2259
|
-
"$ xano release
|
|
2246
|
+
"$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
|
|
2247
|
+
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2260
2248
|
],
|
|
2261
2249
|
"flags": {
|
|
2262
2250
|
"profile": {
|
|
@@ -2278,6 +2266,15 @@
|
|
|
2278
2266
|
"allowNo": false,
|
|
2279
2267
|
"type": "boolean"
|
|
2280
2268
|
},
|
|
2269
|
+
"file": {
|
|
2270
|
+
"char": "f",
|
|
2271
|
+
"description": "Path to the release file (.tar.gz)",
|
|
2272
|
+
"name": "file",
|
|
2273
|
+
"required": true,
|
|
2274
|
+
"hasDynamicHelp": false,
|
|
2275
|
+
"multiple": false,
|
|
2276
|
+
"type": "option"
|
|
2277
|
+
},
|
|
2281
2278
|
"output": {
|
|
2282
2279
|
"char": "o",
|
|
2283
2280
|
"description": "Output format",
|
|
@@ -2304,7 +2301,7 @@
|
|
|
2304
2301
|
},
|
|
2305
2302
|
"hasDynamicHelp": false,
|
|
2306
2303
|
"hiddenAliases": [],
|
|
2307
|
-
"id": "release:
|
|
2304
|
+
"id": "release:import",
|
|
2308
2305
|
"pluginAlias": "@xano/cli",
|
|
2309
2306
|
"pluginName": "@xano/cli",
|
|
2310
2307
|
"pluginType": "core",
|
|
@@ -2315,7 +2312,7 @@
|
|
|
2315
2312
|
"dist",
|
|
2316
2313
|
"commands",
|
|
2317
2314
|
"release",
|
|
2318
|
-
"
|
|
2315
|
+
"import",
|
|
2319
2316
|
"index.js"
|
|
2320
2317
|
]
|
|
2321
2318
|
},
|
|
@@ -2404,6 +2401,144 @@
|
|
|
2404
2401
|
"index.js"
|
|
2405
2402
|
]
|
|
2406
2403
|
},
|
|
2404
|
+
"sandbox:delete": {
|
|
2405
|
+
"aliases": [],
|
|
2406
|
+
"args": {},
|
|
2407
|
+
"description": "Delete your sandbox environment completely (debugging only — it will be re-created on next access)",
|
|
2408
|
+
"examples": [
|
|
2409
|
+
"$ xano sandbox delete\nAre you sure you want to DELETE your sandbox environment? This destroys all data. (y/N) y\nSandbox environment deleted.\n",
|
|
2410
|
+
"$ xano sandbox delete --force"
|
|
2411
|
+
],
|
|
2412
|
+
"flags": {
|
|
2413
|
+
"profile": {
|
|
2414
|
+
"char": "p",
|
|
2415
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2416
|
+
"env": "XANO_PROFILE",
|
|
2417
|
+
"name": "profile",
|
|
2418
|
+
"required": false,
|
|
2419
|
+
"hasDynamicHelp": false,
|
|
2420
|
+
"multiple": false,
|
|
2421
|
+
"type": "option"
|
|
2422
|
+
},
|
|
2423
|
+
"verbose": {
|
|
2424
|
+
"char": "v",
|
|
2425
|
+
"description": "Show detailed request/response information",
|
|
2426
|
+
"env": "XANO_VERBOSE",
|
|
2427
|
+
"name": "verbose",
|
|
2428
|
+
"required": false,
|
|
2429
|
+
"allowNo": false,
|
|
2430
|
+
"type": "boolean"
|
|
2431
|
+
},
|
|
2432
|
+
"force": {
|
|
2433
|
+
"char": "f",
|
|
2434
|
+
"description": "Skip confirmation prompt",
|
|
2435
|
+
"name": "force",
|
|
2436
|
+
"required": false,
|
|
2437
|
+
"allowNo": false,
|
|
2438
|
+
"type": "boolean"
|
|
2439
|
+
}
|
|
2440
|
+
},
|
|
2441
|
+
"hasDynamicHelp": false,
|
|
2442
|
+
"hiddenAliases": [],
|
|
2443
|
+
"id": "sandbox:delete",
|
|
2444
|
+
"pluginAlias": "@xano/cli",
|
|
2445
|
+
"pluginName": "@xano/cli",
|
|
2446
|
+
"pluginType": "core",
|
|
2447
|
+
"strict": true,
|
|
2448
|
+
"enableJsonFlag": false,
|
|
2449
|
+
"isESM": true,
|
|
2450
|
+
"relativePath": [
|
|
2451
|
+
"dist",
|
|
2452
|
+
"commands",
|
|
2453
|
+
"sandbox",
|
|
2454
|
+
"delete",
|
|
2455
|
+
"index.js"
|
|
2456
|
+
]
|
|
2457
|
+
},
|
|
2458
|
+
"release:export": {
|
|
2459
|
+
"aliases": [],
|
|
2460
|
+
"args": {
|
|
2461
|
+
"release_name": {
|
|
2462
|
+
"description": "Release name to export",
|
|
2463
|
+
"name": "release_name",
|
|
2464
|
+
"required": true
|
|
2465
|
+
}
|
|
2466
|
+
},
|
|
2467
|
+
"description": "Export (download) a release to a local file",
|
|
2468
|
+
"examples": [
|
|
2469
|
+
"$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
|
|
2470
|
+
"$ xano release export v1.0 --output ./backups/my-release.tar.gz",
|
|
2471
|
+
"$ xano release export v1.0 -o json"
|
|
2472
|
+
],
|
|
2473
|
+
"flags": {
|
|
2474
|
+
"profile": {
|
|
2475
|
+
"char": "p",
|
|
2476
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2477
|
+
"env": "XANO_PROFILE",
|
|
2478
|
+
"name": "profile",
|
|
2479
|
+
"required": false,
|
|
2480
|
+
"hasDynamicHelp": false,
|
|
2481
|
+
"multiple": false,
|
|
2482
|
+
"type": "option"
|
|
2483
|
+
},
|
|
2484
|
+
"verbose": {
|
|
2485
|
+
"char": "v",
|
|
2486
|
+
"description": "Show detailed request/response information",
|
|
2487
|
+
"env": "XANO_VERBOSE",
|
|
2488
|
+
"name": "verbose",
|
|
2489
|
+
"required": false,
|
|
2490
|
+
"allowNo": false,
|
|
2491
|
+
"type": "boolean"
|
|
2492
|
+
},
|
|
2493
|
+
"format": {
|
|
2494
|
+
"char": "o",
|
|
2495
|
+
"description": "Output format",
|
|
2496
|
+
"name": "format",
|
|
2497
|
+
"required": false,
|
|
2498
|
+
"default": "summary",
|
|
2499
|
+
"hasDynamicHelp": false,
|
|
2500
|
+
"multiple": false,
|
|
2501
|
+
"options": [
|
|
2502
|
+
"summary",
|
|
2503
|
+
"json"
|
|
2504
|
+
],
|
|
2505
|
+
"type": "option"
|
|
2506
|
+
},
|
|
2507
|
+
"output": {
|
|
2508
|
+
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
2509
|
+
"name": "output",
|
|
2510
|
+
"required": false,
|
|
2511
|
+
"hasDynamicHelp": false,
|
|
2512
|
+
"multiple": false,
|
|
2513
|
+
"type": "option"
|
|
2514
|
+
},
|
|
2515
|
+
"workspace": {
|
|
2516
|
+
"char": "w",
|
|
2517
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2518
|
+
"name": "workspace",
|
|
2519
|
+
"required": false,
|
|
2520
|
+
"hasDynamicHelp": false,
|
|
2521
|
+
"multiple": false,
|
|
2522
|
+
"type": "option"
|
|
2523
|
+
}
|
|
2524
|
+
},
|
|
2525
|
+
"hasDynamicHelp": false,
|
|
2526
|
+
"hiddenAliases": [],
|
|
2527
|
+
"id": "release:export",
|
|
2528
|
+
"pluginAlias": "@xano/cli",
|
|
2529
|
+
"pluginName": "@xano/cli",
|
|
2530
|
+
"pluginType": "core",
|
|
2531
|
+
"strict": true,
|
|
2532
|
+
"enableJsonFlag": false,
|
|
2533
|
+
"isESM": true,
|
|
2534
|
+
"relativePath": [
|
|
2535
|
+
"dist",
|
|
2536
|
+
"commands",
|
|
2537
|
+
"release",
|
|
2538
|
+
"export",
|
|
2539
|
+
"index.js"
|
|
2540
|
+
]
|
|
2541
|
+
},
|
|
2407
2542
|
"release:push": {
|
|
2408
2543
|
"aliases": [],
|
|
2409
2544
|
"args": {
|
|
@@ -2522,13 +2657,13 @@
|
|
|
2522
2657
|
"index.js"
|
|
2523
2658
|
]
|
|
2524
2659
|
},
|
|
2525
|
-
"sandbox:
|
|
2660
|
+
"sandbox:get": {
|
|
2526
2661
|
"aliases": [],
|
|
2527
2662
|
"args": {},
|
|
2528
|
-
"description": "
|
|
2663
|
+
"description": "Get your sandbox environment (creates one if it does not exist)",
|
|
2529
2664
|
"examples": [
|
|
2530
|
-
"$ xano sandbox
|
|
2531
|
-
"$ xano sandbox
|
|
2665
|
+
"$ xano sandbox get\nSandbox Environment: (tc24-abcd-x1y2)\n State: ok\n License: tier1\n",
|
|
2666
|
+
"$ xano sandbox get -o json"
|
|
2532
2667
|
],
|
|
2533
2668
|
"flags": {
|
|
2534
2669
|
"profile": {
|
|
@@ -2550,18 +2685,24 @@
|
|
|
2550
2685
|
"allowNo": false,
|
|
2551
2686
|
"type": "boolean"
|
|
2552
2687
|
},
|
|
2553
|
-
"
|
|
2554
|
-
"char": "
|
|
2555
|
-
"description": "
|
|
2556
|
-
"name": "
|
|
2688
|
+
"output": {
|
|
2689
|
+
"char": "o",
|
|
2690
|
+
"description": "Output format",
|
|
2691
|
+
"name": "output",
|
|
2557
2692
|
"required": false,
|
|
2558
|
-
"
|
|
2559
|
-
"
|
|
2693
|
+
"default": "summary",
|
|
2694
|
+
"hasDynamicHelp": false,
|
|
2695
|
+
"multiple": false,
|
|
2696
|
+
"options": [
|
|
2697
|
+
"summary",
|
|
2698
|
+
"json"
|
|
2699
|
+
],
|
|
2700
|
+
"type": "option"
|
|
2560
2701
|
}
|
|
2561
2702
|
},
|
|
2562
2703
|
"hasDynamicHelp": false,
|
|
2563
2704
|
"hiddenAliases": [],
|
|
2564
|
-
"id": "sandbox:
|
|
2705
|
+
"id": "sandbox:get",
|
|
2565
2706
|
"pluginAlias": "@xano/cli",
|
|
2566
2707
|
"pluginName": "@xano/cli",
|
|
2567
2708
|
"pluginType": "core",
|
|
@@ -2572,24 +2713,23 @@
|
|
|
2572
2713
|
"dist",
|
|
2573
2714
|
"commands",
|
|
2574
2715
|
"sandbox",
|
|
2575
|
-
"
|
|
2716
|
+
"get",
|
|
2576
2717
|
"index.js"
|
|
2577
2718
|
]
|
|
2578
2719
|
},
|
|
2579
|
-
"
|
|
2720
|
+
"sandbox:pull": {
|
|
2580
2721
|
"aliases": [],
|
|
2581
2722
|
"args": {
|
|
2582
|
-
"
|
|
2583
|
-
"description": "
|
|
2584
|
-
"name": "
|
|
2723
|
+
"directory": {
|
|
2724
|
+
"description": "Output directory for pulled documents",
|
|
2725
|
+
"name": "directory",
|
|
2585
2726
|
"required": true
|
|
2586
2727
|
}
|
|
2587
2728
|
},
|
|
2588
|
-
"description": "
|
|
2729
|
+
"description": "Pull documents from your sandbox environment and split into individual files",
|
|
2589
2730
|
"examples": [
|
|
2590
|
-
"$ xano
|
|
2591
|
-
"$ xano
|
|
2592
|
-
"$ xano release delete v1.0 -f -o json"
|
|
2731
|
+
"$ xano sandbox pull ./my-sandbox\nPulled 42 documents from sandbox environment to ./my-sandbox\n",
|
|
2732
|
+
"$ xano sandbox pull ./backup --env --records"
|
|
2593
2733
|
],
|
|
2594
2734
|
"flags": {
|
|
2595
2735
|
"profile": {
|
|
@@ -2611,171 +2751,31 @@
|
|
|
2611
2751
|
"allowNo": false,
|
|
2612
2752
|
"type": "boolean"
|
|
2613
2753
|
},
|
|
2614
|
-
"
|
|
2615
|
-
"
|
|
2616
|
-
"
|
|
2617
|
-
"name": "force",
|
|
2754
|
+
"draft": {
|
|
2755
|
+
"description": "Include draft versions",
|
|
2756
|
+
"name": "draft",
|
|
2618
2757
|
"required": false,
|
|
2619
2758
|
"allowNo": false,
|
|
2620
2759
|
"type": "boolean"
|
|
2621
2760
|
},
|
|
2622
|
-
"
|
|
2623
|
-
"
|
|
2624
|
-
"
|
|
2625
|
-
"name": "output",
|
|
2761
|
+
"env": {
|
|
2762
|
+
"description": "Include environment variables",
|
|
2763
|
+
"name": "env",
|
|
2626
2764
|
"required": false,
|
|
2627
|
-
"
|
|
2628
|
-
"
|
|
2629
|
-
"multiple": false,
|
|
2630
|
-
"options": [
|
|
2631
|
-
"summary",
|
|
2632
|
-
"json"
|
|
2633
|
-
],
|
|
2634
|
-
"type": "option"
|
|
2765
|
+
"allowNo": false,
|
|
2766
|
+
"type": "boolean"
|
|
2635
2767
|
},
|
|
2636
|
-
"
|
|
2637
|
-
"
|
|
2638
|
-
"
|
|
2639
|
-
"name": "workspace",
|
|
2768
|
+
"records": {
|
|
2769
|
+
"description": "Include records",
|
|
2770
|
+
"name": "records",
|
|
2640
2771
|
"required": false,
|
|
2641
|
-
"
|
|
2642
|
-
"
|
|
2643
|
-
"type": "option"
|
|
2772
|
+
"allowNo": false,
|
|
2773
|
+
"type": "boolean"
|
|
2644
2774
|
}
|
|
2645
2775
|
},
|
|
2646
2776
|
"hasDynamicHelp": false,
|
|
2647
2777
|
"hiddenAliases": [],
|
|
2648
|
-
"id": "
|
|
2649
|
-
"pluginAlias": "@xano/cli",
|
|
2650
|
-
"pluginName": "@xano/cli",
|
|
2651
|
-
"pluginType": "core",
|
|
2652
|
-
"strict": true,
|
|
2653
|
-
"enableJsonFlag": false,
|
|
2654
|
-
"isESM": true,
|
|
2655
|
-
"relativePath": [
|
|
2656
|
-
"dist",
|
|
2657
|
-
"commands",
|
|
2658
|
-
"release",
|
|
2659
|
-
"delete",
|
|
2660
|
-
"index.js"
|
|
2661
|
-
]
|
|
2662
|
-
},
|
|
2663
|
-
"sandbox:impersonate": {
|
|
2664
|
-
"aliases": [],
|
|
2665
|
-
"args": {},
|
|
2666
|
-
"description": "Alias for \"sandbox review\"",
|
|
2667
|
-
"examples": [
|
|
2668
|
-
"$ xano sandbox review\nOpening browser...\nReview session started!\n",
|
|
2669
|
-
"$ xano sandbox review -u",
|
|
2670
|
-
"$ xano sandbox review -o json"
|
|
2671
|
-
],
|
|
2672
|
-
"flags": {
|
|
2673
|
-
"profile": {
|
|
2674
|
-
"char": "p",
|
|
2675
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2676
|
-
"env": "XANO_PROFILE",
|
|
2677
|
-
"name": "profile",
|
|
2678
|
-
"required": false,
|
|
2679
|
-
"hasDynamicHelp": false,
|
|
2680
|
-
"multiple": false,
|
|
2681
|
-
"type": "option"
|
|
2682
|
-
},
|
|
2683
|
-
"verbose": {
|
|
2684
|
-
"char": "v",
|
|
2685
|
-
"description": "Show detailed request/response information",
|
|
2686
|
-
"env": "XANO_VERBOSE",
|
|
2687
|
-
"name": "verbose",
|
|
2688
|
-
"required": false,
|
|
2689
|
-
"allowNo": false,
|
|
2690
|
-
"type": "boolean"
|
|
2691
|
-
},
|
|
2692
|
-
"output": {
|
|
2693
|
-
"char": "o",
|
|
2694
|
-
"description": "Output format",
|
|
2695
|
-
"name": "output",
|
|
2696
|
-
"required": false,
|
|
2697
|
-
"default": "summary",
|
|
2698
|
-
"hasDynamicHelp": false,
|
|
2699
|
-
"multiple": false,
|
|
2700
|
-
"options": [
|
|
2701
|
-
"summary",
|
|
2702
|
-
"json"
|
|
2703
|
-
],
|
|
2704
|
-
"type": "option"
|
|
2705
|
-
},
|
|
2706
|
-
"url-only": {
|
|
2707
|
-
"char": "u",
|
|
2708
|
-
"description": "Print the URL without opening the browser",
|
|
2709
|
-
"name": "url-only",
|
|
2710
|
-
"required": false,
|
|
2711
|
-
"allowNo": false,
|
|
2712
|
-
"type": "boolean"
|
|
2713
|
-
}
|
|
2714
|
-
},
|
|
2715
|
-
"hasDynamicHelp": false,
|
|
2716
|
-
"hidden": true,
|
|
2717
|
-
"hiddenAliases": [],
|
|
2718
|
-
"id": "sandbox:impersonate",
|
|
2719
|
-
"pluginAlias": "@xano/cli",
|
|
2720
|
-
"pluginName": "@xano/cli",
|
|
2721
|
-
"pluginType": "core",
|
|
2722
|
-
"strict": true,
|
|
2723
|
-
"enableJsonFlag": false,
|
|
2724
|
-
"isESM": true,
|
|
2725
|
-
"relativePath": [
|
|
2726
|
-
"dist",
|
|
2727
|
-
"commands",
|
|
2728
|
-
"sandbox",
|
|
2729
|
-
"impersonate",
|
|
2730
|
-
"index.js"
|
|
2731
|
-
]
|
|
2732
|
-
},
|
|
2733
|
-
"sandbox:get": {
|
|
2734
|
-
"aliases": [],
|
|
2735
|
-
"args": {},
|
|
2736
|
-
"description": "Get your sandbox environment (creates one if it does not exist)",
|
|
2737
|
-
"examples": [
|
|
2738
|
-
"$ xano sandbox get\nSandbox Environment: (tc24-abcd-x1y2)\n State: ok\n License: tier1\n",
|
|
2739
|
-
"$ xano sandbox get -o json"
|
|
2740
|
-
],
|
|
2741
|
-
"flags": {
|
|
2742
|
-
"profile": {
|
|
2743
|
-
"char": "p",
|
|
2744
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2745
|
-
"env": "XANO_PROFILE",
|
|
2746
|
-
"name": "profile",
|
|
2747
|
-
"required": false,
|
|
2748
|
-
"hasDynamicHelp": false,
|
|
2749
|
-
"multiple": false,
|
|
2750
|
-
"type": "option"
|
|
2751
|
-
},
|
|
2752
|
-
"verbose": {
|
|
2753
|
-
"char": "v",
|
|
2754
|
-
"description": "Show detailed request/response information",
|
|
2755
|
-
"env": "XANO_VERBOSE",
|
|
2756
|
-
"name": "verbose",
|
|
2757
|
-
"required": false,
|
|
2758
|
-
"allowNo": false,
|
|
2759
|
-
"type": "boolean"
|
|
2760
|
-
},
|
|
2761
|
-
"output": {
|
|
2762
|
-
"char": "o",
|
|
2763
|
-
"description": "Output format",
|
|
2764
|
-
"name": "output",
|
|
2765
|
-
"required": false,
|
|
2766
|
-
"default": "summary",
|
|
2767
|
-
"hasDynamicHelp": false,
|
|
2768
|
-
"multiple": false,
|
|
2769
|
-
"options": [
|
|
2770
|
-
"summary",
|
|
2771
|
-
"json"
|
|
2772
|
-
],
|
|
2773
|
-
"type": "option"
|
|
2774
|
-
}
|
|
2775
|
-
},
|
|
2776
|
-
"hasDynamicHelp": false,
|
|
2777
|
-
"hiddenAliases": [],
|
|
2778
|
-
"id": "sandbox:get",
|
|
2778
|
+
"id": "sandbox:pull",
|
|
2779
2779
|
"pluginAlias": "@xano/cli",
|
|
2780
2780
|
"pluginName": "@xano/cli",
|
|
2781
2781
|
"pluginType": "core",
|
|
@@ -2786,23 +2786,24 @@
|
|
|
2786
2786
|
"dist",
|
|
2787
2787
|
"commands",
|
|
2788
2788
|
"sandbox",
|
|
2789
|
-
"
|
|
2789
|
+
"pull",
|
|
2790
2790
|
"index.js"
|
|
2791
2791
|
]
|
|
2792
2792
|
},
|
|
2793
|
-
"sandbox:
|
|
2793
|
+
"sandbox:push": {
|
|
2794
2794
|
"aliases": [],
|
|
2795
2795
|
"args": {
|
|
2796
2796
|
"directory": {
|
|
2797
|
-
"description": "
|
|
2797
|
+
"description": "Directory containing documents to push (as produced by sandbox pull or workspace pull)",
|
|
2798
2798
|
"name": "directory",
|
|
2799
2799
|
"required": true
|
|
2800
2800
|
}
|
|
2801
2801
|
},
|
|
2802
|
-
"description": "
|
|
2802
|
+
"description": "Push local documents to your sandbox environment via multidoc import",
|
|
2803
2803
|
"examples": [
|
|
2804
|
-
"$ xano sandbox
|
|
2805
|
-
"$ xano sandbox
|
|
2804
|
+
"$ xano sandbox push ./my-workspace\nPushed 42 documents to sandbox environment from ./my-workspace\n",
|
|
2805
|
+
"$ xano sandbox push ./backup --records --env",
|
|
2806
|
+
"$ xano sandbox push ./my-workspace --truncate"
|
|
2806
2807
|
],
|
|
2807
2808
|
"flags": {
|
|
2808
2809
|
"profile": {
|
|
@@ -2824,31 +2825,38 @@
|
|
|
2824
2825
|
"allowNo": false,
|
|
2825
2826
|
"type": "boolean"
|
|
2826
2827
|
},
|
|
2827
|
-
"draft": {
|
|
2828
|
-
"description": "Include draft versions",
|
|
2829
|
-
"name": "draft",
|
|
2830
|
-
"required": false,
|
|
2831
|
-
"allowNo": false,
|
|
2832
|
-
"type": "boolean"
|
|
2833
|
-
},
|
|
2834
2828
|
"env": {
|
|
2835
|
-
"description": "Include environment variables",
|
|
2829
|
+
"description": "Include environment variables in import",
|
|
2836
2830
|
"name": "env",
|
|
2837
2831
|
"required": false,
|
|
2838
2832
|
"allowNo": false,
|
|
2839
2833
|
"type": "boolean"
|
|
2840
2834
|
},
|
|
2841
2835
|
"records": {
|
|
2842
|
-
"description": "Include records",
|
|
2836
|
+
"description": "Include records in import",
|
|
2843
2837
|
"name": "records",
|
|
2844
2838
|
"required": false,
|
|
2845
2839
|
"allowNo": false,
|
|
2846
2840
|
"type": "boolean"
|
|
2841
|
+
},
|
|
2842
|
+
"transaction": {
|
|
2843
|
+
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
2844
|
+
"name": "transaction",
|
|
2845
|
+
"required": false,
|
|
2846
|
+
"allowNo": true,
|
|
2847
|
+
"type": "boolean"
|
|
2848
|
+
},
|
|
2849
|
+
"truncate": {
|
|
2850
|
+
"description": "Truncate all table records before importing",
|
|
2851
|
+
"name": "truncate",
|
|
2852
|
+
"required": false,
|
|
2853
|
+
"allowNo": false,
|
|
2854
|
+
"type": "boolean"
|
|
2847
2855
|
}
|
|
2848
2856
|
},
|
|
2849
2857
|
"hasDynamicHelp": false,
|
|
2850
2858
|
"hiddenAliases": [],
|
|
2851
|
-
"id": "sandbox:
|
|
2859
|
+
"id": "sandbox:push",
|
|
2852
2860
|
"pluginAlias": "@xano/cli",
|
|
2853
2861
|
"pluginName": "@xano/cli",
|
|
2854
2862
|
"pluginType": "core",
|
|
@@ -2859,24 +2867,17 @@
|
|
|
2859
2867
|
"dist",
|
|
2860
2868
|
"commands",
|
|
2861
2869
|
"sandbox",
|
|
2862
|
-
"
|
|
2870
|
+
"push",
|
|
2863
2871
|
"index.js"
|
|
2864
2872
|
]
|
|
2865
2873
|
},
|
|
2866
|
-
"sandbox:
|
|
2874
|
+
"sandbox:reset": {
|
|
2867
2875
|
"aliases": [],
|
|
2868
|
-
"args": {
|
|
2869
|
-
|
|
2870
|
-
"description": "Directory containing documents to push (as produced by sandbox pull or workspace pull)",
|
|
2871
|
-
"name": "directory",
|
|
2872
|
-
"required": true
|
|
2873
|
-
}
|
|
2874
|
-
},
|
|
2875
|
-
"description": "Push local documents to your sandbox environment via multidoc import",
|
|
2876
|
+
"args": {},
|
|
2877
|
+
"description": "Reset your sandbox environment (clears all workspace data and drafts)",
|
|
2876
2878
|
"examples": [
|
|
2877
|
-
"$ xano sandbox
|
|
2878
|
-
"$ xano sandbox
|
|
2879
|
-
"$ xano sandbox push ./my-workspace --truncate"
|
|
2879
|
+
"$ xano sandbox reset\nAre you sure you want to reset your sandbox environment? All workspace data and drafts will be cleared. (y/N) y\nSandbox environment has been reset.\n",
|
|
2880
|
+
"$ xano sandbox reset --force"
|
|
2880
2881
|
],
|
|
2881
2882
|
"flags": {
|
|
2882
2883
|
"profile": {
|
|
@@ -2898,30 +2899,10 @@
|
|
|
2898
2899
|
"allowNo": false,
|
|
2899
2900
|
"type": "boolean"
|
|
2900
2901
|
},
|
|
2901
|
-
"
|
|
2902
|
-
"
|
|
2903
|
-
"
|
|
2904
|
-
"
|
|
2905
|
-
"allowNo": false,
|
|
2906
|
-
"type": "boolean"
|
|
2907
|
-
},
|
|
2908
|
-
"records": {
|
|
2909
|
-
"description": "Include records in import",
|
|
2910
|
-
"name": "records",
|
|
2911
|
-
"required": false,
|
|
2912
|
-
"allowNo": false,
|
|
2913
|
-
"type": "boolean"
|
|
2914
|
-
},
|
|
2915
|
-
"transaction": {
|
|
2916
|
-
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
2917
|
-
"name": "transaction",
|
|
2918
|
-
"required": false,
|
|
2919
|
-
"allowNo": true,
|
|
2920
|
-
"type": "boolean"
|
|
2921
|
-
},
|
|
2922
|
-
"truncate": {
|
|
2923
|
-
"description": "Truncate all table records before importing",
|
|
2924
|
-
"name": "truncate",
|
|
2902
|
+
"force": {
|
|
2903
|
+
"char": "f",
|
|
2904
|
+
"description": "Skip confirmation prompt",
|
|
2905
|
+
"name": "force",
|
|
2925
2906
|
"required": false,
|
|
2926
2907
|
"allowNo": false,
|
|
2927
2908
|
"type": "boolean"
|
|
@@ -2929,7 +2910,7 @@
|
|
|
2929
2910
|
},
|
|
2930
2911
|
"hasDynamicHelp": false,
|
|
2931
2912
|
"hiddenAliases": [],
|
|
2932
|
-
"id": "sandbox:
|
|
2913
|
+
"id": "sandbox:reset",
|
|
2933
2914
|
"pluginAlias": "@xano/cli",
|
|
2934
2915
|
"pluginName": "@xano/cli",
|
|
2935
2916
|
"pluginType": "core",
|
|
@@ -2940,14 +2921,14 @@
|
|
|
2940
2921
|
"dist",
|
|
2941
2922
|
"commands",
|
|
2942
2923
|
"sandbox",
|
|
2943
|
-
"
|
|
2924
|
+
"reset",
|
|
2944
2925
|
"index.js"
|
|
2945
2926
|
]
|
|
2946
2927
|
},
|
|
2947
|
-
"sandbox:
|
|
2928
|
+
"sandbox:impersonate": {
|
|
2948
2929
|
"aliases": [],
|
|
2949
2930
|
"args": {},
|
|
2950
|
-
"description": "
|
|
2931
|
+
"description": "Alias for \"sandbox review\"",
|
|
2951
2932
|
"examples": [
|
|
2952
2933
|
"$ xano sandbox review\nOpening browser...\nReview session started!\n",
|
|
2953
2934
|
"$ xano sandbox review -u",
|
|
@@ -2997,8 +2978,9 @@
|
|
|
2997
2978
|
}
|
|
2998
2979
|
},
|
|
2999
2980
|
"hasDynamicHelp": false,
|
|
2981
|
+
"hidden": true,
|
|
3000
2982
|
"hiddenAliases": [],
|
|
3001
|
-
"id": "sandbox:
|
|
2983
|
+
"id": "sandbox:impersonate",
|
|
3002
2984
|
"pluginAlias": "@xano/cli",
|
|
3003
2985
|
"pluginName": "@xano/cli",
|
|
3004
2986
|
"pluginType": "core",
|
|
@@ -3009,17 +2991,18 @@
|
|
|
3009
2991
|
"dist",
|
|
3010
2992
|
"commands",
|
|
3011
2993
|
"sandbox",
|
|
3012
|
-
"
|
|
2994
|
+
"impersonate",
|
|
3013
2995
|
"index.js"
|
|
3014
2996
|
]
|
|
3015
2997
|
},
|
|
3016
|
-
"sandbox:
|
|
2998
|
+
"sandbox:review": {
|
|
3017
2999
|
"aliases": [],
|
|
3018
3000
|
"args": {},
|
|
3019
|
-
"description": "
|
|
3001
|
+
"description": "Open your sandbox environment in the browser to review and promote changes",
|
|
3020
3002
|
"examples": [
|
|
3021
|
-
"$ xano sandbox
|
|
3022
|
-
"$ xano sandbox
|
|
3003
|
+
"$ xano sandbox review\nOpening browser...\nReview session started!\n",
|
|
3004
|
+
"$ xano sandbox review -u",
|
|
3005
|
+
"$ xano sandbox review -o json"
|
|
3023
3006
|
],
|
|
3024
3007
|
"flags": {
|
|
3025
3008
|
"profile": {
|
|
@@ -3041,10 +3024,24 @@
|
|
|
3041
3024
|
"allowNo": false,
|
|
3042
3025
|
"type": "boolean"
|
|
3043
3026
|
},
|
|
3044
|
-
"
|
|
3045
|
-
"char": "
|
|
3046
|
-
"description": "
|
|
3047
|
-
"name": "
|
|
3027
|
+
"output": {
|
|
3028
|
+
"char": "o",
|
|
3029
|
+
"description": "Output format",
|
|
3030
|
+
"name": "output",
|
|
3031
|
+
"required": false,
|
|
3032
|
+
"default": "summary",
|
|
3033
|
+
"hasDynamicHelp": false,
|
|
3034
|
+
"multiple": false,
|
|
3035
|
+
"options": [
|
|
3036
|
+
"summary",
|
|
3037
|
+
"json"
|
|
3038
|
+
],
|
|
3039
|
+
"type": "option"
|
|
3040
|
+
},
|
|
3041
|
+
"url-only": {
|
|
3042
|
+
"char": "u",
|
|
3043
|
+
"description": "Print the URL without opening the browser",
|
|
3044
|
+
"name": "url-only",
|
|
3048
3045
|
"required": false,
|
|
3049
3046
|
"allowNo": false,
|
|
3050
3047
|
"type": "boolean"
|
|
@@ -3052,7 +3049,7 @@
|
|
|
3052
3049
|
},
|
|
3053
3050
|
"hasDynamicHelp": false,
|
|
3054
3051
|
"hiddenAliases": [],
|
|
3055
|
-
"id": "sandbox:
|
|
3052
|
+
"id": "sandbox:review",
|
|
3056
3053
|
"pluginAlias": "@xano/cli",
|
|
3057
3054
|
"pluginName": "@xano/cli",
|
|
3058
3055
|
"pluginType": "core",
|
|
@@ -3063,7 +3060,7 @@
|
|
|
3063
3060
|
"dist",
|
|
3064
3061
|
"commands",
|
|
3065
3062
|
"sandbox",
|
|
3066
|
-
"
|
|
3063
|
+
"review",
|
|
3067
3064
|
"index.js"
|
|
3068
3065
|
]
|
|
3069
3066
|
},
|
|
@@ -5546,6 +5543,76 @@
|
|
|
5546
5543
|
"index.js"
|
|
5547
5544
|
]
|
|
5548
5545
|
},
|
|
5546
|
+
"sandbox:env:get": {
|
|
5547
|
+
"aliases": [],
|
|
5548
|
+
"args": {},
|
|
5549
|
+
"description": "Get a single environment variable for a sandbox environment",
|
|
5550
|
+
"examples": [
|
|
5551
|
+
"$ xano sandbox env get --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
5552
|
+
"$ xano sandbox env get --name DATABASE_URL -o json"
|
|
5553
|
+
],
|
|
5554
|
+
"flags": {
|
|
5555
|
+
"profile": {
|
|
5556
|
+
"char": "p",
|
|
5557
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5558
|
+
"env": "XANO_PROFILE",
|
|
5559
|
+
"name": "profile",
|
|
5560
|
+
"required": false,
|
|
5561
|
+
"hasDynamicHelp": false,
|
|
5562
|
+
"multiple": false,
|
|
5563
|
+
"type": "option"
|
|
5564
|
+
},
|
|
5565
|
+
"verbose": {
|
|
5566
|
+
"char": "v",
|
|
5567
|
+
"description": "Show detailed request/response information",
|
|
5568
|
+
"env": "XANO_VERBOSE",
|
|
5569
|
+
"name": "verbose",
|
|
5570
|
+
"required": false,
|
|
5571
|
+
"allowNo": false,
|
|
5572
|
+
"type": "boolean"
|
|
5573
|
+
},
|
|
5574
|
+
"name": {
|
|
5575
|
+
"char": "n",
|
|
5576
|
+
"description": "Environment variable name",
|
|
5577
|
+
"name": "name",
|
|
5578
|
+
"required": true,
|
|
5579
|
+
"hasDynamicHelp": false,
|
|
5580
|
+
"multiple": false,
|
|
5581
|
+
"type": "option"
|
|
5582
|
+
},
|
|
5583
|
+
"output": {
|
|
5584
|
+
"char": "o",
|
|
5585
|
+
"description": "Output format",
|
|
5586
|
+
"name": "output",
|
|
5587
|
+
"required": false,
|
|
5588
|
+
"default": "summary",
|
|
5589
|
+
"hasDynamicHelp": false,
|
|
5590
|
+
"multiple": false,
|
|
5591
|
+
"options": [
|
|
5592
|
+
"summary",
|
|
5593
|
+
"json"
|
|
5594
|
+
],
|
|
5595
|
+
"type": "option"
|
|
5596
|
+
}
|
|
5597
|
+
},
|
|
5598
|
+
"hasDynamicHelp": false,
|
|
5599
|
+
"hiddenAliases": [],
|
|
5600
|
+
"id": "sandbox:env:get",
|
|
5601
|
+
"pluginAlias": "@xano/cli",
|
|
5602
|
+
"pluginName": "@xano/cli",
|
|
5603
|
+
"pluginType": "core",
|
|
5604
|
+
"strict": true,
|
|
5605
|
+
"enableJsonFlag": false,
|
|
5606
|
+
"isESM": true,
|
|
5607
|
+
"relativePath": [
|
|
5608
|
+
"dist",
|
|
5609
|
+
"commands",
|
|
5610
|
+
"sandbox",
|
|
5611
|
+
"env",
|
|
5612
|
+
"get",
|
|
5613
|
+
"index.js"
|
|
5614
|
+
]
|
|
5615
|
+
},
|
|
5549
5616
|
"sandbox:env:get_all": {
|
|
5550
5617
|
"aliases": [],
|
|
5551
5618
|
"args": {},
|
|
@@ -5686,14 +5753,13 @@
|
|
|
5686
5753
|
"index.js"
|
|
5687
5754
|
]
|
|
5688
5755
|
},
|
|
5689
|
-
"sandbox:env:
|
|
5756
|
+
"sandbox:env:set": {
|
|
5690
5757
|
"aliases": [],
|
|
5691
5758
|
"args": {},
|
|
5692
|
-
"description": "Set
|
|
5759
|
+
"description": "Set (create or update) an environment variable for a sandbox environment",
|
|
5693
5760
|
"examples": [
|
|
5694
|
-
"$ xano sandbox env
|
|
5695
|
-
"$ xano sandbox env
|
|
5696
|
-
"$ xano sandbox env set_all -o json"
|
|
5761
|
+
"$ xano sandbox env set --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set\n",
|
|
5762
|
+
"$ xano sandbox env set --name DATABASE_URL --value postgres://localhost:5432/mydb -o json"
|
|
5697
5763
|
],
|
|
5698
5764
|
"flags": {
|
|
5699
5765
|
"profile": {
|
|
@@ -5715,18 +5781,11 @@
|
|
|
5715
5781
|
"allowNo": false,
|
|
5716
5782
|
"type": "boolean"
|
|
5717
5783
|
},
|
|
5718
|
-
"
|
|
5719
|
-
"
|
|
5720
|
-
"
|
|
5721
|
-
"
|
|
5722
|
-
"
|
|
5723
|
-
"type": "boolean"
|
|
5724
|
-
},
|
|
5725
|
-
"file": {
|
|
5726
|
-
"char": "f",
|
|
5727
|
-
"description": "Path to env file (default: env_<sandbox_name>.yaml)",
|
|
5728
|
-
"name": "file",
|
|
5729
|
-
"required": false,
|
|
5784
|
+
"name": {
|
|
5785
|
+
"char": "n",
|
|
5786
|
+
"description": "Environment variable name",
|
|
5787
|
+
"name": "name",
|
|
5788
|
+
"required": true,
|
|
5730
5789
|
"hasDynamicHelp": false,
|
|
5731
5790
|
"multiple": false,
|
|
5732
5791
|
"type": "option"
|
|
@@ -5744,11 +5803,19 @@
|
|
|
5744
5803
|
"json"
|
|
5745
5804
|
],
|
|
5746
5805
|
"type": "option"
|
|
5806
|
+
},
|
|
5807
|
+
"value": {
|
|
5808
|
+
"description": "Environment variable value",
|
|
5809
|
+
"name": "value",
|
|
5810
|
+
"required": true,
|
|
5811
|
+
"hasDynamicHelp": false,
|
|
5812
|
+
"multiple": false,
|
|
5813
|
+
"type": "option"
|
|
5747
5814
|
}
|
|
5748
5815
|
},
|
|
5749
5816
|
"hasDynamicHelp": false,
|
|
5750
5817
|
"hiddenAliases": [],
|
|
5751
|
-
"id": "sandbox:env:
|
|
5818
|
+
"id": "sandbox:env:set",
|
|
5752
5819
|
"pluginAlias": "@xano/cli",
|
|
5753
5820
|
"pluginName": "@xano/cli",
|
|
5754
5821
|
"pluginType": "core",
|
|
@@ -5760,17 +5827,19 @@
|
|
|
5760
5827
|
"commands",
|
|
5761
5828
|
"sandbox",
|
|
5762
5829
|
"env",
|
|
5763
|
-
"
|
|
5830
|
+
"set",
|
|
5764
5831
|
"index.js"
|
|
5765
5832
|
]
|
|
5766
5833
|
},
|
|
5767
|
-
"sandbox:
|
|
5834
|
+
"sandbox:license:get": {
|
|
5768
5835
|
"aliases": [],
|
|
5769
5836
|
"args": {},
|
|
5770
|
-
"description": "
|
|
5837
|
+
"description": "Get the license for a sandbox environment",
|
|
5771
5838
|
"examples": [
|
|
5772
|
-
"$ xano sandbox
|
|
5773
|
-
"$ xano sandbox
|
|
5839
|
+
"$ xano sandbox license get\nLicense saved to license_<tenant>.yaml\n",
|
|
5840
|
+
"$ xano sandbox license get --file ./my-license.yaml",
|
|
5841
|
+
"$ xano sandbox license get --view",
|
|
5842
|
+
"$ xano sandbox license get -o json"
|
|
5774
5843
|
],
|
|
5775
5844
|
"flags": {
|
|
5776
5845
|
"profile": {
|
|
@@ -5792,11 +5861,11 @@
|
|
|
5792
5861
|
"allowNo": false,
|
|
5793
5862
|
"type": "boolean"
|
|
5794
5863
|
},
|
|
5795
|
-
"
|
|
5796
|
-
"char": "
|
|
5797
|
-
"description": "
|
|
5798
|
-
"name": "
|
|
5799
|
-
"required":
|
|
5864
|
+
"file": {
|
|
5865
|
+
"char": "f",
|
|
5866
|
+
"description": "Output file path (default: license_<sandbox_name>.yaml)",
|
|
5867
|
+
"name": "file",
|
|
5868
|
+
"required": false,
|
|
5800
5869
|
"hasDynamicHelp": false,
|
|
5801
5870
|
"multiple": false,
|
|
5802
5871
|
"type": "option"
|
|
@@ -5815,18 +5884,17 @@
|
|
|
5815
5884
|
],
|
|
5816
5885
|
"type": "option"
|
|
5817
5886
|
},
|
|
5818
|
-
"
|
|
5819
|
-
"description": "
|
|
5820
|
-
"name": "
|
|
5821
|
-
"required":
|
|
5822
|
-
"
|
|
5823
|
-
"
|
|
5824
|
-
"type": "option"
|
|
5887
|
+
"view": {
|
|
5888
|
+
"description": "Print license to stdout instead of saving to file",
|
|
5889
|
+
"name": "view",
|
|
5890
|
+
"required": false,
|
|
5891
|
+
"allowNo": false,
|
|
5892
|
+
"type": "boolean"
|
|
5825
5893
|
}
|
|
5826
5894
|
},
|
|
5827
5895
|
"hasDynamicHelp": false,
|
|
5828
5896
|
"hiddenAliases": [],
|
|
5829
|
-
"id": "sandbox:
|
|
5897
|
+
"id": "sandbox:license:get",
|
|
5830
5898
|
"pluginAlias": "@xano/cli",
|
|
5831
5899
|
"pluginName": "@xano/cli",
|
|
5832
5900
|
"pluginType": "core",
|
|
@@ -5837,8 +5905,8 @@
|
|
|
5837
5905
|
"dist",
|
|
5838
5906
|
"commands",
|
|
5839
5907
|
"sandbox",
|
|
5840
|
-
"
|
|
5841
|
-
"
|
|
5908
|
+
"license",
|
|
5909
|
+
"get",
|
|
5842
5910
|
"index.js"
|
|
5843
5911
|
]
|
|
5844
5912
|
},
|
|
@@ -5939,13 +6007,14 @@
|
|
|
5939
6007
|
"index.js"
|
|
5940
6008
|
]
|
|
5941
6009
|
},
|
|
5942
|
-
"sandbox:env:
|
|
6010
|
+
"sandbox:env:set_all": {
|
|
5943
6011
|
"aliases": [],
|
|
5944
6012
|
"args": {},
|
|
5945
|
-
"description": "
|
|
6013
|
+
"description": "Set all environment variables for a sandbox environment from a YAML file (replaces all existing)",
|
|
5946
6014
|
"examples": [
|
|
5947
|
-
"$ xano sandbox env
|
|
5948
|
-
"$ xano sandbox env
|
|
6015
|
+
"$ xano sandbox env set_all\nReads from env_<tenant>.yaml\n",
|
|
6016
|
+
"$ xano sandbox env set_all --file ./my-env.yaml",
|
|
6017
|
+
"$ xano sandbox env set_all -o json"
|
|
5949
6018
|
],
|
|
5950
6019
|
"flags": {
|
|
5951
6020
|
"profile": {
|
|
@@ -5967,11 +6036,18 @@
|
|
|
5967
6036
|
"allowNo": false,
|
|
5968
6037
|
"type": "boolean"
|
|
5969
6038
|
},
|
|
5970
|
-
"
|
|
5971
|
-
"
|
|
5972
|
-
"
|
|
5973
|
-
"
|
|
5974
|
-
"
|
|
6039
|
+
"clean": {
|
|
6040
|
+
"description": "Remove the source file after successful upload",
|
|
6041
|
+
"name": "clean",
|
|
6042
|
+
"required": false,
|
|
6043
|
+
"allowNo": false,
|
|
6044
|
+
"type": "boolean"
|
|
6045
|
+
},
|
|
6046
|
+
"file": {
|
|
6047
|
+
"char": "f",
|
|
6048
|
+
"description": "Path to env file (default: env_<sandbox_name>.yaml)",
|
|
6049
|
+
"name": "file",
|
|
6050
|
+
"required": false,
|
|
5975
6051
|
"hasDynamicHelp": false,
|
|
5976
6052
|
"multiple": false,
|
|
5977
6053
|
"type": "option"
|
|
@@ -5993,7 +6069,7 @@
|
|
|
5993
6069
|
},
|
|
5994
6070
|
"hasDynamicHelp": false,
|
|
5995
6071
|
"hiddenAliases": [],
|
|
5996
|
-
"id": "sandbox:env:
|
|
6072
|
+
"id": "sandbox:env:set_all",
|
|
5997
6073
|
"pluginAlias": "@xano/cli",
|
|
5998
6074
|
"pluginName": "@xano/cli",
|
|
5999
6075
|
"pluginType": "core",
|
|
@@ -6005,19 +6081,17 @@
|
|
|
6005
6081
|
"commands",
|
|
6006
6082
|
"sandbox",
|
|
6007
6083
|
"env",
|
|
6008
|
-
"
|
|
6084
|
+
"set_all",
|
|
6009
6085
|
"index.js"
|
|
6010
6086
|
]
|
|
6011
6087
|
},
|
|
6012
|
-
"sandbox:
|
|
6088
|
+
"sandbox:unit_test:list": {
|
|
6013
6089
|
"aliases": [],
|
|
6014
|
-
"args": {},
|
|
6015
|
-
"description": "
|
|
6016
|
-
"examples": [
|
|
6017
|
-
"$ xano sandbox
|
|
6018
|
-
"$ xano sandbox
|
|
6019
|
-
"$ xano sandbox license get --view",
|
|
6020
|
-
"$ xano sandbox license get -o json"
|
|
6090
|
+
"args": {},
|
|
6091
|
+
"description": "List all unit tests for a sandbox environment",
|
|
6092
|
+
"examples": [
|
|
6093
|
+
"$ xano sandbox unit-test list\nUnit tests:\n - my-test (ID: abc-123) [function: math]\n",
|
|
6094
|
+
"$ xano sandbox unit-test list -o json"
|
|
6021
6095
|
],
|
|
6022
6096
|
"flags": {
|
|
6023
6097
|
"profile": {
|
|
@@ -6039,13 +6113,26 @@
|
|
|
6039
6113
|
"allowNo": false,
|
|
6040
6114
|
"type": "boolean"
|
|
6041
6115
|
},
|
|
6042
|
-
"
|
|
6043
|
-
"char": "
|
|
6044
|
-
"description": "
|
|
6045
|
-
"name": "
|
|
6116
|
+
"branch": {
|
|
6117
|
+
"char": "b",
|
|
6118
|
+
"description": "Filter by branch name",
|
|
6119
|
+
"name": "branch",
|
|
6120
|
+
"required": false,
|
|
6121
|
+
"hasDynamicHelp": false,
|
|
6122
|
+
"multiple": false,
|
|
6123
|
+
"type": "option"
|
|
6124
|
+
},
|
|
6125
|
+
"obj-type": {
|
|
6126
|
+
"description": "Filter by object type",
|
|
6127
|
+
"name": "obj-type",
|
|
6046
6128
|
"required": false,
|
|
6047
6129
|
"hasDynamicHelp": false,
|
|
6048
6130
|
"multiple": false,
|
|
6131
|
+
"options": [
|
|
6132
|
+
"function",
|
|
6133
|
+
"query",
|
|
6134
|
+
"middleware"
|
|
6135
|
+
],
|
|
6049
6136
|
"type": "option"
|
|
6050
6137
|
},
|
|
6051
6138
|
"output": {
|
|
@@ -6061,18 +6148,11 @@
|
|
|
6061
6148
|
"json"
|
|
6062
6149
|
],
|
|
6063
6150
|
"type": "option"
|
|
6064
|
-
},
|
|
6065
|
-
"view": {
|
|
6066
|
-
"description": "Print license to stdout instead of saving to file",
|
|
6067
|
-
"name": "view",
|
|
6068
|
-
"required": false,
|
|
6069
|
-
"allowNo": false,
|
|
6070
|
-
"type": "boolean"
|
|
6071
6151
|
}
|
|
6072
6152
|
},
|
|
6073
6153
|
"hasDynamicHelp": false,
|
|
6074
6154
|
"hiddenAliases": [],
|
|
6075
|
-
"id": "sandbox:
|
|
6155
|
+
"id": "sandbox:unit_test:list",
|
|
6076
6156
|
"pluginAlias": "@xano/cli",
|
|
6077
6157
|
"pluginName": "@xano/cli",
|
|
6078
6158
|
"pluginType": "core",
|
|
@@ -6083,31 +6163,24 @@
|
|
|
6083
6163
|
"dist",
|
|
6084
6164
|
"commands",
|
|
6085
6165
|
"sandbox",
|
|
6086
|
-
"
|
|
6087
|
-
"
|
|
6166
|
+
"unit_test",
|
|
6167
|
+
"list",
|
|
6088
6168
|
"index.js"
|
|
6089
6169
|
]
|
|
6090
6170
|
},
|
|
6091
|
-
"
|
|
6171
|
+
"sandbox:unit_test:run": {
|
|
6092
6172
|
"aliases": [],
|
|
6093
6173
|
"args": {
|
|
6094
|
-
"
|
|
6095
|
-
"description": "
|
|
6096
|
-
"name": "
|
|
6097
|
-
"required": true
|
|
6098
|
-
},
|
|
6099
|
-
"static_host": {
|
|
6100
|
-
"description": "Static Host name",
|
|
6101
|
-
"name": "static_host",
|
|
6174
|
+
"unit_test_id": {
|
|
6175
|
+
"description": "ID of the unit test to run",
|
|
6176
|
+
"name": "unit_test_id",
|
|
6102
6177
|
"required": true
|
|
6103
6178
|
}
|
|
6104
6179
|
},
|
|
6105
|
-
"description": "
|
|
6180
|
+
"description": "Run a unit test for a sandbox environment",
|
|
6106
6181
|
"examples": [
|
|
6107
|
-
"$ xano
|
|
6108
|
-
"$ xano
|
|
6109
|
-
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
6110
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
6182
|
+
"$ xano sandbox unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
6183
|
+
"$ xano sandbox unit-test run abc-123 -o json"
|
|
6111
6184
|
],
|
|
6112
6185
|
"flags": {
|
|
6113
6186
|
"profile": {
|
|
@@ -6142,20 +6215,11 @@
|
|
|
6142
6215
|
"json"
|
|
6143
6216
|
],
|
|
6144
6217
|
"type": "option"
|
|
6145
|
-
},
|
|
6146
|
-
"workspace": {
|
|
6147
|
-
"char": "w",
|
|
6148
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
6149
|
-
"name": "workspace",
|
|
6150
|
-
"required": false,
|
|
6151
|
-
"hasDynamicHelp": false,
|
|
6152
|
-
"multiple": false,
|
|
6153
|
-
"type": "option"
|
|
6154
6218
|
}
|
|
6155
6219
|
},
|
|
6156
6220
|
"hasDynamicHelp": false,
|
|
6157
6221
|
"hiddenAliases": [],
|
|
6158
|
-
"id": "
|
|
6222
|
+
"id": "sandbox:unit_test:run",
|
|
6159
6223
|
"pluginAlias": "@xano/cli",
|
|
6160
6224
|
"pluginName": "@xano/cli",
|
|
6161
6225
|
"pluginType": "core",
|
|
@@ -6165,19 +6229,19 @@
|
|
|
6165
6229
|
"relativePath": [
|
|
6166
6230
|
"dist",
|
|
6167
6231
|
"commands",
|
|
6168
|
-
"
|
|
6169
|
-
"
|
|
6170
|
-
"
|
|
6232
|
+
"sandbox",
|
|
6233
|
+
"unit_test",
|
|
6234
|
+
"run",
|
|
6171
6235
|
"index.js"
|
|
6172
6236
|
]
|
|
6173
6237
|
},
|
|
6174
|
-
"sandbox:
|
|
6238
|
+
"sandbox:unit_test:run_all": {
|
|
6175
6239
|
"aliases": [],
|
|
6176
6240
|
"args": {},
|
|
6177
|
-
"description": "
|
|
6241
|
+
"description": "Run all unit tests for a sandbox environment",
|
|
6178
6242
|
"examples": [
|
|
6179
|
-
"$ xano sandbox
|
|
6180
|
-
"$ xano sandbox
|
|
6243
|
+
"$ xano sandbox unit-test run-all\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 4 passed, 1 failed\n",
|
|
6244
|
+
"$ xano sandbox unit-test run-all -o json"
|
|
6181
6245
|
],
|
|
6182
6246
|
"flags": {
|
|
6183
6247
|
"profile": {
|
|
@@ -6208,6 +6272,19 @@
|
|
|
6208
6272
|
"multiple": false,
|
|
6209
6273
|
"type": "option"
|
|
6210
6274
|
},
|
|
6275
|
+
"obj-type": {
|
|
6276
|
+
"description": "Filter by object type",
|
|
6277
|
+
"name": "obj-type",
|
|
6278
|
+
"required": false,
|
|
6279
|
+
"hasDynamicHelp": false,
|
|
6280
|
+
"multiple": false,
|
|
6281
|
+
"options": [
|
|
6282
|
+
"function",
|
|
6283
|
+
"query",
|
|
6284
|
+
"middleware"
|
|
6285
|
+
],
|
|
6286
|
+
"type": "option"
|
|
6287
|
+
},
|
|
6211
6288
|
"output": {
|
|
6212
6289
|
"char": "o",
|
|
6213
6290
|
"description": "Output format",
|
|
@@ -6225,7 +6302,7 @@
|
|
|
6225
6302
|
},
|
|
6226
6303
|
"hasDynamicHelp": false,
|
|
6227
6304
|
"hiddenAliases": [],
|
|
6228
|
-
"id": "sandbox:
|
|
6305
|
+
"id": "sandbox:unit_test:run_all",
|
|
6229
6306
|
"pluginAlias": "@xano/cli",
|
|
6230
6307
|
"pluginName": "@xano/cli",
|
|
6231
6308
|
"pluginType": "core",
|
|
@@ -6236,25 +6313,18 @@
|
|
|
6236
6313
|
"dist",
|
|
6237
6314
|
"commands",
|
|
6238
6315
|
"sandbox",
|
|
6239
|
-
"
|
|
6240
|
-
"
|
|
6316
|
+
"unit_test",
|
|
6317
|
+
"run_all",
|
|
6241
6318
|
"index.js"
|
|
6242
6319
|
]
|
|
6243
6320
|
},
|
|
6244
|
-
"
|
|
6321
|
+
"sandbox:workflow_test:list": {
|
|
6245
6322
|
"aliases": [],
|
|
6246
|
-
"args": {
|
|
6247
|
-
|
|
6248
|
-
"description": "Static Host name",
|
|
6249
|
-
"name": "static_host",
|
|
6250
|
-
"required": true
|
|
6251
|
-
}
|
|
6252
|
-
},
|
|
6253
|
-
"description": "Create a new build for a static host",
|
|
6323
|
+
"args": {},
|
|
6324
|
+
"description": "List workflow tests for a sandbox environment",
|
|
6254
6325
|
"examples": [
|
|
6255
|
-
"$ xano
|
|
6256
|
-
"$ xano
|
|
6257
|
-
"$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
|
|
6326
|
+
"$ xano sandbox workflow-test list\nWorkflow tests:\n - my-test (ID: 1)\n",
|
|
6327
|
+
"$ xano sandbox workflow-test list -o json"
|
|
6258
6328
|
],
|
|
6259
6329
|
"flags": {
|
|
6260
6330
|
"profile": {
|
|
@@ -6276,33 +6346,15 @@
|
|
|
6276
6346
|
"allowNo": false,
|
|
6277
6347
|
"type": "boolean"
|
|
6278
6348
|
},
|
|
6279
|
-
"
|
|
6280
|
-
"char": "
|
|
6281
|
-
"description": "
|
|
6282
|
-
"name": "
|
|
6349
|
+
"branch": {
|
|
6350
|
+
"char": "b",
|
|
6351
|
+
"description": "Filter by branch name",
|
|
6352
|
+
"name": "branch",
|
|
6283
6353
|
"required": false,
|
|
6284
6354
|
"hasDynamicHelp": false,
|
|
6285
6355
|
"multiple": false,
|
|
6286
6356
|
"type": "option"
|
|
6287
6357
|
},
|
|
6288
|
-
"file": {
|
|
6289
|
-
"char": "f",
|
|
6290
|
-
"description": "Path to zip file to upload",
|
|
6291
|
-
"name": "file",
|
|
6292
|
-
"required": true,
|
|
6293
|
-
"hasDynamicHelp": false,
|
|
6294
|
-
"multiple": false,
|
|
6295
|
-
"type": "option"
|
|
6296
|
-
},
|
|
6297
|
-
"name": {
|
|
6298
|
-
"char": "n",
|
|
6299
|
-
"description": "Build name",
|
|
6300
|
-
"name": "name",
|
|
6301
|
-
"required": true,
|
|
6302
|
-
"hasDynamicHelp": false,
|
|
6303
|
-
"multiple": false,
|
|
6304
|
-
"type": "option"
|
|
6305
|
-
},
|
|
6306
6358
|
"output": {
|
|
6307
6359
|
"char": "o",
|
|
6308
6360
|
"description": "Output format",
|
|
@@ -6316,20 +6368,11 @@
|
|
|
6316
6368
|
"json"
|
|
6317
6369
|
],
|
|
6318
6370
|
"type": "option"
|
|
6319
|
-
},
|
|
6320
|
-
"workspace": {
|
|
6321
|
-
"char": "w",
|
|
6322
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
6323
|
-
"name": "workspace",
|
|
6324
|
-
"required": false,
|
|
6325
|
-
"hasDynamicHelp": false,
|
|
6326
|
-
"multiple": false,
|
|
6327
|
-
"type": "option"
|
|
6328
6371
|
}
|
|
6329
6372
|
},
|
|
6330
6373
|
"hasDynamicHelp": false,
|
|
6331
6374
|
"hiddenAliases": [],
|
|
6332
|
-
"id": "
|
|
6375
|
+
"id": "sandbox:workflow_test:list",
|
|
6333
6376
|
"pluginAlias": "@xano/cli",
|
|
6334
6377
|
"pluginName": "@xano/cli",
|
|
6335
6378
|
"pluginType": "core",
|
|
@@ -6339,27 +6382,25 @@
|
|
|
6339
6382
|
"relativePath": [
|
|
6340
6383
|
"dist",
|
|
6341
6384
|
"commands",
|
|
6342
|
-
"
|
|
6343
|
-
"
|
|
6344
|
-
"
|
|
6385
|
+
"sandbox",
|
|
6386
|
+
"workflow_test",
|
|
6387
|
+
"list",
|
|
6345
6388
|
"index.js"
|
|
6346
6389
|
]
|
|
6347
6390
|
},
|
|
6348
|
-
"
|
|
6391
|
+
"sandbox:workflow_test:run": {
|
|
6349
6392
|
"aliases": [],
|
|
6350
6393
|
"args": {
|
|
6351
|
-
"
|
|
6352
|
-
"description": "
|
|
6353
|
-
"name": "
|
|
6394
|
+
"workflow_test_id": {
|
|
6395
|
+
"description": "ID of the workflow test to run",
|
|
6396
|
+
"name": "workflow_test_id",
|
|
6354
6397
|
"required": true
|
|
6355
6398
|
}
|
|
6356
6399
|
},
|
|
6357
|
-
"description": "
|
|
6400
|
+
"description": "Run a workflow test for a sandbox environment",
|
|
6358
6401
|
"examples": [
|
|
6359
|
-
"$ xano
|
|
6360
|
-
"$ xano
|
|
6361
|
-
"$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
|
|
6362
|
-
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
6402
|
+
"$ xano sandbox workflow-test run 42\nRunning workflow test 42...\nResult: PASS (0.25s)\n",
|
|
6403
|
+
"$ xano sandbox workflow-test run 42 -o json"
|
|
6363
6404
|
],
|
|
6364
6405
|
"flags": {
|
|
6365
6406
|
"profile": {
|
|
@@ -6394,38 +6435,11 @@
|
|
|
6394
6435
|
"json"
|
|
6395
6436
|
],
|
|
6396
6437
|
"type": "option"
|
|
6397
|
-
},
|
|
6398
|
-
"page": {
|
|
6399
|
-
"description": "Page number for pagination",
|
|
6400
|
-
"name": "page",
|
|
6401
|
-
"required": false,
|
|
6402
|
-
"default": 1,
|
|
6403
|
-
"hasDynamicHelp": false,
|
|
6404
|
-
"multiple": false,
|
|
6405
|
-
"type": "option"
|
|
6406
|
-
},
|
|
6407
|
-
"per_page": {
|
|
6408
|
-
"description": "Number of results per page",
|
|
6409
|
-
"name": "per_page",
|
|
6410
|
-
"required": false,
|
|
6411
|
-
"default": 50,
|
|
6412
|
-
"hasDynamicHelp": false,
|
|
6413
|
-
"multiple": false,
|
|
6414
|
-
"type": "option"
|
|
6415
|
-
},
|
|
6416
|
-
"workspace": {
|
|
6417
|
-
"char": "w",
|
|
6418
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
6419
|
-
"name": "workspace",
|
|
6420
|
-
"required": false,
|
|
6421
|
-
"hasDynamicHelp": false,
|
|
6422
|
-
"multiple": false,
|
|
6423
|
-
"type": "option"
|
|
6424
6438
|
}
|
|
6425
6439
|
},
|
|
6426
6440
|
"hasDynamicHelp": false,
|
|
6427
6441
|
"hiddenAliases": [],
|
|
6428
|
-
"id": "
|
|
6442
|
+
"id": "sandbox:workflow_test:run",
|
|
6429
6443
|
"pluginAlias": "@xano/cli",
|
|
6430
6444
|
"pluginName": "@xano/cli",
|
|
6431
6445
|
"pluginType": "core",
|
|
@@ -6435,25 +6449,19 @@
|
|
|
6435
6449
|
"relativePath": [
|
|
6436
6450
|
"dist",
|
|
6437
6451
|
"commands",
|
|
6438
|
-
"
|
|
6439
|
-
"
|
|
6440
|
-
"
|
|
6452
|
+
"sandbox",
|
|
6453
|
+
"workflow_test",
|
|
6454
|
+
"run",
|
|
6441
6455
|
"index.js"
|
|
6442
6456
|
]
|
|
6443
6457
|
},
|
|
6444
|
-
"
|
|
6458
|
+
"tenant:cluster:create": {
|
|
6445
6459
|
"aliases": [],
|
|
6446
|
-
"args": {
|
|
6447
|
-
|
|
6448
|
-
"description": "ID of the workflow test to run",
|
|
6449
|
-
"name": "workflow_test_id",
|
|
6450
|
-
"required": true
|
|
6451
|
-
}
|
|
6452
|
-
},
|
|
6453
|
-
"description": "Run a workflow test for a sandbox environment",
|
|
6460
|
+
"args": {},
|
|
6461
|
+
"description": "Create a new tenant cluster",
|
|
6454
6462
|
"examples": [
|
|
6455
|
-
"$ xano
|
|
6456
|
-
"$ xano
|
|
6463
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
6464
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
6457
6465
|
],
|
|
6458
6466
|
"flags": {
|
|
6459
6467
|
"profile": {
|
|
@@ -6466,14 +6474,62 @@
|
|
|
6466
6474
|
"multiple": false,
|
|
6467
6475
|
"type": "option"
|
|
6468
6476
|
},
|
|
6469
|
-
"verbose": {
|
|
6470
|
-
"char": "v",
|
|
6471
|
-
"description": "Show detailed request/response information",
|
|
6472
|
-
"env": "XANO_VERBOSE",
|
|
6473
|
-
"name": "verbose",
|
|
6477
|
+
"verbose": {
|
|
6478
|
+
"char": "v",
|
|
6479
|
+
"description": "Show detailed request/response information",
|
|
6480
|
+
"env": "XANO_VERBOSE",
|
|
6481
|
+
"name": "verbose",
|
|
6482
|
+
"required": false,
|
|
6483
|
+
"allowNo": false,
|
|
6484
|
+
"type": "boolean"
|
|
6485
|
+
},
|
|
6486
|
+
"credentials": {
|
|
6487
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
6488
|
+
"exclusive": [
|
|
6489
|
+
"credentials_file"
|
|
6490
|
+
],
|
|
6491
|
+
"name": "credentials",
|
|
6492
|
+
"required": false,
|
|
6493
|
+
"hasDynamicHelp": false,
|
|
6494
|
+
"multiple": false,
|
|
6495
|
+
"type": "option"
|
|
6496
|
+
},
|
|
6497
|
+
"credentials_file": {
|
|
6498
|
+
"description": "Path to kubeconfig credentials file",
|
|
6499
|
+
"exclusive": [
|
|
6500
|
+
"credentials"
|
|
6501
|
+
],
|
|
6502
|
+
"name": "credentials_file",
|
|
6503
|
+
"required": false,
|
|
6504
|
+
"hasDynamicHelp": false,
|
|
6505
|
+
"multiple": false,
|
|
6506
|
+
"type": "option"
|
|
6507
|
+
},
|
|
6508
|
+
"description": {
|
|
6509
|
+
"char": "d",
|
|
6510
|
+
"description": "Cluster description",
|
|
6511
|
+
"name": "description",
|
|
6474
6512
|
"required": false,
|
|
6475
|
-
"
|
|
6476
|
-
"
|
|
6513
|
+
"hasDynamicHelp": false,
|
|
6514
|
+
"multiple": false,
|
|
6515
|
+
"type": "option"
|
|
6516
|
+
},
|
|
6517
|
+
"domain": {
|
|
6518
|
+
"description": "Custom domain for the cluster",
|
|
6519
|
+
"name": "domain",
|
|
6520
|
+
"required": false,
|
|
6521
|
+
"hasDynamicHelp": false,
|
|
6522
|
+
"multiple": false,
|
|
6523
|
+
"type": "option"
|
|
6524
|
+
},
|
|
6525
|
+
"name": {
|
|
6526
|
+
"char": "n",
|
|
6527
|
+
"description": "Cluster name",
|
|
6528
|
+
"name": "name",
|
|
6529
|
+
"required": true,
|
|
6530
|
+
"hasDynamicHelp": false,
|
|
6531
|
+
"multiple": false,
|
|
6532
|
+
"type": "option"
|
|
6477
6533
|
},
|
|
6478
6534
|
"output": {
|
|
6479
6535
|
"char": "o",
|
|
@@ -6488,11 +6544,24 @@
|
|
|
6488
6544
|
"json"
|
|
6489
6545
|
],
|
|
6490
6546
|
"type": "option"
|
|
6547
|
+
},
|
|
6548
|
+
"type": {
|
|
6549
|
+
"description": "Cluster type",
|
|
6550
|
+
"name": "type",
|
|
6551
|
+
"required": false,
|
|
6552
|
+
"default": "standard",
|
|
6553
|
+
"hasDynamicHelp": false,
|
|
6554
|
+
"multiple": false,
|
|
6555
|
+
"options": [
|
|
6556
|
+
"standard",
|
|
6557
|
+
"run"
|
|
6558
|
+
],
|
|
6559
|
+
"type": "option"
|
|
6491
6560
|
}
|
|
6492
6561
|
},
|
|
6493
6562
|
"hasDynamicHelp": false,
|
|
6494
6563
|
"hiddenAliases": [],
|
|
6495
|
-
"id": "
|
|
6564
|
+
"id": "tenant:cluster:create",
|
|
6496
6565
|
"pluginAlias": "@xano/cli",
|
|
6497
6566
|
"pluginName": "@xano/cli",
|
|
6498
6567
|
"pluginType": "core",
|
|
@@ -6502,9 +6571,9 @@
|
|
|
6502
6571
|
"relativePath": [
|
|
6503
6572
|
"dist",
|
|
6504
6573
|
"commands",
|
|
6505
|
-
"
|
|
6506
|
-
"
|
|
6507
|
-
"
|
|
6574
|
+
"tenant",
|
|
6575
|
+
"cluster",
|
|
6576
|
+
"create",
|
|
6508
6577
|
"index.js"
|
|
6509
6578
|
]
|
|
6510
6579
|
},
|
|
@@ -6578,20 +6647,20 @@
|
|
|
6578
6647
|
"index.js"
|
|
6579
6648
|
]
|
|
6580
6649
|
},
|
|
6581
|
-
"tenant:
|
|
6650
|
+
"tenant:cluster:delete": {
|
|
6582
6651
|
"aliases": [],
|
|
6583
6652
|
"args": {
|
|
6584
|
-
"
|
|
6585
|
-
"description": "
|
|
6586
|
-
"name": "
|
|
6653
|
+
"cluster_id": {
|
|
6654
|
+
"description": "Cluster ID to delete",
|
|
6655
|
+
"name": "cluster_id",
|
|
6587
6656
|
"required": true
|
|
6588
6657
|
}
|
|
6589
6658
|
},
|
|
6590
|
-
"description": "Delete a tenant
|
|
6659
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
6591
6660
|
"examples": [
|
|
6592
|
-
"$ xano tenant
|
|
6593
|
-
"$ xano tenant
|
|
6594
|
-
"$ xano tenant
|
|
6661
|
+
"$ 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",
|
|
6662
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
6663
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
6595
6664
|
],
|
|
6596
6665
|
"flags": {
|
|
6597
6666
|
"profile": {
|
|
@@ -6613,14 +6682,6 @@
|
|
|
6613
6682
|
"allowNo": false,
|
|
6614
6683
|
"type": "boolean"
|
|
6615
6684
|
},
|
|
6616
|
-
"backup_id": {
|
|
6617
|
-
"description": "Backup ID to delete",
|
|
6618
|
-
"name": "backup_id",
|
|
6619
|
-
"required": true,
|
|
6620
|
-
"hasDynamicHelp": false,
|
|
6621
|
-
"multiple": false,
|
|
6622
|
-
"type": "option"
|
|
6623
|
-
},
|
|
6624
6685
|
"force": {
|
|
6625
6686
|
"char": "f",
|
|
6626
6687
|
"description": "Skip confirmation prompt",
|
|
@@ -6642,20 +6703,11 @@
|
|
|
6642
6703
|
"json"
|
|
6643
6704
|
],
|
|
6644
6705
|
"type": "option"
|
|
6645
|
-
},
|
|
6646
|
-
"workspace": {
|
|
6647
|
-
"char": "w",
|
|
6648
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6649
|
-
"name": "workspace",
|
|
6650
|
-
"required": false,
|
|
6651
|
-
"hasDynamicHelp": false,
|
|
6652
|
-
"multiple": false,
|
|
6653
|
-
"type": "option"
|
|
6654
6706
|
}
|
|
6655
6707
|
},
|
|
6656
6708
|
"hasDynamicHelp": false,
|
|
6657
6709
|
"hiddenAliases": [],
|
|
6658
|
-
"id": "tenant:
|
|
6710
|
+
"id": "tenant:cluster:delete",
|
|
6659
6711
|
"pluginAlias": "@xano/cli",
|
|
6660
6712
|
"pluginName": "@xano/cli",
|
|
6661
6713
|
"pluginType": "core",
|
|
@@ -6666,25 +6718,24 @@
|
|
|
6666
6718
|
"dist",
|
|
6667
6719
|
"commands",
|
|
6668
6720
|
"tenant",
|
|
6669
|
-
"
|
|
6721
|
+
"cluster",
|
|
6670
6722
|
"delete",
|
|
6671
6723
|
"index.js"
|
|
6672
6724
|
]
|
|
6673
6725
|
},
|
|
6674
|
-
"tenant:
|
|
6726
|
+
"tenant:cluster:edit": {
|
|
6675
6727
|
"aliases": [],
|
|
6676
6728
|
"args": {
|
|
6677
|
-
"
|
|
6678
|
-
"description": "
|
|
6679
|
-
"name": "
|
|
6729
|
+
"cluster_id": {
|
|
6730
|
+
"description": "Cluster ID to edit",
|
|
6731
|
+
"name": "cluster_id",
|
|
6680
6732
|
"required": true
|
|
6681
6733
|
}
|
|
6682
6734
|
},
|
|
6683
|
-
"description": "
|
|
6735
|
+
"description": "Update an existing tenant cluster",
|
|
6684
6736
|
"examples": [
|
|
6685
|
-
"$ xano tenant
|
|
6686
|
-
"$ xano tenant
|
|
6687
|
-
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
6737
|
+
"$ 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",
|
|
6738
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
6688
6739
|
],
|
|
6689
6740
|
"flags": {
|
|
6690
6741
|
"profile": {
|
|
@@ -6706,18 +6757,36 @@
|
|
|
6706
6757
|
"allowNo": false,
|
|
6707
6758
|
"type": "boolean"
|
|
6708
6759
|
},
|
|
6709
|
-
"
|
|
6710
|
-
"
|
|
6711
|
-
"
|
|
6760
|
+
"description": {
|
|
6761
|
+
"char": "d",
|
|
6762
|
+
"description": "Cluster description",
|
|
6763
|
+
"name": "description",
|
|
6712
6764
|
"required": true,
|
|
6713
6765
|
"hasDynamicHelp": false,
|
|
6714
6766
|
"multiple": false,
|
|
6715
6767
|
"type": "option"
|
|
6716
6768
|
},
|
|
6717
|
-
"
|
|
6769
|
+
"domain": {
|
|
6770
|
+
"description": "Custom domain for the cluster",
|
|
6771
|
+
"name": "domain",
|
|
6772
|
+
"required": true,
|
|
6773
|
+
"hasDynamicHelp": false,
|
|
6774
|
+
"multiple": false,
|
|
6775
|
+
"type": "option"
|
|
6776
|
+
},
|
|
6777
|
+
"name": {
|
|
6778
|
+
"char": "n",
|
|
6779
|
+
"description": "Cluster name",
|
|
6780
|
+
"name": "name",
|
|
6781
|
+
"required": true,
|
|
6782
|
+
"hasDynamicHelp": false,
|
|
6783
|
+
"multiple": false,
|
|
6784
|
+
"type": "option"
|
|
6785
|
+
},
|
|
6786
|
+
"output": {
|
|
6718
6787
|
"char": "o",
|
|
6719
6788
|
"description": "Output format",
|
|
6720
|
-
"name": "
|
|
6789
|
+
"name": "output",
|
|
6721
6790
|
"required": false,
|
|
6722
6791
|
"default": "summary",
|
|
6723
6792
|
"hasDynamicHelp": false,
|
|
@@ -6728,27 +6797,22 @@
|
|
|
6728
6797
|
],
|
|
6729
6798
|
"type": "option"
|
|
6730
6799
|
},
|
|
6731
|
-
"
|
|
6732
|
-
"description": "
|
|
6733
|
-
"name": "
|
|
6734
|
-
"required":
|
|
6735
|
-
"hasDynamicHelp": false,
|
|
6736
|
-
"multiple": false,
|
|
6737
|
-
"type": "option"
|
|
6738
|
-
},
|
|
6739
|
-
"workspace": {
|
|
6740
|
-
"char": "w",
|
|
6741
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6742
|
-
"name": "workspace",
|
|
6743
|
-
"required": false,
|
|
6800
|
+
"type": {
|
|
6801
|
+
"description": "Cluster type",
|
|
6802
|
+
"name": "type",
|
|
6803
|
+
"required": true,
|
|
6744
6804
|
"hasDynamicHelp": false,
|
|
6745
6805
|
"multiple": false,
|
|
6806
|
+
"options": [
|
|
6807
|
+
"standard",
|
|
6808
|
+
"run"
|
|
6809
|
+
],
|
|
6746
6810
|
"type": "option"
|
|
6747
6811
|
}
|
|
6748
6812
|
},
|
|
6749
6813
|
"hasDynamicHelp": false,
|
|
6750
6814
|
"hiddenAliases": [],
|
|
6751
|
-
"id": "tenant:
|
|
6815
|
+
"id": "tenant:cluster:edit",
|
|
6752
6816
|
"pluginAlias": "@xano/cli",
|
|
6753
6817
|
"pluginName": "@xano/cli",
|
|
6754
6818
|
"pluginType": "core",
|
|
@@ -6759,24 +6823,24 @@
|
|
|
6759
6823
|
"dist",
|
|
6760
6824
|
"commands",
|
|
6761
6825
|
"tenant",
|
|
6762
|
-
"
|
|
6763
|
-
"
|
|
6826
|
+
"cluster",
|
|
6827
|
+
"edit",
|
|
6764
6828
|
"index.js"
|
|
6765
6829
|
]
|
|
6766
6830
|
},
|
|
6767
|
-
"tenant:
|
|
6831
|
+
"tenant:cluster:get": {
|
|
6768
6832
|
"aliases": [],
|
|
6769
6833
|
"args": {
|
|
6770
|
-
"
|
|
6771
|
-
"description": "
|
|
6772
|
-
"name": "
|
|
6834
|
+
"cluster_id": {
|
|
6835
|
+
"description": "Cluster ID to retrieve",
|
|
6836
|
+
"name": "cluster_id",
|
|
6773
6837
|
"required": true
|
|
6774
6838
|
}
|
|
6775
6839
|
},
|
|
6776
|
-
"description": "
|
|
6840
|
+
"description": "Get details of a specific tenant cluster",
|
|
6777
6841
|
"examples": [
|
|
6778
|
-
"$ xano tenant
|
|
6779
|
-
"$ xano tenant
|
|
6842
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
6843
|
+
"$ xano tenant cluster get 1 -o json"
|
|
6780
6844
|
],
|
|
6781
6845
|
"flags": {
|
|
6782
6846
|
"profile": {
|
|
@@ -6798,25 +6862,6 @@
|
|
|
6798
6862
|
"allowNo": false,
|
|
6799
6863
|
"type": "boolean"
|
|
6800
6864
|
},
|
|
6801
|
-
"description": {
|
|
6802
|
-
"char": "d",
|
|
6803
|
-
"description": "Backup description",
|
|
6804
|
-
"name": "description",
|
|
6805
|
-
"required": false,
|
|
6806
|
-
"default": "",
|
|
6807
|
-
"hasDynamicHelp": false,
|
|
6808
|
-
"multiple": false,
|
|
6809
|
-
"type": "option"
|
|
6810
|
-
},
|
|
6811
|
-
"file": {
|
|
6812
|
-
"char": "f",
|
|
6813
|
-
"description": "Path to the backup file (.tar.gz)",
|
|
6814
|
-
"name": "file",
|
|
6815
|
-
"required": true,
|
|
6816
|
-
"hasDynamicHelp": false,
|
|
6817
|
-
"multiple": false,
|
|
6818
|
-
"type": "option"
|
|
6819
|
-
},
|
|
6820
6865
|
"output": {
|
|
6821
6866
|
"char": "o",
|
|
6822
6867
|
"description": "Output format",
|
|
@@ -6830,20 +6875,11 @@
|
|
|
6830
6875
|
"json"
|
|
6831
6876
|
],
|
|
6832
6877
|
"type": "option"
|
|
6833
|
-
},
|
|
6834
|
-
"workspace": {
|
|
6835
|
-
"char": "w",
|
|
6836
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6837
|
-
"name": "workspace",
|
|
6838
|
-
"required": false,
|
|
6839
|
-
"hasDynamicHelp": false,
|
|
6840
|
-
"multiple": false,
|
|
6841
|
-
"type": "option"
|
|
6842
6878
|
}
|
|
6843
6879
|
},
|
|
6844
6880
|
"hasDynamicHelp": false,
|
|
6845
6881
|
"hiddenAliases": [],
|
|
6846
|
-
"id": "tenant:
|
|
6882
|
+
"id": "tenant:cluster:get",
|
|
6847
6883
|
"pluginAlias": "@xano/cli",
|
|
6848
6884
|
"pluginName": "@xano/cli",
|
|
6849
6885
|
"pluginType": "core",
|
|
@@ -6854,24 +6890,18 @@
|
|
|
6854
6890
|
"dist",
|
|
6855
6891
|
"commands",
|
|
6856
6892
|
"tenant",
|
|
6857
|
-
"
|
|
6858
|
-
"
|
|
6893
|
+
"cluster",
|
|
6894
|
+
"get",
|
|
6859
6895
|
"index.js"
|
|
6860
6896
|
]
|
|
6861
6897
|
},
|
|
6862
|
-
"tenant:
|
|
6898
|
+
"tenant:cluster:list": {
|
|
6863
6899
|
"aliases": [],
|
|
6864
|
-
"args": {
|
|
6865
|
-
|
|
6866
|
-
"description": "Tenant name to list backups for",
|
|
6867
|
-
"name": "tenant_name",
|
|
6868
|
-
"required": true
|
|
6869
|
-
}
|
|
6870
|
-
},
|
|
6871
|
-
"description": "List backups for a tenant",
|
|
6900
|
+
"args": {},
|
|
6901
|
+
"description": "List all tenant clusters",
|
|
6872
6902
|
"examples": [
|
|
6873
|
-
"$ xano tenant
|
|
6874
|
-
"$ xano tenant
|
|
6903
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
6904
|
+
"$ xano tenant cluster list --output json"
|
|
6875
6905
|
],
|
|
6876
6906
|
"flags": {
|
|
6877
6907
|
"profile": {
|
|
@@ -6906,29 +6936,11 @@
|
|
|
6906
6936
|
"json"
|
|
6907
6937
|
],
|
|
6908
6938
|
"type": "option"
|
|
6909
|
-
},
|
|
6910
|
-
"page": {
|
|
6911
|
-
"description": "Page number for pagination",
|
|
6912
|
-
"name": "page",
|
|
6913
|
-
"required": false,
|
|
6914
|
-
"default": 1,
|
|
6915
|
-
"hasDynamicHelp": false,
|
|
6916
|
-
"multiple": false,
|
|
6917
|
-
"type": "option"
|
|
6918
|
-
},
|
|
6919
|
-
"workspace": {
|
|
6920
|
-
"char": "w",
|
|
6921
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6922
|
-
"name": "workspace",
|
|
6923
|
-
"required": false,
|
|
6924
|
-
"hasDynamicHelp": false,
|
|
6925
|
-
"multiple": false,
|
|
6926
|
-
"type": "option"
|
|
6927
6939
|
}
|
|
6928
6940
|
},
|
|
6929
6941
|
"hasDynamicHelp": false,
|
|
6930
6942
|
"hiddenAliases": [],
|
|
6931
|
-
"id": "tenant:
|
|
6943
|
+
"id": "tenant:cluster:list",
|
|
6932
6944
|
"pluginAlias": "@xano/cli",
|
|
6933
6945
|
"pluginName": "@xano/cli",
|
|
6934
6946
|
"pluginType": "core",
|
|
@@ -6939,24 +6951,24 @@
|
|
|
6939
6951
|
"dist",
|
|
6940
6952
|
"commands",
|
|
6941
6953
|
"tenant",
|
|
6942
|
-
"
|
|
6954
|
+
"cluster",
|
|
6943
6955
|
"list",
|
|
6944
6956
|
"index.js"
|
|
6945
6957
|
]
|
|
6946
6958
|
},
|
|
6947
|
-
"tenant:backup:
|
|
6959
|
+
"tenant:backup:create": {
|
|
6948
6960
|
"aliases": [],
|
|
6949
6961
|
"args": {
|
|
6950
6962
|
"tenant_name": {
|
|
6951
|
-
"description": "Tenant name to
|
|
6963
|
+
"description": "Tenant name to back up",
|
|
6952
6964
|
"name": "tenant_name",
|
|
6953
6965
|
"required": true
|
|
6954
6966
|
}
|
|
6955
6967
|
},
|
|
6956
|
-
"description": "
|
|
6968
|
+
"description": "Create a backup for a tenant",
|
|
6957
6969
|
"examples": [
|
|
6958
|
-
"$ xano tenant backup
|
|
6959
|
-
"$ xano tenant backup
|
|
6970
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
6971
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
6960
6972
|
],
|
|
6961
6973
|
"flags": {
|
|
6962
6974
|
"profile": {
|
|
@@ -6978,22 +6990,16 @@
|
|
|
6978
6990
|
"allowNo": false,
|
|
6979
6991
|
"type": "boolean"
|
|
6980
6992
|
},
|
|
6981
|
-
"
|
|
6982
|
-
"
|
|
6983
|
-
"
|
|
6984
|
-
"
|
|
6993
|
+
"description": {
|
|
6994
|
+
"char": "d",
|
|
6995
|
+
"description": "Backup description",
|
|
6996
|
+
"name": "description",
|
|
6997
|
+
"required": false,
|
|
6998
|
+
"default": "",
|
|
6985
6999
|
"hasDynamicHelp": false,
|
|
6986
7000
|
"multiple": false,
|
|
6987
7001
|
"type": "option"
|
|
6988
7002
|
},
|
|
6989
|
-
"force": {
|
|
6990
|
-
"char": "f",
|
|
6991
|
-
"description": "Skip confirmation prompt",
|
|
6992
|
-
"name": "force",
|
|
6993
|
-
"required": false,
|
|
6994
|
-
"allowNo": false,
|
|
6995
|
-
"type": "boolean"
|
|
6996
|
-
},
|
|
6997
7003
|
"output": {
|
|
6998
7004
|
"char": "o",
|
|
6999
7005
|
"description": "Output format",
|
|
@@ -7020,7 +7026,7 @@
|
|
|
7020
7026
|
},
|
|
7021
7027
|
"hasDynamicHelp": false,
|
|
7022
7028
|
"hiddenAliases": [],
|
|
7023
|
-
"id": "tenant:backup:
|
|
7029
|
+
"id": "tenant:backup:create",
|
|
7024
7030
|
"pluginAlias": "@xano/cli",
|
|
7025
7031
|
"pluginName": "@xano/cli",
|
|
7026
7032
|
"pluginType": "core",
|
|
@@ -7032,17 +7038,24 @@
|
|
|
7032
7038
|
"commands",
|
|
7033
7039
|
"tenant",
|
|
7034
7040
|
"backup",
|
|
7035
|
-
"
|
|
7041
|
+
"create",
|
|
7036
7042
|
"index.js"
|
|
7037
7043
|
]
|
|
7038
7044
|
},
|
|
7039
|
-
"tenant:
|
|
7045
|
+
"tenant:backup:delete": {
|
|
7040
7046
|
"aliases": [],
|
|
7041
|
-
"args": {
|
|
7042
|
-
|
|
7047
|
+
"args": {
|
|
7048
|
+
"tenant_name": {
|
|
7049
|
+
"description": "Tenant name that owns the backup",
|
|
7050
|
+
"name": "tenant_name",
|
|
7051
|
+
"required": true
|
|
7052
|
+
}
|
|
7053
|
+
},
|
|
7054
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
7043
7055
|
"examples": [
|
|
7044
|
-
"$ xano tenant
|
|
7045
|
-
"$ xano tenant
|
|
7056
|
+
"$ 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",
|
|
7057
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
7058
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
7046
7059
|
],
|
|
7047
7060
|
"flags": {
|
|
7048
7061
|
"profile": {
|
|
@@ -7064,53 +7077,21 @@
|
|
|
7064
7077
|
"allowNo": false,
|
|
7065
7078
|
"type": "boolean"
|
|
7066
7079
|
},
|
|
7067
|
-
"
|
|
7068
|
-
"description": "
|
|
7069
|
-
"
|
|
7070
|
-
|
|
7071
|
-
],
|
|
7072
|
-
"name": "credentials",
|
|
7073
|
-
"required": false,
|
|
7074
|
-
"hasDynamicHelp": false,
|
|
7075
|
-
"multiple": false,
|
|
7076
|
-
"type": "option"
|
|
7077
|
-
},
|
|
7078
|
-
"credentials_file": {
|
|
7079
|
-
"description": "Path to kubeconfig credentials file",
|
|
7080
|
-
"exclusive": [
|
|
7081
|
-
"credentials"
|
|
7082
|
-
],
|
|
7083
|
-
"name": "credentials_file",
|
|
7084
|
-
"required": false,
|
|
7085
|
-
"hasDynamicHelp": false,
|
|
7086
|
-
"multiple": false,
|
|
7087
|
-
"type": "option"
|
|
7088
|
-
},
|
|
7089
|
-
"description": {
|
|
7090
|
-
"char": "d",
|
|
7091
|
-
"description": "Cluster description",
|
|
7092
|
-
"name": "description",
|
|
7093
|
-
"required": false,
|
|
7080
|
+
"backup_id": {
|
|
7081
|
+
"description": "Backup ID to delete",
|
|
7082
|
+
"name": "backup_id",
|
|
7083
|
+
"required": true,
|
|
7094
7084
|
"hasDynamicHelp": false,
|
|
7095
7085
|
"multiple": false,
|
|
7096
7086
|
"type": "option"
|
|
7097
7087
|
},
|
|
7098
|
-
"
|
|
7099
|
-
"
|
|
7100
|
-
"
|
|
7088
|
+
"force": {
|
|
7089
|
+
"char": "f",
|
|
7090
|
+
"description": "Skip confirmation prompt",
|
|
7091
|
+
"name": "force",
|
|
7101
7092
|
"required": false,
|
|
7102
|
-
"
|
|
7103
|
-
"
|
|
7104
|
-
"type": "option"
|
|
7105
|
-
},
|
|
7106
|
-
"name": {
|
|
7107
|
-
"char": "n",
|
|
7108
|
-
"description": "Cluster name",
|
|
7109
|
-
"name": "name",
|
|
7110
|
-
"required": true,
|
|
7111
|
-
"hasDynamicHelp": false,
|
|
7112
|
-
"multiple": false,
|
|
7113
|
-
"type": "option"
|
|
7093
|
+
"allowNo": false,
|
|
7094
|
+
"type": "boolean"
|
|
7114
7095
|
},
|
|
7115
7096
|
"output": {
|
|
7116
7097
|
"char": "o",
|
|
@@ -7126,23 +7107,19 @@
|
|
|
7126
7107
|
],
|
|
7127
7108
|
"type": "option"
|
|
7128
7109
|
},
|
|
7129
|
-
"
|
|
7130
|
-
"
|
|
7131
|
-
"
|
|
7110
|
+
"workspace": {
|
|
7111
|
+
"char": "w",
|
|
7112
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
7113
|
+
"name": "workspace",
|
|
7132
7114
|
"required": false,
|
|
7133
|
-
"default": "standard",
|
|
7134
7115
|
"hasDynamicHelp": false,
|
|
7135
7116
|
"multiple": false,
|
|
7136
|
-
"options": [
|
|
7137
|
-
"standard",
|
|
7138
|
-
"run"
|
|
7139
|
-
],
|
|
7140
7117
|
"type": "option"
|
|
7141
7118
|
}
|
|
7142
7119
|
},
|
|
7143
7120
|
"hasDynamicHelp": false,
|
|
7144
7121
|
"hiddenAliases": [],
|
|
7145
|
-
"id": "tenant:
|
|
7122
|
+
"id": "tenant:backup:delete",
|
|
7146
7123
|
"pluginAlias": "@xano/cli",
|
|
7147
7124
|
"pluginName": "@xano/cli",
|
|
7148
7125
|
"pluginType": "core",
|
|
@@ -7153,25 +7130,25 @@
|
|
|
7153
7130
|
"dist",
|
|
7154
7131
|
"commands",
|
|
7155
7132
|
"tenant",
|
|
7156
|
-
"
|
|
7157
|
-
"
|
|
7133
|
+
"backup",
|
|
7134
|
+
"delete",
|
|
7158
7135
|
"index.js"
|
|
7159
7136
|
]
|
|
7160
7137
|
},
|
|
7161
|
-
"tenant:
|
|
7138
|
+
"tenant:backup:export": {
|
|
7162
7139
|
"aliases": [],
|
|
7163
7140
|
"args": {
|
|
7164
|
-
"
|
|
7165
|
-
"description": "
|
|
7166
|
-
"name": "
|
|
7141
|
+
"tenant_name": {
|
|
7142
|
+
"description": "Tenant name to export backup from",
|
|
7143
|
+
"name": "tenant_name",
|
|
7167
7144
|
"required": true
|
|
7168
7145
|
}
|
|
7169
7146
|
},
|
|
7170
|
-
"description": "
|
|
7147
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
7171
7148
|
"examples": [
|
|
7172
|
-
"$ xano tenant
|
|
7173
|
-
"$ xano tenant
|
|
7174
|
-
"$ xano tenant
|
|
7149
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
7150
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
7151
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
7175
7152
|
],
|
|
7176
7153
|
"flags": {
|
|
7177
7154
|
"profile": {
|
|
@@ -7193,18 +7170,18 @@
|
|
|
7193
7170
|
"allowNo": false,
|
|
7194
7171
|
"type": "boolean"
|
|
7195
7172
|
},
|
|
7196
|
-
"
|
|
7197
|
-
"
|
|
7198
|
-
"
|
|
7199
|
-
"
|
|
7200
|
-
"
|
|
7201
|
-
"
|
|
7202
|
-
"type": "
|
|
7173
|
+
"backup_id": {
|
|
7174
|
+
"description": "Backup ID to export",
|
|
7175
|
+
"name": "backup_id",
|
|
7176
|
+
"required": true,
|
|
7177
|
+
"hasDynamicHelp": false,
|
|
7178
|
+
"multiple": false,
|
|
7179
|
+
"type": "option"
|
|
7203
7180
|
},
|
|
7204
|
-
"
|
|
7181
|
+
"format": {
|
|
7205
7182
|
"char": "o",
|
|
7206
7183
|
"description": "Output format",
|
|
7207
|
-
"name": "
|
|
7184
|
+
"name": "format",
|
|
7208
7185
|
"required": false,
|
|
7209
7186
|
"default": "summary",
|
|
7210
7187
|
"hasDynamicHelp": false,
|
|
@@ -7214,11 +7191,28 @@
|
|
|
7214
7191
|
"json"
|
|
7215
7192
|
],
|
|
7216
7193
|
"type": "option"
|
|
7194
|
+
},
|
|
7195
|
+
"output": {
|
|
7196
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
7197
|
+
"name": "output",
|
|
7198
|
+
"required": false,
|
|
7199
|
+
"hasDynamicHelp": false,
|
|
7200
|
+
"multiple": false,
|
|
7201
|
+
"type": "option"
|
|
7202
|
+
},
|
|
7203
|
+
"workspace": {
|
|
7204
|
+
"char": "w",
|
|
7205
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
7206
|
+
"name": "workspace",
|
|
7207
|
+
"required": false,
|
|
7208
|
+
"hasDynamicHelp": false,
|
|
7209
|
+
"multiple": false,
|
|
7210
|
+
"type": "option"
|
|
7217
7211
|
}
|
|
7218
7212
|
},
|
|
7219
7213
|
"hasDynamicHelp": false,
|
|
7220
7214
|
"hiddenAliases": [],
|
|
7221
|
-
"id": "tenant:
|
|
7215
|
+
"id": "tenant:backup:export",
|
|
7222
7216
|
"pluginAlias": "@xano/cli",
|
|
7223
7217
|
"pluginName": "@xano/cli",
|
|
7224
7218
|
"pluginType": "core",
|
|
@@ -7229,24 +7223,24 @@
|
|
|
7229
7223
|
"dist",
|
|
7230
7224
|
"commands",
|
|
7231
7225
|
"tenant",
|
|
7232
|
-
"
|
|
7233
|
-
"
|
|
7226
|
+
"backup",
|
|
7227
|
+
"export",
|
|
7234
7228
|
"index.js"
|
|
7235
7229
|
]
|
|
7236
7230
|
},
|
|
7237
|
-
"tenant:
|
|
7231
|
+
"tenant:backup:import": {
|
|
7238
7232
|
"aliases": [],
|
|
7239
7233
|
"args": {
|
|
7240
|
-
"
|
|
7241
|
-
"description": "
|
|
7242
|
-
"name": "
|
|
7234
|
+
"tenant_name": {
|
|
7235
|
+
"description": "Tenant name to import backup into",
|
|
7236
|
+
"name": "tenant_name",
|
|
7243
7237
|
"required": true
|
|
7244
7238
|
}
|
|
7245
7239
|
},
|
|
7246
|
-
"description": "
|
|
7240
|
+
"description": "Import a backup file into a tenant",
|
|
7247
7241
|
"examples": [
|
|
7248
|
-
"$ xano tenant
|
|
7249
|
-
"$ xano tenant
|
|
7242
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
7243
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
7250
7244
|
],
|
|
7251
7245
|
"flags": {
|
|
7252
7246
|
"profile": {
|
|
@@ -7270,25 +7264,18 @@
|
|
|
7270
7264
|
},
|
|
7271
7265
|
"description": {
|
|
7272
7266
|
"char": "d",
|
|
7273
|
-
"description": "
|
|
7267
|
+
"description": "Backup description",
|
|
7274
7268
|
"name": "description",
|
|
7275
|
-
"required":
|
|
7276
|
-
"
|
|
7277
|
-
"multiple": false,
|
|
7278
|
-
"type": "option"
|
|
7279
|
-
},
|
|
7280
|
-
"domain": {
|
|
7281
|
-
"description": "Custom domain for the cluster",
|
|
7282
|
-
"name": "domain",
|
|
7283
|
-
"required": true,
|
|
7269
|
+
"required": false,
|
|
7270
|
+
"default": "",
|
|
7284
7271
|
"hasDynamicHelp": false,
|
|
7285
7272
|
"multiple": false,
|
|
7286
7273
|
"type": "option"
|
|
7287
7274
|
},
|
|
7288
|
-
"
|
|
7289
|
-
"char": "
|
|
7290
|
-
"description": "
|
|
7291
|
-
"name": "
|
|
7275
|
+
"file": {
|
|
7276
|
+
"char": "f",
|
|
7277
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
7278
|
+
"name": "file",
|
|
7292
7279
|
"required": true,
|
|
7293
7280
|
"hasDynamicHelp": false,
|
|
7294
7281
|
"multiple": false,
|
|
@@ -7308,22 +7295,19 @@
|
|
|
7308
7295
|
],
|
|
7309
7296
|
"type": "option"
|
|
7310
7297
|
},
|
|
7311
|
-
"
|
|
7312
|
-
"
|
|
7313
|
-
"
|
|
7314
|
-
"
|
|
7298
|
+
"workspace": {
|
|
7299
|
+
"char": "w",
|
|
7300
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
7301
|
+
"name": "workspace",
|
|
7302
|
+
"required": false,
|
|
7315
7303
|
"hasDynamicHelp": false,
|
|
7316
7304
|
"multiple": false,
|
|
7317
|
-
"options": [
|
|
7318
|
-
"standard",
|
|
7319
|
-
"run"
|
|
7320
|
-
],
|
|
7321
7305
|
"type": "option"
|
|
7322
7306
|
}
|
|
7323
7307
|
},
|
|
7324
7308
|
"hasDynamicHelp": false,
|
|
7325
7309
|
"hiddenAliases": [],
|
|
7326
|
-
"id": "tenant:
|
|
7310
|
+
"id": "tenant:backup:import",
|
|
7327
7311
|
"pluginAlias": "@xano/cli",
|
|
7328
7312
|
"pluginName": "@xano/cli",
|
|
7329
7313
|
"pluginType": "core",
|
|
@@ -7334,24 +7318,24 @@
|
|
|
7334
7318
|
"dist",
|
|
7335
7319
|
"commands",
|
|
7336
7320
|
"tenant",
|
|
7337
|
-
"
|
|
7338
|
-
"
|
|
7321
|
+
"backup",
|
|
7322
|
+
"import",
|
|
7339
7323
|
"index.js"
|
|
7340
7324
|
]
|
|
7341
7325
|
},
|
|
7342
|
-
"tenant:
|
|
7326
|
+
"tenant:backup:list": {
|
|
7343
7327
|
"aliases": [],
|
|
7344
7328
|
"args": {
|
|
7345
|
-
"
|
|
7346
|
-
"description": "
|
|
7347
|
-
"name": "
|
|
7329
|
+
"tenant_name": {
|
|
7330
|
+
"description": "Tenant name to list backups for",
|
|
7331
|
+
"name": "tenant_name",
|
|
7348
7332
|
"required": true
|
|
7349
7333
|
}
|
|
7350
7334
|
},
|
|
7351
|
-
"description": "
|
|
7335
|
+
"description": "List backups for a tenant",
|
|
7352
7336
|
"examples": [
|
|
7353
|
-
"$ xano tenant
|
|
7354
|
-
"$ xano tenant
|
|
7337
|
+
"$ 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",
|
|
7338
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
7355
7339
|
],
|
|
7356
7340
|
"flags": {
|
|
7357
7341
|
"profile": {
|
|
@@ -7378,19 +7362,37 @@
|
|
|
7378
7362
|
"description": "Output format",
|
|
7379
7363
|
"name": "output",
|
|
7380
7364
|
"required": false,
|
|
7381
|
-
"default": "summary",
|
|
7365
|
+
"default": "summary",
|
|
7366
|
+
"hasDynamicHelp": false,
|
|
7367
|
+
"multiple": false,
|
|
7368
|
+
"options": [
|
|
7369
|
+
"summary",
|
|
7370
|
+
"json"
|
|
7371
|
+
],
|
|
7372
|
+
"type": "option"
|
|
7373
|
+
},
|
|
7374
|
+
"page": {
|
|
7375
|
+
"description": "Page number for pagination",
|
|
7376
|
+
"name": "page",
|
|
7377
|
+
"required": false,
|
|
7378
|
+
"default": 1,
|
|
7379
|
+
"hasDynamicHelp": false,
|
|
7380
|
+
"multiple": false,
|
|
7381
|
+
"type": "option"
|
|
7382
|
+
},
|
|
7383
|
+
"workspace": {
|
|
7384
|
+
"char": "w",
|
|
7385
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
7386
|
+
"name": "workspace",
|
|
7387
|
+
"required": false,
|
|
7382
7388
|
"hasDynamicHelp": false,
|
|
7383
7389
|
"multiple": false,
|
|
7384
|
-
"options": [
|
|
7385
|
-
"summary",
|
|
7386
|
-
"json"
|
|
7387
|
-
],
|
|
7388
7390
|
"type": "option"
|
|
7389
7391
|
}
|
|
7390
7392
|
},
|
|
7391
7393
|
"hasDynamicHelp": false,
|
|
7392
7394
|
"hiddenAliases": [],
|
|
7393
|
-
"id": "tenant:
|
|
7395
|
+
"id": "tenant:backup:list",
|
|
7394
7396
|
"pluginAlias": "@xano/cli",
|
|
7395
7397
|
"pluginName": "@xano/cli",
|
|
7396
7398
|
"pluginType": "core",
|
|
@@ -7401,24 +7403,24 @@
|
|
|
7401
7403
|
"dist",
|
|
7402
7404
|
"commands",
|
|
7403
7405
|
"tenant",
|
|
7404
|
-
"
|
|
7405
|
-
"
|
|
7406
|
+
"backup",
|
|
7407
|
+
"list",
|
|
7406
7408
|
"index.js"
|
|
7407
7409
|
]
|
|
7408
7410
|
},
|
|
7409
|
-
"tenant:backup:
|
|
7411
|
+
"tenant:backup:restore": {
|
|
7410
7412
|
"aliases": [],
|
|
7411
7413
|
"args": {
|
|
7412
7414
|
"tenant_name": {
|
|
7413
|
-
"description": "Tenant name to
|
|
7415
|
+
"description": "Tenant name to restore",
|
|
7414
7416
|
"name": "tenant_name",
|
|
7415
7417
|
"required": true
|
|
7416
7418
|
}
|
|
7417
7419
|
},
|
|
7418
|
-
"description": "
|
|
7420
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
7419
7421
|
"examples": [
|
|
7420
|
-
"$ xano tenant backup
|
|
7421
|
-
"$ xano tenant backup
|
|
7422
|
+
"$ 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",
|
|
7423
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
7422
7424
|
],
|
|
7423
7425
|
"flags": {
|
|
7424
7426
|
"profile": {
|
|
@@ -7440,16 +7442,22 @@
|
|
|
7440
7442
|
"allowNo": false,
|
|
7441
7443
|
"type": "boolean"
|
|
7442
7444
|
},
|
|
7443
|
-
"
|
|
7444
|
-
"
|
|
7445
|
-
"
|
|
7446
|
-
"
|
|
7447
|
-
"required": false,
|
|
7448
|
-
"default": "",
|
|
7445
|
+
"backup_id": {
|
|
7446
|
+
"description": "Backup ID to restore from",
|
|
7447
|
+
"name": "backup_id",
|
|
7448
|
+
"required": true,
|
|
7449
7449
|
"hasDynamicHelp": false,
|
|
7450
7450
|
"multiple": false,
|
|
7451
7451
|
"type": "option"
|
|
7452
7452
|
},
|
|
7453
|
+
"force": {
|
|
7454
|
+
"char": "f",
|
|
7455
|
+
"description": "Skip confirmation prompt",
|
|
7456
|
+
"name": "force",
|
|
7457
|
+
"required": false,
|
|
7458
|
+
"allowNo": false,
|
|
7459
|
+
"type": "boolean"
|
|
7460
|
+
},
|
|
7453
7461
|
"output": {
|
|
7454
7462
|
"char": "o",
|
|
7455
7463
|
"description": "Output format",
|
|
@@ -7476,7 +7484,7 @@
|
|
|
7476
7484
|
},
|
|
7477
7485
|
"hasDynamicHelp": false,
|
|
7478
7486
|
"hiddenAliases": [],
|
|
7479
|
-
"id": "tenant:backup:
|
|
7487
|
+
"id": "tenant:backup:restore",
|
|
7480
7488
|
"pluginAlias": "@xano/cli",
|
|
7481
7489
|
"pluginName": "@xano/cli",
|
|
7482
7490
|
"pluginType": "core",
|
|
@@ -7488,17 +7496,24 @@
|
|
|
7488
7496
|
"commands",
|
|
7489
7497
|
"tenant",
|
|
7490
7498
|
"backup",
|
|
7491
|
-
"
|
|
7499
|
+
"restore",
|
|
7492
7500
|
"index.js"
|
|
7493
7501
|
]
|
|
7494
7502
|
},
|
|
7495
|
-
"tenant:
|
|
7503
|
+
"tenant:env:delete": {
|
|
7496
7504
|
"aliases": [],
|
|
7497
|
-
"args": {
|
|
7498
|
-
|
|
7505
|
+
"args": {
|
|
7506
|
+
"tenant_name": {
|
|
7507
|
+
"description": "Tenant name",
|
|
7508
|
+
"name": "tenant_name",
|
|
7509
|
+
"required": true
|
|
7510
|
+
}
|
|
7511
|
+
},
|
|
7512
|
+
"description": "Delete an environment variable from a tenant",
|
|
7499
7513
|
"examples": [
|
|
7500
|
-
"$ xano tenant
|
|
7501
|
-
"$ xano tenant
|
|
7514
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL' from tenant my-tenant? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
7515
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
7516
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
7502
7517
|
],
|
|
7503
7518
|
"flags": {
|
|
7504
7519
|
"profile": {
|
|
@@ -7520,6 +7535,23 @@
|
|
|
7520
7535
|
"allowNo": false,
|
|
7521
7536
|
"type": "boolean"
|
|
7522
7537
|
},
|
|
7538
|
+
"force": {
|
|
7539
|
+
"char": "f",
|
|
7540
|
+
"description": "Skip confirmation prompt",
|
|
7541
|
+
"name": "force",
|
|
7542
|
+
"required": false,
|
|
7543
|
+
"allowNo": false,
|
|
7544
|
+
"type": "boolean"
|
|
7545
|
+
},
|
|
7546
|
+
"name": {
|
|
7547
|
+
"char": "n",
|
|
7548
|
+
"description": "Environment variable name",
|
|
7549
|
+
"name": "name",
|
|
7550
|
+
"required": true,
|
|
7551
|
+
"hasDynamicHelp": false,
|
|
7552
|
+
"multiple": false,
|
|
7553
|
+
"type": "option"
|
|
7554
|
+
},
|
|
7523
7555
|
"output": {
|
|
7524
7556
|
"char": "o",
|
|
7525
7557
|
"description": "Output format",
|
|
@@ -7533,11 +7565,20 @@
|
|
|
7533
7565
|
"json"
|
|
7534
7566
|
],
|
|
7535
7567
|
"type": "option"
|
|
7568
|
+
},
|
|
7569
|
+
"workspace": {
|
|
7570
|
+
"char": "w",
|
|
7571
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
7572
|
+
"name": "workspace",
|
|
7573
|
+
"required": false,
|
|
7574
|
+
"hasDynamicHelp": false,
|
|
7575
|
+
"multiple": false,
|
|
7576
|
+
"type": "option"
|
|
7536
7577
|
}
|
|
7537
7578
|
},
|
|
7538
7579
|
"hasDynamicHelp": false,
|
|
7539
7580
|
"hiddenAliases": [],
|
|
7540
|
-
"id": "tenant:
|
|
7581
|
+
"id": "tenant:env:delete",
|
|
7541
7582
|
"pluginAlias": "@xano/cli",
|
|
7542
7583
|
"pluginName": "@xano/cli",
|
|
7543
7584
|
"pluginType": "core",
|
|
@@ -7548,12 +7589,12 @@
|
|
|
7548
7589
|
"dist",
|
|
7549
7590
|
"commands",
|
|
7550
7591
|
"tenant",
|
|
7551
|
-
"
|
|
7552
|
-
"
|
|
7592
|
+
"env",
|
|
7593
|
+
"delete",
|
|
7553
7594
|
"index.js"
|
|
7554
7595
|
]
|
|
7555
7596
|
},
|
|
7556
|
-
"tenant:env:
|
|
7597
|
+
"tenant:env:get": {
|
|
7557
7598
|
"aliases": [],
|
|
7558
7599
|
"args": {
|
|
7559
7600
|
"tenant_name": {
|
|
@@ -7562,11 +7603,10 @@
|
|
|
7562
7603
|
"required": true
|
|
7563
7604
|
}
|
|
7564
7605
|
},
|
|
7565
|
-
"description": "
|
|
7606
|
+
"description": "Get a single environment variable for a tenant",
|
|
7566
7607
|
"examples": [
|
|
7567
|
-
"$ xano tenant env
|
|
7568
|
-
"$ xano tenant env
|
|
7569
|
-
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
7608
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
7609
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
7570
7610
|
],
|
|
7571
7611
|
"flags": {
|
|
7572
7612
|
"profile": {
|
|
@@ -7588,14 +7628,6 @@
|
|
|
7588
7628
|
"allowNo": false,
|
|
7589
7629
|
"type": "boolean"
|
|
7590
7630
|
},
|
|
7591
|
-
"force": {
|
|
7592
|
-
"char": "f",
|
|
7593
|
-
"description": "Skip confirmation prompt",
|
|
7594
|
-
"name": "force",
|
|
7595
|
-
"required": false,
|
|
7596
|
-
"allowNo": false,
|
|
7597
|
-
"type": "boolean"
|
|
7598
|
-
},
|
|
7599
7631
|
"name": {
|
|
7600
7632
|
"char": "n",
|
|
7601
7633
|
"description": "Environment variable name",
|
|
@@ -7631,7 +7663,7 @@
|
|
|
7631
7663
|
},
|
|
7632
7664
|
"hasDynamicHelp": false,
|
|
7633
7665
|
"hiddenAliases": [],
|
|
7634
|
-
"id": "tenant:env:
|
|
7666
|
+
"id": "tenant:env:get",
|
|
7635
7667
|
"pluginAlias": "@xano/cli",
|
|
7636
7668
|
"pluginName": "@xano/cli",
|
|
7637
7669
|
"pluginType": "core",
|
|
@@ -7643,11 +7675,11 @@
|
|
|
7643
7675
|
"commands",
|
|
7644
7676
|
"tenant",
|
|
7645
7677
|
"env",
|
|
7646
|
-
"
|
|
7678
|
+
"get",
|
|
7647
7679
|
"index.js"
|
|
7648
7680
|
]
|
|
7649
7681
|
},
|
|
7650
|
-
"tenant:env:
|
|
7682
|
+
"tenant:env:get_all": {
|
|
7651
7683
|
"aliases": [],
|
|
7652
7684
|
"args": {
|
|
7653
7685
|
"tenant_name": {
|
|
@@ -7656,10 +7688,12 @@
|
|
|
7656
7688
|
"required": true
|
|
7657
7689
|
}
|
|
7658
7690
|
},
|
|
7659
|
-
"description": "Get
|
|
7691
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
7660
7692
|
"examples": [
|
|
7661
|
-
"$ xano tenant env
|
|
7662
|
-
"$ xano tenant env
|
|
7693
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
7694
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
7695
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
7696
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
7663
7697
|
],
|
|
7664
7698
|
"flags": {
|
|
7665
7699
|
"profile": {
|
|
@@ -7681,11 +7715,11 @@
|
|
|
7681
7715
|
"allowNo": false,
|
|
7682
7716
|
"type": "boolean"
|
|
7683
7717
|
},
|
|
7684
|
-
"
|
|
7685
|
-
"char": "
|
|
7686
|
-
"description": "
|
|
7687
|
-
"name": "
|
|
7688
|
-
"required":
|
|
7718
|
+
"file": {
|
|
7719
|
+
"char": "f",
|
|
7720
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
7721
|
+
"name": "file",
|
|
7722
|
+
"required": false,
|
|
7689
7723
|
"hasDynamicHelp": false,
|
|
7690
7724
|
"multiple": false,
|
|
7691
7725
|
"type": "option"
|
|
@@ -7704,6 +7738,13 @@
|
|
|
7704
7738
|
],
|
|
7705
7739
|
"type": "option"
|
|
7706
7740
|
},
|
|
7741
|
+
"view": {
|
|
7742
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
7743
|
+
"name": "view",
|
|
7744
|
+
"required": false,
|
|
7745
|
+
"allowNo": false,
|
|
7746
|
+
"type": "boolean"
|
|
7747
|
+
},
|
|
7707
7748
|
"workspace": {
|
|
7708
7749
|
"char": "w",
|
|
7709
7750
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -7716,7 +7757,7 @@
|
|
|
7716
7757
|
},
|
|
7717
7758
|
"hasDynamicHelp": false,
|
|
7718
7759
|
"hiddenAliases": [],
|
|
7719
|
-
"id": "tenant:env:
|
|
7760
|
+
"id": "tenant:env:get_all",
|
|
7720
7761
|
"pluginAlias": "@xano/cli",
|
|
7721
7762
|
"pluginName": "@xano/cli",
|
|
7722
7763
|
"pluginType": "core",
|
|
@@ -7728,7 +7769,7 @@
|
|
|
7728
7769
|
"commands",
|
|
7729
7770
|
"tenant",
|
|
7730
7771
|
"env",
|
|
7731
|
-
"
|
|
7772
|
+
"get_all",
|
|
7732
7773
|
"index.js"
|
|
7733
7774
|
]
|
|
7734
7775
|
},
|
|
@@ -8142,112 +8183,8 @@
|
|
|
8142
8183
|
],
|
|
8143
8184
|
"name": "file",
|
|
8144
8185
|
"required": false,
|
|
8145
|
-
"hasDynamicHelp": false,
|
|
8146
|
-
"multiple": false,
|
|
8147
|
-
"type": "option"
|
|
8148
|
-
},
|
|
8149
|
-
"output": {
|
|
8150
|
-
"char": "o",
|
|
8151
|
-
"description": "Output format",
|
|
8152
|
-
"name": "output",
|
|
8153
|
-
"required": false,
|
|
8154
|
-
"default": "summary",
|
|
8155
|
-
"hasDynamicHelp": false,
|
|
8156
|
-
"multiple": false,
|
|
8157
|
-
"options": [
|
|
8158
|
-
"summary",
|
|
8159
|
-
"json"
|
|
8160
|
-
],
|
|
8161
|
-
"type": "option"
|
|
8162
|
-
},
|
|
8163
|
-
"value": {
|
|
8164
|
-
"description": "Inline license value",
|
|
8165
|
-
"exclusive": [
|
|
8166
|
-
"file",
|
|
8167
|
-
"clean"
|
|
8168
|
-
],
|
|
8169
|
-
"name": "value",
|
|
8170
|
-
"required": false,
|
|
8171
|
-
"hasDynamicHelp": false,
|
|
8172
|
-
"multiple": false,
|
|
8173
|
-
"type": "option"
|
|
8174
|
-
},
|
|
8175
|
-
"workspace": {
|
|
8176
|
-
"char": "w",
|
|
8177
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
8178
|
-
"name": "workspace",
|
|
8179
|
-
"required": false,
|
|
8180
|
-
"hasDynamicHelp": false,
|
|
8181
|
-
"multiple": false,
|
|
8182
|
-
"type": "option"
|
|
8183
|
-
}
|
|
8184
|
-
},
|
|
8185
|
-
"hasDynamicHelp": false,
|
|
8186
|
-
"hiddenAliases": [],
|
|
8187
|
-
"id": "tenant:license:set",
|
|
8188
|
-
"pluginAlias": "@xano/cli",
|
|
8189
|
-
"pluginName": "@xano/cli",
|
|
8190
|
-
"pluginType": "core",
|
|
8191
|
-
"strict": true,
|
|
8192
|
-
"enableJsonFlag": false,
|
|
8193
|
-
"isESM": true,
|
|
8194
|
-
"relativePath": [
|
|
8195
|
-
"dist",
|
|
8196
|
-
"commands",
|
|
8197
|
-
"tenant",
|
|
8198
|
-
"license",
|
|
8199
|
-
"set",
|
|
8200
|
-
"index.js"
|
|
8201
|
-
]
|
|
8202
|
-
},
|
|
8203
|
-
"tenant:unit_test:list": {
|
|
8204
|
-
"aliases": [],
|
|
8205
|
-
"args": {},
|
|
8206
|
-
"description": "List all unit tests for a tenant",
|
|
8207
|
-
"examples": [
|
|
8208
|
-
"$ xano tenant unit-test list -t my-tenant\nUnit tests for tenant my-tenant:\n - my-test (ID: abc-123) [function: math]\n",
|
|
8209
|
-
"$ xano tenant unit-test list -t my-tenant -w 5 -o json"
|
|
8210
|
-
],
|
|
8211
|
-
"flags": {
|
|
8212
|
-
"profile": {
|
|
8213
|
-
"char": "p",
|
|
8214
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
8215
|
-
"env": "XANO_PROFILE",
|
|
8216
|
-
"name": "profile",
|
|
8217
|
-
"required": false,
|
|
8218
|
-
"hasDynamicHelp": false,
|
|
8219
|
-
"multiple": false,
|
|
8220
|
-
"type": "option"
|
|
8221
|
-
},
|
|
8222
|
-
"verbose": {
|
|
8223
|
-
"char": "v",
|
|
8224
|
-
"description": "Show detailed request/response information",
|
|
8225
|
-
"env": "XANO_VERBOSE",
|
|
8226
|
-
"name": "verbose",
|
|
8227
|
-
"required": false,
|
|
8228
|
-
"allowNo": false,
|
|
8229
|
-
"type": "boolean"
|
|
8230
|
-
},
|
|
8231
|
-
"branch": {
|
|
8232
|
-
"char": "b",
|
|
8233
|
-
"description": "Filter by branch name",
|
|
8234
|
-
"name": "branch",
|
|
8235
|
-
"required": false,
|
|
8236
|
-
"hasDynamicHelp": false,
|
|
8237
|
-
"multiple": false,
|
|
8238
|
-
"type": "option"
|
|
8239
|
-
},
|
|
8240
|
-
"obj-type": {
|
|
8241
|
-
"description": "Filter by object type",
|
|
8242
|
-
"name": "obj-type",
|
|
8243
|
-
"required": false,
|
|
8244
|
-
"hasDynamicHelp": false,
|
|
8245
|
-
"multiple": false,
|
|
8246
|
-
"options": [
|
|
8247
|
-
"function",
|
|
8248
|
-
"query",
|
|
8249
|
-
"middleware"
|
|
8250
|
-
],
|
|
8186
|
+
"hasDynamicHelp": false,
|
|
8187
|
+
"multiple": false,
|
|
8251
8188
|
"type": "option"
|
|
8252
8189
|
},
|
|
8253
8190
|
"output": {
|
|
@@ -8264,11 +8201,14 @@
|
|
|
8264
8201
|
],
|
|
8265
8202
|
"type": "option"
|
|
8266
8203
|
},
|
|
8267
|
-
"
|
|
8268
|
-
"
|
|
8269
|
-
"
|
|
8270
|
-
|
|
8271
|
-
|
|
8204
|
+
"value": {
|
|
8205
|
+
"description": "Inline license value",
|
|
8206
|
+
"exclusive": [
|
|
8207
|
+
"file",
|
|
8208
|
+
"clean"
|
|
8209
|
+
],
|
|
8210
|
+
"name": "value",
|
|
8211
|
+
"required": false,
|
|
8272
8212
|
"hasDynamicHelp": false,
|
|
8273
8213
|
"multiple": false,
|
|
8274
8214
|
"type": "option"
|
|
@@ -8285,7 +8225,7 @@
|
|
|
8285
8225
|
},
|
|
8286
8226
|
"hasDynamicHelp": false,
|
|
8287
8227
|
"hiddenAliases": [],
|
|
8288
|
-
"id": "tenant:
|
|
8228
|
+
"id": "tenant:license:set",
|
|
8289
8229
|
"pluginAlias": "@xano/cli",
|
|
8290
8230
|
"pluginName": "@xano/cli",
|
|
8291
8231
|
"pluginType": "core",
|
|
@@ -8296,26 +8236,18 @@
|
|
|
8296
8236
|
"dist",
|
|
8297
8237
|
"commands",
|
|
8298
8238
|
"tenant",
|
|
8299
|
-
"
|
|
8300
|
-
"
|
|
8239
|
+
"license",
|
|
8240
|
+
"set",
|
|
8301
8241
|
"index.js"
|
|
8302
8242
|
]
|
|
8303
8243
|
},
|
|
8304
|
-
"tenant:
|
|
8244
|
+
"tenant:unit_test:list": {
|
|
8305
8245
|
"aliases": [],
|
|
8306
|
-
"args": {
|
|
8307
|
-
|
|
8308
|
-
"description": "Tenant name",
|
|
8309
|
-
"name": "tenant_name",
|
|
8310
|
-
"required": true
|
|
8311
|
-
}
|
|
8312
|
-
},
|
|
8313
|
-
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
8246
|
+
"args": {},
|
|
8247
|
+
"description": "List all unit tests for a tenant",
|
|
8314
8248
|
"examples": [
|
|
8315
|
-
"$ xano tenant
|
|
8316
|
-
"$ xano tenant
|
|
8317
|
-
"$ xano tenant env get_all my-tenant --view",
|
|
8318
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
8249
|
+
"$ xano tenant unit-test list -t my-tenant\nUnit tests for tenant my-tenant:\n - my-test (ID: abc-123) [function: math]\n",
|
|
8250
|
+
"$ xano tenant unit-test list -t my-tenant -w 5 -o json"
|
|
8319
8251
|
],
|
|
8320
8252
|
"flags": {
|
|
8321
8253
|
"profile": {
|
|
@@ -8337,13 +8269,26 @@
|
|
|
8337
8269
|
"allowNo": false,
|
|
8338
8270
|
"type": "boolean"
|
|
8339
8271
|
},
|
|
8340
|
-
"
|
|
8341
|
-
"char": "
|
|
8342
|
-
"description": "
|
|
8343
|
-
"name": "
|
|
8272
|
+
"branch": {
|
|
8273
|
+
"char": "b",
|
|
8274
|
+
"description": "Filter by branch name",
|
|
8275
|
+
"name": "branch",
|
|
8276
|
+
"required": false,
|
|
8277
|
+
"hasDynamicHelp": false,
|
|
8278
|
+
"multiple": false,
|
|
8279
|
+
"type": "option"
|
|
8280
|
+
},
|
|
8281
|
+
"obj-type": {
|
|
8282
|
+
"description": "Filter by object type",
|
|
8283
|
+
"name": "obj-type",
|
|
8344
8284
|
"required": false,
|
|
8345
8285
|
"hasDynamicHelp": false,
|
|
8346
8286
|
"multiple": false,
|
|
8287
|
+
"options": [
|
|
8288
|
+
"function",
|
|
8289
|
+
"query",
|
|
8290
|
+
"middleware"
|
|
8291
|
+
],
|
|
8347
8292
|
"type": "option"
|
|
8348
8293
|
},
|
|
8349
8294
|
"output": {
|
|
@@ -8360,12 +8305,14 @@
|
|
|
8360
8305
|
],
|
|
8361
8306
|
"type": "option"
|
|
8362
8307
|
},
|
|
8363
|
-
"
|
|
8364
|
-
"
|
|
8365
|
-
"
|
|
8366
|
-
"
|
|
8367
|
-
"
|
|
8368
|
-
"
|
|
8308
|
+
"tenant": {
|
|
8309
|
+
"char": "t",
|
|
8310
|
+
"description": "Tenant name",
|
|
8311
|
+
"name": "tenant",
|
|
8312
|
+
"required": true,
|
|
8313
|
+
"hasDynamicHelp": false,
|
|
8314
|
+
"multiple": false,
|
|
8315
|
+
"type": "option"
|
|
8369
8316
|
},
|
|
8370
8317
|
"workspace": {
|
|
8371
8318
|
"char": "w",
|
|
@@ -8379,7 +8326,7 @@
|
|
|
8379
8326
|
},
|
|
8380
8327
|
"hasDynamicHelp": false,
|
|
8381
8328
|
"hiddenAliases": [],
|
|
8382
|
-
"id": "tenant:
|
|
8329
|
+
"id": "tenant:unit_test:list",
|
|
8383
8330
|
"pluginAlias": "@xano/cli",
|
|
8384
8331
|
"pluginName": "@xano/cli",
|
|
8385
8332
|
"pluginType": "core",
|
|
@@ -8390,8 +8337,8 @@
|
|
|
8390
8337
|
"dist",
|
|
8391
8338
|
"commands",
|
|
8392
8339
|
"tenant",
|
|
8393
|
-
"
|
|
8394
|
-
"
|
|
8340
|
+
"unit_test",
|
|
8341
|
+
"list",
|
|
8395
8342
|
"index.js"
|
|
8396
8343
|
]
|
|
8397
8344
|
},
|
|
@@ -8936,13 +8883,20 @@
|
|
|
8936
8883
|
"index.js"
|
|
8937
8884
|
]
|
|
8938
8885
|
},
|
|
8939
|
-
"
|
|
8886
|
+
"static_host:build:create": {
|
|
8940
8887
|
"aliases": [],
|
|
8941
|
-
"args": {
|
|
8942
|
-
|
|
8888
|
+
"args": {
|
|
8889
|
+
"static_host": {
|
|
8890
|
+
"description": "Static Host name",
|
|
8891
|
+
"name": "static_host",
|
|
8892
|
+
"required": true
|
|
8893
|
+
}
|
|
8894
|
+
},
|
|
8895
|
+
"description": "Create a new build for a static host",
|
|
8943
8896
|
"examples": [
|
|
8944
|
-
"$ xano
|
|
8945
|
-
"$ xano
|
|
8897
|
+
"$ xano static_host:build:create default -f ./build.zip -n \"v1.0.0\"\nBuild created successfully!\nID: 123\nName: v1.0.0\nStatus: pending\n",
|
|
8898
|
+
"$ xano static_host:build:create default -w 40 -f ./dist.zip -n \"production\" -d \"Production build\"\nBuild created successfully!\nID: 124\nName: production\nDescription: Production build\n",
|
|
8899
|
+
"$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
|
|
8946
8900
|
],
|
|
8947
8901
|
"flags": {
|
|
8948
8902
|
"profile": {
|
|
@@ -8964,26 +8918,31 @@
|
|
|
8964
8918
|
"allowNo": false,
|
|
8965
8919
|
"type": "boolean"
|
|
8966
8920
|
},
|
|
8967
|
-
"
|
|
8968
|
-
"char": "
|
|
8969
|
-
"description": "
|
|
8970
|
-
"name": "
|
|
8921
|
+
"description": {
|
|
8922
|
+
"char": "d",
|
|
8923
|
+
"description": "Build description",
|
|
8924
|
+
"name": "description",
|
|
8971
8925
|
"required": false,
|
|
8972
8926
|
"hasDynamicHelp": false,
|
|
8973
8927
|
"multiple": false,
|
|
8974
8928
|
"type": "option"
|
|
8975
8929
|
},
|
|
8976
|
-
"
|
|
8977
|
-
"
|
|
8978
|
-
"
|
|
8979
|
-
"
|
|
8930
|
+
"file": {
|
|
8931
|
+
"char": "f",
|
|
8932
|
+
"description": "Path to zip file to upload",
|
|
8933
|
+
"name": "file",
|
|
8934
|
+
"required": true,
|
|
8935
|
+
"hasDynamicHelp": false,
|
|
8936
|
+
"multiple": false,
|
|
8937
|
+
"type": "option"
|
|
8938
|
+
},
|
|
8939
|
+
"name": {
|
|
8940
|
+
"char": "n",
|
|
8941
|
+
"description": "Build name",
|
|
8942
|
+
"name": "name",
|
|
8943
|
+
"required": true,
|
|
8980
8944
|
"hasDynamicHelp": false,
|
|
8981
8945
|
"multiple": false,
|
|
8982
|
-
"options": [
|
|
8983
|
-
"function",
|
|
8984
|
-
"query",
|
|
8985
|
-
"middleware"
|
|
8986
|
-
],
|
|
8987
8946
|
"type": "option"
|
|
8988
8947
|
},
|
|
8989
8948
|
"output": {
|
|
@@ -8999,11 +8958,20 @@
|
|
|
8999
8958
|
"json"
|
|
9000
8959
|
],
|
|
9001
8960
|
"type": "option"
|
|
8961
|
+
},
|
|
8962
|
+
"workspace": {
|
|
8963
|
+
"char": "w",
|
|
8964
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
8965
|
+
"name": "workspace",
|
|
8966
|
+
"required": false,
|
|
8967
|
+
"hasDynamicHelp": false,
|
|
8968
|
+
"multiple": false,
|
|
8969
|
+
"type": "option"
|
|
9002
8970
|
}
|
|
9003
8971
|
},
|
|
9004
8972
|
"hasDynamicHelp": false,
|
|
9005
8973
|
"hiddenAliases": [],
|
|
9006
|
-
"id": "
|
|
8974
|
+
"id": "static_host:build:create",
|
|
9007
8975
|
"pluginAlias": "@xano/cli",
|
|
9008
8976
|
"pluginName": "@xano/cli",
|
|
9009
8977
|
"pluginType": "core",
|
|
@@ -9013,25 +8981,32 @@
|
|
|
9013
8981
|
"relativePath": [
|
|
9014
8982
|
"dist",
|
|
9015
8983
|
"commands",
|
|
9016
|
-
"
|
|
9017
|
-
"
|
|
9018
|
-
"
|
|
8984
|
+
"static_host",
|
|
8985
|
+
"build",
|
|
8986
|
+
"create",
|
|
9019
8987
|
"index.js"
|
|
9020
8988
|
]
|
|
9021
8989
|
},
|
|
9022
|
-
"
|
|
8990
|
+
"static_host:build:get": {
|
|
9023
8991
|
"aliases": [],
|
|
9024
8992
|
"args": {
|
|
9025
|
-
"
|
|
9026
|
-
"description": "ID
|
|
9027
|
-
"name": "
|
|
8993
|
+
"build_id": {
|
|
8994
|
+
"description": "Build ID",
|
|
8995
|
+
"name": "build_id",
|
|
8996
|
+
"required": true
|
|
8997
|
+
},
|
|
8998
|
+
"static_host": {
|
|
8999
|
+
"description": "Static Host name",
|
|
9000
|
+
"name": "static_host",
|
|
9028
9001
|
"required": true
|
|
9029
9002
|
}
|
|
9030
9003
|
},
|
|
9031
|
-
"description": "
|
|
9004
|
+
"description": "Get details of a specific build for a static host",
|
|
9032
9005
|
"examples": [
|
|
9033
|
-
"$ xano
|
|
9034
|
-
"$ xano
|
|
9006
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
9007
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
9008
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
9009
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
9035
9010
|
],
|
|
9036
9011
|
"flags": {
|
|
9037
9012
|
"profile": {
|
|
@@ -9066,11 +9041,20 @@
|
|
|
9066
9041
|
"json"
|
|
9067
9042
|
],
|
|
9068
9043
|
"type": "option"
|
|
9044
|
+
},
|
|
9045
|
+
"workspace": {
|
|
9046
|
+
"char": "w",
|
|
9047
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
9048
|
+
"name": "workspace",
|
|
9049
|
+
"required": false,
|
|
9050
|
+
"hasDynamicHelp": false,
|
|
9051
|
+
"multiple": false,
|
|
9052
|
+
"type": "option"
|
|
9069
9053
|
}
|
|
9070
9054
|
},
|
|
9071
9055
|
"hasDynamicHelp": false,
|
|
9072
9056
|
"hiddenAliases": [],
|
|
9073
|
-
"id": "
|
|
9057
|
+
"id": "static_host:build:get",
|
|
9074
9058
|
"pluginAlias": "@xano/cli",
|
|
9075
9059
|
"pluginName": "@xano/cli",
|
|
9076
9060
|
"pluginType": "core",
|
|
@@ -9080,19 +9064,27 @@
|
|
|
9080
9064
|
"relativePath": [
|
|
9081
9065
|
"dist",
|
|
9082
9066
|
"commands",
|
|
9083
|
-
"
|
|
9084
|
-
"
|
|
9085
|
-
"
|
|
9067
|
+
"static_host",
|
|
9068
|
+
"build",
|
|
9069
|
+
"get",
|
|
9086
9070
|
"index.js"
|
|
9087
9071
|
]
|
|
9088
9072
|
},
|
|
9089
|
-
"
|
|
9073
|
+
"static_host:build:list": {
|
|
9090
9074
|
"aliases": [],
|
|
9091
|
-
"args": {
|
|
9092
|
-
|
|
9075
|
+
"args": {
|
|
9076
|
+
"static_host": {
|
|
9077
|
+
"description": "Static Host name",
|
|
9078
|
+
"name": "static_host",
|
|
9079
|
+
"required": true
|
|
9080
|
+
}
|
|
9081
|
+
},
|
|
9082
|
+
"description": "List all builds for a static host",
|
|
9093
9083
|
"examples": [
|
|
9094
|
-
"$ xano
|
|
9095
|
-
"$ xano
|
|
9084
|
+
"$ xano static_host:build:list default -w 40\nAvailable builds:\n - v1.0.0 (ID: 1) - Status: completed\n - v1.0.1 (ID: 2) - Status: pending\n",
|
|
9085
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
9086
|
+
"$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
|
|
9087
|
+
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
9096
9088
|
],
|
|
9097
9089
|
"flags": {
|
|
9098
9090
|
"profile": {
|
|
@@ -9114,46 +9106,51 @@
|
|
|
9114
9106
|
"allowNo": false,
|
|
9115
9107
|
"type": "boolean"
|
|
9116
9108
|
},
|
|
9117
|
-
"
|
|
9118
|
-
"char": "
|
|
9119
|
-
"description": "
|
|
9120
|
-
"name": "
|
|
9109
|
+
"output": {
|
|
9110
|
+
"char": "o",
|
|
9111
|
+
"description": "Output format",
|
|
9112
|
+
"name": "output",
|
|
9121
9113
|
"required": false,
|
|
9114
|
+
"default": "summary",
|
|
9122
9115
|
"hasDynamicHelp": false,
|
|
9123
9116
|
"multiple": false,
|
|
9117
|
+
"options": [
|
|
9118
|
+
"summary",
|
|
9119
|
+
"json"
|
|
9120
|
+
],
|
|
9124
9121
|
"type": "option"
|
|
9125
9122
|
},
|
|
9126
|
-
"
|
|
9127
|
-
"description": "
|
|
9128
|
-
"name": "
|
|
9123
|
+
"page": {
|
|
9124
|
+
"description": "Page number for pagination",
|
|
9125
|
+
"name": "page",
|
|
9129
9126
|
"required": false,
|
|
9127
|
+
"default": 1,
|
|
9130
9128
|
"hasDynamicHelp": false,
|
|
9131
9129
|
"multiple": false,
|
|
9132
|
-
"options": [
|
|
9133
|
-
"function",
|
|
9134
|
-
"query",
|
|
9135
|
-
"middleware"
|
|
9136
|
-
],
|
|
9137
9130
|
"type": "option"
|
|
9138
9131
|
},
|
|
9139
|
-
"
|
|
9140
|
-
"
|
|
9141
|
-
"
|
|
9142
|
-
"
|
|
9132
|
+
"per_page": {
|
|
9133
|
+
"description": "Number of results per page",
|
|
9134
|
+
"name": "per_page",
|
|
9135
|
+
"required": false,
|
|
9136
|
+
"default": 50,
|
|
9137
|
+
"hasDynamicHelp": false,
|
|
9138
|
+
"multiple": false,
|
|
9139
|
+
"type": "option"
|
|
9140
|
+
},
|
|
9141
|
+
"workspace": {
|
|
9142
|
+
"char": "w",
|
|
9143
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
9144
|
+
"name": "workspace",
|
|
9143
9145
|
"required": false,
|
|
9144
|
-
"default": "summary",
|
|
9145
9146
|
"hasDynamicHelp": false,
|
|
9146
9147
|
"multiple": false,
|
|
9147
|
-
"options": [
|
|
9148
|
-
"summary",
|
|
9149
|
-
"json"
|
|
9150
|
-
],
|
|
9151
9148
|
"type": "option"
|
|
9152
9149
|
}
|
|
9153
9150
|
},
|
|
9154
9151
|
"hasDynamicHelp": false,
|
|
9155
9152
|
"hiddenAliases": [],
|
|
9156
|
-
"id": "
|
|
9153
|
+
"id": "static_host:build:list",
|
|
9157
9154
|
"pluginAlias": "@xano/cli",
|
|
9158
9155
|
"pluginName": "@xano/cli",
|
|
9159
9156
|
"pluginType": "core",
|
|
@@ -9163,9 +9160,9 @@
|
|
|
9163
9160
|
"relativePath": [
|
|
9164
9161
|
"dist",
|
|
9165
9162
|
"commands",
|
|
9166
|
-
"
|
|
9167
|
-
"
|
|
9168
|
-
"
|
|
9163
|
+
"static_host",
|
|
9164
|
+
"build",
|
|
9165
|
+
"list",
|
|
9169
9166
|
"index.js"
|
|
9170
9167
|
]
|
|
9171
9168
|
},
|
|
@@ -9360,5 +9357,5 @@
|
|
|
9360
9357
|
]
|
|
9361
9358
|
}
|
|
9362
9359
|
},
|
|
9363
|
-
"version": "0.0.95-beta.
|
|
9360
|
+
"version": "0.0.95-beta.17"
|
|
9364
9361
|
}
|