@xano/cli 0.0.90 → 0.0.92
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/README.md +4 -1
- package/dist/commands/workspace/push/index.d.ts +1 -1
- package/dist/commands/workspace/push/index.js +12 -12
- package/oclif.manifest.json +1146 -1146
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -394,20 +394,20 @@
|
|
|
394
394
|
"index.js"
|
|
395
395
|
]
|
|
396
396
|
},
|
|
397
|
-
"branch:
|
|
397
|
+
"branch:get": {
|
|
398
398
|
"aliases": [],
|
|
399
399
|
"args": {
|
|
400
|
-
"
|
|
401
|
-
"description": "
|
|
402
|
-
"name": "
|
|
403
|
-
"required":
|
|
400
|
+
"branch_label": {
|
|
401
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
402
|
+
"name": "branch_label",
|
|
403
|
+
"required": true
|
|
404
404
|
}
|
|
405
405
|
},
|
|
406
|
-
"description": "
|
|
406
|
+
"description": "Get details for a specific branch",
|
|
407
407
|
"examples": [
|
|
408
|
-
"$ xano branch
|
|
409
|
-
"$ xano branch
|
|
410
|
-
"$ xano branch
|
|
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
411
|
],
|
|
412
412
|
"flags": {
|
|
413
413
|
"profile": {
|
|
@@ -442,11 +442,20 @@
|
|
|
442
442
|
"json"
|
|
443
443
|
],
|
|
444
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"
|
|
445
454
|
}
|
|
446
455
|
},
|
|
447
456
|
"hasDynamicHelp": false,
|
|
448
457
|
"hiddenAliases": [],
|
|
449
|
-
"id": "branch:
|
|
458
|
+
"id": "branch:get",
|
|
450
459
|
"pluginAlias": "@xano/cli",
|
|
451
460
|
"pluginName": "@xano/cli",
|
|
452
461
|
"pluginType": "core",
|
|
@@ -457,7 +466,7 @@
|
|
|
457
466
|
"dist",
|
|
458
467
|
"commands",
|
|
459
468
|
"branch",
|
|
460
|
-
"
|
|
469
|
+
"get",
|
|
461
470
|
"index.js"
|
|
462
471
|
]
|
|
463
472
|
},
|
|
@@ -770,15 +779,23 @@
|
|
|
770
779
|
"index.js"
|
|
771
780
|
]
|
|
772
781
|
},
|
|
773
|
-
"function:
|
|
782
|
+
"function:get": {
|
|
774
783
|
"aliases": [],
|
|
775
|
-
"args": {
|
|
776
|
-
|
|
784
|
+
"args": {
|
|
785
|
+
"function_id": {
|
|
786
|
+
"description": "Function ID",
|
|
787
|
+
"name": "function_id",
|
|
788
|
+
"required": false
|
|
789
|
+
}
|
|
790
|
+
},
|
|
791
|
+
"description": "Get a specific function from a workspace",
|
|
777
792
|
"examples": [
|
|
778
|
-
"$ xano function:
|
|
779
|
-
"$ xano function:
|
|
780
|
-
"$ xano function:
|
|
781
|
-
"$ xano function:
|
|
793
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
794
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
795
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
796
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
797
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
798
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
782
799
|
],
|
|
783
800
|
"flags": {
|
|
784
801
|
"profile": {
|
|
@@ -801,7 +818,7 @@
|
|
|
801
818
|
"type": "boolean"
|
|
802
819
|
},
|
|
803
820
|
"include_draft": {
|
|
804
|
-
"description": "Include draft
|
|
821
|
+
"description": "Include draft version",
|
|
805
822
|
"name": "include_draft",
|
|
806
823
|
"required": false,
|
|
807
824
|
"allowNo": false,
|
|
@@ -814,19 +831,6 @@
|
|
|
814
831
|
"allowNo": false,
|
|
815
832
|
"type": "boolean"
|
|
816
833
|
},
|
|
817
|
-
"order": {
|
|
818
|
-
"description": "Sort order",
|
|
819
|
-
"name": "order",
|
|
820
|
-
"required": false,
|
|
821
|
-
"default": "desc",
|
|
822
|
-
"hasDynamicHelp": false,
|
|
823
|
-
"multiple": false,
|
|
824
|
-
"options": [
|
|
825
|
-
"asc",
|
|
826
|
-
"desc"
|
|
827
|
-
],
|
|
828
|
-
"type": "option"
|
|
829
|
-
},
|
|
830
834
|
"output": {
|
|
831
835
|
"char": "o",
|
|
832
836
|
"description": "Output format",
|
|
@@ -837,37 +841,11 @@
|
|
|
837
841
|
"multiple": false,
|
|
838
842
|
"options": [
|
|
839
843
|
"summary",
|
|
840
|
-
"json"
|
|
844
|
+
"json",
|
|
845
|
+
"xs"
|
|
841
846
|
],
|
|
842
847
|
"type": "option"
|
|
843
848
|
},
|
|
844
|
-
"page": {
|
|
845
|
-
"description": "Page number for pagination",
|
|
846
|
-
"name": "page",
|
|
847
|
-
"required": false,
|
|
848
|
-
"default": 1,
|
|
849
|
-
"hasDynamicHelp": false,
|
|
850
|
-
"multiple": false,
|
|
851
|
-
"type": "option"
|
|
852
|
-
},
|
|
853
|
-
"per_page": {
|
|
854
|
-
"description": "Number of results per page",
|
|
855
|
-
"name": "per_page",
|
|
856
|
-
"required": false,
|
|
857
|
-
"default": 50,
|
|
858
|
-
"hasDynamicHelp": false,
|
|
859
|
-
"multiple": false,
|
|
860
|
-
"type": "option"
|
|
861
|
-
},
|
|
862
|
-
"sort": {
|
|
863
|
-
"description": "Sort field",
|
|
864
|
-
"name": "sort",
|
|
865
|
-
"required": false,
|
|
866
|
-
"default": "created_at",
|
|
867
|
-
"hasDynamicHelp": false,
|
|
868
|
-
"multiple": false,
|
|
869
|
-
"type": "option"
|
|
870
|
-
},
|
|
871
849
|
"workspace": {
|
|
872
850
|
"char": "w",
|
|
873
851
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -880,7 +858,7 @@
|
|
|
880
858
|
},
|
|
881
859
|
"hasDynamicHelp": false,
|
|
882
860
|
"hiddenAliases": [],
|
|
883
|
-
"id": "function:
|
|
861
|
+
"id": "function:get",
|
|
884
862
|
"pluginAlias": "@xano/cli",
|
|
885
863
|
"pluginName": "@xano/cli",
|
|
886
864
|
"pluginType": "core",
|
|
@@ -891,27 +869,19 @@
|
|
|
891
869
|
"dist",
|
|
892
870
|
"commands",
|
|
893
871
|
"function",
|
|
894
|
-
"
|
|
872
|
+
"get",
|
|
895
873
|
"index.js"
|
|
896
874
|
]
|
|
897
875
|
},
|
|
898
|
-
"function:
|
|
876
|
+
"function:list": {
|
|
899
877
|
"aliases": [],
|
|
900
|
-
"args": {
|
|
901
|
-
|
|
902
|
-
"description": "Function ID",
|
|
903
|
-
"name": "function_id",
|
|
904
|
-
"required": false
|
|
905
|
-
}
|
|
906
|
-
},
|
|
907
|
-
"description": "Get a specific function from a workspace",
|
|
878
|
+
"args": {},
|
|
879
|
+
"description": "List all functions in a workspace from the Xano Metadata API",
|
|
908
880
|
"examples": [
|
|
909
|
-
"$ xano function:
|
|
910
|
-
"$ xano function:
|
|
911
|
-
"$ xano function:
|
|
912
|
-
"$ xano function:
|
|
913
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
914
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
881
|
+
"$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
|
|
882
|
+
"$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
|
|
883
|
+
"$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
|
|
884
|
+
"$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
|
|
915
885
|
],
|
|
916
886
|
"flags": {
|
|
917
887
|
"profile": {
|
|
@@ -934,7 +904,7 @@
|
|
|
934
904
|
"type": "boolean"
|
|
935
905
|
},
|
|
936
906
|
"include_draft": {
|
|
937
|
-
"description": "Include draft
|
|
907
|
+
"description": "Include draft functions",
|
|
938
908
|
"name": "include_draft",
|
|
939
909
|
"required": false,
|
|
940
910
|
"allowNo": false,
|
|
@@ -947,6 +917,19 @@
|
|
|
947
917
|
"allowNo": false,
|
|
948
918
|
"type": "boolean"
|
|
949
919
|
},
|
|
920
|
+
"order": {
|
|
921
|
+
"description": "Sort order",
|
|
922
|
+
"name": "order",
|
|
923
|
+
"required": false,
|
|
924
|
+
"default": "desc",
|
|
925
|
+
"hasDynamicHelp": false,
|
|
926
|
+
"multiple": false,
|
|
927
|
+
"options": [
|
|
928
|
+
"asc",
|
|
929
|
+
"desc"
|
|
930
|
+
],
|
|
931
|
+
"type": "option"
|
|
932
|
+
},
|
|
950
933
|
"output": {
|
|
951
934
|
"char": "o",
|
|
952
935
|
"description": "Output format",
|
|
@@ -957,110 +940,40 @@
|
|
|
957
940
|
"multiple": false,
|
|
958
941
|
"options": [
|
|
959
942
|
"summary",
|
|
960
|
-
"json"
|
|
961
|
-
"xs"
|
|
943
|
+
"json"
|
|
962
944
|
],
|
|
963
945
|
"type": "option"
|
|
964
946
|
},
|
|
965
|
-
"
|
|
966
|
-
"
|
|
967
|
-
"
|
|
968
|
-
"name": "workspace",
|
|
969
|
-
"required": false,
|
|
970
|
-
"hasDynamicHelp": false,
|
|
971
|
-
"multiple": false,
|
|
972
|
-
"type": "option"
|
|
973
|
-
}
|
|
974
|
-
},
|
|
975
|
-
"hasDynamicHelp": false,
|
|
976
|
-
"hiddenAliases": [],
|
|
977
|
-
"id": "function:get",
|
|
978
|
-
"pluginAlias": "@xano/cli",
|
|
979
|
-
"pluginName": "@xano/cli",
|
|
980
|
-
"pluginType": "core",
|
|
981
|
-
"strict": true,
|
|
982
|
-
"enableJsonFlag": false,
|
|
983
|
-
"isESM": true,
|
|
984
|
-
"relativePath": [
|
|
985
|
-
"dist",
|
|
986
|
-
"commands",
|
|
987
|
-
"function",
|
|
988
|
-
"get",
|
|
989
|
-
"index.js"
|
|
990
|
-
]
|
|
991
|
-
},
|
|
992
|
-
"profile:create": {
|
|
993
|
-
"aliases": [],
|
|
994
|
-
"args": {
|
|
995
|
-
"name": {
|
|
996
|
-
"description": "Profile name",
|
|
997
|
-
"name": "name",
|
|
998
|
-
"required": true
|
|
999
|
-
}
|
|
1000
|
-
},
|
|
1001
|
-
"description": "Create a new profile configuration",
|
|
1002
|
-
"examples": [
|
|
1003
|
-
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
|
|
1004
|
-
"$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
|
|
1005
|
-
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
1006
|
-
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n",
|
|
1007
|
-
"$ xano profile:create selfhosted -i https://self-signed.example.com -t token123 --insecure\nProfile 'selfhosted' created successfully at ~/.xano/credentials.yaml\n"
|
|
1008
|
-
],
|
|
1009
|
-
"flags": {
|
|
1010
|
-
"access_token": {
|
|
1011
|
-
"char": "t",
|
|
1012
|
-
"description": "Access token for the Xano Metadata API",
|
|
1013
|
-
"name": "access_token",
|
|
1014
|
-
"required": true,
|
|
1015
|
-
"hasDynamicHelp": false,
|
|
1016
|
-
"multiple": false,
|
|
1017
|
-
"type": "option"
|
|
1018
|
-
},
|
|
1019
|
-
"account_origin": {
|
|
1020
|
-
"char": "a",
|
|
1021
|
-
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1022
|
-
"name": "account_origin",
|
|
947
|
+
"page": {
|
|
948
|
+
"description": "Page number for pagination",
|
|
949
|
+
"name": "page",
|
|
1023
950
|
"required": false,
|
|
951
|
+
"default": 1,
|
|
1024
952
|
"hasDynamicHelp": false,
|
|
1025
953
|
"multiple": false,
|
|
1026
954
|
"type": "option"
|
|
1027
955
|
},
|
|
1028
|
-
"
|
|
1029
|
-
"
|
|
1030
|
-
"
|
|
1031
|
-
"name": "branch",
|
|
956
|
+
"per_page": {
|
|
957
|
+
"description": "Number of results per page",
|
|
958
|
+
"name": "per_page",
|
|
1032
959
|
"required": false,
|
|
960
|
+
"default": 50,
|
|
1033
961
|
"hasDynamicHelp": false,
|
|
1034
962
|
"multiple": false,
|
|
1035
963
|
"type": "option"
|
|
1036
964
|
},
|
|
1037
|
-
"
|
|
1038
|
-
"description": "
|
|
1039
|
-
"name": "
|
|
1040
|
-
"required": false,
|
|
1041
|
-
"allowNo": false,
|
|
1042
|
-
"type": "boolean"
|
|
1043
|
-
},
|
|
1044
|
-
"insecure": {
|
|
1045
|
-
"char": "k",
|
|
1046
|
-
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1047
|
-
"name": "insecure",
|
|
965
|
+
"sort": {
|
|
966
|
+
"description": "Sort field",
|
|
967
|
+
"name": "sort",
|
|
1048
968
|
"required": false,
|
|
1049
|
-
"
|
|
1050
|
-
"type": "boolean"
|
|
1051
|
-
},
|
|
1052
|
-
"instance_origin": {
|
|
1053
|
-
"char": "i",
|
|
1054
|
-
"description": "Instance origin URL",
|
|
1055
|
-
"name": "instance_origin",
|
|
1056
|
-
"required": true,
|
|
969
|
+
"default": "created_at",
|
|
1057
970
|
"hasDynamicHelp": false,
|
|
1058
971
|
"multiple": false,
|
|
1059
972
|
"type": "option"
|
|
1060
973
|
},
|
|
1061
974
|
"workspace": {
|
|
1062
975
|
"char": "w",
|
|
1063
|
-
"description": "Workspace
|
|
976
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1064
977
|
"name": "workspace",
|
|
1065
978
|
"required": false,
|
|
1066
979
|
"hasDynamicHelp": false,
|
|
@@ -1070,7 +983,7 @@
|
|
|
1070
983
|
},
|
|
1071
984
|
"hasDynamicHelp": false,
|
|
1072
985
|
"hiddenAliases": [],
|
|
1073
|
-
"id": "
|
|
986
|
+
"id": "function:list",
|
|
1074
987
|
"pluginAlias": "@xano/cli",
|
|
1075
988
|
"pluginName": "@xano/cli",
|
|
1076
989
|
"pluginType": "core",
|
|
@@ -1080,8 +993,8 @@
|
|
|
1080
993
|
"relativePath": [
|
|
1081
994
|
"dist",
|
|
1082
995
|
"commands",
|
|
1083
|
-
"
|
|
1084
|
-
"
|
|
996
|
+
"function",
|
|
997
|
+
"list",
|
|
1085
998
|
"index.js"
|
|
1086
999
|
]
|
|
1087
1000
|
},
|
|
@@ -1211,24 +1124,120 @@
|
|
|
1211
1124
|
"index.js"
|
|
1212
1125
|
]
|
|
1213
1126
|
},
|
|
1214
|
-
"profile:
|
|
1127
|
+
"profile:create": {
|
|
1215
1128
|
"aliases": [],
|
|
1216
1129
|
"args": {
|
|
1217
1130
|
"name": {
|
|
1218
|
-
"description": "Profile name
|
|
1131
|
+
"description": "Profile name",
|
|
1219
1132
|
"name": "name",
|
|
1220
1133
|
"required": true
|
|
1221
1134
|
}
|
|
1222
1135
|
},
|
|
1223
|
-
"description": "
|
|
1136
|
+
"description": "Create a new profile configuration",
|
|
1224
1137
|
"examples": [
|
|
1225
|
-
"$ xano profile:
|
|
1226
|
-
"$ xano profile:
|
|
1227
|
-
"$ xano profile:
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1138
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
|
|
1139
|
+
"$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
|
|
1140
|
+
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
1141
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n",
|
|
1142
|
+
"$ xano profile:create selfhosted -i https://self-signed.example.com -t token123 --insecure\nProfile 'selfhosted' created successfully at ~/.xano/credentials.yaml\n"
|
|
1143
|
+
],
|
|
1144
|
+
"flags": {
|
|
1145
|
+
"access_token": {
|
|
1146
|
+
"char": "t",
|
|
1147
|
+
"description": "Access token for the Xano Metadata API",
|
|
1148
|
+
"name": "access_token",
|
|
1149
|
+
"required": true,
|
|
1150
|
+
"hasDynamicHelp": false,
|
|
1151
|
+
"multiple": false,
|
|
1152
|
+
"type": "option"
|
|
1153
|
+
},
|
|
1154
|
+
"account_origin": {
|
|
1155
|
+
"char": "a",
|
|
1156
|
+
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1157
|
+
"name": "account_origin",
|
|
1158
|
+
"required": false,
|
|
1159
|
+
"hasDynamicHelp": false,
|
|
1160
|
+
"multiple": false,
|
|
1161
|
+
"type": "option"
|
|
1162
|
+
},
|
|
1163
|
+
"branch": {
|
|
1164
|
+
"char": "b",
|
|
1165
|
+
"description": "Branch name",
|
|
1166
|
+
"name": "branch",
|
|
1167
|
+
"required": false,
|
|
1168
|
+
"hasDynamicHelp": false,
|
|
1169
|
+
"multiple": false,
|
|
1170
|
+
"type": "option"
|
|
1171
|
+
},
|
|
1172
|
+
"default": {
|
|
1173
|
+
"description": "Set this profile as the default",
|
|
1174
|
+
"name": "default",
|
|
1175
|
+
"required": false,
|
|
1176
|
+
"allowNo": false,
|
|
1177
|
+
"type": "boolean"
|
|
1178
|
+
},
|
|
1179
|
+
"insecure": {
|
|
1180
|
+
"char": "k",
|
|
1181
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1182
|
+
"name": "insecure",
|
|
1183
|
+
"required": false,
|
|
1184
|
+
"allowNo": false,
|
|
1185
|
+
"type": "boolean"
|
|
1186
|
+
},
|
|
1187
|
+
"instance_origin": {
|
|
1188
|
+
"char": "i",
|
|
1189
|
+
"description": "Instance origin URL",
|
|
1190
|
+
"name": "instance_origin",
|
|
1191
|
+
"required": true,
|
|
1192
|
+
"hasDynamicHelp": false,
|
|
1193
|
+
"multiple": false,
|
|
1194
|
+
"type": "option"
|
|
1195
|
+
},
|
|
1196
|
+
"workspace": {
|
|
1197
|
+
"char": "w",
|
|
1198
|
+
"description": "Workspace name",
|
|
1199
|
+
"name": "workspace",
|
|
1200
|
+
"required": false,
|
|
1201
|
+
"hasDynamicHelp": false,
|
|
1202
|
+
"multiple": false,
|
|
1203
|
+
"type": "option"
|
|
1204
|
+
}
|
|
1205
|
+
},
|
|
1206
|
+
"hasDynamicHelp": false,
|
|
1207
|
+
"hiddenAliases": [],
|
|
1208
|
+
"id": "profile:create",
|
|
1209
|
+
"pluginAlias": "@xano/cli",
|
|
1210
|
+
"pluginName": "@xano/cli",
|
|
1211
|
+
"pluginType": "core",
|
|
1212
|
+
"strict": true,
|
|
1213
|
+
"enableJsonFlag": false,
|
|
1214
|
+
"isESM": true,
|
|
1215
|
+
"relativePath": [
|
|
1216
|
+
"dist",
|
|
1217
|
+
"commands",
|
|
1218
|
+
"profile",
|
|
1219
|
+
"create",
|
|
1220
|
+
"index.js"
|
|
1221
|
+
]
|
|
1222
|
+
},
|
|
1223
|
+
"profile:delete": {
|
|
1224
|
+
"aliases": [],
|
|
1225
|
+
"args": {
|
|
1226
|
+
"name": {
|
|
1227
|
+
"description": "Profile name to delete",
|
|
1228
|
+
"name": "name",
|
|
1229
|
+
"required": true
|
|
1230
|
+
}
|
|
1231
|
+
},
|
|
1232
|
+
"description": "Delete a profile configuration",
|
|
1233
|
+
"examples": [
|
|
1234
|
+
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1235
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1236
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1237
|
+
],
|
|
1238
|
+
"flags": {
|
|
1239
|
+
"force": {
|
|
1240
|
+
"char": "f",
|
|
1232
1241
|
"description": "Skip confirmation prompt",
|
|
1233
1242
|
"name": "force",
|
|
1234
1243
|
"required": false,
|
|
@@ -1562,85 +1571,6 @@
|
|
|
1562
1571
|
"index.js"
|
|
1563
1572
|
]
|
|
1564
1573
|
},
|
|
1565
|
-
"profile:wizard": {
|
|
1566
|
-
"aliases": [],
|
|
1567
|
-
"args": {},
|
|
1568
|
-
"description": "Create a new profile configuration using an interactive wizard",
|
|
1569
|
-
"examples": [
|
|
1570
|
-
"$ 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"
|
|
1571
|
-
],
|
|
1572
|
-
"flags": {
|
|
1573
|
-
"insecure": {
|
|
1574
|
-
"char": "k",
|
|
1575
|
-
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1576
|
-
"name": "insecure",
|
|
1577
|
-
"required": false,
|
|
1578
|
-
"allowNo": false,
|
|
1579
|
-
"type": "boolean"
|
|
1580
|
-
},
|
|
1581
|
-
"name": {
|
|
1582
|
-
"char": "n",
|
|
1583
|
-
"description": "Profile name (skip prompt if provided)",
|
|
1584
|
-
"name": "name",
|
|
1585
|
-
"required": false,
|
|
1586
|
-
"hasDynamicHelp": false,
|
|
1587
|
-
"multiple": false,
|
|
1588
|
-
"type": "option"
|
|
1589
|
-
},
|
|
1590
|
-
"origin": {
|
|
1591
|
-
"char": "o",
|
|
1592
|
-
"description": "Xano instance origin URL",
|
|
1593
|
-
"name": "origin",
|
|
1594
|
-
"required": false,
|
|
1595
|
-
"default": "https://app.xano.com",
|
|
1596
|
-
"hasDynamicHelp": false,
|
|
1597
|
-
"multiple": false,
|
|
1598
|
-
"type": "option"
|
|
1599
|
-
}
|
|
1600
|
-
},
|
|
1601
|
-
"hasDynamicHelp": false,
|
|
1602
|
-
"hiddenAliases": [],
|
|
1603
|
-
"id": "profile:wizard",
|
|
1604
|
-
"pluginAlias": "@xano/cli",
|
|
1605
|
-
"pluginName": "@xano/cli",
|
|
1606
|
-
"pluginType": "core",
|
|
1607
|
-
"strict": true,
|
|
1608
|
-
"enableJsonFlag": false,
|
|
1609
|
-
"isESM": true,
|
|
1610
|
-
"relativePath": [
|
|
1611
|
-
"dist",
|
|
1612
|
-
"commands",
|
|
1613
|
-
"profile",
|
|
1614
|
-
"wizard",
|
|
1615
|
-
"index.js"
|
|
1616
|
-
]
|
|
1617
|
-
},
|
|
1618
|
-
"profile:workspace": {
|
|
1619
|
-
"aliases": [],
|
|
1620
|
-
"args": {},
|
|
1621
|
-
"description": "Print the workspace ID for the default profile",
|
|
1622
|
-
"examples": [
|
|
1623
|
-
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1624
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1625
|
-
],
|
|
1626
|
-
"flags": {},
|
|
1627
|
-
"hasDynamicHelp": false,
|
|
1628
|
-
"hiddenAliases": [],
|
|
1629
|
-
"id": "profile:workspace",
|
|
1630
|
-
"pluginAlias": "@xano/cli",
|
|
1631
|
-
"pluginName": "@xano/cli",
|
|
1632
|
-
"pluginType": "core",
|
|
1633
|
-
"strict": true,
|
|
1634
|
-
"enableJsonFlag": false,
|
|
1635
|
-
"isESM": true,
|
|
1636
|
-
"relativePath": [
|
|
1637
|
-
"dist",
|
|
1638
|
-
"commands",
|
|
1639
|
-
"profile",
|
|
1640
|
-
"workspace",
|
|
1641
|
-
"index.js"
|
|
1642
|
-
]
|
|
1643
|
-
},
|
|
1644
1574
|
"release:create": {
|
|
1645
1575
|
"aliases": [],
|
|
1646
1576
|
"args": {},
|
|
@@ -1752,60 +1682,37 @@
|
|
|
1752
1682
|
"index.js"
|
|
1753
1683
|
]
|
|
1754
1684
|
},
|
|
1755
|
-
"
|
|
1685
|
+
"profile:wizard": {
|
|
1756
1686
|
"aliases": [],
|
|
1757
|
-
"args": {
|
|
1758
|
-
|
|
1759
|
-
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
1760
|
-
"name": "branch_label",
|
|
1761
|
-
"required": true
|
|
1762
|
-
}
|
|
1763
|
-
},
|
|
1764
|
-
"description": "Get details for a specific branch",
|
|
1687
|
+
"args": {},
|
|
1688
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
1765
1689
|
"examples": [
|
|
1766
|
-
"$ xano
|
|
1767
|
-
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
1768
|
-
"$ xano branch get staging --output json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
1690
|
+
"$ 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"
|
|
1769
1691
|
],
|
|
1770
1692
|
"flags": {
|
|
1771
|
-
"
|
|
1772
|
-
"char": "
|
|
1773
|
-
"description": "
|
|
1774
|
-
"
|
|
1775
|
-
"name": "profile",
|
|
1776
|
-
"required": false,
|
|
1777
|
-
"hasDynamicHelp": false,
|
|
1778
|
-
"multiple": false,
|
|
1779
|
-
"type": "option"
|
|
1780
|
-
},
|
|
1781
|
-
"verbose": {
|
|
1782
|
-
"char": "v",
|
|
1783
|
-
"description": "Show detailed request/response information",
|
|
1784
|
-
"env": "XANO_VERBOSE",
|
|
1785
|
-
"name": "verbose",
|
|
1693
|
+
"insecure": {
|
|
1694
|
+
"char": "k",
|
|
1695
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1696
|
+
"name": "insecure",
|
|
1786
1697
|
"required": false,
|
|
1787
1698
|
"allowNo": false,
|
|
1788
1699
|
"type": "boolean"
|
|
1789
1700
|
},
|
|
1790
|
-
"
|
|
1791
|
-
"char": "
|
|
1792
|
-
"description": "
|
|
1793
|
-
"name": "
|
|
1701
|
+
"name": {
|
|
1702
|
+
"char": "n",
|
|
1703
|
+
"description": "Profile name (skip prompt if provided)",
|
|
1704
|
+
"name": "name",
|
|
1794
1705
|
"required": false,
|
|
1795
|
-
"default": "summary",
|
|
1796
1706
|
"hasDynamicHelp": false,
|
|
1797
1707
|
"multiple": false,
|
|
1798
|
-
"options": [
|
|
1799
|
-
"summary",
|
|
1800
|
-
"json"
|
|
1801
|
-
],
|
|
1802
1708
|
"type": "option"
|
|
1803
1709
|
},
|
|
1804
|
-
"
|
|
1805
|
-
"char": "
|
|
1806
|
-
"description": "
|
|
1807
|
-
"name": "
|
|
1710
|
+
"origin": {
|
|
1711
|
+
"char": "o",
|
|
1712
|
+
"description": "Xano instance origin URL",
|
|
1713
|
+
"name": "origin",
|
|
1808
1714
|
"required": false,
|
|
1715
|
+
"default": "https://app.xano.com",
|
|
1809
1716
|
"hasDynamicHelp": false,
|
|
1810
1717
|
"multiple": false,
|
|
1811
1718
|
"type": "option"
|
|
@@ -1813,7 +1720,7 @@
|
|
|
1813
1720
|
},
|
|
1814
1721
|
"hasDynamicHelp": false,
|
|
1815
1722
|
"hiddenAliases": [],
|
|
1816
|
-
"id": "
|
|
1723
|
+
"id": "profile:wizard",
|
|
1817
1724
|
"pluginAlias": "@xano/cli",
|
|
1818
1725
|
"pluginName": "@xano/cli",
|
|
1819
1726
|
"pluginType": "core",
|
|
@@ -1823,22 +1730,48 @@
|
|
|
1823
1730
|
"relativePath": [
|
|
1824
1731
|
"dist",
|
|
1825
1732
|
"commands",
|
|
1826
|
-
"
|
|
1827
|
-
"
|
|
1733
|
+
"profile",
|
|
1734
|
+
"wizard",
|
|
1828
1735
|
"index.js"
|
|
1829
1736
|
]
|
|
1830
1737
|
},
|
|
1831
|
-
"
|
|
1738
|
+
"profile:workspace": {
|
|
1832
1739
|
"aliases": [],
|
|
1833
|
-
"args": {
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
},
|
|
1840
|
-
"
|
|
1841
|
-
"
|
|
1740
|
+
"args": {},
|
|
1741
|
+
"description": "Print the workspace ID for the default profile",
|
|
1742
|
+
"examples": [
|
|
1743
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1744
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1745
|
+
],
|
|
1746
|
+
"flags": {},
|
|
1747
|
+
"hasDynamicHelp": false,
|
|
1748
|
+
"hiddenAliases": [],
|
|
1749
|
+
"id": "profile:workspace",
|
|
1750
|
+
"pluginAlias": "@xano/cli",
|
|
1751
|
+
"pluginName": "@xano/cli",
|
|
1752
|
+
"pluginType": "core",
|
|
1753
|
+
"strict": true,
|
|
1754
|
+
"enableJsonFlag": false,
|
|
1755
|
+
"isESM": true,
|
|
1756
|
+
"relativePath": [
|
|
1757
|
+
"dist",
|
|
1758
|
+
"commands",
|
|
1759
|
+
"profile",
|
|
1760
|
+
"workspace",
|
|
1761
|
+
"index.js"
|
|
1762
|
+
]
|
|
1763
|
+
},
|
|
1764
|
+
"release:delete": {
|
|
1765
|
+
"aliases": [],
|
|
1766
|
+
"args": {
|
|
1767
|
+
"release_name": {
|
|
1768
|
+
"description": "Release name to delete",
|
|
1769
|
+
"name": "release_name",
|
|
1770
|
+
"required": true
|
|
1771
|
+
}
|
|
1772
|
+
},
|
|
1773
|
+
"description": "Delete a release permanently. This action cannot be undone.",
|
|
1774
|
+
"examples": [
|
|
1842
1775
|
"$ 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",
|
|
1843
1776
|
"$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
|
|
1844
1777
|
"$ xano release delete v1.0 -f -o json"
|
|
@@ -2236,6 +2169,148 @@
|
|
|
2236
2169
|
"index.js"
|
|
2237
2170
|
]
|
|
2238
2171
|
},
|
|
2172
|
+
"release:get": {
|
|
2173
|
+
"aliases": [],
|
|
2174
|
+
"args": {
|
|
2175
|
+
"release_name": {
|
|
2176
|
+
"description": "Release name to retrieve",
|
|
2177
|
+
"name": "release_name",
|
|
2178
|
+
"required": true
|
|
2179
|
+
}
|
|
2180
|
+
},
|
|
2181
|
+
"description": "Get details of a specific release",
|
|
2182
|
+
"examples": [
|
|
2183
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2184
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
2185
|
+
],
|
|
2186
|
+
"flags": {
|
|
2187
|
+
"profile": {
|
|
2188
|
+
"char": "p",
|
|
2189
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2190
|
+
"env": "XANO_PROFILE",
|
|
2191
|
+
"name": "profile",
|
|
2192
|
+
"required": false,
|
|
2193
|
+
"hasDynamicHelp": false,
|
|
2194
|
+
"multiple": false,
|
|
2195
|
+
"type": "option"
|
|
2196
|
+
},
|
|
2197
|
+
"verbose": {
|
|
2198
|
+
"char": "v",
|
|
2199
|
+
"description": "Show detailed request/response information",
|
|
2200
|
+
"env": "XANO_VERBOSE",
|
|
2201
|
+
"name": "verbose",
|
|
2202
|
+
"required": false,
|
|
2203
|
+
"allowNo": false,
|
|
2204
|
+
"type": "boolean"
|
|
2205
|
+
},
|
|
2206
|
+
"output": {
|
|
2207
|
+
"char": "o",
|
|
2208
|
+
"description": "Output format",
|
|
2209
|
+
"name": "output",
|
|
2210
|
+
"required": false,
|
|
2211
|
+
"default": "summary",
|
|
2212
|
+
"hasDynamicHelp": false,
|
|
2213
|
+
"multiple": false,
|
|
2214
|
+
"options": [
|
|
2215
|
+
"summary",
|
|
2216
|
+
"json"
|
|
2217
|
+
],
|
|
2218
|
+
"type": "option"
|
|
2219
|
+
},
|
|
2220
|
+
"workspace": {
|
|
2221
|
+
"char": "w",
|
|
2222
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2223
|
+
"name": "workspace",
|
|
2224
|
+
"required": false,
|
|
2225
|
+
"hasDynamicHelp": false,
|
|
2226
|
+
"multiple": false,
|
|
2227
|
+
"type": "option"
|
|
2228
|
+
}
|
|
2229
|
+
},
|
|
2230
|
+
"hasDynamicHelp": false,
|
|
2231
|
+
"hiddenAliases": [],
|
|
2232
|
+
"id": "release:get",
|
|
2233
|
+
"pluginAlias": "@xano/cli",
|
|
2234
|
+
"pluginName": "@xano/cli",
|
|
2235
|
+
"pluginType": "core",
|
|
2236
|
+
"strict": true,
|
|
2237
|
+
"enableJsonFlag": false,
|
|
2238
|
+
"isESM": true,
|
|
2239
|
+
"relativePath": [
|
|
2240
|
+
"dist",
|
|
2241
|
+
"commands",
|
|
2242
|
+
"release",
|
|
2243
|
+
"get",
|
|
2244
|
+
"index.js"
|
|
2245
|
+
]
|
|
2246
|
+
},
|
|
2247
|
+
"branch:list": {
|
|
2248
|
+
"aliases": [],
|
|
2249
|
+
"args": {
|
|
2250
|
+
"workspace_id": {
|
|
2251
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2252
|
+
"name": "workspace_id",
|
|
2253
|
+
"required": false
|
|
2254
|
+
}
|
|
2255
|
+
},
|
|
2256
|
+
"description": "List all branches in a workspace",
|
|
2257
|
+
"examples": [
|
|
2258
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
2259
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
2260
|
+
"$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
|
|
2261
|
+
],
|
|
2262
|
+
"flags": {
|
|
2263
|
+
"profile": {
|
|
2264
|
+
"char": "p",
|
|
2265
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2266
|
+
"env": "XANO_PROFILE",
|
|
2267
|
+
"name": "profile",
|
|
2268
|
+
"required": false,
|
|
2269
|
+
"hasDynamicHelp": false,
|
|
2270
|
+
"multiple": false,
|
|
2271
|
+
"type": "option"
|
|
2272
|
+
},
|
|
2273
|
+
"verbose": {
|
|
2274
|
+
"char": "v",
|
|
2275
|
+
"description": "Show detailed request/response information",
|
|
2276
|
+
"env": "XANO_VERBOSE",
|
|
2277
|
+
"name": "verbose",
|
|
2278
|
+
"required": false,
|
|
2279
|
+
"allowNo": false,
|
|
2280
|
+
"type": "boolean"
|
|
2281
|
+
},
|
|
2282
|
+
"output": {
|
|
2283
|
+
"char": "o",
|
|
2284
|
+
"description": "Output format",
|
|
2285
|
+
"name": "output",
|
|
2286
|
+
"required": false,
|
|
2287
|
+
"default": "summary",
|
|
2288
|
+
"hasDynamicHelp": false,
|
|
2289
|
+
"multiple": false,
|
|
2290
|
+
"options": [
|
|
2291
|
+
"summary",
|
|
2292
|
+
"json"
|
|
2293
|
+
],
|
|
2294
|
+
"type": "option"
|
|
2295
|
+
}
|
|
2296
|
+
},
|
|
2297
|
+
"hasDynamicHelp": false,
|
|
2298
|
+
"hiddenAliases": [],
|
|
2299
|
+
"id": "branch:list",
|
|
2300
|
+
"pluginAlias": "@xano/cli",
|
|
2301
|
+
"pluginName": "@xano/cli",
|
|
2302
|
+
"pluginType": "core",
|
|
2303
|
+
"strict": true,
|
|
2304
|
+
"enableJsonFlag": false,
|
|
2305
|
+
"isESM": true,
|
|
2306
|
+
"relativePath": [
|
|
2307
|
+
"dist",
|
|
2308
|
+
"commands",
|
|
2309
|
+
"branch",
|
|
2310
|
+
"list",
|
|
2311
|
+
"index.js"
|
|
2312
|
+
]
|
|
2313
|
+
},
|
|
2239
2314
|
"release:pull": {
|
|
2240
2315
|
"aliases": [],
|
|
2241
2316
|
"args": {
|
|
@@ -2439,15 +2514,19 @@
|
|
|
2439
2514
|
"index.js"
|
|
2440
2515
|
]
|
|
2441
2516
|
},
|
|
2442
|
-
"
|
|
2517
|
+
"tenant:create": {
|
|
2443
2518
|
"aliases": [],
|
|
2444
|
-
"args": {
|
|
2445
|
-
|
|
2519
|
+
"args": {
|
|
2520
|
+
"display": {
|
|
2521
|
+
"description": "Display name for the tenant",
|
|
2522
|
+
"name": "display",
|
|
2523
|
+
"required": true
|
|
2524
|
+
}
|
|
2525
|
+
},
|
|
2526
|
+
"description": "Create a new tenant in a workspace",
|
|
2446
2527
|
"examples": [
|
|
2447
|
-
"$ xano
|
|
2448
|
-
"$ xano
|
|
2449
|
-
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
2450
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2528
|
+
"$ xano tenant create \"Production\"\nCreated tenant: Production (production) - ID: 42\n",
|
|
2529
|
+
"$ xano tenant create \"Staging\" --description \"Staging env\" --cluster_id 1 --platform_id 1 --license tier2 -o json"
|
|
2451
2530
|
],
|
|
2452
2531
|
"flags": {
|
|
2453
2532
|
"profile": {
|
|
@@ -2469,78 +2548,126 @@
|
|
|
2469
2548
|
"allowNo": false,
|
|
2470
2549
|
"type": "boolean"
|
|
2471
2550
|
},
|
|
2472
|
-
"
|
|
2473
|
-
"
|
|
2474
|
-
"
|
|
2475
|
-
"name": "output",
|
|
2551
|
+
"cluster_id": {
|
|
2552
|
+
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2553
|
+
"name": "cluster_id",
|
|
2476
2554
|
"required": false,
|
|
2477
|
-
"default": "summary",
|
|
2478
2555
|
"hasDynamicHelp": false,
|
|
2479
2556
|
"multiple": false,
|
|
2480
|
-
"options": [
|
|
2481
|
-
"summary",
|
|
2482
|
-
"json"
|
|
2483
|
-
],
|
|
2484
2557
|
"type": "option"
|
|
2485
2558
|
},
|
|
2486
|
-
"
|
|
2487
|
-
"
|
|
2488
|
-
"
|
|
2559
|
+
"description": {
|
|
2560
|
+
"char": "d",
|
|
2561
|
+
"description": "Tenant description",
|
|
2562
|
+
"name": "description",
|
|
2489
2563
|
"required": false,
|
|
2490
|
-
"default": 1,
|
|
2491
2564
|
"hasDynamicHelp": false,
|
|
2492
2565
|
"multiple": false,
|
|
2493
2566
|
"type": "option"
|
|
2494
2567
|
},
|
|
2495
|
-
"
|
|
2496
|
-
"description": "
|
|
2497
|
-
"name": "
|
|
2568
|
+
"domain": {
|
|
2569
|
+
"description": "Custom domain for the tenant",
|
|
2570
|
+
"name": "domain",
|
|
2498
2571
|
"required": false,
|
|
2499
|
-
"default": 50,
|
|
2500
2572
|
"hasDynamicHelp": false,
|
|
2501
2573
|
"multiple": false,
|
|
2502
2574
|
"type": "option"
|
|
2503
2575
|
},
|
|
2504
|
-
"
|
|
2505
|
-
"
|
|
2506
|
-
"
|
|
2507
|
-
"
|
|
2576
|
+
"ephemeral": {
|
|
2577
|
+
"description": "Mark tenant as ephemeral (allows push operations)",
|
|
2578
|
+
"name": "ephemeral",
|
|
2579
|
+
"allowNo": false,
|
|
2580
|
+
"type": "boolean"
|
|
2581
|
+
},
|
|
2582
|
+
"ingress": {
|
|
2583
|
+
"description": "Enable ingress",
|
|
2584
|
+
"name": "ingress",
|
|
2585
|
+
"allowNo": true,
|
|
2586
|
+
"type": "boolean"
|
|
2587
|
+
},
|
|
2588
|
+
"license": {
|
|
2589
|
+
"description": "License tier",
|
|
2590
|
+
"name": "license",
|
|
2508
2591
|
"required": false,
|
|
2592
|
+
"default": "tier1",
|
|
2509
2593
|
"hasDynamicHelp": false,
|
|
2510
2594
|
"multiple": false,
|
|
2595
|
+
"options": [
|
|
2596
|
+
"tier1",
|
|
2597
|
+
"tier2",
|
|
2598
|
+
"tier3"
|
|
2599
|
+
],
|
|
2511
2600
|
"type": "option"
|
|
2512
|
-
}
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2601
|
+
},
|
|
2602
|
+
"output": {
|
|
2603
|
+
"char": "o",
|
|
2604
|
+
"description": "Output format",
|
|
2605
|
+
"name": "output",
|
|
2606
|
+
"required": false,
|
|
2607
|
+
"default": "summary",
|
|
2608
|
+
"hasDynamicHelp": false,
|
|
2609
|
+
"multiple": false,
|
|
2610
|
+
"options": [
|
|
2611
|
+
"summary",
|
|
2612
|
+
"json"
|
|
2613
|
+
],
|
|
2614
|
+
"type": "option"
|
|
2615
|
+
},
|
|
2616
|
+
"platform_id": {
|
|
2617
|
+
"description": "Platform ID to use",
|
|
2618
|
+
"name": "platform_id",
|
|
2619
|
+
"required": false,
|
|
2620
|
+
"hasDynamicHelp": false,
|
|
2621
|
+
"multiple": false,
|
|
2622
|
+
"type": "option"
|
|
2623
|
+
},
|
|
2624
|
+
"tasks": {
|
|
2625
|
+
"description": "Enable background tasks",
|
|
2626
|
+
"name": "tasks",
|
|
2627
|
+
"allowNo": true,
|
|
2628
|
+
"type": "boolean"
|
|
2629
|
+
},
|
|
2630
|
+
"workspace": {
|
|
2631
|
+
"char": "w",
|
|
2632
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2633
|
+
"name": "workspace",
|
|
2634
|
+
"required": false,
|
|
2635
|
+
"hasDynamicHelp": false,
|
|
2636
|
+
"multiple": false,
|
|
2637
|
+
"type": "option"
|
|
2638
|
+
}
|
|
2639
|
+
},
|
|
2640
|
+
"hasDynamicHelp": false,
|
|
2641
|
+
"hiddenAliases": [],
|
|
2642
|
+
"id": "tenant:create",
|
|
2643
|
+
"pluginAlias": "@xano/cli",
|
|
2644
|
+
"pluginName": "@xano/cli",
|
|
2645
|
+
"pluginType": "core",
|
|
2646
|
+
"strict": true,
|
|
2521
2647
|
"enableJsonFlag": false,
|
|
2522
2648
|
"isESM": true,
|
|
2523
2649
|
"relativePath": [
|
|
2524
2650
|
"dist",
|
|
2525
2651
|
"commands",
|
|
2526
|
-
"
|
|
2527
|
-
"
|
|
2652
|
+
"tenant",
|
|
2653
|
+
"create",
|
|
2528
2654
|
"index.js"
|
|
2529
2655
|
]
|
|
2530
2656
|
},
|
|
2531
|
-
"
|
|
2657
|
+
"tenant:delete": {
|
|
2532
2658
|
"aliases": [],
|
|
2533
2659
|
"args": {
|
|
2534
|
-
"
|
|
2535
|
-
"description": "
|
|
2536
|
-
"name": "
|
|
2660
|
+
"tenant_name": {
|
|
2661
|
+
"description": "Tenant name to delete",
|
|
2662
|
+
"name": "tenant_name",
|
|
2537
2663
|
"required": true
|
|
2538
2664
|
}
|
|
2539
2665
|
},
|
|
2540
|
-
"description": "
|
|
2666
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2541
2667
|
"examples": [
|
|
2542
|
-
"$ xano
|
|
2543
|
-
"$ xano
|
|
2668
|
+
"$ xano tenant delete t1234-abcd-xyz1\nAre you sure you want to delete tenant t1234-abcd-xyz1? This action cannot be undone. (y/N) y\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2669
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2670
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2544
2671
|
],
|
|
2545
2672
|
"flags": {
|
|
2546
2673
|
"profile": {
|
|
@@ -2562,6 +2689,14 @@
|
|
|
2562
2689
|
"allowNo": false,
|
|
2563
2690
|
"type": "boolean"
|
|
2564
2691
|
},
|
|
2692
|
+
"force": {
|
|
2693
|
+
"char": "f",
|
|
2694
|
+
"description": "Skip confirmation prompt",
|
|
2695
|
+
"name": "force",
|
|
2696
|
+
"required": false,
|
|
2697
|
+
"allowNo": false,
|
|
2698
|
+
"type": "boolean"
|
|
2699
|
+
},
|
|
2565
2700
|
"output": {
|
|
2566
2701
|
"char": "o",
|
|
2567
2702
|
"description": "Output format",
|
|
@@ -2588,7 +2723,7 @@
|
|
|
2588
2723
|
},
|
|
2589
2724
|
"hasDynamicHelp": false,
|
|
2590
2725
|
"hiddenAliases": [],
|
|
2591
|
-
"id": "
|
|
2726
|
+
"id": "tenant:delete",
|
|
2592
2727
|
"pluginAlias": "@xano/cli",
|
|
2593
2728
|
"pluginName": "@xano/cli",
|
|
2594
2729
|
"pluginType": "core",
|
|
@@ -2598,24 +2733,25 @@
|
|
|
2598
2733
|
"relativePath": [
|
|
2599
2734
|
"dist",
|
|
2600
2735
|
"commands",
|
|
2601
|
-
"
|
|
2602
|
-
"
|
|
2736
|
+
"tenant",
|
|
2737
|
+
"delete",
|
|
2603
2738
|
"index.js"
|
|
2604
2739
|
]
|
|
2605
2740
|
},
|
|
2606
|
-
"tenant:
|
|
2741
|
+
"tenant:deploy_platform": {
|
|
2607
2742
|
"aliases": [],
|
|
2608
2743
|
"args": {
|
|
2609
|
-
"
|
|
2610
|
-
"description": "
|
|
2611
|
-
"name": "
|
|
2744
|
+
"tenant_name": {
|
|
2745
|
+
"description": "Tenant name to deploy to",
|
|
2746
|
+
"name": "tenant_name",
|
|
2612
2747
|
"required": true
|
|
2613
2748
|
}
|
|
2614
2749
|
},
|
|
2615
|
-
"description": "
|
|
2750
|
+
"description": "Deploy a platform version to a tenant",
|
|
2616
2751
|
"examples": [
|
|
2617
|
-
"$ xano tenant
|
|
2618
|
-
"$ xano tenant
|
|
2752
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2753
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json",
|
|
2754
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
|
|
2619
2755
|
],
|
|
2620
2756
|
"flags": {
|
|
2621
2757
|
"profile": {
|
|
@@ -2637,55 +2773,13 @@
|
|
|
2637
2773
|
"allowNo": false,
|
|
2638
2774
|
"type": "boolean"
|
|
2639
2775
|
},
|
|
2640
|
-
"cluster_id": {
|
|
2641
|
-
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2642
|
-
"name": "cluster_id",
|
|
2643
|
-
"required": false,
|
|
2644
|
-
"hasDynamicHelp": false,
|
|
2645
|
-
"multiple": false,
|
|
2646
|
-
"type": "option"
|
|
2647
|
-
},
|
|
2648
|
-
"description": {
|
|
2649
|
-
"char": "d",
|
|
2650
|
-
"description": "Tenant description",
|
|
2651
|
-
"name": "description",
|
|
2652
|
-
"required": false,
|
|
2653
|
-
"hasDynamicHelp": false,
|
|
2654
|
-
"multiple": false,
|
|
2655
|
-
"type": "option"
|
|
2656
|
-
},
|
|
2657
|
-
"domain": {
|
|
2658
|
-
"description": "Custom domain for the tenant",
|
|
2659
|
-
"name": "domain",
|
|
2660
|
-
"required": false,
|
|
2661
|
-
"hasDynamicHelp": false,
|
|
2662
|
-
"multiple": false,
|
|
2663
|
-
"type": "option"
|
|
2664
|
-
},
|
|
2665
|
-
"ephemeral": {
|
|
2666
|
-
"description": "Mark tenant as ephemeral (allows push operations)",
|
|
2667
|
-
"name": "ephemeral",
|
|
2668
|
-
"allowNo": false,
|
|
2669
|
-
"type": "boolean"
|
|
2670
|
-
},
|
|
2671
|
-
"ingress": {
|
|
2672
|
-
"description": "Enable ingress",
|
|
2673
|
-
"name": "ingress",
|
|
2674
|
-
"allowNo": true,
|
|
2675
|
-
"type": "boolean"
|
|
2676
|
-
},
|
|
2677
2776
|
"license": {
|
|
2678
|
-
"
|
|
2777
|
+
"char": "l",
|
|
2778
|
+
"description": "Path to a license override file to apply after deploy",
|
|
2679
2779
|
"name": "license",
|
|
2680
2780
|
"required": false,
|
|
2681
|
-
"default": "tier1",
|
|
2682
2781
|
"hasDynamicHelp": false,
|
|
2683
2782
|
"multiple": false,
|
|
2684
|
-
"options": [
|
|
2685
|
-
"tier1",
|
|
2686
|
-
"tier2",
|
|
2687
|
-
"tier3"
|
|
2688
|
-
],
|
|
2689
2783
|
"type": "option"
|
|
2690
2784
|
},
|
|
2691
2785
|
"output": {
|
|
@@ -2703,19 +2797,13 @@
|
|
|
2703
2797
|
"type": "option"
|
|
2704
2798
|
},
|
|
2705
2799
|
"platform_id": {
|
|
2706
|
-
"description": "Platform ID to
|
|
2800
|
+
"description": "Platform ID to deploy",
|
|
2707
2801
|
"name": "platform_id",
|
|
2708
|
-
"required":
|
|
2802
|
+
"required": true,
|
|
2709
2803
|
"hasDynamicHelp": false,
|
|
2710
2804
|
"multiple": false,
|
|
2711
2805
|
"type": "option"
|
|
2712
2806
|
},
|
|
2713
|
-
"tasks": {
|
|
2714
|
-
"description": "Enable background tasks",
|
|
2715
|
-
"name": "tasks",
|
|
2716
|
-
"allowNo": true,
|
|
2717
|
-
"type": "boolean"
|
|
2718
|
-
},
|
|
2719
2807
|
"workspace": {
|
|
2720
2808
|
"char": "w",
|
|
2721
2809
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2728,7 +2816,7 @@
|
|
|
2728
2816
|
},
|
|
2729
2817
|
"hasDynamicHelp": false,
|
|
2730
2818
|
"hiddenAliases": [],
|
|
2731
|
-
"id": "tenant:
|
|
2819
|
+
"id": "tenant:deploy_platform",
|
|
2732
2820
|
"pluginAlias": "@xano/cli",
|
|
2733
2821
|
"pluginName": "@xano/cli",
|
|
2734
2822
|
"pluginType": "core",
|
|
@@ -2739,7 +2827,7 @@
|
|
|
2739
2827
|
"dist",
|
|
2740
2828
|
"commands",
|
|
2741
2829
|
"tenant",
|
|
2742
|
-
"
|
|
2830
|
+
"deploy_platform",
|
|
2743
2831
|
"index.js"
|
|
2744
2832
|
]
|
|
2745
2833
|
},
|
|
@@ -2956,20 +3044,19 @@
|
|
|
2956
3044
|
"index.js"
|
|
2957
3045
|
]
|
|
2958
3046
|
},
|
|
2959
|
-
"tenant:
|
|
3047
|
+
"tenant:get": {
|
|
2960
3048
|
"aliases": [],
|
|
2961
3049
|
"args": {
|
|
2962
3050
|
"tenant_name": {
|
|
2963
|
-
"description": "Tenant name to
|
|
3051
|
+
"description": "Tenant name to retrieve",
|
|
2964
3052
|
"name": "tenant_name",
|
|
2965
3053
|
"required": true
|
|
2966
3054
|
}
|
|
2967
3055
|
},
|
|
2968
|
-
"description": "
|
|
3056
|
+
"description": "Get details of a specific tenant",
|
|
2969
3057
|
"examples": [
|
|
2970
|
-
"$ xano tenant
|
|
2971
|
-
"$ xano tenant
|
|
2972
|
-
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
|
|
3058
|
+
"$ xano tenant get t1234-abcd-xyz1\nTenant: My Tenant (my-tenant)\n State: ok\n License: tier1\n Domain: my-tenant.xano.io\n Cluster: default\n Release: v1.0\n",
|
|
3059
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
2973
3060
|
],
|
|
2974
3061
|
"flags": {
|
|
2975
3062
|
"profile": {
|
|
@@ -2991,15 +3078,6 @@
|
|
|
2991
3078
|
"allowNo": false,
|
|
2992
3079
|
"type": "boolean"
|
|
2993
3080
|
},
|
|
2994
|
-
"license": {
|
|
2995
|
-
"char": "l",
|
|
2996
|
-
"description": "Path to a license override file to apply after deploy",
|
|
2997
|
-
"name": "license",
|
|
2998
|
-
"required": false,
|
|
2999
|
-
"hasDynamicHelp": false,
|
|
3000
|
-
"multiple": false,
|
|
3001
|
-
"type": "option"
|
|
3002
|
-
},
|
|
3003
3081
|
"output": {
|
|
3004
3082
|
"char": "o",
|
|
3005
3083
|
"description": "Output format",
|
|
@@ -3014,14 +3092,6 @@
|
|
|
3014
3092
|
],
|
|
3015
3093
|
"type": "option"
|
|
3016
3094
|
},
|
|
3017
|
-
"platform_id": {
|
|
3018
|
-
"description": "Platform ID to deploy",
|
|
3019
|
-
"name": "platform_id",
|
|
3020
|
-
"required": true,
|
|
3021
|
-
"hasDynamicHelp": false,
|
|
3022
|
-
"multiple": false,
|
|
3023
|
-
"type": "option"
|
|
3024
|
-
},
|
|
3025
3095
|
"workspace": {
|
|
3026
3096
|
"char": "w",
|
|
3027
3097
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3034,7 +3104,7 @@
|
|
|
3034
3104
|
},
|
|
3035
3105
|
"hasDynamicHelp": false,
|
|
3036
3106
|
"hiddenAliases": [],
|
|
3037
|
-
"id": "tenant:
|
|
3107
|
+
"id": "tenant:get",
|
|
3038
3108
|
"pluginAlias": "@xano/cli",
|
|
3039
3109
|
"pluginName": "@xano/cli",
|
|
3040
3110
|
"pluginType": "core",
|
|
@@ -3045,24 +3115,19 @@
|
|
|
3045
3115
|
"dist",
|
|
3046
3116
|
"commands",
|
|
3047
3117
|
"tenant",
|
|
3048
|
-
"
|
|
3118
|
+
"get",
|
|
3049
3119
|
"index.js"
|
|
3050
3120
|
]
|
|
3051
3121
|
},
|
|
3052
|
-
"
|
|
3122
|
+
"static_host:list": {
|
|
3053
3123
|
"aliases": [],
|
|
3054
|
-
"args": {
|
|
3055
|
-
|
|
3056
|
-
"description": "Tenant name to delete",
|
|
3057
|
-
"name": "tenant_name",
|
|
3058
|
-
"required": true
|
|
3059
|
-
}
|
|
3060
|
-
},
|
|
3061
|
-
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
3124
|
+
"args": {},
|
|
3125
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
3062
3126
|
"examples": [
|
|
3063
|
-
"$ xano
|
|
3064
|
-
"$ xano
|
|
3065
|
-
"$ xano
|
|
3127
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
3128
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
3129
|
+
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
3130
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
3066
3131
|
],
|
|
3067
3132
|
"flags": {
|
|
3068
3133
|
"profile": {
|
|
@@ -3084,14 +3149,6 @@
|
|
|
3084
3149
|
"allowNo": false,
|
|
3085
3150
|
"type": "boolean"
|
|
3086
3151
|
},
|
|
3087
|
-
"force": {
|
|
3088
|
-
"char": "f",
|
|
3089
|
-
"description": "Skip confirmation prompt",
|
|
3090
|
-
"name": "force",
|
|
3091
|
-
"required": false,
|
|
3092
|
-
"allowNo": false,
|
|
3093
|
-
"type": "boolean"
|
|
3094
|
-
},
|
|
3095
3152
|
"output": {
|
|
3096
3153
|
"char": "o",
|
|
3097
3154
|
"description": "Output format",
|
|
@@ -3106,9 +3163,27 @@
|
|
|
3106
3163
|
],
|
|
3107
3164
|
"type": "option"
|
|
3108
3165
|
},
|
|
3166
|
+
"page": {
|
|
3167
|
+
"description": "Page number for pagination",
|
|
3168
|
+
"name": "page",
|
|
3169
|
+
"required": false,
|
|
3170
|
+
"default": 1,
|
|
3171
|
+
"hasDynamicHelp": false,
|
|
3172
|
+
"multiple": false,
|
|
3173
|
+
"type": "option"
|
|
3174
|
+
},
|
|
3175
|
+
"per_page": {
|
|
3176
|
+
"description": "Number of results per page",
|
|
3177
|
+
"name": "per_page",
|
|
3178
|
+
"required": false,
|
|
3179
|
+
"default": 50,
|
|
3180
|
+
"hasDynamicHelp": false,
|
|
3181
|
+
"multiple": false,
|
|
3182
|
+
"type": "option"
|
|
3183
|
+
},
|
|
3109
3184
|
"workspace": {
|
|
3110
3185
|
"char": "w",
|
|
3111
|
-
"description": "Workspace ID (
|
|
3186
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3112
3187
|
"name": "workspace",
|
|
3113
3188
|
"required": false,
|
|
3114
3189
|
"hasDynamicHelp": false,
|
|
@@ -3118,7 +3193,7 @@
|
|
|
3118
3193
|
},
|
|
3119
3194
|
"hasDynamicHelp": false,
|
|
3120
3195
|
"hiddenAliases": [],
|
|
3121
|
-
"id": "
|
|
3196
|
+
"id": "static_host:list",
|
|
3122
3197
|
"pluginAlias": "@xano/cli",
|
|
3123
3198
|
"pluginName": "@xano/cli",
|
|
3124
3199
|
"pluginType": "core",
|
|
@@ -3128,24 +3203,24 @@
|
|
|
3128
3203
|
"relativePath": [
|
|
3129
3204
|
"dist",
|
|
3130
3205
|
"commands",
|
|
3131
|
-
"
|
|
3132
|
-
"
|
|
3206
|
+
"static_host",
|
|
3207
|
+
"list",
|
|
3133
3208
|
"index.js"
|
|
3134
3209
|
]
|
|
3135
3210
|
},
|
|
3136
|
-
"tenant:
|
|
3211
|
+
"tenant:impersonate": {
|
|
3137
3212
|
"aliases": [],
|
|
3138
3213
|
"args": {
|
|
3139
3214
|
"tenant_name": {
|
|
3140
|
-
"description": "Tenant name to
|
|
3215
|
+
"description": "Tenant name to impersonate",
|
|
3141
3216
|
"name": "tenant_name",
|
|
3142
3217
|
"required": true
|
|
3143
3218
|
}
|
|
3144
3219
|
},
|
|
3145
|
-
"description": "
|
|
3220
|
+
"description": "Impersonate a tenant and open it in the browser",
|
|
3146
3221
|
"examples": [
|
|
3147
|
-
"$ xano tenant
|
|
3148
|
-
"$ xano tenant
|
|
3222
|
+
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3223
|
+
"$ xano tenant impersonate my-tenant -o json"
|
|
3149
3224
|
],
|
|
3150
3225
|
"flags": {
|
|
3151
3226
|
"profile": {
|
|
@@ -3181,19 +3256,27 @@
|
|
|
3181
3256
|
],
|
|
3182
3257
|
"type": "option"
|
|
3183
3258
|
},
|
|
3184
|
-
"
|
|
3185
|
-
"char": "
|
|
3186
|
-
"description": "
|
|
3187
|
-
"name": "
|
|
3188
|
-
"required": false,
|
|
3189
|
-
"
|
|
3190
|
-
"
|
|
3259
|
+
"url-only": {
|
|
3260
|
+
"char": "u",
|
|
3261
|
+
"description": "Print the URL without opening the browser",
|
|
3262
|
+
"name": "url-only",
|
|
3263
|
+
"required": false,
|
|
3264
|
+
"allowNo": false,
|
|
3265
|
+
"type": "boolean"
|
|
3266
|
+
},
|
|
3267
|
+
"workspace": {
|
|
3268
|
+
"char": "w",
|
|
3269
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3270
|
+
"name": "workspace",
|
|
3271
|
+
"required": false,
|
|
3272
|
+
"hasDynamicHelp": false,
|
|
3273
|
+
"multiple": false,
|
|
3191
3274
|
"type": "option"
|
|
3192
3275
|
}
|
|
3193
3276
|
},
|
|
3194
3277
|
"hasDynamicHelp": false,
|
|
3195
3278
|
"hiddenAliases": [],
|
|
3196
|
-
"id": "tenant:
|
|
3279
|
+
"id": "tenant:impersonate",
|
|
3197
3280
|
"pluginAlias": "@xano/cli",
|
|
3198
3281
|
"pluginName": "@xano/cli",
|
|
3199
3282
|
"pluginType": "core",
|
|
@@ -3204,23 +3287,17 @@
|
|
|
3204
3287
|
"dist",
|
|
3205
3288
|
"commands",
|
|
3206
3289
|
"tenant",
|
|
3207
|
-
"
|
|
3290
|
+
"impersonate",
|
|
3208
3291
|
"index.js"
|
|
3209
3292
|
]
|
|
3210
3293
|
},
|
|
3211
|
-
"tenant:
|
|
3294
|
+
"tenant:list": {
|
|
3212
3295
|
"aliases": [],
|
|
3213
|
-
"args": {
|
|
3214
|
-
|
|
3215
|
-
"description": "Tenant name to impersonate",
|
|
3216
|
-
"name": "tenant_name",
|
|
3217
|
-
"required": true
|
|
3218
|
-
}
|
|
3219
|
-
},
|
|
3220
|
-
"description": "Impersonate a tenant and open it in the browser",
|
|
3296
|
+
"args": {},
|
|
3297
|
+
"description": "List all tenants in a workspace",
|
|
3221
3298
|
"examples": [
|
|
3222
|
-
"$ xano tenant
|
|
3223
|
-
"$ xano tenant
|
|
3299
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n Cluster: us-central\n Release: r1\n Platform: default\n - Staging (staging) [ok] - tier1\n Cluster: us-central\n Release: r1\n",
|
|
3300
|
+
"$ xano tenant list -w 5 --output json"
|
|
3224
3301
|
],
|
|
3225
3302
|
"flags": {
|
|
3226
3303
|
"profile": {
|
|
@@ -3256,14 +3333,6 @@
|
|
|
3256
3333
|
],
|
|
3257
3334
|
"type": "option"
|
|
3258
3335
|
},
|
|
3259
|
-
"url-only": {
|
|
3260
|
-
"char": "u",
|
|
3261
|
-
"description": "Print the URL without opening the browser",
|
|
3262
|
-
"name": "url-only",
|
|
3263
|
-
"required": false,
|
|
3264
|
-
"allowNo": false,
|
|
3265
|
-
"type": "boolean"
|
|
3266
|
-
},
|
|
3267
3336
|
"workspace": {
|
|
3268
3337
|
"char": "w",
|
|
3269
3338
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3276,7 +3345,7 @@
|
|
|
3276
3345
|
},
|
|
3277
3346
|
"hasDynamicHelp": false,
|
|
3278
3347
|
"hiddenAliases": [],
|
|
3279
|
-
"id": "tenant:
|
|
3348
|
+
"id": "tenant:list",
|
|
3280
3349
|
"pluginAlias": "@xano/cli",
|
|
3281
3350
|
"pluginName": "@xano/cli",
|
|
3282
3351
|
"pluginType": "core",
|
|
@@ -3287,17 +3356,27 @@
|
|
|
3287
3356
|
"dist",
|
|
3288
3357
|
"commands",
|
|
3289
3358
|
"tenant",
|
|
3290
|
-
"
|
|
3359
|
+
"list",
|
|
3291
3360
|
"index.js"
|
|
3292
3361
|
]
|
|
3293
3362
|
},
|
|
3294
|
-
"tenant:
|
|
3363
|
+
"tenant:push": {
|
|
3295
3364
|
"aliases": [],
|
|
3296
|
-
"args": {
|
|
3297
|
-
|
|
3365
|
+
"args": {
|
|
3366
|
+
"directory": {
|
|
3367
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3368
|
+
"name": "directory",
|
|
3369
|
+
"required": true
|
|
3370
|
+
}
|
|
3371
|
+
},
|
|
3372
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3298
3373
|
"examples": [
|
|
3299
|
-
"$ xano tenant
|
|
3300
|
-
"$ xano tenant
|
|
3374
|
+
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3375
|
+
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
3376
|
+
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3377
|
+
"$ xano tenant push ./my-workspace -t my-tenant --records\nInclude table records in import\n",
|
|
3378
|
+
"$ xano tenant push ./my-workspace -t my-tenant --env\nInclude environment variables in import\n",
|
|
3379
|
+
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3301
3380
|
],
|
|
3302
3381
|
"flags": {
|
|
3303
3382
|
"profile": {
|
|
@@ -3319,23 +3398,46 @@
|
|
|
3319
3398
|
"allowNo": false,
|
|
3320
3399
|
"type": "boolean"
|
|
3321
3400
|
},
|
|
3322
|
-
"
|
|
3323
|
-
"
|
|
3324
|
-
"
|
|
3325
|
-
"name": "output",
|
|
3401
|
+
"env": {
|
|
3402
|
+
"description": "Include environment variables in import",
|
|
3403
|
+
"name": "env",
|
|
3326
3404
|
"required": false,
|
|
3327
|
-
"
|
|
3405
|
+
"allowNo": false,
|
|
3406
|
+
"type": "boolean"
|
|
3407
|
+
},
|
|
3408
|
+
"records": {
|
|
3409
|
+
"description": "Include records in import",
|
|
3410
|
+
"name": "records",
|
|
3411
|
+
"required": false,
|
|
3412
|
+
"allowNo": false,
|
|
3413
|
+
"type": "boolean"
|
|
3414
|
+
},
|
|
3415
|
+
"tenant": {
|
|
3416
|
+
"char": "t",
|
|
3417
|
+
"description": "Tenant name to push to",
|
|
3418
|
+
"name": "tenant",
|
|
3419
|
+
"required": true,
|
|
3328
3420
|
"hasDynamicHelp": false,
|
|
3329
3421
|
"multiple": false,
|
|
3330
|
-
"options": [
|
|
3331
|
-
"summary",
|
|
3332
|
-
"json"
|
|
3333
|
-
],
|
|
3334
3422
|
"type": "option"
|
|
3335
3423
|
},
|
|
3424
|
+
"transaction": {
|
|
3425
|
+
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
3426
|
+
"name": "transaction",
|
|
3427
|
+
"required": false,
|
|
3428
|
+
"allowNo": true,
|
|
3429
|
+
"type": "boolean"
|
|
3430
|
+
},
|
|
3431
|
+
"truncate": {
|
|
3432
|
+
"description": "Truncate all table records before importing",
|
|
3433
|
+
"name": "truncate",
|
|
3434
|
+
"required": false,
|
|
3435
|
+
"allowNo": false,
|
|
3436
|
+
"type": "boolean"
|
|
3437
|
+
},
|
|
3336
3438
|
"workspace": {
|
|
3337
3439
|
"char": "w",
|
|
3338
|
-
"description": "Workspace ID (
|
|
3440
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3339
3441
|
"name": "workspace",
|
|
3340
3442
|
"required": false,
|
|
3341
3443
|
"hasDynamicHelp": false,
|
|
@@ -3345,7 +3447,7 @@
|
|
|
3345
3447
|
},
|
|
3346
3448
|
"hasDynamicHelp": false,
|
|
3347
3449
|
"hiddenAliases": [],
|
|
3348
|
-
"id": "tenant:
|
|
3450
|
+
"id": "tenant:push",
|
|
3349
3451
|
"pluginAlias": "@xano/cli",
|
|
3350
3452
|
"pluginName": "@xano/cli",
|
|
3351
3453
|
"pluginType": "core",
|
|
@@ -3356,7 +3458,7 @@
|
|
|
3356
3458
|
"dist",
|
|
3357
3459
|
"commands",
|
|
3358
3460
|
"tenant",
|
|
3359
|
-
"
|
|
3461
|
+
"push",
|
|
3360
3462
|
"index.js"
|
|
3361
3463
|
]
|
|
3362
3464
|
},
|
|
@@ -3878,14 +3980,19 @@
|
|
|
3878
3980
|
"index.js"
|
|
3879
3981
|
]
|
|
3880
3982
|
},
|
|
3881
|
-
"workflow_test:
|
|
3983
|
+
"workflow_test:run": {
|
|
3882
3984
|
"aliases": [],
|
|
3883
|
-
"args": {
|
|
3884
|
-
|
|
3985
|
+
"args": {
|
|
3986
|
+
"workflow_test_id": {
|
|
3987
|
+
"description": "ID of the workflow test to run",
|
|
3988
|
+
"name": "workflow_test_id",
|
|
3989
|
+
"required": true
|
|
3990
|
+
}
|
|
3991
|
+
},
|
|
3992
|
+
"description": "Run a workflow test",
|
|
3885
3993
|
"examples": [
|
|
3886
|
-
"$ xano workflow-test
|
|
3887
|
-
"$ xano workflow-test
|
|
3888
|
-
"$ xano workflow-test list --branch main"
|
|
3994
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
3995
|
+
"$ xano workflow-test run 1 -o json"
|
|
3889
3996
|
],
|
|
3890
3997
|
"flags": {
|
|
3891
3998
|
"profile": {
|
|
@@ -3907,15 +4014,6 @@
|
|
|
3907
4014
|
"allowNo": false,
|
|
3908
4015
|
"type": "boolean"
|
|
3909
4016
|
},
|
|
3910
|
-
"branch": {
|
|
3911
|
-
"char": "b",
|
|
3912
|
-
"description": "Filter by branch name",
|
|
3913
|
-
"name": "branch",
|
|
3914
|
-
"required": false,
|
|
3915
|
-
"hasDynamicHelp": false,
|
|
3916
|
-
"multiple": false,
|
|
3917
|
-
"type": "option"
|
|
3918
|
-
},
|
|
3919
4017
|
"output": {
|
|
3920
4018
|
"char": "o",
|
|
3921
4019
|
"description": "Output format",
|
|
@@ -3942,7 +4040,7 @@
|
|
|
3942
4040
|
},
|
|
3943
4041
|
"hasDynamicHelp": false,
|
|
3944
4042
|
"hiddenAliases": [],
|
|
3945
|
-
"id": "workflow_test:
|
|
4043
|
+
"id": "workflow_test:run",
|
|
3946
4044
|
"pluginAlias": "@xano/cli",
|
|
3947
4045
|
"pluginName": "@xano/cli",
|
|
3948
4046
|
"pluginType": "core",
|
|
@@ -3953,7 +4051,7 @@
|
|
|
3953
4051
|
"dist",
|
|
3954
4052
|
"commands",
|
|
3955
4053
|
"workflow_test",
|
|
3956
|
-
"
|
|
4054
|
+
"run",
|
|
3957
4055
|
"index.js"
|
|
3958
4056
|
]
|
|
3959
4057
|
},
|
|
@@ -4035,19 +4133,14 @@
|
|
|
4035
4133
|
"index.js"
|
|
4036
4134
|
]
|
|
4037
4135
|
},
|
|
4038
|
-
"workflow_test:
|
|
4136
|
+
"workflow_test:list": {
|
|
4039
4137
|
"aliases": [],
|
|
4040
|
-
"args": {
|
|
4041
|
-
|
|
4042
|
-
"description": "ID of the workflow test to run",
|
|
4043
|
-
"name": "workflow_test_id",
|
|
4044
|
-
"required": true
|
|
4045
|
-
}
|
|
4046
|
-
},
|
|
4047
|
-
"description": "Run a workflow test",
|
|
4138
|
+
"args": {},
|
|
4139
|
+
"description": "List all workflow tests in a workspace",
|
|
4048
4140
|
"examples": [
|
|
4049
|
-
"$ xano workflow-test
|
|
4050
|
-
"$ xano workflow-test
|
|
4141
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
4142
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
4143
|
+
"$ xano workflow-test list --branch main"
|
|
4051
4144
|
],
|
|
4052
4145
|
"flags": {
|
|
4053
4146
|
"profile": {
|
|
@@ -4069,6 +4162,15 @@
|
|
|
4069
4162
|
"allowNo": false,
|
|
4070
4163
|
"type": "boolean"
|
|
4071
4164
|
},
|
|
4165
|
+
"branch": {
|
|
4166
|
+
"char": "b",
|
|
4167
|
+
"description": "Filter by branch name",
|
|
4168
|
+
"name": "branch",
|
|
4169
|
+
"required": false,
|
|
4170
|
+
"hasDynamicHelp": false,
|
|
4171
|
+
"multiple": false,
|
|
4172
|
+
"type": "option"
|
|
4173
|
+
},
|
|
4072
4174
|
"output": {
|
|
4073
4175
|
"char": "o",
|
|
4074
4176
|
"description": "Output format",
|
|
@@ -4095,7 +4197,7 @@
|
|
|
4095
4197
|
},
|
|
4096
4198
|
"hasDynamicHelp": false,
|
|
4097
4199
|
"hiddenAliases": [],
|
|
4098
|
-
"id": "workflow_test:
|
|
4200
|
+
"id": "workflow_test:list",
|
|
4099
4201
|
"pluginAlias": "@xano/cli",
|
|
4100
4202
|
"pluginName": "@xano/cli",
|
|
4101
4203
|
"pluginType": "core",
|
|
@@ -4106,24 +4208,24 @@
|
|
|
4106
4208
|
"dist",
|
|
4107
4209
|
"commands",
|
|
4108
4210
|
"workflow_test",
|
|
4109
|
-
"
|
|
4211
|
+
"list",
|
|
4110
4212
|
"index.js"
|
|
4111
4213
|
]
|
|
4112
4214
|
},
|
|
4113
|
-
"workspace:
|
|
4215
|
+
"workspace:get": {
|
|
4114
4216
|
"aliases": [],
|
|
4115
4217
|
"args": {
|
|
4116
|
-
"
|
|
4117
|
-
"description": "
|
|
4118
|
-
"name": "
|
|
4119
|
-
"required":
|
|
4218
|
+
"workspace_id": {
|
|
4219
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4220
|
+
"name": "workspace_id",
|
|
4221
|
+
"required": false
|
|
4120
4222
|
}
|
|
4121
4223
|
},
|
|
4122
|
-
"description": "
|
|
4224
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4123
4225
|
"examples": [
|
|
4124
|
-
"$ xano workspace
|
|
4125
|
-
"$ xano workspace
|
|
4126
|
-
"$ xano workspace
|
|
4226
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
4227
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
4228
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4127
4229
|
],
|
|
4128
4230
|
"flags": {
|
|
4129
4231
|
"profile": {
|
|
@@ -4145,15 +4247,6 @@
|
|
|
4145
4247
|
"allowNo": false,
|
|
4146
4248
|
"type": "boolean"
|
|
4147
4249
|
},
|
|
4148
|
-
"description": {
|
|
4149
|
-
"char": "d",
|
|
4150
|
-
"description": "Description for the workspace",
|
|
4151
|
-
"name": "description",
|
|
4152
|
-
"required": false,
|
|
4153
|
-
"hasDynamicHelp": false,
|
|
4154
|
-
"multiple": false,
|
|
4155
|
-
"type": "option"
|
|
4156
|
-
},
|
|
4157
4250
|
"output": {
|
|
4158
4251
|
"char": "o",
|
|
4159
4252
|
"description": "Output format",
|
|
@@ -4171,7 +4264,7 @@
|
|
|
4171
4264
|
},
|
|
4172
4265
|
"hasDynamicHelp": false,
|
|
4173
4266
|
"hiddenAliases": [],
|
|
4174
|
-
"id": "workspace:
|
|
4267
|
+
"id": "workspace:get",
|
|
4175
4268
|
"pluginAlias": "@xano/cli",
|
|
4176
4269
|
"pluginName": "@xano/cli",
|
|
4177
4270
|
"pluginType": "core",
|
|
@@ -4182,27 +4275,24 @@
|
|
|
4182
4275
|
"dist",
|
|
4183
4276
|
"commands",
|
|
4184
4277
|
"workspace",
|
|
4185
|
-
"
|
|
4278
|
+
"get",
|
|
4186
4279
|
"index.js"
|
|
4187
4280
|
]
|
|
4188
4281
|
},
|
|
4189
|
-
"
|
|
4282
|
+
"workspace:create": {
|
|
4190
4283
|
"aliases": [],
|
|
4191
4284
|
"args": {
|
|
4192
|
-
"
|
|
4193
|
-
"description": "
|
|
4194
|
-
"name": "
|
|
4285
|
+
"name": {
|
|
4286
|
+
"description": "Name of the workspace",
|
|
4287
|
+
"name": "name",
|
|
4195
4288
|
"required": true
|
|
4196
4289
|
}
|
|
4197
4290
|
},
|
|
4198
|
-
"description": "
|
|
4291
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
4199
4292
|
"examples": [
|
|
4200
|
-
"$ xano
|
|
4201
|
-
"$ xano
|
|
4202
|
-
"$ xano
|
|
4203
|
-
"$ xano tenant push ./my-workspace -t my-tenant --records\nInclude table records in import\n",
|
|
4204
|
-
"$ xano tenant push ./my-workspace -t my-tenant --env\nInclude environment variables in import\n",
|
|
4205
|
-
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
4293
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
4294
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
4295
|
+
"$ xano workspace create new-project -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
|
|
4206
4296
|
],
|
|
4207
4297
|
"flags": {
|
|
4208
4298
|
"profile": {
|
|
@@ -4224,56 +4314,33 @@
|
|
|
4224
4314
|
"allowNo": false,
|
|
4225
4315
|
"type": "boolean"
|
|
4226
4316
|
},
|
|
4227
|
-
"
|
|
4228
|
-
"
|
|
4229
|
-
"
|
|
4230
|
-
"
|
|
4231
|
-
"allowNo": false,
|
|
4232
|
-
"type": "boolean"
|
|
4233
|
-
},
|
|
4234
|
-
"records": {
|
|
4235
|
-
"description": "Include records in import",
|
|
4236
|
-
"name": "records",
|
|
4317
|
+
"description": {
|
|
4318
|
+
"char": "d",
|
|
4319
|
+
"description": "Description for the workspace",
|
|
4320
|
+
"name": "description",
|
|
4237
4321
|
"required": false,
|
|
4238
|
-
"allowNo": false,
|
|
4239
|
-
"type": "boolean"
|
|
4240
|
-
},
|
|
4241
|
-
"tenant": {
|
|
4242
|
-
"char": "t",
|
|
4243
|
-
"description": "Tenant name to push to",
|
|
4244
|
-
"name": "tenant",
|
|
4245
|
-
"required": true,
|
|
4246
4322
|
"hasDynamicHelp": false,
|
|
4247
4323
|
"multiple": false,
|
|
4248
4324
|
"type": "option"
|
|
4249
4325
|
},
|
|
4250
|
-
"
|
|
4251
|
-
"
|
|
4252
|
-
"
|
|
4253
|
-
"
|
|
4254
|
-
"allowNo": true,
|
|
4255
|
-
"type": "boolean"
|
|
4256
|
-
},
|
|
4257
|
-
"truncate": {
|
|
4258
|
-
"description": "Truncate all table records before importing",
|
|
4259
|
-
"name": "truncate",
|
|
4260
|
-
"required": false,
|
|
4261
|
-
"allowNo": false,
|
|
4262
|
-
"type": "boolean"
|
|
4263
|
-
},
|
|
4264
|
-
"workspace": {
|
|
4265
|
-
"char": "w",
|
|
4266
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
4267
|
-
"name": "workspace",
|
|
4326
|
+
"output": {
|
|
4327
|
+
"char": "o",
|
|
4328
|
+
"description": "Output format",
|
|
4329
|
+
"name": "output",
|
|
4268
4330
|
"required": false,
|
|
4331
|
+
"default": "summary",
|
|
4269
4332
|
"hasDynamicHelp": false,
|
|
4270
4333
|
"multiple": false,
|
|
4334
|
+
"options": [
|
|
4335
|
+
"summary",
|
|
4336
|
+
"json"
|
|
4337
|
+
],
|
|
4271
4338
|
"type": "option"
|
|
4272
4339
|
}
|
|
4273
4340
|
},
|
|
4274
4341
|
"hasDynamicHelp": false,
|
|
4275
4342
|
"hiddenAliases": [],
|
|
4276
|
-
"id": "
|
|
4343
|
+
"id": "workspace:create",
|
|
4277
4344
|
"pluginAlias": "@xano/cli",
|
|
4278
4345
|
"pluginName": "@xano/cli",
|
|
4279
4346
|
"pluginType": "core",
|
|
@@ -4283,8 +4350,8 @@
|
|
|
4283
4350
|
"relativePath": [
|
|
4284
4351
|
"dist",
|
|
4285
4352
|
"commands",
|
|
4286
|
-
"
|
|
4287
|
-
"
|
|
4353
|
+
"workspace",
|
|
4354
|
+
"create",
|
|
4288
4355
|
"index.js"
|
|
4289
4356
|
]
|
|
4290
4357
|
},
|
|
@@ -4463,73 +4530,6 @@
|
|
|
4463
4530
|
"index.js"
|
|
4464
4531
|
]
|
|
4465
4532
|
},
|
|
4466
|
-
"workspace:get": {
|
|
4467
|
-
"aliases": [],
|
|
4468
|
-
"args": {
|
|
4469
|
-
"workspace_id": {
|
|
4470
|
-
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4471
|
-
"name": "workspace_id",
|
|
4472
|
-
"required": false
|
|
4473
|
-
}
|
|
4474
|
-
},
|
|
4475
|
-
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4476
|
-
"examples": [
|
|
4477
|
-
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
4478
|
-
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
4479
|
-
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4480
|
-
],
|
|
4481
|
-
"flags": {
|
|
4482
|
-
"profile": {
|
|
4483
|
-
"char": "p",
|
|
4484
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4485
|
-
"env": "XANO_PROFILE",
|
|
4486
|
-
"name": "profile",
|
|
4487
|
-
"required": false,
|
|
4488
|
-
"hasDynamicHelp": false,
|
|
4489
|
-
"multiple": false,
|
|
4490
|
-
"type": "option"
|
|
4491
|
-
},
|
|
4492
|
-
"verbose": {
|
|
4493
|
-
"char": "v",
|
|
4494
|
-
"description": "Show detailed request/response information",
|
|
4495
|
-
"env": "XANO_VERBOSE",
|
|
4496
|
-
"name": "verbose",
|
|
4497
|
-
"required": false,
|
|
4498
|
-
"allowNo": false,
|
|
4499
|
-
"type": "boolean"
|
|
4500
|
-
},
|
|
4501
|
-
"output": {
|
|
4502
|
-
"char": "o",
|
|
4503
|
-
"description": "Output format",
|
|
4504
|
-
"name": "output",
|
|
4505
|
-
"required": false,
|
|
4506
|
-
"default": "summary",
|
|
4507
|
-
"hasDynamicHelp": false,
|
|
4508
|
-
"multiple": false,
|
|
4509
|
-
"options": [
|
|
4510
|
-
"summary",
|
|
4511
|
-
"json"
|
|
4512
|
-
],
|
|
4513
|
-
"type": "option"
|
|
4514
|
-
}
|
|
4515
|
-
},
|
|
4516
|
-
"hasDynamicHelp": false,
|
|
4517
|
-
"hiddenAliases": [],
|
|
4518
|
-
"id": "workspace:get",
|
|
4519
|
-
"pluginAlias": "@xano/cli",
|
|
4520
|
-
"pluginName": "@xano/cli",
|
|
4521
|
-
"pluginType": "core",
|
|
4522
|
-
"strict": true,
|
|
4523
|
-
"enableJsonFlag": false,
|
|
4524
|
-
"isESM": true,
|
|
4525
|
-
"relativePath": [
|
|
4526
|
-
"dist",
|
|
4527
|
-
"commands",
|
|
4528
|
-
"workspace",
|
|
4529
|
-
"get",
|
|
4530
|
-
"index.js"
|
|
4531
|
-
]
|
|
4532
|
-
},
|
|
4533
4533
|
"workspace:list": {
|
|
4534
4534
|
"aliases": [],
|
|
4535
4535
|
"args": {},
|
|
@@ -4708,10 +4708,10 @@
|
|
|
4708
4708
|
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4709
4709
|
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4710
4710
|
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4711
|
-
"$ xano workspace push ./my-workspace -
|
|
4712
|
-
"$ xano workspace push ./my-workspace -
|
|
4711
|
+
"$ xano workspace push ./my-workspace -i \"**/func*\"\nPush only files matching the glob pattern\n",
|
|
4712
|
+
"$ xano workspace push ./my-workspace -i \"function/*\" -i \"table/*\"\nPush files matching multiple patterns\n",
|
|
4713
4713
|
"$ xano workspace push ./my-workspace -e \"table/*\"\nPush all files except tables\n",
|
|
4714
|
-
"$ xano workspace push ./my-workspace -
|
|
4714
|
+
"$ xano workspace push ./my-workspace -i \"function/*\" -e \"**/test*\"\nPush functions but exclude test files\n"
|
|
4715
4715
|
],
|
|
4716
4716
|
"flags": {
|
|
4717
4717
|
"profile": {
|
|
@@ -4816,10 +4816,10 @@
|
|
|
4816
4816
|
"multiple": true,
|
|
4817
4817
|
"type": "option"
|
|
4818
4818
|
},
|
|
4819
|
-
"
|
|
4820
|
-
"char": "
|
|
4821
|
-
"description": "Glob pattern to
|
|
4822
|
-
"name": "
|
|
4819
|
+
"include": {
|
|
4820
|
+
"char": "i",
|
|
4821
|
+
"description": "Glob pattern to include files (e.g. \"**/func*\", \"table/*.xs\"). Matched against relative paths from the push directory.",
|
|
4822
|
+
"name": "include",
|
|
4823
4823
|
"required": false,
|
|
4824
4824
|
"hasDynamicHelp": false,
|
|
4825
4825
|
"multiple": true,
|
|
@@ -5180,13 +5180,20 @@
|
|
|
5180
5180
|
"index.js"
|
|
5181
5181
|
]
|
|
5182
5182
|
},
|
|
5183
|
-
"tenant:
|
|
5183
|
+
"tenant:backup:delete": {
|
|
5184
5184
|
"aliases": [],
|
|
5185
|
-
"args": {
|
|
5186
|
-
|
|
5185
|
+
"args": {
|
|
5186
|
+
"tenant_name": {
|
|
5187
|
+
"description": "Tenant name that owns the backup",
|
|
5188
|
+
"name": "tenant_name",
|
|
5189
|
+
"required": true
|
|
5190
|
+
}
|
|
5191
|
+
},
|
|
5192
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5187
5193
|
"examples": [
|
|
5188
|
-
"$ xano tenant
|
|
5189
|
-
"$ xano tenant
|
|
5194
|
+
"$ 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",
|
|
5195
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5196
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5190
5197
|
],
|
|
5191
5198
|
"flags": {
|
|
5192
5199
|
"profile": {
|
|
@@ -5208,53 +5215,21 @@
|
|
|
5208
5215
|
"allowNo": false,
|
|
5209
5216
|
"type": "boolean"
|
|
5210
5217
|
},
|
|
5211
|
-
"
|
|
5212
|
-
"description": "
|
|
5213
|
-
"
|
|
5214
|
-
|
|
5215
|
-
],
|
|
5216
|
-
"name": "credentials",
|
|
5217
|
-
"required": false,
|
|
5218
|
-
"hasDynamicHelp": false,
|
|
5219
|
-
"multiple": false,
|
|
5220
|
-
"type": "option"
|
|
5221
|
-
},
|
|
5222
|
-
"credentials_file": {
|
|
5223
|
-
"description": "Path to kubeconfig credentials file",
|
|
5224
|
-
"exclusive": [
|
|
5225
|
-
"credentials"
|
|
5226
|
-
],
|
|
5227
|
-
"name": "credentials_file",
|
|
5228
|
-
"required": false,
|
|
5229
|
-
"hasDynamicHelp": false,
|
|
5230
|
-
"multiple": false,
|
|
5231
|
-
"type": "option"
|
|
5232
|
-
},
|
|
5233
|
-
"description": {
|
|
5234
|
-
"char": "d",
|
|
5235
|
-
"description": "Cluster description",
|
|
5236
|
-
"name": "description",
|
|
5237
|
-
"required": false,
|
|
5218
|
+
"backup_id": {
|
|
5219
|
+
"description": "Backup ID to delete",
|
|
5220
|
+
"name": "backup_id",
|
|
5221
|
+
"required": true,
|
|
5238
5222
|
"hasDynamicHelp": false,
|
|
5239
5223
|
"multiple": false,
|
|
5240
5224
|
"type": "option"
|
|
5241
5225
|
},
|
|
5242
|
-
"
|
|
5243
|
-
"
|
|
5244
|
-
"
|
|
5226
|
+
"force": {
|
|
5227
|
+
"char": "f",
|
|
5228
|
+
"description": "Skip confirmation prompt",
|
|
5229
|
+
"name": "force",
|
|
5245
5230
|
"required": false,
|
|
5246
|
-
"
|
|
5247
|
-
"
|
|
5248
|
-
"type": "option"
|
|
5249
|
-
},
|
|
5250
|
-
"name": {
|
|
5251
|
-
"char": "n",
|
|
5252
|
-
"description": "Cluster name",
|
|
5253
|
-
"name": "name",
|
|
5254
|
-
"required": true,
|
|
5255
|
-
"hasDynamicHelp": false,
|
|
5256
|
-
"multiple": false,
|
|
5257
|
-
"type": "option"
|
|
5231
|
+
"allowNo": false,
|
|
5232
|
+
"type": "boolean"
|
|
5258
5233
|
},
|
|
5259
5234
|
"output": {
|
|
5260
5235
|
"char": "o",
|
|
@@ -5270,23 +5245,19 @@
|
|
|
5270
5245
|
],
|
|
5271
5246
|
"type": "option"
|
|
5272
5247
|
},
|
|
5273
|
-
"
|
|
5274
|
-
"
|
|
5275
|
-
"
|
|
5248
|
+
"workspace": {
|
|
5249
|
+
"char": "w",
|
|
5250
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5251
|
+
"name": "workspace",
|
|
5276
5252
|
"required": false,
|
|
5277
|
-
"default": "standard",
|
|
5278
5253
|
"hasDynamicHelp": false,
|
|
5279
5254
|
"multiple": false,
|
|
5280
|
-
"options": [
|
|
5281
|
-
"standard",
|
|
5282
|
-
"run"
|
|
5283
|
-
],
|
|
5284
5255
|
"type": "option"
|
|
5285
5256
|
}
|
|
5286
5257
|
},
|
|
5287
5258
|
"hasDynamicHelp": false,
|
|
5288
5259
|
"hiddenAliases": [],
|
|
5289
|
-
"id": "tenant:
|
|
5260
|
+
"id": "tenant:backup:delete",
|
|
5290
5261
|
"pluginAlias": "@xano/cli",
|
|
5291
5262
|
"pluginName": "@xano/cli",
|
|
5292
5263
|
"pluginType": "core",
|
|
@@ -5297,25 +5268,25 @@
|
|
|
5297
5268
|
"dist",
|
|
5298
5269
|
"commands",
|
|
5299
5270
|
"tenant",
|
|
5300
|
-
"
|
|
5301
|
-
"
|
|
5271
|
+
"backup",
|
|
5272
|
+
"delete",
|
|
5302
5273
|
"index.js"
|
|
5303
5274
|
]
|
|
5304
5275
|
},
|
|
5305
|
-
"tenant:
|
|
5276
|
+
"tenant:backup:export": {
|
|
5306
5277
|
"aliases": [],
|
|
5307
5278
|
"args": {
|
|
5308
|
-
"
|
|
5309
|
-
"description": "
|
|
5310
|
-
"name": "
|
|
5279
|
+
"tenant_name": {
|
|
5280
|
+
"description": "Tenant name to export backup from",
|
|
5281
|
+
"name": "tenant_name",
|
|
5311
5282
|
"required": true
|
|
5312
5283
|
}
|
|
5313
5284
|
},
|
|
5314
|
-
"description": "
|
|
5285
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5315
5286
|
"examples": [
|
|
5316
|
-
"$ xano tenant
|
|
5317
|
-
"$ xano tenant
|
|
5318
|
-
"$ xano tenant
|
|
5287
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5288
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5289
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5319
5290
|
],
|
|
5320
5291
|
"flags": {
|
|
5321
5292
|
"profile": {
|
|
@@ -5337,18 +5308,18 @@
|
|
|
5337
5308
|
"allowNo": false,
|
|
5338
5309
|
"type": "boolean"
|
|
5339
5310
|
},
|
|
5340
|
-
"
|
|
5341
|
-
"
|
|
5342
|
-
"
|
|
5343
|
-
"
|
|
5344
|
-
"
|
|
5345
|
-
"
|
|
5346
|
-
"type": "
|
|
5311
|
+
"backup_id": {
|
|
5312
|
+
"description": "Backup ID to export",
|
|
5313
|
+
"name": "backup_id",
|
|
5314
|
+
"required": true,
|
|
5315
|
+
"hasDynamicHelp": false,
|
|
5316
|
+
"multiple": false,
|
|
5317
|
+
"type": "option"
|
|
5347
5318
|
},
|
|
5348
|
-
"
|
|
5319
|
+
"format": {
|
|
5349
5320
|
"char": "o",
|
|
5350
5321
|
"description": "Output format",
|
|
5351
|
-
"name": "
|
|
5322
|
+
"name": "format",
|
|
5352
5323
|
"required": false,
|
|
5353
5324
|
"default": "summary",
|
|
5354
5325
|
"hasDynamicHelp": false,
|
|
@@ -5358,11 +5329,28 @@
|
|
|
5358
5329
|
"json"
|
|
5359
5330
|
],
|
|
5360
5331
|
"type": "option"
|
|
5332
|
+
},
|
|
5333
|
+
"output": {
|
|
5334
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5335
|
+
"name": "output",
|
|
5336
|
+
"required": false,
|
|
5337
|
+
"hasDynamicHelp": false,
|
|
5338
|
+
"multiple": false,
|
|
5339
|
+
"type": "option"
|
|
5340
|
+
},
|
|
5341
|
+
"workspace": {
|
|
5342
|
+
"char": "w",
|
|
5343
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5344
|
+
"name": "workspace",
|
|
5345
|
+
"required": false,
|
|
5346
|
+
"hasDynamicHelp": false,
|
|
5347
|
+
"multiple": false,
|
|
5348
|
+
"type": "option"
|
|
5361
5349
|
}
|
|
5362
5350
|
},
|
|
5363
5351
|
"hasDynamicHelp": false,
|
|
5364
5352
|
"hiddenAliases": [],
|
|
5365
|
-
"id": "tenant:
|
|
5353
|
+
"id": "tenant:backup:export",
|
|
5366
5354
|
"pluginAlias": "@xano/cli",
|
|
5367
5355
|
"pluginName": "@xano/cli",
|
|
5368
5356
|
"pluginType": "core",
|
|
@@ -5373,24 +5361,24 @@
|
|
|
5373
5361
|
"dist",
|
|
5374
5362
|
"commands",
|
|
5375
5363
|
"tenant",
|
|
5376
|
-
"
|
|
5377
|
-
"
|
|
5364
|
+
"backup",
|
|
5365
|
+
"export",
|
|
5378
5366
|
"index.js"
|
|
5379
5367
|
]
|
|
5380
5368
|
},
|
|
5381
|
-
"tenant:
|
|
5369
|
+
"tenant:backup:import": {
|
|
5382
5370
|
"aliases": [],
|
|
5383
5371
|
"args": {
|
|
5384
|
-
"
|
|
5385
|
-
"description": "
|
|
5386
|
-
"name": "
|
|
5372
|
+
"tenant_name": {
|
|
5373
|
+
"description": "Tenant name to import backup into",
|
|
5374
|
+
"name": "tenant_name",
|
|
5387
5375
|
"required": true
|
|
5388
5376
|
}
|
|
5389
5377
|
},
|
|
5390
|
-
"description": "
|
|
5378
|
+
"description": "Import a backup file into a tenant",
|
|
5391
5379
|
"examples": [
|
|
5392
|
-
"$ xano tenant
|
|
5393
|
-
"$ xano tenant
|
|
5380
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5381
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5394
5382
|
],
|
|
5395
5383
|
"flags": {
|
|
5396
5384
|
"profile": {
|
|
@@ -5414,25 +5402,18 @@
|
|
|
5414
5402
|
},
|
|
5415
5403
|
"description": {
|
|
5416
5404
|
"char": "d",
|
|
5417
|
-
"description": "
|
|
5405
|
+
"description": "Backup description",
|
|
5418
5406
|
"name": "description",
|
|
5419
|
-
"required":
|
|
5407
|
+
"required": false,
|
|
5408
|
+
"default": "",
|
|
5420
5409
|
"hasDynamicHelp": false,
|
|
5421
5410
|
"multiple": false,
|
|
5422
5411
|
"type": "option"
|
|
5423
5412
|
},
|
|
5424
|
-
"
|
|
5425
|
-
"
|
|
5426
|
-
"
|
|
5427
|
-
"
|
|
5428
|
-
"hasDynamicHelp": false,
|
|
5429
|
-
"multiple": false,
|
|
5430
|
-
"type": "option"
|
|
5431
|
-
},
|
|
5432
|
-
"name": {
|
|
5433
|
-
"char": "n",
|
|
5434
|
-
"description": "Cluster name",
|
|
5435
|
-
"name": "name",
|
|
5413
|
+
"file": {
|
|
5414
|
+
"char": "f",
|
|
5415
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5416
|
+
"name": "file",
|
|
5436
5417
|
"required": true,
|
|
5437
5418
|
"hasDynamicHelp": false,
|
|
5438
5419
|
"multiple": false,
|
|
@@ -5452,22 +5433,19 @@
|
|
|
5452
5433
|
],
|
|
5453
5434
|
"type": "option"
|
|
5454
5435
|
},
|
|
5455
|
-
"
|
|
5456
|
-
"
|
|
5457
|
-
"
|
|
5458
|
-
"
|
|
5436
|
+
"workspace": {
|
|
5437
|
+
"char": "w",
|
|
5438
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5439
|
+
"name": "workspace",
|
|
5440
|
+
"required": false,
|
|
5459
5441
|
"hasDynamicHelp": false,
|
|
5460
5442
|
"multiple": false,
|
|
5461
|
-
"options": [
|
|
5462
|
-
"standard",
|
|
5463
|
-
"run"
|
|
5464
|
-
],
|
|
5465
5443
|
"type": "option"
|
|
5466
5444
|
}
|
|
5467
5445
|
},
|
|
5468
5446
|
"hasDynamicHelp": false,
|
|
5469
5447
|
"hiddenAliases": [],
|
|
5470
|
-
"id": "tenant:
|
|
5448
|
+
"id": "tenant:backup:import",
|
|
5471
5449
|
"pluginAlias": "@xano/cli",
|
|
5472
5450
|
"pluginName": "@xano/cli",
|
|
5473
5451
|
"pluginType": "core",
|
|
@@ -5478,18 +5456,24 @@
|
|
|
5478
5456
|
"dist",
|
|
5479
5457
|
"commands",
|
|
5480
5458
|
"tenant",
|
|
5481
|
-
"
|
|
5482
|
-
"
|
|
5459
|
+
"backup",
|
|
5460
|
+
"import",
|
|
5483
5461
|
"index.js"
|
|
5484
5462
|
]
|
|
5485
5463
|
},
|
|
5486
|
-
"tenant:
|
|
5464
|
+
"tenant:backup:restore": {
|
|
5487
5465
|
"aliases": [],
|
|
5488
|
-
"args": {
|
|
5489
|
-
|
|
5466
|
+
"args": {
|
|
5467
|
+
"tenant_name": {
|
|
5468
|
+
"description": "Tenant name to restore",
|
|
5469
|
+
"name": "tenant_name",
|
|
5470
|
+
"required": true
|
|
5471
|
+
}
|
|
5472
|
+
},
|
|
5473
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5490
5474
|
"examples": [
|
|
5491
|
-
"$ xano tenant
|
|
5492
|
-
"$ xano tenant
|
|
5475
|
+
"$ 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",
|
|
5476
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5493
5477
|
],
|
|
5494
5478
|
"flags": {
|
|
5495
5479
|
"profile": {
|
|
@@ -5511,6 +5495,22 @@
|
|
|
5511
5495
|
"allowNo": false,
|
|
5512
5496
|
"type": "boolean"
|
|
5513
5497
|
},
|
|
5498
|
+
"backup_id": {
|
|
5499
|
+
"description": "Backup ID to restore from",
|
|
5500
|
+
"name": "backup_id",
|
|
5501
|
+
"required": true,
|
|
5502
|
+
"hasDynamicHelp": false,
|
|
5503
|
+
"multiple": false,
|
|
5504
|
+
"type": "option"
|
|
5505
|
+
},
|
|
5506
|
+
"force": {
|
|
5507
|
+
"char": "f",
|
|
5508
|
+
"description": "Skip confirmation prompt",
|
|
5509
|
+
"name": "force",
|
|
5510
|
+
"required": false,
|
|
5511
|
+
"allowNo": false,
|
|
5512
|
+
"type": "boolean"
|
|
5513
|
+
},
|
|
5514
5514
|
"output": {
|
|
5515
5515
|
"char": "o",
|
|
5516
5516
|
"description": "Output format",
|
|
@@ -5524,11 +5524,20 @@
|
|
|
5524
5524
|
"json"
|
|
5525
5525
|
],
|
|
5526
5526
|
"type": "option"
|
|
5527
|
+
},
|
|
5528
|
+
"workspace": {
|
|
5529
|
+
"char": "w",
|
|
5530
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5531
|
+
"name": "workspace",
|
|
5532
|
+
"required": false,
|
|
5533
|
+
"hasDynamicHelp": false,
|
|
5534
|
+
"multiple": false,
|
|
5535
|
+
"type": "option"
|
|
5527
5536
|
}
|
|
5528
5537
|
},
|
|
5529
5538
|
"hasDynamicHelp": false,
|
|
5530
5539
|
"hiddenAliases": [],
|
|
5531
|
-
"id": "tenant:
|
|
5540
|
+
"id": "tenant:backup:restore",
|
|
5532
5541
|
"pluginAlias": "@xano/cli",
|
|
5533
5542
|
"pluginName": "@xano/cli",
|
|
5534
5543
|
"pluginType": "core",
|
|
@@ -5539,24 +5548,24 @@
|
|
|
5539
5548
|
"dist",
|
|
5540
5549
|
"commands",
|
|
5541
5550
|
"tenant",
|
|
5542
|
-
"
|
|
5543
|
-
"
|
|
5551
|
+
"backup",
|
|
5552
|
+
"restore",
|
|
5544
5553
|
"index.js"
|
|
5545
5554
|
]
|
|
5546
5555
|
},
|
|
5547
|
-
"tenant:backup:
|
|
5556
|
+
"tenant:backup:list": {
|
|
5548
5557
|
"aliases": [],
|
|
5549
5558
|
"args": {
|
|
5550
5559
|
"tenant_name": {
|
|
5551
|
-
"description": "Tenant name to
|
|
5560
|
+
"description": "Tenant name to list backups for",
|
|
5552
5561
|
"name": "tenant_name",
|
|
5553
5562
|
"required": true
|
|
5554
5563
|
}
|
|
5555
5564
|
},
|
|
5556
|
-
"description": "
|
|
5565
|
+
"description": "List backups for a tenant",
|
|
5557
5566
|
"examples": [
|
|
5558
|
-
"$ xano tenant backup
|
|
5559
|
-
"$ xano tenant backup
|
|
5567
|
+
"$ 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",
|
|
5568
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5560
5569
|
],
|
|
5561
5570
|
"flags": {
|
|
5562
5571
|
"profile": {
|
|
@@ -5578,16 +5587,6 @@
|
|
|
5578
5587
|
"allowNo": false,
|
|
5579
5588
|
"type": "boolean"
|
|
5580
5589
|
},
|
|
5581
|
-
"description": {
|
|
5582
|
-
"char": "d",
|
|
5583
|
-
"description": "Backup description",
|
|
5584
|
-
"name": "description",
|
|
5585
|
-
"required": false,
|
|
5586
|
-
"default": "",
|
|
5587
|
-
"hasDynamicHelp": false,
|
|
5588
|
-
"multiple": false,
|
|
5589
|
-
"type": "option"
|
|
5590
|
-
},
|
|
5591
5590
|
"output": {
|
|
5592
5591
|
"char": "o",
|
|
5593
5592
|
"description": "Output format",
|
|
@@ -5602,6 +5601,15 @@
|
|
|
5602
5601
|
],
|
|
5603
5602
|
"type": "option"
|
|
5604
5603
|
},
|
|
5604
|
+
"page": {
|
|
5605
|
+
"description": "Page number for pagination",
|
|
5606
|
+
"name": "page",
|
|
5607
|
+
"required": false,
|
|
5608
|
+
"default": 1,
|
|
5609
|
+
"hasDynamicHelp": false,
|
|
5610
|
+
"multiple": false,
|
|
5611
|
+
"type": "option"
|
|
5612
|
+
},
|
|
5605
5613
|
"workspace": {
|
|
5606
5614
|
"char": "w",
|
|
5607
5615
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5614,7 +5622,7 @@
|
|
|
5614
5622
|
},
|
|
5615
5623
|
"hasDynamicHelp": false,
|
|
5616
5624
|
"hiddenAliases": [],
|
|
5617
|
-
"id": "tenant:backup:
|
|
5625
|
+
"id": "tenant:backup:list",
|
|
5618
5626
|
"pluginAlias": "@xano/cli",
|
|
5619
5627
|
"pluginName": "@xano/cli",
|
|
5620
5628
|
"pluginType": "core",
|
|
@@ -5626,24 +5634,17 @@
|
|
|
5626
5634
|
"commands",
|
|
5627
5635
|
"tenant",
|
|
5628
5636
|
"backup",
|
|
5629
|
-
"
|
|
5637
|
+
"list",
|
|
5630
5638
|
"index.js"
|
|
5631
5639
|
]
|
|
5632
5640
|
},
|
|
5633
|
-
"tenant:
|
|
5641
|
+
"tenant:cluster:create": {
|
|
5634
5642
|
"aliases": [],
|
|
5635
|
-
"args": {
|
|
5636
|
-
|
|
5637
|
-
"description": "Tenant name that owns the backup",
|
|
5638
|
-
"name": "tenant_name",
|
|
5639
|
-
"required": true
|
|
5640
|
-
}
|
|
5641
|
-
},
|
|
5642
|
-
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5643
|
+
"args": {},
|
|
5644
|
+
"description": "Create a new tenant cluster",
|
|
5643
5645
|
"examples": [
|
|
5644
|
-
"$ xano tenant
|
|
5645
|
-
"$ xano tenant
|
|
5646
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5646
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
5647
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
5647
5648
|
],
|
|
5648
5649
|
"flags": {
|
|
5649
5650
|
"profile": {
|
|
@@ -5665,21 +5666,53 @@
|
|
|
5665
5666
|
"allowNo": false,
|
|
5666
5667
|
"type": "boolean"
|
|
5667
5668
|
},
|
|
5668
|
-
"
|
|
5669
|
-
"description": "
|
|
5670
|
-
"
|
|
5671
|
-
|
|
5669
|
+
"credentials": {
|
|
5670
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
5671
|
+
"exclusive": [
|
|
5672
|
+
"credentials_file"
|
|
5673
|
+
],
|
|
5674
|
+
"name": "credentials",
|
|
5675
|
+
"required": false,
|
|
5672
5676
|
"hasDynamicHelp": false,
|
|
5673
5677
|
"multiple": false,
|
|
5674
5678
|
"type": "option"
|
|
5675
5679
|
},
|
|
5676
|
-
"
|
|
5677
|
-
"
|
|
5678
|
-
"
|
|
5679
|
-
|
|
5680
|
+
"credentials_file": {
|
|
5681
|
+
"description": "Path to kubeconfig credentials file",
|
|
5682
|
+
"exclusive": [
|
|
5683
|
+
"credentials"
|
|
5684
|
+
],
|
|
5685
|
+
"name": "credentials_file",
|
|
5680
5686
|
"required": false,
|
|
5681
|
-
"
|
|
5682
|
-
"
|
|
5687
|
+
"hasDynamicHelp": false,
|
|
5688
|
+
"multiple": false,
|
|
5689
|
+
"type": "option"
|
|
5690
|
+
},
|
|
5691
|
+
"description": {
|
|
5692
|
+
"char": "d",
|
|
5693
|
+
"description": "Cluster description",
|
|
5694
|
+
"name": "description",
|
|
5695
|
+
"required": false,
|
|
5696
|
+
"hasDynamicHelp": false,
|
|
5697
|
+
"multiple": false,
|
|
5698
|
+
"type": "option"
|
|
5699
|
+
},
|
|
5700
|
+
"domain": {
|
|
5701
|
+
"description": "Custom domain for the cluster",
|
|
5702
|
+
"name": "domain",
|
|
5703
|
+
"required": false,
|
|
5704
|
+
"hasDynamicHelp": false,
|
|
5705
|
+
"multiple": false,
|
|
5706
|
+
"type": "option"
|
|
5707
|
+
},
|
|
5708
|
+
"name": {
|
|
5709
|
+
"char": "n",
|
|
5710
|
+
"description": "Cluster name",
|
|
5711
|
+
"name": "name",
|
|
5712
|
+
"required": true,
|
|
5713
|
+
"hasDynamicHelp": false,
|
|
5714
|
+
"multiple": false,
|
|
5715
|
+
"type": "option"
|
|
5683
5716
|
},
|
|
5684
5717
|
"output": {
|
|
5685
5718
|
"char": "o",
|
|
@@ -5695,19 +5728,23 @@
|
|
|
5695
5728
|
],
|
|
5696
5729
|
"type": "option"
|
|
5697
5730
|
},
|
|
5698
|
-
"
|
|
5699
|
-
"
|
|
5700
|
-
"
|
|
5701
|
-
"name": "workspace",
|
|
5731
|
+
"type": {
|
|
5732
|
+
"description": "Cluster type",
|
|
5733
|
+
"name": "type",
|
|
5702
5734
|
"required": false,
|
|
5735
|
+
"default": "standard",
|
|
5703
5736
|
"hasDynamicHelp": false,
|
|
5704
5737
|
"multiple": false,
|
|
5738
|
+
"options": [
|
|
5739
|
+
"standard",
|
|
5740
|
+
"run"
|
|
5741
|
+
],
|
|
5705
5742
|
"type": "option"
|
|
5706
5743
|
}
|
|
5707
5744
|
},
|
|
5708
5745
|
"hasDynamicHelp": false,
|
|
5709
5746
|
"hiddenAliases": [],
|
|
5710
|
-
"id": "tenant:
|
|
5747
|
+
"id": "tenant:cluster:create",
|
|
5711
5748
|
"pluginAlias": "@xano/cli",
|
|
5712
5749
|
"pluginName": "@xano/cli",
|
|
5713
5750
|
"pluginType": "core",
|
|
@@ -5718,25 +5755,25 @@
|
|
|
5718
5755
|
"dist",
|
|
5719
5756
|
"commands",
|
|
5720
5757
|
"tenant",
|
|
5721
|
-
"
|
|
5722
|
-
"
|
|
5758
|
+
"cluster",
|
|
5759
|
+
"create",
|
|
5723
5760
|
"index.js"
|
|
5724
5761
|
]
|
|
5725
5762
|
},
|
|
5726
|
-
"tenant:
|
|
5763
|
+
"tenant:cluster:delete": {
|
|
5727
5764
|
"aliases": [],
|
|
5728
5765
|
"args": {
|
|
5729
|
-
"
|
|
5730
|
-
"description": "
|
|
5731
|
-
"name": "
|
|
5766
|
+
"cluster_id": {
|
|
5767
|
+
"description": "Cluster ID to delete",
|
|
5768
|
+
"name": "cluster_id",
|
|
5732
5769
|
"required": true
|
|
5733
5770
|
}
|
|
5734
5771
|
},
|
|
5735
|
-
"description": "
|
|
5772
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5736
5773
|
"examples": [
|
|
5737
|
-
"$ xano tenant
|
|
5738
|
-
"$ xano tenant
|
|
5739
|
-
"$ xano tenant
|
|
5774
|
+
"$ 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",
|
|
5775
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5776
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5740
5777
|
],
|
|
5741
5778
|
"flags": {
|
|
5742
5779
|
"profile": {
|
|
@@ -5758,18 +5795,18 @@
|
|
|
5758
5795
|
"allowNo": false,
|
|
5759
5796
|
"type": "boolean"
|
|
5760
5797
|
},
|
|
5761
|
-
"
|
|
5762
|
-
"
|
|
5763
|
-
"
|
|
5764
|
-
"
|
|
5765
|
-
"
|
|
5766
|
-
"
|
|
5767
|
-
"type": "
|
|
5798
|
+
"force": {
|
|
5799
|
+
"char": "f",
|
|
5800
|
+
"description": "Skip confirmation prompt",
|
|
5801
|
+
"name": "force",
|
|
5802
|
+
"required": false,
|
|
5803
|
+
"allowNo": false,
|
|
5804
|
+
"type": "boolean"
|
|
5768
5805
|
},
|
|
5769
|
-
"
|
|
5806
|
+
"output": {
|
|
5770
5807
|
"char": "o",
|
|
5771
5808
|
"description": "Output format",
|
|
5772
|
-
"name": "
|
|
5809
|
+
"name": "output",
|
|
5773
5810
|
"required": false,
|
|
5774
5811
|
"default": "summary",
|
|
5775
5812
|
"hasDynamicHelp": false,
|
|
@@ -5779,28 +5816,11 @@
|
|
|
5779
5816
|
"json"
|
|
5780
5817
|
],
|
|
5781
5818
|
"type": "option"
|
|
5782
|
-
},
|
|
5783
|
-
"output": {
|
|
5784
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5785
|
-
"name": "output",
|
|
5786
|
-
"required": false,
|
|
5787
|
-
"hasDynamicHelp": false,
|
|
5788
|
-
"multiple": false,
|
|
5789
|
-
"type": "option"
|
|
5790
|
-
},
|
|
5791
|
-
"workspace": {
|
|
5792
|
-
"char": "w",
|
|
5793
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5794
|
-
"name": "workspace",
|
|
5795
|
-
"required": false,
|
|
5796
|
-
"hasDynamicHelp": false,
|
|
5797
|
-
"multiple": false,
|
|
5798
|
-
"type": "option"
|
|
5799
5819
|
}
|
|
5800
5820
|
},
|
|
5801
5821
|
"hasDynamicHelp": false,
|
|
5802
5822
|
"hiddenAliases": [],
|
|
5803
|
-
"id": "tenant:
|
|
5823
|
+
"id": "tenant:cluster:delete",
|
|
5804
5824
|
"pluginAlias": "@xano/cli",
|
|
5805
5825
|
"pluginName": "@xano/cli",
|
|
5806
5826
|
"pluginType": "core",
|
|
@@ -5811,24 +5831,24 @@
|
|
|
5811
5831
|
"dist",
|
|
5812
5832
|
"commands",
|
|
5813
5833
|
"tenant",
|
|
5814
|
-
"
|
|
5815
|
-
"
|
|
5834
|
+
"cluster",
|
|
5835
|
+
"delete",
|
|
5816
5836
|
"index.js"
|
|
5817
5837
|
]
|
|
5818
5838
|
},
|
|
5819
|
-
"tenant:
|
|
5839
|
+
"tenant:cluster:get": {
|
|
5820
5840
|
"aliases": [],
|
|
5821
5841
|
"args": {
|
|
5822
|
-
"
|
|
5823
|
-
"description": "
|
|
5824
|
-
"name": "
|
|
5842
|
+
"cluster_id": {
|
|
5843
|
+
"description": "Cluster ID to retrieve",
|
|
5844
|
+
"name": "cluster_id",
|
|
5825
5845
|
"required": true
|
|
5826
5846
|
}
|
|
5827
5847
|
},
|
|
5828
|
-
"description": "
|
|
5848
|
+
"description": "Get details of a specific tenant cluster",
|
|
5829
5849
|
"examples": [
|
|
5830
|
-
"$ xano tenant
|
|
5831
|
-
"$ xano tenant
|
|
5850
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5851
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5832
5852
|
],
|
|
5833
5853
|
"flags": {
|
|
5834
5854
|
"profile": {
|
|
@@ -5850,25 +5870,6 @@
|
|
|
5850
5870
|
"allowNo": false,
|
|
5851
5871
|
"type": "boolean"
|
|
5852
5872
|
},
|
|
5853
|
-
"description": {
|
|
5854
|
-
"char": "d",
|
|
5855
|
-
"description": "Backup description",
|
|
5856
|
-
"name": "description",
|
|
5857
|
-
"required": false,
|
|
5858
|
-
"default": "",
|
|
5859
|
-
"hasDynamicHelp": false,
|
|
5860
|
-
"multiple": false,
|
|
5861
|
-
"type": "option"
|
|
5862
|
-
},
|
|
5863
|
-
"file": {
|
|
5864
|
-
"char": "f",
|
|
5865
|
-
"description": "Path to the backup file (.tar.gz)",
|
|
5866
|
-
"name": "file",
|
|
5867
|
-
"required": true,
|
|
5868
|
-
"hasDynamicHelp": false,
|
|
5869
|
-
"multiple": false,
|
|
5870
|
-
"type": "option"
|
|
5871
|
-
},
|
|
5872
5873
|
"output": {
|
|
5873
5874
|
"char": "o",
|
|
5874
5875
|
"description": "Output format",
|
|
@@ -5882,20 +5883,11 @@
|
|
|
5882
5883
|
"json"
|
|
5883
5884
|
],
|
|
5884
5885
|
"type": "option"
|
|
5885
|
-
},
|
|
5886
|
-
"workspace": {
|
|
5887
|
-
"char": "w",
|
|
5888
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5889
|
-
"name": "workspace",
|
|
5890
|
-
"required": false,
|
|
5891
|
-
"hasDynamicHelp": false,
|
|
5892
|
-
"multiple": false,
|
|
5893
|
-
"type": "option"
|
|
5894
5886
|
}
|
|
5895
5887
|
},
|
|
5896
5888
|
"hasDynamicHelp": false,
|
|
5897
5889
|
"hiddenAliases": [],
|
|
5898
|
-
"id": "tenant:
|
|
5890
|
+
"id": "tenant:cluster:get",
|
|
5899
5891
|
"pluginAlias": "@xano/cli",
|
|
5900
5892
|
"pluginName": "@xano/cli",
|
|
5901
5893
|
"pluginType": "core",
|
|
@@ -5906,24 +5898,24 @@
|
|
|
5906
5898
|
"dist",
|
|
5907
5899
|
"commands",
|
|
5908
5900
|
"tenant",
|
|
5909
|
-
"
|
|
5910
|
-
"
|
|
5901
|
+
"cluster",
|
|
5902
|
+
"get",
|
|
5911
5903
|
"index.js"
|
|
5912
5904
|
]
|
|
5913
5905
|
},
|
|
5914
|
-
"tenant:
|
|
5906
|
+
"tenant:cluster:edit": {
|
|
5915
5907
|
"aliases": [],
|
|
5916
5908
|
"args": {
|
|
5917
|
-
"
|
|
5918
|
-
"description": "
|
|
5919
|
-
"name": "
|
|
5909
|
+
"cluster_id": {
|
|
5910
|
+
"description": "Cluster ID to edit",
|
|
5911
|
+
"name": "cluster_id",
|
|
5920
5912
|
"required": true
|
|
5921
5913
|
}
|
|
5922
5914
|
},
|
|
5923
|
-
"description": "
|
|
5915
|
+
"description": "Update an existing tenant cluster",
|
|
5924
5916
|
"examples": [
|
|
5925
|
-
"$ xano tenant
|
|
5926
|
-
"$ xano tenant
|
|
5917
|
+
"$ 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",
|
|
5918
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5927
5919
|
],
|
|
5928
5920
|
"flags": {
|
|
5929
5921
|
"profile": {
|
|
@@ -5945,6 +5937,32 @@
|
|
|
5945
5937
|
"allowNo": false,
|
|
5946
5938
|
"type": "boolean"
|
|
5947
5939
|
},
|
|
5940
|
+
"description": {
|
|
5941
|
+
"char": "d",
|
|
5942
|
+
"description": "Cluster description",
|
|
5943
|
+
"name": "description",
|
|
5944
|
+
"required": true,
|
|
5945
|
+
"hasDynamicHelp": false,
|
|
5946
|
+
"multiple": false,
|
|
5947
|
+
"type": "option"
|
|
5948
|
+
},
|
|
5949
|
+
"domain": {
|
|
5950
|
+
"description": "Custom domain for the cluster",
|
|
5951
|
+
"name": "domain",
|
|
5952
|
+
"required": true,
|
|
5953
|
+
"hasDynamicHelp": false,
|
|
5954
|
+
"multiple": false,
|
|
5955
|
+
"type": "option"
|
|
5956
|
+
},
|
|
5957
|
+
"name": {
|
|
5958
|
+
"char": "n",
|
|
5959
|
+
"description": "Cluster name",
|
|
5960
|
+
"name": "name",
|
|
5961
|
+
"required": true,
|
|
5962
|
+
"hasDynamicHelp": false,
|
|
5963
|
+
"multiple": false,
|
|
5964
|
+
"type": "option"
|
|
5965
|
+
},
|
|
5948
5966
|
"output": {
|
|
5949
5967
|
"char": "o",
|
|
5950
5968
|
"description": "Output format",
|
|
@@ -5959,28 +5977,22 @@
|
|
|
5959
5977
|
],
|
|
5960
5978
|
"type": "option"
|
|
5961
5979
|
},
|
|
5962
|
-
"
|
|
5963
|
-
"description": "
|
|
5964
|
-
"name": "
|
|
5965
|
-
"required":
|
|
5966
|
-
"default": 1,
|
|
5967
|
-
"hasDynamicHelp": false,
|
|
5968
|
-
"multiple": false,
|
|
5969
|
-
"type": "option"
|
|
5970
|
-
},
|
|
5971
|
-
"workspace": {
|
|
5972
|
-
"char": "w",
|
|
5973
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5974
|
-
"name": "workspace",
|
|
5975
|
-
"required": false,
|
|
5980
|
+
"type": {
|
|
5981
|
+
"description": "Cluster type",
|
|
5982
|
+
"name": "type",
|
|
5983
|
+
"required": true,
|
|
5976
5984
|
"hasDynamicHelp": false,
|
|
5977
5985
|
"multiple": false,
|
|
5986
|
+
"options": [
|
|
5987
|
+
"standard",
|
|
5988
|
+
"run"
|
|
5989
|
+
],
|
|
5978
5990
|
"type": "option"
|
|
5979
5991
|
}
|
|
5980
5992
|
},
|
|
5981
5993
|
"hasDynamicHelp": false,
|
|
5982
5994
|
"hiddenAliases": [],
|
|
5983
|
-
"id": "tenant:
|
|
5995
|
+
"id": "tenant:cluster:edit",
|
|
5984
5996
|
"pluginAlias": "@xano/cli",
|
|
5985
5997
|
"pluginName": "@xano/cli",
|
|
5986
5998
|
"pluginType": "core",
|
|
@@ -5991,24 +6003,24 @@
|
|
|
5991
6003
|
"dist",
|
|
5992
6004
|
"commands",
|
|
5993
6005
|
"tenant",
|
|
5994
|
-
"
|
|
5995
|
-
"
|
|
6006
|
+
"cluster",
|
|
6007
|
+
"edit",
|
|
5996
6008
|
"index.js"
|
|
5997
6009
|
]
|
|
5998
6010
|
},
|
|
5999
|
-
"tenant:backup:
|
|
6011
|
+
"tenant:backup:create": {
|
|
6000
6012
|
"aliases": [],
|
|
6001
6013
|
"args": {
|
|
6002
6014
|
"tenant_name": {
|
|
6003
|
-
"description": "Tenant name to
|
|
6015
|
+
"description": "Tenant name to back up",
|
|
6004
6016
|
"name": "tenant_name",
|
|
6005
6017
|
"required": true
|
|
6006
6018
|
}
|
|
6007
6019
|
},
|
|
6008
|
-
"description": "
|
|
6020
|
+
"description": "Create a backup for a tenant",
|
|
6009
6021
|
"examples": [
|
|
6010
|
-
"$ xano tenant backup
|
|
6011
|
-
"$ xano tenant backup
|
|
6022
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
6023
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
6012
6024
|
],
|
|
6013
6025
|
"flags": {
|
|
6014
6026
|
"profile": {
|
|
@@ -6030,22 +6042,16 @@
|
|
|
6030
6042
|
"allowNo": false,
|
|
6031
6043
|
"type": "boolean"
|
|
6032
6044
|
},
|
|
6033
|
-
"
|
|
6034
|
-
"
|
|
6035
|
-
"
|
|
6036
|
-
"
|
|
6045
|
+
"description": {
|
|
6046
|
+
"char": "d",
|
|
6047
|
+
"description": "Backup description",
|
|
6048
|
+
"name": "description",
|
|
6049
|
+
"required": false,
|
|
6050
|
+
"default": "",
|
|
6037
6051
|
"hasDynamicHelp": false,
|
|
6038
6052
|
"multiple": false,
|
|
6039
6053
|
"type": "option"
|
|
6040
6054
|
},
|
|
6041
|
-
"force": {
|
|
6042
|
-
"char": "f",
|
|
6043
|
-
"description": "Skip confirmation prompt",
|
|
6044
|
-
"name": "force",
|
|
6045
|
-
"required": false,
|
|
6046
|
-
"allowNo": false,
|
|
6047
|
-
"type": "boolean"
|
|
6048
|
-
},
|
|
6049
6055
|
"output": {
|
|
6050
6056
|
"char": "o",
|
|
6051
6057
|
"description": "Output format",
|
|
@@ -6072,7 +6078,7 @@
|
|
|
6072
6078
|
},
|
|
6073
6079
|
"hasDynamicHelp": false,
|
|
6074
6080
|
"hiddenAliases": [],
|
|
6075
|
-
"id": "tenant:backup:
|
|
6081
|
+
"id": "tenant:backup:create",
|
|
6076
6082
|
"pluginAlias": "@xano/cli",
|
|
6077
6083
|
"pluginName": "@xano/cli",
|
|
6078
6084
|
"pluginType": "core",
|
|
@@ -6084,24 +6090,17 @@
|
|
|
6084
6090
|
"commands",
|
|
6085
6091
|
"tenant",
|
|
6086
6092
|
"backup",
|
|
6087
|
-
"
|
|
6093
|
+
"create",
|
|
6088
6094
|
"index.js"
|
|
6089
6095
|
]
|
|
6090
6096
|
},
|
|
6091
|
-
"tenant:
|
|
6097
|
+
"tenant:cluster:list": {
|
|
6092
6098
|
"aliases": [],
|
|
6093
|
-
"args": {
|
|
6094
|
-
|
|
6095
|
-
"description": "Tenant name",
|
|
6096
|
-
"name": "tenant_name",
|
|
6097
|
-
"required": true
|
|
6098
|
-
}
|
|
6099
|
-
},
|
|
6100
|
-
"description": "Delete an environment variable from a tenant",
|
|
6099
|
+
"args": {},
|
|
6100
|
+
"description": "List all tenant clusters",
|
|
6101
6101
|
"examples": [
|
|
6102
|
-
"$ xano tenant
|
|
6103
|
-
"$ xano tenant
|
|
6104
|
-
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6102
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
6103
|
+
"$ xano tenant cluster list --output json"
|
|
6105
6104
|
],
|
|
6106
6105
|
"flags": {
|
|
6107
6106
|
"profile": {
|
|
@@ -6123,23 +6122,6 @@
|
|
|
6123
6122
|
"allowNo": false,
|
|
6124
6123
|
"type": "boolean"
|
|
6125
6124
|
},
|
|
6126
|
-
"force": {
|
|
6127
|
-
"char": "f",
|
|
6128
|
-
"description": "Skip confirmation prompt",
|
|
6129
|
-
"name": "force",
|
|
6130
|
-
"required": false,
|
|
6131
|
-
"allowNo": false,
|
|
6132
|
-
"type": "boolean"
|
|
6133
|
-
},
|
|
6134
|
-
"name": {
|
|
6135
|
-
"char": "n",
|
|
6136
|
-
"description": "Environment variable name",
|
|
6137
|
-
"name": "name",
|
|
6138
|
-
"required": true,
|
|
6139
|
-
"hasDynamicHelp": false,
|
|
6140
|
-
"multiple": false,
|
|
6141
|
-
"type": "option"
|
|
6142
|
-
},
|
|
6143
6125
|
"output": {
|
|
6144
6126
|
"char": "o",
|
|
6145
6127
|
"description": "Output format",
|
|
@@ -6153,20 +6135,11 @@
|
|
|
6153
6135
|
"json"
|
|
6154
6136
|
],
|
|
6155
6137
|
"type": "option"
|
|
6156
|
-
},
|
|
6157
|
-
"workspace": {
|
|
6158
|
-
"char": "w",
|
|
6159
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6160
|
-
"name": "workspace",
|
|
6161
|
-
"required": false,
|
|
6162
|
-
"hasDynamicHelp": false,
|
|
6163
|
-
"multiple": false,
|
|
6164
|
-
"type": "option"
|
|
6165
6138
|
}
|
|
6166
6139
|
},
|
|
6167
6140
|
"hasDynamicHelp": false,
|
|
6168
6141
|
"hiddenAliases": [],
|
|
6169
|
-
"id": "tenant:
|
|
6142
|
+
"id": "tenant:cluster:list",
|
|
6170
6143
|
"pluginAlias": "@xano/cli",
|
|
6171
6144
|
"pluginName": "@xano/cli",
|
|
6172
6145
|
"pluginType": "core",
|
|
@@ -6177,12 +6150,12 @@
|
|
|
6177
6150
|
"dist",
|
|
6178
6151
|
"commands",
|
|
6179
6152
|
"tenant",
|
|
6180
|
-
"
|
|
6181
|
-
"
|
|
6153
|
+
"cluster",
|
|
6154
|
+
"list",
|
|
6182
6155
|
"index.js"
|
|
6183
6156
|
]
|
|
6184
6157
|
},
|
|
6185
|
-
"tenant:env:
|
|
6158
|
+
"tenant:env:delete": {
|
|
6186
6159
|
"aliases": [],
|
|
6187
6160
|
"args": {
|
|
6188
6161
|
"tenant_name": {
|
|
@@ -6191,10 +6164,11 @@
|
|
|
6191
6164
|
"required": true
|
|
6192
6165
|
}
|
|
6193
6166
|
},
|
|
6194
|
-
"description": "
|
|
6167
|
+
"description": "Delete an environment variable from a tenant",
|
|
6195
6168
|
"examples": [
|
|
6196
|
-
"$ xano tenant env
|
|
6197
|
-
"$ xano tenant env
|
|
6169
|
+
"$ 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",
|
|
6170
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6171
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6198
6172
|
],
|
|
6199
6173
|
"flags": {
|
|
6200
6174
|
"profile": {
|
|
@@ -6216,6 +6190,14 @@
|
|
|
6216
6190
|
"allowNo": false,
|
|
6217
6191
|
"type": "boolean"
|
|
6218
6192
|
},
|
|
6193
|
+
"force": {
|
|
6194
|
+
"char": "f",
|
|
6195
|
+
"description": "Skip confirmation prompt",
|
|
6196
|
+
"name": "force",
|
|
6197
|
+
"required": false,
|
|
6198
|
+
"allowNo": false,
|
|
6199
|
+
"type": "boolean"
|
|
6200
|
+
},
|
|
6219
6201
|
"name": {
|
|
6220
6202
|
"char": "n",
|
|
6221
6203
|
"description": "Environment variable name",
|
|
@@ -6251,7 +6233,7 @@
|
|
|
6251
6233
|
},
|
|
6252
6234
|
"hasDynamicHelp": false,
|
|
6253
6235
|
"hiddenAliases": [],
|
|
6254
|
-
"id": "tenant:env:
|
|
6236
|
+
"id": "tenant:env:delete",
|
|
6255
6237
|
"pluginAlias": "@xano/cli",
|
|
6256
6238
|
"pluginName": "@xano/cli",
|
|
6257
6239
|
"pluginType": "core",
|
|
@@ -6263,11 +6245,11 @@
|
|
|
6263
6245
|
"commands",
|
|
6264
6246
|
"tenant",
|
|
6265
6247
|
"env",
|
|
6266
|
-
"
|
|
6248
|
+
"delete",
|
|
6267
6249
|
"index.js"
|
|
6268
6250
|
]
|
|
6269
6251
|
},
|
|
6270
|
-
"tenant:env:
|
|
6252
|
+
"tenant:env:set": {
|
|
6271
6253
|
"aliases": [],
|
|
6272
6254
|
"args": {
|
|
6273
6255
|
"tenant_name": {
|
|
@@ -6276,12 +6258,10 @@
|
|
|
6276
6258
|
"required": true
|
|
6277
6259
|
}
|
|
6278
6260
|
},
|
|
6279
|
-
"description": "
|
|
6261
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6280
6262
|
"examples": [
|
|
6281
|
-
"$ xano tenant env
|
|
6282
|
-
"$ xano tenant env
|
|
6283
|
-
"$ xano tenant env get_all my-tenant --view",
|
|
6284
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
6263
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6264
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6285
6265
|
],
|
|
6286
6266
|
"flags": {
|
|
6287
6267
|
"profile": {
|
|
@@ -6303,11 +6283,11 @@
|
|
|
6303
6283
|
"allowNo": false,
|
|
6304
6284
|
"type": "boolean"
|
|
6305
6285
|
},
|
|
6306
|
-
"
|
|
6307
|
-
"char": "
|
|
6308
|
-
"description": "
|
|
6309
|
-
"name": "
|
|
6310
|
-
"required":
|
|
6286
|
+
"name": {
|
|
6287
|
+
"char": "n",
|
|
6288
|
+
"description": "Environment variable name",
|
|
6289
|
+
"name": "name",
|
|
6290
|
+
"required": true,
|
|
6311
6291
|
"hasDynamicHelp": false,
|
|
6312
6292
|
"multiple": false,
|
|
6313
6293
|
"type": "option"
|
|
@@ -6326,12 +6306,13 @@
|
|
|
6326
6306
|
],
|
|
6327
6307
|
"type": "option"
|
|
6328
6308
|
},
|
|
6329
|
-
"
|
|
6330
|
-
"description": "
|
|
6331
|
-
"name": "
|
|
6332
|
-
"required":
|
|
6333
|
-
"
|
|
6334
|
-
"
|
|
6309
|
+
"value": {
|
|
6310
|
+
"description": "Environment variable value",
|
|
6311
|
+
"name": "value",
|
|
6312
|
+
"required": true,
|
|
6313
|
+
"hasDynamicHelp": false,
|
|
6314
|
+
"multiple": false,
|
|
6315
|
+
"type": "option"
|
|
6335
6316
|
},
|
|
6336
6317
|
"workspace": {
|
|
6337
6318
|
"char": "w",
|
|
@@ -6345,7 +6326,7 @@
|
|
|
6345
6326
|
},
|
|
6346
6327
|
"hasDynamicHelp": false,
|
|
6347
6328
|
"hiddenAliases": [],
|
|
6348
|
-
"id": "tenant:env:
|
|
6329
|
+
"id": "tenant:env:set",
|
|
6349
6330
|
"pluginAlias": "@xano/cli",
|
|
6350
6331
|
"pluginName": "@xano/cli",
|
|
6351
6332
|
"pluginType": "core",
|
|
@@ -6357,11 +6338,11 @@
|
|
|
6357
6338
|
"commands",
|
|
6358
6339
|
"tenant",
|
|
6359
6340
|
"env",
|
|
6360
|
-
"
|
|
6341
|
+
"set",
|
|
6361
6342
|
"index.js"
|
|
6362
6343
|
]
|
|
6363
6344
|
},
|
|
6364
|
-
"tenant:env:
|
|
6345
|
+
"tenant:env:get_all": {
|
|
6365
6346
|
"aliases": [],
|
|
6366
6347
|
"args": {
|
|
6367
6348
|
"tenant_name": {
|
|
@@ -6370,10 +6351,12 @@
|
|
|
6370
6351
|
"required": true
|
|
6371
6352
|
}
|
|
6372
6353
|
},
|
|
6373
|
-
"description": "
|
|
6354
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6374
6355
|
"examples": [
|
|
6375
|
-
"$ xano tenant env
|
|
6376
|
-
"$ xano tenant env
|
|
6356
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
6357
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
6358
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
6359
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
6377
6360
|
],
|
|
6378
6361
|
"flags": {
|
|
6379
6362
|
"profile": {
|
|
@@ -6395,11 +6378,11 @@
|
|
|
6395
6378
|
"allowNo": false,
|
|
6396
6379
|
"type": "boolean"
|
|
6397
6380
|
},
|
|
6398
|
-
"
|
|
6399
|
-
"char": "
|
|
6400
|
-
"description": "
|
|
6401
|
-
"name": "
|
|
6402
|
-
"required":
|
|
6381
|
+
"file": {
|
|
6382
|
+
"char": "f",
|
|
6383
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6384
|
+
"name": "file",
|
|
6385
|
+
"required": false,
|
|
6403
6386
|
"hasDynamicHelp": false,
|
|
6404
6387
|
"multiple": false,
|
|
6405
6388
|
"type": "option"
|
|
@@ -6418,13 +6401,12 @@
|
|
|
6418
6401
|
],
|
|
6419
6402
|
"type": "option"
|
|
6420
6403
|
},
|
|
6421
|
-
"
|
|
6422
|
-
"description": "
|
|
6423
|
-
"name": "
|
|
6424
|
-
"required":
|
|
6425
|
-
"
|
|
6426
|
-
"
|
|
6427
|
-
"type": "option"
|
|
6404
|
+
"view": {
|
|
6405
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
6406
|
+
"name": "view",
|
|
6407
|
+
"required": false,
|
|
6408
|
+
"allowNo": false,
|
|
6409
|
+
"type": "boolean"
|
|
6428
6410
|
},
|
|
6429
6411
|
"workspace": {
|
|
6430
6412
|
"char": "w",
|
|
@@ -6438,7 +6420,7 @@
|
|
|
6438
6420
|
},
|
|
6439
6421
|
"hasDynamicHelp": false,
|
|
6440
6422
|
"hiddenAliases": [],
|
|
6441
|
-
"id": "tenant:env:
|
|
6423
|
+
"id": "tenant:env:get_all",
|
|
6442
6424
|
"pluginAlias": "@xano/cli",
|
|
6443
6425
|
"pluginName": "@xano/cli",
|
|
6444
6426
|
"pluginType": "core",
|
|
@@ -6450,23 +6432,23 @@
|
|
|
6450
6432
|
"commands",
|
|
6451
6433
|
"tenant",
|
|
6452
6434
|
"env",
|
|
6453
|
-
"
|
|
6435
|
+
"get_all",
|
|
6454
6436
|
"index.js"
|
|
6455
6437
|
]
|
|
6456
6438
|
},
|
|
6457
|
-
"tenant:
|
|
6439
|
+
"tenant:env:list": {
|
|
6458
6440
|
"aliases": [],
|
|
6459
6441
|
"args": {
|
|
6460
|
-
"
|
|
6461
|
-
"description": "
|
|
6462
|
-
"name": "
|
|
6442
|
+
"tenant_name": {
|
|
6443
|
+
"description": "Tenant name",
|
|
6444
|
+
"name": "tenant_name",
|
|
6463
6445
|
"required": true
|
|
6464
6446
|
}
|
|
6465
6447
|
},
|
|
6466
|
-
"description": "
|
|
6448
|
+
"description": "List environment variable keys for a tenant",
|
|
6467
6449
|
"examples": [
|
|
6468
|
-
"$ xano tenant
|
|
6469
|
-
"$ xano tenant
|
|
6450
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6451
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6470
6452
|
],
|
|
6471
6453
|
"flags": {
|
|
6472
6454
|
"profile": {
|
|
@@ -6501,11 +6483,20 @@
|
|
|
6501
6483
|
"json"
|
|
6502
6484
|
],
|
|
6503
6485
|
"type": "option"
|
|
6486
|
+
},
|
|
6487
|
+
"workspace": {
|
|
6488
|
+
"char": "w",
|
|
6489
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6490
|
+
"name": "workspace",
|
|
6491
|
+
"required": false,
|
|
6492
|
+
"hasDynamicHelp": false,
|
|
6493
|
+
"multiple": false,
|
|
6494
|
+
"type": "option"
|
|
6504
6495
|
}
|
|
6505
6496
|
},
|
|
6506
6497
|
"hasDynamicHelp": false,
|
|
6507
6498
|
"hiddenAliases": [],
|
|
6508
|
-
"id": "tenant:
|
|
6499
|
+
"id": "tenant:env:list",
|
|
6509
6500
|
"pluginAlias": "@xano/cli",
|
|
6510
6501
|
"pluginName": "@xano/cli",
|
|
6511
6502
|
"pluginType": "core",
|
|
@@ -6516,12 +6507,12 @@
|
|
|
6516
6507
|
"dist",
|
|
6517
6508
|
"commands",
|
|
6518
6509
|
"tenant",
|
|
6519
|
-
"
|
|
6520
|
-
"
|
|
6510
|
+
"env",
|
|
6511
|
+
"list",
|
|
6521
6512
|
"index.js"
|
|
6522
6513
|
]
|
|
6523
6514
|
},
|
|
6524
|
-
"tenant:env:
|
|
6515
|
+
"tenant:env:get": {
|
|
6525
6516
|
"aliases": [],
|
|
6526
6517
|
"args": {
|
|
6527
6518
|
"tenant_name": {
|
|
@@ -6530,10 +6521,10 @@
|
|
|
6530
6521
|
"required": true
|
|
6531
6522
|
}
|
|
6532
6523
|
},
|
|
6533
|
-
"description": "
|
|
6524
|
+
"description": "Get a single environment variable for a tenant",
|
|
6534
6525
|
"examples": [
|
|
6535
|
-
"$ xano tenant env
|
|
6536
|
-
"$ xano tenant env
|
|
6526
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6527
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6537
6528
|
],
|
|
6538
6529
|
"flags": {
|
|
6539
6530
|
"profile": {
|
|
@@ -6555,6 +6546,15 @@
|
|
|
6555
6546
|
"allowNo": false,
|
|
6556
6547
|
"type": "boolean"
|
|
6557
6548
|
},
|
|
6549
|
+
"name": {
|
|
6550
|
+
"char": "n",
|
|
6551
|
+
"description": "Environment variable name",
|
|
6552
|
+
"name": "name",
|
|
6553
|
+
"required": true,
|
|
6554
|
+
"hasDynamicHelp": false,
|
|
6555
|
+
"multiple": false,
|
|
6556
|
+
"type": "option"
|
|
6557
|
+
},
|
|
6558
6558
|
"output": {
|
|
6559
6559
|
"char": "o",
|
|
6560
6560
|
"description": "Output format",
|
|
@@ -6581,7 +6581,7 @@
|
|
|
6581
6581
|
},
|
|
6582
6582
|
"hasDynamicHelp": false,
|
|
6583
6583
|
"hiddenAliases": [],
|
|
6584
|
-
"id": "tenant:env:
|
|
6584
|
+
"id": "tenant:env:get",
|
|
6585
6585
|
"pluginAlias": "@xano/cli",
|
|
6586
6586
|
"pluginName": "@xano/cli",
|
|
6587
6587
|
"pluginType": "core",
|
|
@@ -6593,7 +6593,7 @@
|
|
|
6593
6593
|
"commands",
|
|
6594
6594
|
"tenant",
|
|
6595
6595
|
"env",
|
|
6596
|
-
"
|
|
6596
|
+
"get",
|
|
6597
6597
|
"index.js"
|
|
6598
6598
|
]
|
|
6599
6599
|
},
|
|
@@ -6878,21 +6878,21 @@
|
|
|
6878
6878
|
"index.js"
|
|
6879
6879
|
]
|
|
6880
6880
|
},
|
|
6881
|
-
"tenant:
|
|
6881
|
+
"tenant:license:set": {
|
|
6882
6882
|
"aliases": [],
|
|
6883
6883
|
"args": {
|
|
6884
|
-
"
|
|
6885
|
-
"description": "Tenant
|
|
6886
|
-
"name": "
|
|
6884
|
+
"tenant_name": {
|
|
6885
|
+
"description": "Tenant name",
|
|
6886
|
+
"name": "tenant_name",
|
|
6887
6887
|
"required": true
|
|
6888
6888
|
}
|
|
6889
6889
|
},
|
|
6890
|
-
"description": "
|
|
6890
|
+
"description": "Set/update the license for a tenant",
|
|
6891
6891
|
"examples": [
|
|
6892
|
-
"$ xano tenant
|
|
6893
|
-
"$ xano tenant
|
|
6894
|
-
"$ xano tenant
|
|
6895
|
-
"$ xano tenant
|
|
6892
|
+
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
6893
|
+
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
6894
|
+
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6895
|
+
"$ xano tenant license set my-tenant -o json"
|
|
6896
6896
|
],
|
|
6897
6897
|
"flags": {
|
|
6898
6898
|
"profile": {
|
|
@@ -6914,9 +6914,22 @@
|
|
|
6914
6914
|
"allowNo": false,
|
|
6915
6915
|
"type": "boolean"
|
|
6916
6916
|
},
|
|
6917
|
+
"clean": {
|
|
6918
|
+
"description": "Remove the source file after successful upload",
|
|
6919
|
+
"exclusive": [
|
|
6920
|
+
"value"
|
|
6921
|
+
],
|
|
6922
|
+
"name": "clean",
|
|
6923
|
+
"required": false,
|
|
6924
|
+
"allowNo": false,
|
|
6925
|
+
"type": "boolean"
|
|
6926
|
+
},
|
|
6917
6927
|
"file": {
|
|
6918
6928
|
"char": "f",
|
|
6919
|
-
"description": "
|
|
6929
|
+
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6930
|
+
"exclusive": [
|
|
6931
|
+
"value"
|
|
6932
|
+
],
|
|
6920
6933
|
"name": "file",
|
|
6921
6934
|
"required": false,
|
|
6922
6935
|
"hasDynamicHelp": false,
|
|
@@ -6937,17 +6950,31 @@
|
|
|
6937
6950
|
],
|
|
6938
6951
|
"type": "option"
|
|
6939
6952
|
},
|
|
6940
|
-
"
|
|
6941
|
-
"description": "
|
|
6942
|
-
"
|
|
6953
|
+
"value": {
|
|
6954
|
+
"description": "Inline license value",
|
|
6955
|
+
"exclusive": [
|
|
6956
|
+
"file",
|
|
6957
|
+
"clean"
|
|
6958
|
+
],
|
|
6959
|
+
"name": "value",
|
|
6943
6960
|
"required": false,
|
|
6944
|
-
"
|
|
6945
|
-
"
|
|
6961
|
+
"hasDynamicHelp": false,
|
|
6962
|
+
"multiple": false,
|
|
6963
|
+
"type": "option"
|
|
6964
|
+
},
|
|
6965
|
+
"workspace": {
|
|
6966
|
+
"char": "w",
|
|
6967
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6968
|
+
"name": "workspace",
|
|
6969
|
+
"required": false,
|
|
6970
|
+
"hasDynamicHelp": false,
|
|
6971
|
+
"multiple": false,
|
|
6972
|
+
"type": "option"
|
|
6946
6973
|
}
|
|
6947
6974
|
},
|
|
6948
6975
|
"hasDynamicHelp": false,
|
|
6949
6976
|
"hiddenAliases": [],
|
|
6950
|
-
"id": "tenant:
|
|
6977
|
+
"id": "tenant:license:set",
|
|
6951
6978
|
"pluginAlias": "@xano/cli",
|
|
6952
6979
|
"pluginName": "@xano/cli",
|
|
6953
6980
|
"pluginType": "core",
|
|
@@ -6958,13 +6985,12 @@
|
|
|
6958
6985
|
"dist",
|
|
6959
6986
|
"commands",
|
|
6960
6987
|
"tenant",
|
|
6961
|
-
"cluster",
|
|
6962
6988
|
"license",
|
|
6963
|
-
"
|
|
6989
|
+
"set",
|
|
6964
6990
|
"index.js"
|
|
6965
6991
|
]
|
|
6966
6992
|
},
|
|
6967
|
-
"tenant:cluster:license:
|
|
6993
|
+
"tenant:cluster:license:get": {
|
|
6968
6994
|
"aliases": [],
|
|
6969
6995
|
"args": {
|
|
6970
6996
|
"cluster_id": {
|
|
@@ -6973,12 +6999,12 @@
|
|
|
6973
6999
|
"required": true
|
|
6974
7000
|
}
|
|
6975
7001
|
},
|
|
6976
|
-
"description": "
|
|
7002
|
+
"description": "Get the license (kubeconfig) for a tenant cluster",
|
|
6977
7003
|
"examples": [
|
|
6978
|
-
"$ xano tenant cluster license
|
|
6979
|
-
"$ xano tenant cluster license
|
|
6980
|
-
"$ xano tenant cluster license
|
|
6981
|
-
"$ xano tenant cluster license
|
|
7004
|
+
"$ xano tenant cluster license get 1\nLicense saved to kubeconfig-1.yaml\n",
|
|
7005
|
+
"$ xano tenant cluster license get 1 --file ./my-kubeconfig.yaml\nLicense saved to my-kubeconfig.yaml\n",
|
|
7006
|
+
"$ xano tenant cluster license get 1 --view",
|
|
7007
|
+
"$ xano tenant cluster license get 1 -o json"
|
|
6982
7008
|
],
|
|
6983
7009
|
"flags": {
|
|
6984
7010
|
"profile": {
|
|
@@ -7000,22 +7026,9 @@
|
|
|
7000
7026
|
"allowNo": false,
|
|
7001
7027
|
"type": "boolean"
|
|
7002
7028
|
},
|
|
7003
|
-
"clean": {
|
|
7004
|
-
"description": "Remove the source file after successful upload",
|
|
7005
|
-
"exclusive": [
|
|
7006
|
-
"value"
|
|
7007
|
-
],
|
|
7008
|
-
"name": "clean",
|
|
7009
|
-
"required": false,
|
|
7010
|
-
"allowNo": false,
|
|
7011
|
-
"type": "boolean"
|
|
7012
|
-
},
|
|
7013
7029
|
"file": {
|
|
7014
7030
|
"char": "f",
|
|
7015
|
-
"description": "
|
|
7016
|
-
"exclusive": [
|
|
7017
|
-
"value"
|
|
7018
|
-
],
|
|
7031
|
+
"description": "Output file path (default: kubeconfig_<cluster_id>.yaml)",
|
|
7019
7032
|
"name": "file",
|
|
7020
7033
|
"required": false,
|
|
7021
7034
|
"hasDynamicHelp": false,
|
|
@@ -7036,22 +7049,17 @@
|
|
|
7036
7049
|
],
|
|
7037
7050
|
"type": "option"
|
|
7038
7051
|
},
|
|
7039
|
-
"
|
|
7040
|
-
"description": "
|
|
7041
|
-
"
|
|
7042
|
-
"file",
|
|
7043
|
-
"clean"
|
|
7044
|
-
],
|
|
7045
|
-
"name": "value",
|
|
7052
|
+
"view": {
|
|
7053
|
+
"description": "Print license to stdout instead of saving to file",
|
|
7054
|
+
"name": "view",
|
|
7046
7055
|
"required": false,
|
|
7047
|
-
"
|
|
7048
|
-
"
|
|
7049
|
-
"type": "option"
|
|
7056
|
+
"allowNo": false,
|
|
7057
|
+
"type": "boolean"
|
|
7050
7058
|
}
|
|
7051
7059
|
},
|
|
7052
7060
|
"hasDynamicHelp": false,
|
|
7053
7061
|
"hiddenAliases": [],
|
|
7054
|
-
"id": "tenant:cluster:license:
|
|
7062
|
+
"id": "tenant:cluster:license:get",
|
|
7055
7063
|
"pluginAlias": "@xano/cli",
|
|
7056
7064
|
"pluginName": "@xano/cli",
|
|
7057
7065
|
"pluginType": "core",
|
|
@@ -7064,25 +7072,25 @@
|
|
|
7064
7072
|
"tenant",
|
|
7065
7073
|
"cluster",
|
|
7066
7074
|
"license",
|
|
7067
|
-
"
|
|
7075
|
+
"get",
|
|
7068
7076
|
"index.js"
|
|
7069
7077
|
]
|
|
7070
7078
|
},
|
|
7071
|
-
"tenant:license:set": {
|
|
7079
|
+
"tenant:cluster:license:set": {
|
|
7072
7080
|
"aliases": [],
|
|
7073
7081
|
"args": {
|
|
7074
|
-
"
|
|
7075
|
-
"description": "Tenant
|
|
7076
|
-
"name": "
|
|
7082
|
+
"cluster_id": {
|
|
7083
|
+
"description": "Tenant cluster ID",
|
|
7084
|
+
"name": "cluster_id",
|
|
7077
7085
|
"required": true
|
|
7078
7086
|
}
|
|
7079
7087
|
},
|
|
7080
|
-
"description": "Set/update the license for a tenant",
|
|
7088
|
+
"description": "Set/update the license (kubeconfig) for a tenant cluster",
|
|
7081
7089
|
"examples": [
|
|
7082
|
-
"$ xano tenant license set
|
|
7083
|
-
"$ xano tenant license set
|
|
7084
|
-
"$ xano tenant license set
|
|
7085
|
-
"$ xano tenant license set
|
|
7090
|
+
"$ xano tenant cluster license set 1\nReads from kubeconfig-1.yaml\n",
|
|
7091
|
+
"$ xano tenant cluster license set 1 --file ./kubeconfig.yaml",
|
|
7092
|
+
"$ xano tenant cluster license set 1 --value 'apiVersion: v1...'",
|
|
7093
|
+
"$ xano tenant cluster license set 1 -o json"
|
|
7086
7094
|
],
|
|
7087
7095
|
"flags": {
|
|
7088
7096
|
"profile": {
|
|
@@ -7116,7 +7124,7 @@
|
|
|
7116
7124
|
},
|
|
7117
7125
|
"file": {
|
|
7118
7126
|
"char": "f",
|
|
7119
|
-
"description": "Path to
|
|
7127
|
+
"description": "Path to kubeconfig file (default: kubeconfig_<cluster_id>.yaml)",
|
|
7120
7128
|
"exclusive": [
|
|
7121
7129
|
"value"
|
|
7122
7130
|
],
|
|
@@ -7141,7 +7149,7 @@
|
|
|
7141
7149
|
"type": "option"
|
|
7142
7150
|
},
|
|
7143
7151
|
"value": {
|
|
7144
|
-
"description": "Inline
|
|
7152
|
+
"description": "Inline kubeconfig YAML value",
|
|
7145
7153
|
"exclusive": [
|
|
7146
7154
|
"file",
|
|
7147
7155
|
"clean"
|
|
@@ -7151,20 +7159,11 @@
|
|
|
7151
7159
|
"hasDynamicHelp": false,
|
|
7152
7160
|
"multiple": false,
|
|
7153
7161
|
"type": "option"
|
|
7154
|
-
},
|
|
7155
|
-
"workspace": {
|
|
7156
|
-
"char": "w",
|
|
7157
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
7158
|
-
"name": "workspace",
|
|
7159
|
-
"required": false,
|
|
7160
|
-
"hasDynamicHelp": false,
|
|
7161
|
-
"multiple": false,
|
|
7162
|
-
"type": "option"
|
|
7163
7162
|
}
|
|
7164
7163
|
},
|
|
7165
7164
|
"hasDynamicHelp": false,
|
|
7166
7165
|
"hiddenAliases": [],
|
|
7167
|
-
"id": "tenant:license:set",
|
|
7166
|
+
"id": "tenant:cluster:license:set",
|
|
7168
7167
|
"pluginAlias": "@xano/cli",
|
|
7169
7168
|
"pluginName": "@xano/cli",
|
|
7170
7169
|
"pluginType": "core",
|
|
@@ -7175,11 +7174,12 @@
|
|
|
7175
7174
|
"dist",
|
|
7176
7175
|
"commands",
|
|
7177
7176
|
"tenant",
|
|
7177
|
+
"cluster",
|
|
7178
7178
|
"license",
|
|
7179
7179
|
"set",
|
|
7180
7180
|
"index.js"
|
|
7181
7181
|
]
|
|
7182
7182
|
}
|
|
7183
7183
|
},
|
|
7184
|
-
"version": "0.0.
|
|
7184
|
+
"version": "0.0.92"
|
|
7185
7185
|
}
|