@xano/cli 1.0.2-beta.6 → 1.0.2-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/utils/multidoc-push.d.ts +25 -0
- package/dist/utils/multidoc-push.js +39 -18
- package/oclif.manifest.json +1074 -1074
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -709,6 +709,82 @@
|
|
|
709
709
|
"index.js"
|
|
710
710
|
]
|
|
711
711
|
},
|
|
712
|
+
"platform:get": {
|
|
713
|
+
"aliases": [],
|
|
714
|
+
"args": {
|
|
715
|
+
"platform_id": {
|
|
716
|
+
"description": "Platform ID to retrieve",
|
|
717
|
+
"name": "platform_id",
|
|
718
|
+
"required": true
|
|
719
|
+
}
|
|
720
|
+
},
|
|
721
|
+
"description": "Get details of a specific platform",
|
|
722
|
+
"examples": [
|
|
723
|
+
"$ xano platform get 23629\nPlatform ID: 23629\n Created: 2025-11-28\n Helm: 0.1.356\n Images:\n backend 0.0.2985\n frontend 0.1.3427\n database 0.1.6\n node 0.1.192\n deno 0.0.212\n redis 0.1.34\n realtime 0.1.149\n standalone 0.0.2456\n playwright 0.0.992\n static 0.0.10\n static-build 0.0.4\n backend-encoded 0.0.1396\n",
|
|
724
|
+
"$ xano platform get 23629 -o json"
|
|
725
|
+
],
|
|
726
|
+
"flags": {
|
|
727
|
+
"config": {
|
|
728
|
+
"char": "c",
|
|
729
|
+
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
730
|
+
"env": "XANO_CONFIG",
|
|
731
|
+
"name": "config",
|
|
732
|
+
"required": false,
|
|
733
|
+
"hasDynamicHelp": false,
|
|
734
|
+
"multiple": false,
|
|
735
|
+
"type": "option"
|
|
736
|
+
},
|
|
737
|
+
"profile": {
|
|
738
|
+
"char": "p",
|
|
739
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
740
|
+
"env": "XANO_PROFILE",
|
|
741
|
+
"name": "profile",
|
|
742
|
+
"required": false,
|
|
743
|
+
"hasDynamicHelp": false,
|
|
744
|
+
"multiple": false,
|
|
745
|
+
"type": "option"
|
|
746
|
+
},
|
|
747
|
+
"verbose": {
|
|
748
|
+
"char": "v",
|
|
749
|
+
"description": "Show detailed request/response information",
|
|
750
|
+
"env": "XANO_VERBOSE",
|
|
751
|
+
"name": "verbose",
|
|
752
|
+
"required": false,
|
|
753
|
+
"allowNo": false,
|
|
754
|
+
"type": "boolean"
|
|
755
|
+
},
|
|
756
|
+
"output": {
|
|
757
|
+
"char": "o",
|
|
758
|
+
"description": "Output format",
|
|
759
|
+
"name": "output",
|
|
760
|
+
"required": false,
|
|
761
|
+
"default": "summary",
|
|
762
|
+
"hasDynamicHelp": false,
|
|
763
|
+
"multiple": false,
|
|
764
|
+
"options": [
|
|
765
|
+
"summary",
|
|
766
|
+
"json"
|
|
767
|
+
],
|
|
768
|
+
"type": "option"
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
"hasDynamicHelp": false,
|
|
772
|
+
"hiddenAliases": [],
|
|
773
|
+
"id": "platform:get",
|
|
774
|
+
"pluginAlias": "@xano/cli",
|
|
775
|
+
"pluginName": "@xano/cli",
|
|
776
|
+
"pluginType": "core",
|
|
777
|
+
"strict": true,
|
|
778
|
+
"enableJsonFlag": false,
|
|
779
|
+
"isESM": true,
|
|
780
|
+
"relativePath": [
|
|
781
|
+
"dist",
|
|
782
|
+
"commands",
|
|
783
|
+
"platform",
|
|
784
|
+
"get",
|
|
785
|
+
"index.js"
|
|
786
|
+
]
|
|
787
|
+
},
|
|
712
788
|
"function:create": {
|
|
713
789
|
"aliases": [],
|
|
714
790
|
"args": {},
|
|
@@ -825,23 +901,13 @@
|
|
|
825
901
|
"index.js"
|
|
826
902
|
]
|
|
827
903
|
},
|
|
828
|
-
"
|
|
904
|
+
"platform:list": {
|
|
829
905
|
"aliases": [],
|
|
830
|
-
"args": {
|
|
831
|
-
|
|
832
|
-
"description": "Function ID",
|
|
833
|
-
"name": "function_id",
|
|
834
|
-
"required": false
|
|
835
|
-
}
|
|
836
|
-
},
|
|
837
|
-
"description": "Get a specific function from a workspace",
|
|
906
|
+
"args": {},
|
|
907
|
+
"description": "List all platforms",
|
|
838
908
|
"examples": [
|
|
839
|
-
"$ xano
|
|
840
|
-
"$ xano
|
|
841
|
-
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
842
|
-
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
843
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
844
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
909
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
910
|
+
"$ xano platform list --output json"
|
|
845
911
|
],
|
|
846
912
|
"flags": {
|
|
847
913
|
"config": {
|
|
@@ -873,20 +939,6 @@
|
|
|
873
939
|
"allowNo": false,
|
|
874
940
|
"type": "boolean"
|
|
875
941
|
},
|
|
876
|
-
"include_draft": {
|
|
877
|
-
"description": "Include draft version",
|
|
878
|
-
"name": "include_draft",
|
|
879
|
-
"required": false,
|
|
880
|
-
"allowNo": false,
|
|
881
|
-
"type": "boolean"
|
|
882
|
-
},
|
|
883
|
-
"include_xanoscript": {
|
|
884
|
-
"description": "Include XanoScript in response",
|
|
885
|
-
"name": "include_xanoscript",
|
|
886
|
-
"required": false,
|
|
887
|
-
"allowNo": false,
|
|
888
|
-
"type": "boolean"
|
|
889
|
-
},
|
|
890
942
|
"output": {
|
|
891
943
|
"char": "o",
|
|
892
944
|
"description": "Output format",
|
|
@@ -897,24 +949,14 @@
|
|
|
897
949
|
"multiple": false,
|
|
898
950
|
"options": [
|
|
899
951
|
"summary",
|
|
900
|
-
"json"
|
|
901
|
-
"xs"
|
|
952
|
+
"json"
|
|
902
953
|
],
|
|
903
954
|
"type": "option"
|
|
904
|
-
},
|
|
905
|
-
"workspace": {
|
|
906
|
-
"char": "w",
|
|
907
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
908
|
-
"name": "workspace",
|
|
909
|
-
"required": false,
|
|
910
|
-
"hasDynamicHelp": false,
|
|
911
|
-
"multiple": false,
|
|
912
|
-
"type": "option"
|
|
913
955
|
}
|
|
914
956
|
},
|
|
915
957
|
"hasDynamicHelp": false,
|
|
916
958
|
"hiddenAliases": [],
|
|
917
|
-
"id": "
|
|
959
|
+
"id": "platform:list",
|
|
918
960
|
"pluginAlias": "@xano/cli",
|
|
919
961
|
"pluginName": "@xano/cli",
|
|
920
962
|
"pluginType": "core",
|
|
@@ -924,8 +966,8 @@
|
|
|
924
966
|
"relativePath": [
|
|
925
967
|
"dist",
|
|
926
968
|
"commands",
|
|
927
|
-
"
|
|
928
|
-
"
|
|
969
|
+
"platform",
|
|
970
|
+
"list",
|
|
929
971
|
"index.js"
|
|
930
972
|
]
|
|
931
973
|
},
|
|
@@ -1058,6 +1100,110 @@
|
|
|
1058
1100
|
"index.js"
|
|
1059
1101
|
]
|
|
1060
1102
|
},
|
|
1103
|
+
"function:get": {
|
|
1104
|
+
"aliases": [],
|
|
1105
|
+
"args": {
|
|
1106
|
+
"function_id": {
|
|
1107
|
+
"description": "Function ID",
|
|
1108
|
+
"name": "function_id",
|
|
1109
|
+
"required": false
|
|
1110
|
+
}
|
|
1111
|
+
},
|
|
1112
|
+
"description": "Get a specific function from a workspace",
|
|
1113
|
+
"examples": [
|
|
1114
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
1115
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
1116
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
1117
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
1118
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
1119
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
1120
|
+
],
|
|
1121
|
+
"flags": {
|
|
1122
|
+
"config": {
|
|
1123
|
+
"char": "c",
|
|
1124
|
+
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
1125
|
+
"env": "XANO_CONFIG",
|
|
1126
|
+
"name": "config",
|
|
1127
|
+
"required": false,
|
|
1128
|
+
"hasDynamicHelp": false,
|
|
1129
|
+
"multiple": false,
|
|
1130
|
+
"type": "option"
|
|
1131
|
+
},
|
|
1132
|
+
"profile": {
|
|
1133
|
+
"char": "p",
|
|
1134
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1135
|
+
"env": "XANO_PROFILE",
|
|
1136
|
+
"name": "profile",
|
|
1137
|
+
"required": false,
|
|
1138
|
+
"hasDynamicHelp": false,
|
|
1139
|
+
"multiple": false,
|
|
1140
|
+
"type": "option"
|
|
1141
|
+
},
|
|
1142
|
+
"verbose": {
|
|
1143
|
+
"char": "v",
|
|
1144
|
+
"description": "Show detailed request/response information",
|
|
1145
|
+
"env": "XANO_VERBOSE",
|
|
1146
|
+
"name": "verbose",
|
|
1147
|
+
"required": false,
|
|
1148
|
+
"allowNo": false,
|
|
1149
|
+
"type": "boolean"
|
|
1150
|
+
},
|
|
1151
|
+
"include_draft": {
|
|
1152
|
+
"description": "Include draft version",
|
|
1153
|
+
"name": "include_draft",
|
|
1154
|
+
"required": false,
|
|
1155
|
+
"allowNo": false,
|
|
1156
|
+
"type": "boolean"
|
|
1157
|
+
},
|
|
1158
|
+
"include_xanoscript": {
|
|
1159
|
+
"description": "Include XanoScript in response",
|
|
1160
|
+
"name": "include_xanoscript",
|
|
1161
|
+
"required": false,
|
|
1162
|
+
"allowNo": false,
|
|
1163
|
+
"type": "boolean"
|
|
1164
|
+
},
|
|
1165
|
+
"output": {
|
|
1166
|
+
"char": "o",
|
|
1167
|
+
"description": "Output format",
|
|
1168
|
+
"name": "output",
|
|
1169
|
+
"required": false,
|
|
1170
|
+
"default": "summary",
|
|
1171
|
+
"hasDynamicHelp": false,
|
|
1172
|
+
"multiple": false,
|
|
1173
|
+
"options": [
|
|
1174
|
+
"summary",
|
|
1175
|
+
"json",
|
|
1176
|
+
"xs"
|
|
1177
|
+
],
|
|
1178
|
+
"type": "option"
|
|
1179
|
+
},
|
|
1180
|
+
"workspace": {
|
|
1181
|
+
"char": "w",
|
|
1182
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1183
|
+
"name": "workspace",
|
|
1184
|
+
"required": false,
|
|
1185
|
+
"hasDynamicHelp": false,
|
|
1186
|
+
"multiple": false,
|
|
1187
|
+
"type": "option"
|
|
1188
|
+
}
|
|
1189
|
+
},
|
|
1190
|
+
"hasDynamicHelp": false,
|
|
1191
|
+
"hiddenAliases": [],
|
|
1192
|
+
"id": "function:get",
|
|
1193
|
+
"pluginAlias": "@xano/cli",
|
|
1194
|
+
"pluginName": "@xano/cli",
|
|
1195
|
+
"pluginType": "core",
|
|
1196
|
+
"strict": true,
|
|
1197
|
+
"enableJsonFlag": false,
|
|
1198
|
+
"isESM": true,
|
|
1199
|
+
"relativePath": [
|
|
1200
|
+
"dist",
|
|
1201
|
+
"commands",
|
|
1202
|
+
"function",
|
|
1203
|
+
"get",
|
|
1204
|
+
"index.js"
|
|
1205
|
+
]
|
|
1206
|
+
},
|
|
1061
1207
|
"function:list": {
|
|
1062
1208
|
"aliases": [],
|
|
1063
1209
|
"args": {},
|
|
@@ -1193,168 +1339,22 @@
|
|
|
1193
1339
|
"index.js"
|
|
1194
1340
|
]
|
|
1195
1341
|
},
|
|
1196
|
-
"
|
|
1342
|
+
"profile:create": {
|
|
1197
1343
|
"aliases": [],
|
|
1198
1344
|
"args": {
|
|
1199
|
-
"
|
|
1200
|
-
"description": "
|
|
1201
|
-
"name": "
|
|
1345
|
+
"name": {
|
|
1346
|
+
"description": "Profile name",
|
|
1347
|
+
"name": "name",
|
|
1202
1348
|
"required": true
|
|
1203
1349
|
}
|
|
1204
1350
|
},
|
|
1205
|
-
"description": "
|
|
1351
|
+
"description": "Create a new profile configuration",
|
|
1206
1352
|
"examples": [
|
|
1207
|
-
"$ xano
|
|
1208
|
-
"$ xano
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
"
|
|
1212
|
-
"char": "c",
|
|
1213
|
-
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
1214
|
-
"env": "XANO_CONFIG",
|
|
1215
|
-
"name": "config",
|
|
1216
|
-
"required": false,
|
|
1217
|
-
"hasDynamicHelp": false,
|
|
1218
|
-
"multiple": false,
|
|
1219
|
-
"type": "option"
|
|
1220
|
-
},
|
|
1221
|
-
"profile": {
|
|
1222
|
-
"char": "p",
|
|
1223
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1224
|
-
"env": "XANO_PROFILE",
|
|
1225
|
-
"name": "profile",
|
|
1226
|
-
"required": false,
|
|
1227
|
-
"hasDynamicHelp": false,
|
|
1228
|
-
"multiple": false,
|
|
1229
|
-
"type": "option"
|
|
1230
|
-
},
|
|
1231
|
-
"verbose": {
|
|
1232
|
-
"char": "v",
|
|
1233
|
-
"description": "Show detailed request/response information",
|
|
1234
|
-
"env": "XANO_VERBOSE",
|
|
1235
|
-
"name": "verbose",
|
|
1236
|
-
"required": false,
|
|
1237
|
-
"allowNo": false,
|
|
1238
|
-
"type": "boolean"
|
|
1239
|
-
},
|
|
1240
|
-
"output": {
|
|
1241
|
-
"char": "o",
|
|
1242
|
-
"description": "Output format",
|
|
1243
|
-
"name": "output",
|
|
1244
|
-
"required": false,
|
|
1245
|
-
"default": "summary",
|
|
1246
|
-
"hasDynamicHelp": false,
|
|
1247
|
-
"multiple": false,
|
|
1248
|
-
"options": [
|
|
1249
|
-
"summary",
|
|
1250
|
-
"json"
|
|
1251
|
-
],
|
|
1252
|
-
"type": "option"
|
|
1253
|
-
}
|
|
1254
|
-
},
|
|
1255
|
-
"hasDynamicHelp": false,
|
|
1256
|
-
"hiddenAliases": [],
|
|
1257
|
-
"id": "platform:get",
|
|
1258
|
-
"pluginAlias": "@xano/cli",
|
|
1259
|
-
"pluginName": "@xano/cli",
|
|
1260
|
-
"pluginType": "core",
|
|
1261
|
-
"strict": true,
|
|
1262
|
-
"enableJsonFlag": false,
|
|
1263
|
-
"isESM": true,
|
|
1264
|
-
"relativePath": [
|
|
1265
|
-
"dist",
|
|
1266
|
-
"commands",
|
|
1267
|
-
"platform",
|
|
1268
|
-
"get",
|
|
1269
|
-
"index.js"
|
|
1270
|
-
]
|
|
1271
|
-
},
|
|
1272
|
-
"platform:list": {
|
|
1273
|
-
"aliases": [],
|
|
1274
|
-
"args": {},
|
|
1275
|
-
"description": "List all platforms",
|
|
1276
|
-
"examples": [
|
|
1277
|
-
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1278
|
-
"$ xano platform list --output json"
|
|
1279
|
-
],
|
|
1280
|
-
"flags": {
|
|
1281
|
-
"config": {
|
|
1282
|
-
"char": "c",
|
|
1283
|
-
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
1284
|
-
"env": "XANO_CONFIG",
|
|
1285
|
-
"name": "config",
|
|
1286
|
-
"required": false,
|
|
1287
|
-
"hasDynamicHelp": false,
|
|
1288
|
-
"multiple": false,
|
|
1289
|
-
"type": "option"
|
|
1290
|
-
},
|
|
1291
|
-
"profile": {
|
|
1292
|
-
"char": "p",
|
|
1293
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1294
|
-
"env": "XANO_PROFILE",
|
|
1295
|
-
"name": "profile",
|
|
1296
|
-
"required": false,
|
|
1297
|
-
"hasDynamicHelp": false,
|
|
1298
|
-
"multiple": false,
|
|
1299
|
-
"type": "option"
|
|
1300
|
-
},
|
|
1301
|
-
"verbose": {
|
|
1302
|
-
"char": "v",
|
|
1303
|
-
"description": "Show detailed request/response information",
|
|
1304
|
-
"env": "XANO_VERBOSE",
|
|
1305
|
-
"name": "verbose",
|
|
1306
|
-
"required": false,
|
|
1307
|
-
"allowNo": false,
|
|
1308
|
-
"type": "boolean"
|
|
1309
|
-
},
|
|
1310
|
-
"output": {
|
|
1311
|
-
"char": "o",
|
|
1312
|
-
"description": "Output format",
|
|
1313
|
-
"name": "output",
|
|
1314
|
-
"required": false,
|
|
1315
|
-
"default": "summary",
|
|
1316
|
-
"hasDynamicHelp": false,
|
|
1317
|
-
"multiple": false,
|
|
1318
|
-
"options": [
|
|
1319
|
-
"summary",
|
|
1320
|
-
"json"
|
|
1321
|
-
],
|
|
1322
|
-
"type": "option"
|
|
1323
|
-
}
|
|
1324
|
-
},
|
|
1325
|
-
"hasDynamicHelp": false,
|
|
1326
|
-
"hiddenAliases": [],
|
|
1327
|
-
"id": "platform:list",
|
|
1328
|
-
"pluginAlias": "@xano/cli",
|
|
1329
|
-
"pluginName": "@xano/cli",
|
|
1330
|
-
"pluginType": "core",
|
|
1331
|
-
"strict": true,
|
|
1332
|
-
"enableJsonFlag": false,
|
|
1333
|
-
"isESM": true,
|
|
1334
|
-
"relativePath": [
|
|
1335
|
-
"dist",
|
|
1336
|
-
"commands",
|
|
1337
|
-
"platform",
|
|
1338
|
-
"list",
|
|
1339
|
-
"index.js"
|
|
1340
|
-
]
|
|
1341
|
-
},
|
|
1342
|
-
"profile:create": {
|
|
1343
|
-
"aliases": [],
|
|
1344
|
-
"args": {
|
|
1345
|
-
"name": {
|
|
1346
|
-
"description": "Profile name",
|
|
1347
|
-
"name": "name",
|
|
1348
|
-
"required": true
|
|
1349
|
-
}
|
|
1350
|
-
},
|
|
1351
|
-
"description": "Create a new profile configuration",
|
|
1352
|
-
"examples": [
|
|
1353
|
-
"$ 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",
|
|
1354
|
-
"$ 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",
|
|
1355
|
-
"$ 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",
|
|
1356
|
-
"$ 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",
|
|
1357
|
-
"$ xano profile:create selfhosted -i https://self-signed.example.com -t token123 --insecure\nProfile 'selfhosted' created successfully at ~/.xano/credentials.yaml\n"
|
|
1353
|
+
"$ 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",
|
|
1354
|
+
"$ 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",
|
|
1355
|
+
"$ 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",
|
|
1356
|
+
"$ 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",
|
|
1357
|
+
"$ xano profile:create selfhosted -i https://self-signed.example.com -t token123 --insecure\nProfile 'selfhosted' created successfully at ~/.xano/credentials.yaml\n"
|
|
1358
1358
|
],
|
|
1359
1359
|
"flags": {
|
|
1360
1360
|
"config": {
|
|
@@ -1790,18 +1790,13 @@
|
|
|
1790
1790
|
"index.js"
|
|
1791
1791
|
]
|
|
1792
1792
|
},
|
|
1793
|
-
"profile:
|
|
1793
|
+
"profile:token": {
|
|
1794
1794
|
"aliases": [],
|
|
1795
|
-
"args": {
|
|
1796
|
-
|
|
1797
|
-
"description": "Profile name to set as default",
|
|
1798
|
-
"name": "name",
|
|
1799
|
-
"required": true
|
|
1800
|
-
}
|
|
1801
|
-
},
|
|
1802
|
-
"description": "Set the default profile",
|
|
1795
|
+
"args": {},
|
|
1796
|
+
"description": "Print the access token for the default profile",
|
|
1803
1797
|
"examples": [
|
|
1804
|
-
"$ xano profile
|
|
1798
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1799
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1805
1800
|
],
|
|
1806
1801
|
"flags": {
|
|
1807
1802
|
"config": {
|
|
@@ -1817,7 +1812,7 @@
|
|
|
1817
1812
|
},
|
|
1818
1813
|
"hasDynamicHelp": false,
|
|
1819
1814
|
"hiddenAliases": [],
|
|
1820
|
-
"id": "profile:
|
|
1815
|
+
"id": "profile:token",
|
|
1821
1816
|
"pluginAlias": "@xano/cli",
|
|
1822
1817
|
"pluginName": "@xano/cli",
|
|
1823
1818
|
"pluginType": "core",
|
|
@@ -1828,17 +1823,22 @@
|
|
|
1828
1823
|
"dist",
|
|
1829
1824
|
"commands",
|
|
1830
1825
|
"profile",
|
|
1831
|
-
"
|
|
1826
|
+
"token",
|
|
1832
1827
|
"index.js"
|
|
1833
1828
|
]
|
|
1834
1829
|
},
|
|
1835
|
-
"profile:
|
|
1830
|
+
"profile:set": {
|
|
1836
1831
|
"aliases": [],
|
|
1837
|
-
"args": {
|
|
1838
|
-
|
|
1832
|
+
"args": {
|
|
1833
|
+
"name": {
|
|
1834
|
+
"description": "Profile name to set as default",
|
|
1835
|
+
"name": "name",
|
|
1836
|
+
"required": true
|
|
1837
|
+
}
|
|
1838
|
+
},
|
|
1839
|
+
"description": "Set the default profile",
|
|
1839
1840
|
"examples": [
|
|
1840
|
-
"$ xano profile
|
|
1841
|
-
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1841
|
+
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1842
1842
|
],
|
|
1843
1843
|
"flags": {
|
|
1844
1844
|
"config": {
|
|
@@ -1854,7 +1854,7 @@
|
|
|
1854
1854
|
},
|
|
1855
1855
|
"hasDynamicHelp": false,
|
|
1856
1856
|
"hiddenAliases": [],
|
|
1857
|
-
"id": "profile:
|
|
1857
|
+
"id": "profile:set",
|
|
1858
1858
|
"pluginAlias": "@xano/cli",
|
|
1859
1859
|
"pluginName": "@xano/cli",
|
|
1860
1860
|
"pluginType": "core",
|
|
@@ -1865,7 +1865,7 @@
|
|
|
1865
1865
|
"dist",
|
|
1866
1866
|
"commands",
|
|
1867
1867
|
"profile",
|
|
1868
|
-
"
|
|
1868
|
+
"set",
|
|
1869
1869
|
"index.js"
|
|
1870
1870
|
]
|
|
1871
1871
|
},
|
|
@@ -2019,6 +2019,43 @@
|
|
|
2019
2019
|
"index.js"
|
|
2020
2020
|
]
|
|
2021
2021
|
},
|
|
2022
|
+
"profile:workspace": {
|
|
2023
|
+
"aliases": [],
|
|
2024
|
+
"args": {},
|
|
2025
|
+
"description": "Print the workspace ID for the default profile",
|
|
2026
|
+
"examples": [
|
|
2027
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
2028
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
2029
|
+
],
|
|
2030
|
+
"flags": {
|
|
2031
|
+
"config": {
|
|
2032
|
+
"char": "c",
|
|
2033
|
+
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
2034
|
+
"env": "XANO_CONFIG",
|
|
2035
|
+
"name": "config",
|
|
2036
|
+
"required": false,
|
|
2037
|
+
"hasDynamicHelp": false,
|
|
2038
|
+
"multiple": false,
|
|
2039
|
+
"type": "option"
|
|
2040
|
+
}
|
|
2041
|
+
},
|
|
2042
|
+
"hasDynamicHelp": false,
|
|
2043
|
+
"hiddenAliases": [],
|
|
2044
|
+
"id": "profile:workspace",
|
|
2045
|
+
"pluginAlias": "@xano/cli",
|
|
2046
|
+
"pluginName": "@xano/cli",
|
|
2047
|
+
"pluginType": "core",
|
|
2048
|
+
"strict": true,
|
|
2049
|
+
"enableJsonFlag": false,
|
|
2050
|
+
"isESM": true,
|
|
2051
|
+
"relativePath": [
|
|
2052
|
+
"dist",
|
|
2053
|
+
"commands",
|
|
2054
|
+
"profile",
|
|
2055
|
+
"workspace",
|
|
2056
|
+
"index.js"
|
|
2057
|
+
]
|
|
2058
|
+
},
|
|
2022
2059
|
"release:create": {
|
|
2023
2060
|
"aliases": [],
|
|
2024
2061
|
"args": {
|
|
@@ -2137,43 +2174,6 @@
|
|
|
2137
2174
|
"index.js"
|
|
2138
2175
|
]
|
|
2139
2176
|
},
|
|
2140
|
-
"profile:workspace": {
|
|
2141
|
-
"aliases": [],
|
|
2142
|
-
"args": {},
|
|
2143
|
-
"description": "Print the workspace ID for the default profile",
|
|
2144
|
-
"examples": [
|
|
2145
|
-
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
2146
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
2147
|
-
],
|
|
2148
|
-
"flags": {
|
|
2149
|
-
"config": {
|
|
2150
|
-
"char": "c",
|
|
2151
|
-
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
2152
|
-
"env": "XANO_CONFIG",
|
|
2153
|
-
"name": "config",
|
|
2154
|
-
"required": false,
|
|
2155
|
-
"hasDynamicHelp": false,
|
|
2156
|
-
"multiple": false,
|
|
2157
|
-
"type": "option"
|
|
2158
|
-
}
|
|
2159
|
-
},
|
|
2160
|
-
"hasDynamicHelp": false,
|
|
2161
|
-
"hiddenAliases": [],
|
|
2162
|
-
"id": "profile:workspace",
|
|
2163
|
-
"pluginAlias": "@xano/cli",
|
|
2164
|
-
"pluginName": "@xano/cli",
|
|
2165
|
-
"pluginType": "core",
|
|
2166
|
-
"strict": true,
|
|
2167
|
-
"enableJsonFlag": false,
|
|
2168
|
-
"isESM": true,
|
|
2169
|
-
"relativePath": [
|
|
2170
|
-
"dist",
|
|
2171
|
-
"commands",
|
|
2172
|
-
"profile",
|
|
2173
|
-
"workspace",
|
|
2174
|
-
"index.js"
|
|
2175
|
-
]
|
|
2176
|
-
},
|
|
2177
2177
|
"release:delete": {
|
|
2178
2178
|
"aliases": [],
|
|
2179
2179
|
"args": {
|
|
@@ -3504,13 +3504,14 @@
|
|
|
3504
3504
|
"index.js"
|
|
3505
3505
|
]
|
|
3506
3506
|
},
|
|
3507
|
-
"sandbox:
|
|
3507
|
+
"sandbox:review": {
|
|
3508
3508
|
"aliases": [],
|
|
3509
3509
|
"args": {},
|
|
3510
|
-
"description": "
|
|
3510
|
+
"description": "Open your sandbox environment in the browser to review and promote changes",
|
|
3511
3511
|
"examples": [
|
|
3512
|
-
"$ xano sandbox
|
|
3513
|
-
"$ xano sandbox
|
|
3512
|
+
"$ xano sandbox review\nOpening browser...\nReview session started!\n",
|
|
3513
|
+
"$ xano sandbox review -u",
|
|
3514
|
+
"$ xano sandbox review -o json"
|
|
3514
3515
|
],
|
|
3515
3516
|
"flags": {
|
|
3516
3517
|
"config": {
|
|
@@ -3542,10 +3543,24 @@
|
|
|
3542
3543
|
"allowNo": false,
|
|
3543
3544
|
"type": "boolean"
|
|
3544
3545
|
},
|
|
3545
|
-
"
|
|
3546
|
-
"char": "
|
|
3547
|
-
"description": "
|
|
3548
|
-
"name": "
|
|
3546
|
+
"output": {
|
|
3547
|
+
"char": "o",
|
|
3548
|
+
"description": "Output format",
|
|
3549
|
+
"name": "output",
|
|
3550
|
+
"required": false,
|
|
3551
|
+
"default": "summary",
|
|
3552
|
+
"hasDynamicHelp": false,
|
|
3553
|
+
"multiple": false,
|
|
3554
|
+
"options": [
|
|
3555
|
+
"summary",
|
|
3556
|
+
"json"
|
|
3557
|
+
],
|
|
3558
|
+
"type": "option"
|
|
3559
|
+
},
|
|
3560
|
+
"url-only": {
|
|
3561
|
+
"char": "u",
|
|
3562
|
+
"description": "Print the URL without opening the browser",
|
|
3563
|
+
"name": "url-only",
|
|
3549
3564
|
"required": false,
|
|
3550
3565
|
"allowNo": false,
|
|
3551
3566
|
"type": "boolean"
|
|
@@ -3553,7 +3568,7 @@
|
|
|
3553
3568
|
},
|
|
3554
3569
|
"hasDynamicHelp": false,
|
|
3555
3570
|
"hiddenAliases": [],
|
|
3556
|
-
"id": "sandbox:
|
|
3571
|
+
"id": "sandbox:review",
|
|
3557
3572
|
"pluginAlias": "@xano/cli",
|
|
3558
3573
|
"pluginName": "@xano/cli",
|
|
3559
3574
|
"pluginType": "core",
|
|
@@ -3564,18 +3579,17 @@
|
|
|
3564
3579
|
"dist",
|
|
3565
3580
|
"commands",
|
|
3566
3581
|
"sandbox",
|
|
3567
|
-
"
|
|
3582
|
+
"review",
|
|
3568
3583
|
"index.js"
|
|
3569
3584
|
]
|
|
3570
3585
|
},
|
|
3571
|
-
"sandbox:
|
|
3586
|
+
"sandbox:reset": {
|
|
3572
3587
|
"aliases": [],
|
|
3573
3588
|
"args": {},
|
|
3574
|
-
"description": "
|
|
3589
|
+
"description": "[CRITICAL] NEVER run without explicit user confirmation; this clears all workspace data and drafts. Resets your sandbox environment.",
|
|
3575
3590
|
"examples": [
|
|
3576
|
-
"$ xano sandbox
|
|
3577
|
-
"$ xano sandbox
|
|
3578
|
-
"$ xano sandbox review -o json"
|
|
3591
|
+
"$ xano sandbox reset\nAre you sure you want to reset your sandbox environment? All workspace data and drafts will be cleared. (y/N) y\nSandbox environment has been reset.\n",
|
|
3592
|
+
"$ xano sandbox reset --force"
|
|
3579
3593
|
],
|
|
3580
3594
|
"flags": {
|
|
3581
3595
|
"config": {
|
|
@@ -3607,24 +3621,10 @@
|
|
|
3607
3621
|
"allowNo": false,
|
|
3608
3622
|
"type": "boolean"
|
|
3609
3623
|
},
|
|
3610
|
-
"
|
|
3611
|
-
"char": "
|
|
3612
|
-
"description": "
|
|
3613
|
-
"name": "
|
|
3614
|
-
"required": false,
|
|
3615
|
-
"default": "summary",
|
|
3616
|
-
"hasDynamicHelp": false,
|
|
3617
|
-
"multiple": false,
|
|
3618
|
-
"options": [
|
|
3619
|
-
"summary",
|
|
3620
|
-
"json"
|
|
3621
|
-
],
|
|
3622
|
-
"type": "option"
|
|
3623
|
-
},
|
|
3624
|
-
"url-only": {
|
|
3625
|
-
"char": "u",
|
|
3626
|
-
"description": "Print the URL without opening the browser",
|
|
3627
|
-
"name": "url-only",
|
|
3624
|
+
"force": {
|
|
3625
|
+
"char": "f",
|
|
3626
|
+
"description": "[CRITICAL] Skips the confirmation prompt.",
|
|
3627
|
+
"name": "force",
|
|
3628
3628
|
"required": false,
|
|
3629
3629
|
"allowNo": false,
|
|
3630
3630
|
"type": "boolean"
|
|
@@ -3632,7 +3632,7 @@
|
|
|
3632
3632
|
},
|
|
3633
3633
|
"hasDynamicHelp": false,
|
|
3634
3634
|
"hiddenAliases": [],
|
|
3635
|
-
"id": "sandbox:
|
|
3635
|
+
"id": "sandbox:reset",
|
|
3636
3636
|
"pluginAlias": "@xano/cli",
|
|
3637
3637
|
"pluginName": "@xano/cli",
|
|
3638
3638
|
"pluginType": "core",
|
|
@@ -3643,7 +3643,7 @@
|
|
|
3643
3643
|
"dist",
|
|
3644
3644
|
"commands",
|
|
3645
3645
|
"sandbox",
|
|
3646
|
-
"
|
|
3646
|
+
"reset",
|
|
3647
3647
|
"index.js"
|
|
3648
3648
|
]
|
|
3649
3649
|
},
|
|
@@ -3994,7 +3994,7 @@
|
|
|
3994
3994
|
"index.js"
|
|
3995
3995
|
]
|
|
3996
3996
|
},
|
|
3997
|
-
"tenant:
|
|
3997
|
+
"tenant:deploy_platform": {
|
|
3998
3998
|
"aliases": [],
|
|
3999
3999
|
"args": {
|
|
4000
4000
|
"tenant_name": {
|
|
@@ -4003,10 +4003,11 @@
|
|
|
4003
4003
|
"required": true
|
|
4004
4004
|
}
|
|
4005
4005
|
},
|
|
4006
|
-
"description": "[CRITICAL] STOP and confirm with the user before deploying a
|
|
4006
|
+
"description": "[CRITICAL] STOP and confirm with the user before deploying a platform version to a tenant; this mutates the live tenant. Deploys a platform version to a tenant.",
|
|
4007
4007
|
"examples": [
|
|
4008
|
-
"$ xano tenant
|
|
4009
|
-
"$ xano tenant
|
|
4008
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
4009
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json",
|
|
4010
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
|
|
4010
4011
|
],
|
|
4011
4012
|
"flags": {
|
|
4012
4013
|
"config": {
|
|
@@ -4038,6 +4039,15 @@
|
|
|
4038
4039
|
"allowNo": false,
|
|
4039
4040
|
"type": "boolean"
|
|
4040
4041
|
},
|
|
4042
|
+
"license": {
|
|
4043
|
+
"char": "l",
|
|
4044
|
+
"description": "Path to a license override file to apply after deploy",
|
|
4045
|
+
"name": "license",
|
|
4046
|
+
"required": false,
|
|
4047
|
+
"hasDynamicHelp": false,
|
|
4048
|
+
"multiple": false,
|
|
4049
|
+
"type": "option"
|
|
4050
|
+
},
|
|
4041
4051
|
"output": {
|
|
4042
4052
|
"char": "o",
|
|
4043
4053
|
"description": "Output format",
|
|
@@ -4052,10 +4062,9 @@
|
|
|
4052
4062
|
],
|
|
4053
4063
|
"type": "option"
|
|
4054
4064
|
},
|
|
4055
|
-
"
|
|
4056
|
-
"
|
|
4057
|
-
"
|
|
4058
|
-
"name": "release",
|
|
4065
|
+
"platform_id": {
|
|
4066
|
+
"description": "Platform ID to deploy",
|
|
4067
|
+
"name": "platform_id",
|
|
4059
4068
|
"required": true,
|
|
4060
4069
|
"hasDynamicHelp": false,
|
|
4061
4070
|
"multiple": false,
|
|
@@ -4073,7 +4082,7 @@
|
|
|
4073
4082
|
},
|
|
4074
4083
|
"hasDynamicHelp": false,
|
|
4075
4084
|
"hiddenAliases": [],
|
|
4076
|
-
"id": "tenant:
|
|
4085
|
+
"id": "tenant:deploy_platform",
|
|
4077
4086
|
"pluginAlias": "@xano/cli",
|
|
4078
4087
|
"pluginName": "@xano/cli",
|
|
4079
4088
|
"pluginType": "core",
|
|
@@ -4084,11 +4093,11 @@
|
|
|
4084
4093
|
"dist",
|
|
4085
4094
|
"commands",
|
|
4086
4095
|
"tenant",
|
|
4087
|
-
"
|
|
4096
|
+
"deploy_platform",
|
|
4088
4097
|
"index.js"
|
|
4089
4098
|
]
|
|
4090
4099
|
},
|
|
4091
|
-
"tenant:
|
|
4100
|
+
"tenant:deploy_release": {
|
|
4092
4101
|
"aliases": [],
|
|
4093
4102
|
"args": {
|
|
4094
4103
|
"tenant_name": {
|
|
@@ -4097,11 +4106,10 @@
|
|
|
4097
4106
|
"required": true
|
|
4098
4107
|
}
|
|
4099
4108
|
},
|
|
4100
|
-
"description": "[CRITICAL] STOP and confirm with the user before deploying a
|
|
4109
|
+
"description": "[CRITICAL] STOP and confirm with the user before deploying a release to a tenant; this mutates the live tenant. Deploys a release to a tenant.",
|
|
4101
4110
|
"examples": [
|
|
4102
|
-
"$ xano tenant
|
|
4103
|
-
"$ xano tenant
|
|
4104
|
-
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
|
|
4111
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
4112
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
4105
4113
|
],
|
|
4106
4114
|
"flags": {
|
|
4107
4115
|
"config": {
|
|
@@ -4133,15 +4141,6 @@
|
|
|
4133
4141
|
"allowNo": false,
|
|
4134
4142
|
"type": "boolean"
|
|
4135
4143
|
},
|
|
4136
|
-
"license": {
|
|
4137
|
-
"char": "l",
|
|
4138
|
-
"description": "Path to a license override file to apply after deploy",
|
|
4139
|
-
"name": "license",
|
|
4140
|
-
"required": false,
|
|
4141
|
-
"hasDynamicHelp": false,
|
|
4142
|
-
"multiple": false,
|
|
4143
|
-
"type": "option"
|
|
4144
|
-
},
|
|
4145
4144
|
"output": {
|
|
4146
4145
|
"char": "o",
|
|
4147
4146
|
"description": "Output format",
|
|
@@ -4156,9 +4155,10 @@
|
|
|
4156
4155
|
],
|
|
4157
4156
|
"type": "option"
|
|
4158
4157
|
},
|
|
4159
|
-
"
|
|
4160
|
-
"
|
|
4161
|
-
"
|
|
4158
|
+
"release": {
|
|
4159
|
+
"char": "r",
|
|
4160
|
+
"description": "Release name to deploy",
|
|
4161
|
+
"name": "release",
|
|
4162
4162
|
"required": true,
|
|
4163
4163
|
"hasDynamicHelp": false,
|
|
4164
4164
|
"multiple": false,
|
|
@@ -4176,7 +4176,7 @@
|
|
|
4176
4176
|
},
|
|
4177
4177
|
"hasDynamicHelp": false,
|
|
4178
4178
|
"hiddenAliases": [],
|
|
4179
|
-
"id": "tenant:
|
|
4179
|
+
"id": "tenant:deploy_release",
|
|
4180
4180
|
"pluginAlias": "@xano/cli",
|
|
4181
4181
|
"pluginName": "@xano/cli",
|
|
4182
4182
|
"pluginType": "core",
|
|
@@ -4187,7 +4187,7 @@
|
|
|
4187
4187
|
"dist",
|
|
4188
4188
|
"commands",
|
|
4189
4189
|
"tenant",
|
|
4190
|
-
"
|
|
4190
|
+
"deploy_release",
|
|
4191
4191
|
"index.js"
|
|
4192
4192
|
]
|
|
4193
4193
|
},
|
|
@@ -5281,91 +5281,6 @@
|
|
|
5281
5281
|
"index.js"
|
|
5282
5282
|
]
|
|
5283
5283
|
},
|
|
5284
|
-
"workflow_test:run": {
|
|
5285
|
-
"aliases": [],
|
|
5286
|
-
"args": {
|
|
5287
|
-
"workflow_test_id": {
|
|
5288
|
-
"description": "ID of the workflow test to run",
|
|
5289
|
-
"name": "workflow_test_id",
|
|
5290
|
-
"required": true
|
|
5291
|
-
}
|
|
5292
|
-
},
|
|
5293
|
-
"description": "Run a workflow test",
|
|
5294
|
-
"examples": [
|
|
5295
|
-
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
5296
|
-
"$ xano workflow-test run 1 -o json"
|
|
5297
|
-
],
|
|
5298
|
-
"flags": {
|
|
5299
|
-
"config": {
|
|
5300
|
-
"char": "c",
|
|
5301
|
-
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
5302
|
-
"env": "XANO_CONFIG",
|
|
5303
|
-
"name": "config",
|
|
5304
|
-
"required": false,
|
|
5305
|
-
"hasDynamicHelp": false,
|
|
5306
|
-
"multiple": false,
|
|
5307
|
-
"type": "option"
|
|
5308
|
-
},
|
|
5309
|
-
"profile": {
|
|
5310
|
-
"char": "p",
|
|
5311
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5312
|
-
"env": "XANO_PROFILE",
|
|
5313
|
-
"name": "profile",
|
|
5314
|
-
"required": false,
|
|
5315
|
-
"hasDynamicHelp": false,
|
|
5316
|
-
"multiple": false,
|
|
5317
|
-
"type": "option"
|
|
5318
|
-
},
|
|
5319
|
-
"verbose": {
|
|
5320
|
-
"char": "v",
|
|
5321
|
-
"description": "Show detailed request/response information",
|
|
5322
|
-
"env": "XANO_VERBOSE",
|
|
5323
|
-
"name": "verbose",
|
|
5324
|
-
"required": false,
|
|
5325
|
-
"allowNo": false,
|
|
5326
|
-
"type": "boolean"
|
|
5327
|
-
},
|
|
5328
|
-
"output": {
|
|
5329
|
-
"char": "o",
|
|
5330
|
-
"description": "Output format",
|
|
5331
|
-
"name": "output",
|
|
5332
|
-
"required": false,
|
|
5333
|
-
"default": "summary",
|
|
5334
|
-
"hasDynamicHelp": false,
|
|
5335
|
-
"multiple": false,
|
|
5336
|
-
"options": [
|
|
5337
|
-
"summary",
|
|
5338
|
-
"json"
|
|
5339
|
-
],
|
|
5340
|
-
"type": "option"
|
|
5341
|
-
},
|
|
5342
|
-
"workspace": {
|
|
5343
|
-
"char": "w",
|
|
5344
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5345
|
-
"name": "workspace",
|
|
5346
|
-
"required": false,
|
|
5347
|
-
"hasDynamicHelp": false,
|
|
5348
|
-
"multiple": false,
|
|
5349
|
-
"type": "option"
|
|
5350
|
-
}
|
|
5351
|
-
},
|
|
5352
|
-
"hasDynamicHelp": false,
|
|
5353
|
-
"hiddenAliases": [],
|
|
5354
|
-
"id": "workflow_test:run",
|
|
5355
|
-
"pluginAlias": "@xano/cli",
|
|
5356
|
-
"pluginName": "@xano/cli",
|
|
5357
|
-
"pluginType": "core",
|
|
5358
|
-
"strict": true,
|
|
5359
|
-
"enableJsonFlag": false,
|
|
5360
|
-
"isESM": true,
|
|
5361
|
-
"relativePath": [
|
|
5362
|
-
"dist",
|
|
5363
|
-
"commands",
|
|
5364
|
-
"workflow_test",
|
|
5365
|
-
"run",
|
|
5366
|
-
"index.js"
|
|
5367
|
-
]
|
|
5368
|
-
},
|
|
5369
5284
|
"workflow_test:run_all": {
|
|
5370
5285
|
"aliases": [],
|
|
5371
5286
|
"args": {},
|
|
@@ -5454,14 +5369,19 @@
|
|
|
5454
5369
|
"index.js"
|
|
5455
5370
|
]
|
|
5456
5371
|
},
|
|
5457
|
-
"
|
|
5372
|
+
"workflow_test:run": {
|
|
5458
5373
|
"aliases": [],
|
|
5459
|
-
"args": {
|
|
5460
|
-
|
|
5374
|
+
"args": {
|
|
5375
|
+
"workflow_test_id": {
|
|
5376
|
+
"description": "ID of the workflow test to run",
|
|
5377
|
+
"name": "workflow_test_id",
|
|
5378
|
+
"required": true
|
|
5379
|
+
}
|
|
5380
|
+
},
|
|
5381
|
+
"description": "Run a workflow test",
|
|
5461
5382
|
"examples": [
|
|
5462
|
-
"$ xano
|
|
5463
|
-
"$ xano
|
|
5464
|
-
"$ xano workspace delete -w 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
5383
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
5384
|
+
"$ xano workflow-test run 1 -o json"
|
|
5465
5385
|
],
|
|
5466
5386
|
"flags": {
|
|
5467
5387
|
"config": {
|
|
@@ -5493,14 +5413,6 @@
|
|
|
5493
5413
|
"allowNo": false,
|
|
5494
5414
|
"type": "boolean"
|
|
5495
5415
|
},
|
|
5496
|
-
"force": {
|
|
5497
|
-
"char": "f",
|
|
5498
|
-
"description": "[CRITICAL] NEVER run without explicit user confirmation. Skips the confirmation prompt.",
|
|
5499
|
-
"name": "force",
|
|
5500
|
-
"required": false,
|
|
5501
|
-
"allowNo": false,
|
|
5502
|
-
"type": "boolean"
|
|
5503
|
-
},
|
|
5504
5416
|
"output": {
|
|
5505
5417
|
"char": "o",
|
|
5506
5418
|
"description": "Output format",
|
|
@@ -5517,7 +5429,7 @@
|
|
|
5517
5429
|
},
|
|
5518
5430
|
"workspace": {
|
|
5519
5431
|
"char": "w",
|
|
5520
|
-
"description": "Workspace ID
|
|
5432
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5521
5433
|
"name": "workspace",
|
|
5522
5434
|
"required": false,
|
|
5523
5435
|
"hasDynamicHelp": false,
|
|
@@ -5527,7 +5439,7 @@
|
|
|
5527
5439
|
},
|
|
5528
5440
|
"hasDynamicHelp": false,
|
|
5529
5441
|
"hiddenAliases": [],
|
|
5530
|
-
"id": "
|
|
5442
|
+
"id": "workflow_test:run",
|
|
5531
5443
|
"pluginAlias": "@xano/cli",
|
|
5532
5444
|
"pluginName": "@xano/cli",
|
|
5533
5445
|
"pluginType": "core",
|
|
@@ -5537,8 +5449,8 @@
|
|
|
5537
5449
|
"relativePath": [
|
|
5538
5450
|
"dist",
|
|
5539
5451
|
"commands",
|
|
5540
|
-
"
|
|
5541
|
-
"
|
|
5452
|
+
"workflow_test",
|
|
5453
|
+
"run",
|
|
5542
5454
|
"index.js"
|
|
5543
5455
|
]
|
|
5544
5456
|
},
|
|
@@ -5628,15 +5540,14 @@
|
|
|
5628
5540
|
"index.js"
|
|
5629
5541
|
]
|
|
5630
5542
|
},
|
|
5631
|
-
"workspace:
|
|
5543
|
+
"workspace:delete": {
|
|
5632
5544
|
"aliases": [],
|
|
5633
5545
|
"args": {},
|
|
5634
|
-
"description": "
|
|
5546
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
5635
5547
|
"examples": [
|
|
5636
|
-
"$ xano workspace
|
|
5637
|
-
"$ xano workspace
|
|
5638
|
-
"$ xano workspace
|
|
5639
|
-
"$ xano workspace edit -w 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
5548
|
+
"$ xano workspace delete -w 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
|
|
5549
|
+
"$ xano workspace delete -w 123 --force\nDeleted workspace 123\n",
|
|
5550
|
+
"$ xano workspace delete -w 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
5640
5551
|
],
|
|
5641
5552
|
"flags": {
|
|
5642
5553
|
"config": {
|
|
@@ -5668,7 +5579,96 @@
|
|
|
5668
5579
|
"allowNo": false,
|
|
5669
5580
|
"type": "boolean"
|
|
5670
5581
|
},
|
|
5671
|
-
"
|
|
5582
|
+
"force": {
|
|
5583
|
+
"char": "f",
|
|
5584
|
+
"description": "[CRITICAL] NEVER run without explicit user confirmation. Skips the confirmation prompt.",
|
|
5585
|
+
"name": "force",
|
|
5586
|
+
"required": false,
|
|
5587
|
+
"allowNo": false,
|
|
5588
|
+
"type": "boolean"
|
|
5589
|
+
},
|
|
5590
|
+
"output": {
|
|
5591
|
+
"char": "o",
|
|
5592
|
+
"description": "Output format",
|
|
5593
|
+
"name": "output",
|
|
5594
|
+
"required": false,
|
|
5595
|
+
"default": "summary",
|
|
5596
|
+
"hasDynamicHelp": false,
|
|
5597
|
+
"multiple": false,
|
|
5598
|
+
"options": [
|
|
5599
|
+
"summary",
|
|
5600
|
+
"json"
|
|
5601
|
+
],
|
|
5602
|
+
"type": "option"
|
|
5603
|
+
},
|
|
5604
|
+
"workspace": {
|
|
5605
|
+
"char": "w",
|
|
5606
|
+
"description": "Workspace ID to delete (uses profile workspace if not provided)",
|
|
5607
|
+
"name": "workspace",
|
|
5608
|
+
"required": false,
|
|
5609
|
+
"hasDynamicHelp": false,
|
|
5610
|
+
"multiple": false,
|
|
5611
|
+
"type": "option"
|
|
5612
|
+
}
|
|
5613
|
+
},
|
|
5614
|
+
"hasDynamicHelp": false,
|
|
5615
|
+
"hiddenAliases": [],
|
|
5616
|
+
"id": "workspace:delete",
|
|
5617
|
+
"pluginAlias": "@xano/cli",
|
|
5618
|
+
"pluginName": "@xano/cli",
|
|
5619
|
+
"pluginType": "core",
|
|
5620
|
+
"strict": true,
|
|
5621
|
+
"enableJsonFlag": false,
|
|
5622
|
+
"isESM": true,
|
|
5623
|
+
"relativePath": [
|
|
5624
|
+
"dist",
|
|
5625
|
+
"commands",
|
|
5626
|
+
"workspace",
|
|
5627
|
+
"delete",
|
|
5628
|
+
"index.js"
|
|
5629
|
+
]
|
|
5630
|
+
},
|
|
5631
|
+
"workspace:edit": {
|
|
5632
|
+
"aliases": [],
|
|
5633
|
+
"args": {},
|
|
5634
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
5635
|
+
"examples": [
|
|
5636
|
+
"$ xano workspace edit -w 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
5637
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
5638
|
+
"$ xano workspace edit -w 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
5639
|
+
"$ xano workspace edit -w 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
5640
|
+
],
|
|
5641
|
+
"flags": {
|
|
5642
|
+
"config": {
|
|
5643
|
+
"char": "c",
|
|
5644
|
+
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
5645
|
+
"env": "XANO_CONFIG",
|
|
5646
|
+
"name": "config",
|
|
5647
|
+
"required": false,
|
|
5648
|
+
"hasDynamicHelp": false,
|
|
5649
|
+
"multiple": false,
|
|
5650
|
+
"type": "option"
|
|
5651
|
+
},
|
|
5652
|
+
"profile": {
|
|
5653
|
+
"char": "p",
|
|
5654
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5655
|
+
"env": "XANO_PROFILE",
|
|
5656
|
+
"name": "profile",
|
|
5657
|
+
"required": false,
|
|
5658
|
+
"hasDynamicHelp": false,
|
|
5659
|
+
"multiple": false,
|
|
5660
|
+
"type": "option"
|
|
5661
|
+
},
|
|
5662
|
+
"verbose": {
|
|
5663
|
+
"char": "v",
|
|
5664
|
+
"description": "Show detailed request/response information",
|
|
5665
|
+
"env": "XANO_VERBOSE",
|
|
5666
|
+
"name": "verbose",
|
|
5667
|
+
"required": false,
|
|
5668
|
+
"allowNo": false,
|
|
5669
|
+
"type": "boolean"
|
|
5670
|
+
},
|
|
5671
|
+
"allow-push": {
|
|
5672
5672
|
"description": "[CRITICAL] NEVER enable without explicit user confirmation; this unlocks direct CLI push to the workspace and is the gate that protects production from destructive push operations. Enables or disables direct CLI push to this workspace (not applicable on Free plan).",
|
|
5673
5673
|
"name": "allow-push",
|
|
5674
5674
|
"required": false,
|
|
@@ -5906,6 +5906,115 @@
|
|
|
5906
5906
|
"index.js"
|
|
5907
5907
|
]
|
|
5908
5908
|
},
|
|
5909
|
+
"workspace:pull": {
|
|
5910
|
+
"aliases": [],
|
|
5911
|
+
"args": {},
|
|
5912
|
+
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
5913
|
+
"examples": [
|
|
5914
|
+
"$ xano workspace pull\nPulled 42 documents to current directory\n",
|
|
5915
|
+
"$ xano workspace pull -d ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
5916
|
+
"$ xano workspace pull -d ./output -w 40\nPulled 15 documents to ./output\n",
|
|
5917
|
+
"$ xano workspace pull --profile production --env --records\nPulled 58 documents\n",
|
|
5918
|
+
"$ xano workspace pull --draft",
|
|
5919
|
+
"$ xano workspace pull -b dev"
|
|
5920
|
+
],
|
|
5921
|
+
"flags": {
|
|
5922
|
+
"config": {
|
|
5923
|
+
"char": "c",
|
|
5924
|
+
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
5925
|
+
"env": "XANO_CONFIG",
|
|
5926
|
+
"name": "config",
|
|
5927
|
+
"required": false,
|
|
5928
|
+
"hasDynamicHelp": false,
|
|
5929
|
+
"multiple": false,
|
|
5930
|
+
"type": "option"
|
|
5931
|
+
},
|
|
5932
|
+
"profile": {
|
|
5933
|
+
"char": "p",
|
|
5934
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5935
|
+
"env": "XANO_PROFILE",
|
|
5936
|
+
"name": "profile",
|
|
5937
|
+
"required": false,
|
|
5938
|
+
"hasDynamicHelp": false,
|
|
5939
|
+
"multiple": false,
|
|
5940
|
+
"type": "option"
|
|
5941
|
+
},
|
|
5942
|
+
"verbose": {
|
|
5943
|
+
"char": "v",
|
|
5944
|
+
"description": "Show detailed request/response information",
|
|
5945
|
+
"env": "XANO_VERBOSE",
|
|
5946
|
+
"name": "verbose",
|
|
5947
|
+
"required": false,
|
|
5948
|
+
"allowNo": false,
|
|
5949
|
+
"type": "boolean"
|
|
5950
|
+
},
|
|
5951
|
+
"branch": {
|
|
5952
|
+
"char": "b",
|
|
5953
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
5954
|
+
"name": "branch",
|
|
5955
|
+
"required": false,
|
|
5956
|
+
"hasDynamicHelp": false,
|
|
5957
|
+
"multiple": false,
|
|
5958
|
+
"type": "option"
|
|
5959
|
+
},
|
|
5960
|
+
"directory": {
|
|
5961
|
+
"char": "d",
|
|
5962
|
+
"description": "Output directory for pulled documents (defaults to current directory)",
|
|
5963
|
+
"name": "directory",
|
|
5964
|
+
"required": false,
|
|
5965
|
+
"default": ".",
|
|
5966
|
+
"hasDynamicHelp": false,
|
|
5967
|
+
"multiple": false,
|
|
5968
|
+
"type": "option"
|
|
5969
|
+
},
|
|
5970
|
+
"env": {
|
|
5971
|
+
"description": "Include environment variables",
|
|
5972
|
+
"name": "env",
|
|
5973
|
+
"required": false,
|
|
5974
|
+
"allowNo": false,
|
|
5975
|
+
"type": "boolean"
|
|
5976
|
+
},
|
|
5977
|
+
"draft": {
|
|
5978
|
+
"description": "Include draft versions",
|
|
5979
|
+
"name": "draft",
|
|
5980
|
+
"required": false,
|
|
5981
|
+
"allowNo": false,
|
|
5982
|
+
"type": "boolean"
|
|
5983
|
+
},
|
|
5984
|
+
"records": {
|
|
5985
|
+
"description": "Include records",
|
|
5986
|
+
"name": "records",
|
|
5987
|
+
"required": false,
|
|
5988
|
+
"allowNo": false,
|
|
5989
|
+
"type": "boolean"
|
|
5990
|
+
},
|
|
5991
|
+
"workspace": {
|
|
5992
|
+
"char": "w",
|
|
5993
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5994
|
+
"name": "workspace",
|
|
5995
|
+
"required": false,
|
|
5996
|
+
"hasDynamicHelp": false,
|
|
5997
|
+
"multiple": false,
|
|
5998
|
+
"type": "option"
|
|
5999
|
+
}
|
|
6000
|
+
},
|
|
6001
|
+
"hasDynamicHelp": false,
|
|
6002
|
+
"hiddenAliases": [],
|
|
6003
|
+
"id": "workspace:pull",
|
|
6004
|
+
"pluginAlias": "@xano/cli",
|
|
6005
|
+
"pluginName": "@xano/cli",
|
|
6006
|
+
"pluginType": "core",
|
|
6007
|
+
"strict": true,
|
|
6008
|
+
"enableJsonFlag": false,
|
|
6009
|
+
"isESM": true,
|
|
6010
|
+
"relativePath": [
|
|
6011
|
+
"dist",
|
|
6012
|
+
"commands",
|
|
6013
|
+
"workspace",
|
|
6014
|
+
"pull",
|
|
6015
|
+
"index.js"
|
|
6016
|
+
]
|
|
6017
|
+
},
|
|
5909
6018
|
"workspace:push": {
|
|
5910
6019
|
"aliases": [],
|
|
5911
6020
|
"args": {},
|
|
@@ -6085,17 +6194,13 @@
|
|
|
6085
6194
|
"index.js"
|
|
6086
6195
|
]
|
|
6087
6196
|
},
|
|
6088
|
-
"workspace:
|
|
6197
|
+
"profile:workspace:set": {
|
|
6089
6198
|
"aliases": [],
|
|
6090
6199
|
"args": {},
|
|
6091
|
-
"description": "
|
|
6200
|
+
"description": "Interactively select a workspace for a profile",
|
|
6092
6201
|
"examples": [
|
|
6093
|
-
"$ xano workspace
|
|
6094
|
-
"$ xano workspace
|
|
6095
|
-
"$ xano workspace pull -d ./output -w 40\nPulled 15 documents to ./output\n",
|
|
6096
|
-
"$ xano workspace pull --profile production --env --records\nPulled 58 documents\n",
|
|
6097
|
-
"$ xano workspace pull --draft",
|
|
6098
|
-
"$ xano workspace pull -b dev"
|
|
6202
|
+
"$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
|
|
6203
|
+
"$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
|
|
6099
6204
|
],
|
|
6100
6205
|
"flags": {
|
|
6101
6206
|
"config": {
|
|
@@ -6126,116 +6231,100 @@
|
|
|
6126
6231
|
"required": false,
|
|
6127
6232
|
"allowNo": false,
|
|
6128
6233
|
"type": "boolean"
|
|
6129
|
-
}
|
|
6130
|
-
|
|
6131
|
-
|
|
6132
|
-
|
|
6133
|
-
|
|
6234
|
+
}
|
|
6235
|
+
},
|
|
6236
|
+
"hasDynamicHelp": false,
|
|
6237
|
+
"hiddenAliases": [],
|
|
6238
|
+
"id": "profile:workspace:set",
|
|
6239
|
+
"pluginAlias": "@xano/cli",
|
|
6240
|
+
"pluginName": "@xano/cli",
|
|
6241
|
+
"pluginType": "core",
|
|
6242
|
+
"strict": true,
|
|
6243
|
+
"enableJsonFlag": false,
|
|
6244
|
+
"isESM": true,
|
|
6245
|
+
"relativePath": [
|
|
6246
|
+
"dist",
|
|
6247
|
+
"commands",
|
|
6248
|
+
"profile",
|
|
6249
|
+
"workspace",
|
|
6250
|
+
"set",
|
|
6251
|
+
"index.js"
|
|
6252
|
+
]
|
|
6253
|
+
},
|
|
6254
|
+
"sandbox:env:delete": {
|
|
6255
|
+
"aliases": [],
|
|
6256
|
+
"args": {},
|
|
6257
|
+
"description": "Delete an environment variable from a sandbox environment",
|
|
6258
|
+
"examples": [
|
|
6259
|
+
"$ xano sandbox env delete --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL'? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted\n",
|
|
6260
|
+
"$ xano sandbox env delete --name DATABASE_URL --force",
|
|
6261
|
+
"$ xano sandbox env delete --name DATABASE_URL -f -o json"
|
|
6262
|
+
],
|
|
6263
|
+
"flags": {
|
|
6264
|
+
"config": {
|
|
6265
|
+
"char": "c",
|
|
6266
|
+
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
6267
|
+
"env": "XANO_CONFIG",
|
|
6268
|
+
"name": "config",
|
|
6134
6269
|
"required": false,
|
|
6135
6270
|
"hasDynamicHelp": false,
|
|
6136
6271
|
"multiple": false,
|
|
6137
6272
|
"type": "option"
|
|
6138
6273
|
},
|
|
6139
|
-
"
|
|
6140
|
-
"char": "
|
|
6141
|
-
"description": "
|
|
6142
|
-
"
|
|
6143
|
-
"
|
|
6144
|
-
"
|
|
6274
|
+
"profile": {
|
|
6275
|
+
"char": "p",
|
|
6276
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
6277
|
+
"env": "XANO_PROFILE",
|
|
6278
|
+
"name": "profile",
|
|
6279
|
+
"required": false,
|
|
6145
6280
|
"hasDynamicHelp": false,
|
|
6146
6281
|
"multiple": false,
|
|
6147
6282
|
"type": "option"
|
|
6148
6283
|
},
|
|
6149
|
-
"
|
|
6150
|
-
"
|
|
6151
|
-
"
|
|
6152
|
-
"
|
|
6153
|
-
"
|
|
6154
|
-
"type": "boolean"
|
|
6155
|
-
},
|
|
6156
|
-
"draft": {
|
|
6157
|
-
"description": "Include draft versions",
|
|
6158
|
-
"name": "draft",
|
|
6284
|
+
"verbose": {
|
|
6285
|
+
"char": "v",
|
|
6286
|
+
"description": "Show detailed request/response information",
|
|
6287
|
+
"env": "XANO_VERBOSE",
|
|
6288
|
+
"name": "verbose",
|
|
6159
6289
|
"required": false,
|
|
6160
6290
|
"allowNo": false,
|
|
6161
6291
|
"type": "boolean"
|
|
6162
6292
|
},
|
|
6163
|
-
"
|
|
6164
|
-
"
|
|
6165
|
-
"
|
|
6293
|
+
"force": {
|
|
6294
|
+
"char": "f",
|
|
6295
|
+
"description": "[IMPORTANT] NEVER run without explicit user confirmation. Skips the confirmation prompt.",
|
|
6296
|
+
"name": "force",
|
|
6166
6297
|
"required": false,
|
|
6167
6298
|
"allowNo": false,
|
|
6168
6299
|
"type": "boolean"
|
|
6169
6300
|
},
|
|
6170
|
-
"
|
|
6171
|
-
"char": "
|
|
6172
|
-
"description": "
|
|
6173
|
-
"name": "
|
|
6174
|
-
"required":
|
|
6175
|
-
"hasDynamicHelp": false,
|
|
6176
|
-
"multiple": false,
|
|
6177
|
-
"type": "option"
|
|
6178
|
-
}
|
|
6179
|
-
},
|
|
6180
|
-
"hasDynamicHelp": false,
|
|
6181
|
-
"hiddenAliases": [],
|
|
6182
|
-
"id": "workspace:pull",
|
|
6183
|
-
"pluginAlias": "@xano/cli",
|
|
6184
|
-
"pluginName": "@xano/cli",
|
|
6185
|
-
"pluginType": "core",
|
|
6186
|
-
"strict": true,
|
|
6187
|
-
"enableJsonFlag": false,
|
|
6188
|
-
"isESM": true,
|
|
6189
|
-
"relativePath": [
|
|
6190
|
-
"dist",
|
|
6191
|
-
"commands",
|
|
6192
|
-
"workspace",
|
|
6193
|
-
"pull",
|
|
6194
|
-
"index.js"
|
|
6195
|
-
]
|
|
6196
|
-
},
|
|
6197
|
-
"profile:workspace:set": {
|
|
6198
|
-
"aliases": [],
|
|
6199
|
-
"args": {},
|
|
6200
|
-
"description": "Interactively select a workspace for a profile",
|
|
6201
|
-
"examples": [
|
|
6202
|
-
"$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
|
|
6203
|
-
"$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
|
|
6204
|
-
],
|
|
6205
|
-
"flags": {
|
|
6206
|
-
"config": {
|
|
6207
|
-
"char": "c",
|
|
6208
|
-
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
6209
|
-
"env": "XANO_CONFIG",
|
|
6210
|
-
"name": "config",
|
|
6211
|
-
"required": false,
|
|
6301
|
+
"name": {
|
|
6302
|
+
"char": "n",
|
|
6303
|
+
"description": "Environment variable name",
|
|
6304
|
+
"name": "name",
|
|
6305
|
+
"required": true,
|
|
6212
6306
|
"hasDynamicHelp": false,
|
|
6213
6307
|
"multiple": false,
|
|
6214
6308
|
"type": "option"
|
|
6215
6309
|
},
|
|
6216
|
-
"
|
|
6217
|
-
"char": "
|
|
6218
|
-
"description": "
|
|
6219
|
-
"
|
|
6220
|
-
"name": "profile",
|
|
6310
|
+
"output": {
|
|
6311
|
+
"char": "o",
|
|
6312
|
+
"description": "Output format",
|
|
6313
|
+
"name": "output",
|
|
6221
6314
|
"required": false,
|
|
6315
|
+
"default": "summary",
|
|
6222
6316
|
"hasDynamicHelp": false,
|
|
6223
6317
|
"multiple": false,
|
|
6318
|
+
"options": [
|
|
6319
|
+
"summary",
|
|
6320
|
+
"json"
|
|
6321
|
+
],
|
|
6224
6322
|
"type": "option"
|
|
6225
|
-
},
|
|
6226
|
-
"verbose": {
|
|
6227
|
-
"char": "v",
|
|
6228
|
-
"description": "Show detailed request/response information",
|
|
6229
|
-
"env": "XANO_VERBOSE",
|
|
6230
|
-
"name": "verbose",
|
|
6231
|
-
"required": false,
|
|
6232
|
-
"allowNo": false,
|
|
6233
|
-
"type": "boolean"
|
|
6234
6323
|
}
|
|
6235
6324
|
},
|
|
6236
6325
|
"hasDynamicHelp": false,
|
|
6237
6326
|
"hiddenAliases": [],
|
|
6238
|
-
"id": "
|
|
6327
|
+
"id": "sandbox:env:delete",
|
|
6239
6328
|
"pluginAlias": "@xano/cli",
|
|
6240
6329
|
"pluginName": "@xano/cli",
|
|
6241
6330
|
"pluginType": "core",
|
|
@@ -6245,20 +6334,19 @@
|
|
|
6245
6334
|
"relativePath": [
|
|
6246
6335
|
"dist",
|
|
6247
6336
|
"commands",
|
|
6248
|
-
"
|
|
6249
|
-
"
|
|
6250
|
-
"
|
|
6337
|
+
"sandbox",
|
|
6338
|
+
"env",
|
|
6339
|
+
"delete",
|
|
6251
6340
|
"index.js"
|
|
6252
6341
|
]
|
|
6253
6342
|
},
|
|
6254
|
-
"sandbox:env:
|
|
6343
|
+
"sandbox:env:get": {
|
|
6255
6344
|
"aliases": [],
|
|
6256
6345
|
"args": {},
|
|
6257
|
-
"description": "
|
|
6346
|
+
"description": "Get a single environment variable for a sandbox environment",
|
|
6258
6347
|
"examples": [
|
|
6259
|
-
"$ xano sandbox env
|
|
6260
|
-
"$ xano sandbox env
|
|
6261
|
-
"$ xano sandbox env delete --name DATABASE_URL -f -o json"
|
|
6348
|
+
"$ xano sandbox env get --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6349
|
+
"$ xano sandbox env get --name DATABASE_URL -o json"
|
|
6262
6350
|
],
|
|
6263
6351
|
"flags": {
|
|
6264
6352
|
"config": {
|
|
@@ -6290,14 +6378,6 @@
|
|
|
6290
6378
|
"allowNo": false,
|
|
6291
6379
|
"type": "boolean"
|
|
6292
6380
|
},
|
|
6293
|
-
"force": {
|
|
6294
|
-
"char": "f",
|
|
6295
|
-
"description": "[IMPORTANT] NEVER run without explicit user confirmation. Skips the confirmation prompt.",
|
|
6296
|
-
"name": "force",
|
|
6297
|
-
"required": false,
|
|
6298
|
-
"allowNo": false,
|
|
6299
|
-
"type": "boolean"
|
|
6300
|
-
},
|
|
6301
6381
|
"name": {
|
|
6302
6382
|
"char": "n",
|
|
6303
6383
|
"description": "Environment variable name",
|
|
@@ -6324,7 +6404,7 @@
|
|
|
6324
6404
|
},
|
|
6325
6405
|
"hasDynamicHelp": false,
|
|
6326
6406
|
"hiddenAliases": [],
|
|
6327
|
-
"id": "sandbox:env:
|
|
6407
|
+
"id": "sandbox:env:get",
|
|
6328
6408
|
"pluginAlias": "@xano/cli",
|
|
6329
6409
|
"pluginName": "@xano/cli",
|
|
6330
6410
|
"pluginType": "core",
|
|
@@ -6336,17 +6416,17 @@
|
|
|
6336
6416
|
"commands",
|
|
6337
6417
|
"sandbox",
|
|
6338
6418
|
"env",
|
|
6339
|
-
"
|
|
6419
|
+
"get",
|
|
6340
6420
|
"index.js"
|
|
6341
6421
|
]
|
|
6342
6422
|
},
|
|
6343
|
-
"sandbox:env:
|
|
6423
|
+
"sandbox:env:list": {
|
|
6344
6424
|
"aliases": [],
|
|
6345
6425
|
"args": {},
|
|
6346
|
-
"description": "
|
|
6426
|
+
"description": "List environment variable keys for a sandbox environment",
|
|
6347
6427
|
"examples": [
|
|
6348
|
-
"$ xano sandbox env
|
|
6349
|
-
"$ xano sandbox env
|
|
6428
|
+
"$ xano sandbox env list\nEnvironment variables for sandbox environment:\n - DATABASE_URL\n - API_KEY\n",
|
|
6429
|
+
"$ xano sandbox env list -o json"
|
|
6350
6430
|
],
|
|
6351
6431
|
"flags": {
|
|
6352
6432
|
"config": {
|
|
@@ -6378,15 +6458,6 @@
|
|
|
6378
6458
|
"allowNo": false,
|
|
6379
6459
|
"type": "boolean"
|
|
6380
6460
|
},
|
|
6381
|
-
"name": {
|
|
6382
|
-
"char": "n",
|
|
6383
|
-
"description": "Environment variable name",
|
|
6384
|
-
"name": "name",
|
|
6385
|
-
"required": true,
|
|
6386
|
-
"hasDynamicHelp": false,
|
|
6387
|
-
"multiple": false,
|
|
6388
|
-
"type": "option"
|
|
6389
|
-
},
|
|
6390
6461
|
"output": {
|
|
6391
6462
|
"char": "o",
|
|
6392
6463
|
"description": "Output format",
|
|
@@ -6404,7 +6475,7 @@
|
|
|
6404
6475
|
},
|
|
6405
6476
|
"hasDynamicHelp": false,
|
|
6406
6477
|
"hiddenAliases": [],
|
|
6407
|
-
"id": "sandbox:env:
|
|
6478
|
+
"id": "sandbox:env:list",
|
|
6408
6479
|
"pluginAlias": "@xano/cli",
|
|
6409
6480
|
"pluginName": "@xano/cli",
|
|
6410
6481
|
"pluginType": "core",
|
|
@@ -6416,7 +6487,7 @@
|
|
|
6416
6487
|
"commands",
|
|
6417
6488
|
"sandbox",
|
|
6418
6489
|
"env",
|
|
6419
|
-
"
|
|
6490
|
+
"list",
|
|
6420
6491
|
"index.js"
|
|
6421
6492
|
]
|
|
6422
6493
|
},
|
|
@@ -6597,13 +6668,14 @@
|
|
|
6597
6668
|
"index.js"
|
|
6598
6669
|
]
|
|
6599
6670
|
},
|
|
6600
|
-
"sandbox:env:
|
|
6671
|
+
"sandbox:env:set_all": {
|
|
6601
6672
|
"aliases": [],
|
|
6602
6673
|
"args": {},
|
|
6603
|
-
"description": "
|
|
6674
|
+
"description": "[CRITICAL] STOP and confirm with the user; this replaces all environment variables with the imported file. Sets all environment variables for a sandbox environment from a YAML file.",
|
|
6604
6675
|
"examples": [
|
|
6605
|
-
"$ xano sandbox env
|
|
6606
|
-
"$ xano sandbox env
|
|
6676
|
+
"$ xano sandbox env set_all\nReads from env_<tenant>.yaml\n",
|
|
6677
|
+
"$ xano sandbox env set_all --file ./my-env.yaml",
|
|
6678
|
+
"$ xano sandbox env set_all -o json"
|
|
6607
6679
|
],
|
|
6608
6680
|
"flags": {
|
|
6609
6681
|
"config": {
|
|
@@ -6635,6 +6707,22 @@
|
|
|
6635
6707
|
"allowNo": false,
|
|
6636
6708
|
"type": "boolean"
|
|
6637
6709
|
},
|
|
6710
|
+
"clean": {
|
|
6711
|
+
"description": "Remove the source file after successful upload",
|
|
6712
|
+
"name": "clean",
|
|
6713
|
+
"required": false,
|
|
6714
|
+
"allowNo": false,
|
|
6715
|
+
"type": "boolean"
|
|
6716
|
+
},
|
|
6717
|
+
"file": {
|
|
6718
|
+
"char": "f",
|
|
6719
|
+
"description": "Path to env file (default: env_<sandbox_name>.yaml)",
|
|
6720
|
+
"name": "file",
|
|
6721
|
+
"required": false,
|
|
6722
|
+
"hasDynamicHelp": false,
|
|
6723
|
+
"multiple": false,
|
|
6724
|
+
"type": "option"
|
|
6725
|
+
},
|
|
6638
6726
|
"output": {
|
|
6639
6727
|
"char": "o",
|
|
6640
6728
|
"description": "Output format",
|
|
@@ -6652,7 +6740,7 @@
|
|
|
6652
6740
|
},
|
|
6653
6741
|
"hasDynamicHelp": false,
|
|
6654
6742
|
"hiddenAliases": [],
|
|
6655
|
-
"id": "sandbox:env:
|
|
6743
|
+
"id": "sandbox:env:set_all",
|
|
6656
6744
|
"pluginAlias": "@xano/cli",
|
|
6657
6745
|
"pluginName": "@xano/cli",
|
|
6658
6746
|
"pluginType": "core",
|
|
@@ -6664,18 +6752,19 @@
|
|
|
6664
6752
|
"commands",
|
|
6665
6753
|
"sandbox",
|
|
6666
6754
|
"env",
|
|
6667
|
-
"
|
|
6755
|
+
"set_all",
|
|
6668
6756
|
"index.js"
|
|
6669
6757
|
]
|
|
6670
6758
|
},
|
|
6671
|
-
"sandbox:
|
|
6759
|
+
"sandbox:license:get": {
|
|
6672
6760
|
"aliases": [],
|
|
6673
6761
|
"args": {},
|
|
6674
|
-
"description": "
|
|
6762
|
+
"description": "Get the license for a sandbox environment",
|
|
6675
6763
|
"examples": [
|
|
6676
|
-
"$ xano sandbox
|
|
6677
|
-
"$ xano sandbox
|
|
6678
|
-
"$ xano sandbox
|
|
6764
|
+
"$ xano sandbox license get\nLicense saved to license_<tenant>.yaml\n",
|
|
6765
|
+
"$ xano sandbox license get --file ./my-license.yaml",
|
|
6766
|
+
"$ xano sandbox license get --view",
|
|
6767
|
+
"$ xano sandbox license get -o json"
|
|
6679
6768
|
],
|
|
6680
6769
|
"flags": {
|
|
6681
6770
|
"config": {
|
|
@@ -6707,16 +6796,9 @@
|
|
|
6707
6796
|
"allowNo": false,
|
|
6708
6797
|
"type": "boolean"
|
|
6709
6798
|
},
|
|
6710
|
-
"clean": {
|
|
6711
|
-
"description": "Remove the source file after successful upload",
|
|
6712
|
-
"name": "clean",
|
|
6713
|
-
"required": false,
|
|
6714
|
-
"allowNo": false,
|
|
6715
|
-
"type": "boolean"
|
|
6716
|
-
},
|
|
6717
6799
|
"file": {
|
|
6718
6800
|
"char": "f",
|
|
6719
|
-
"description": "
|
|
6801
|
+
"description": "Output file path (default: license_<sandbox_name>.yaml)",
|
|
6720
6802
|
"name": "file",
|
|
6721
6803
|
"required": false,
|
|
6722
6804
|
"hasDynamicHelp": false,
|
|
@@ -6736,11 +6818,18 @@
|
|
|
6736
6818
|
"json"
|
|
6737
6819
|
],
|
|
6738
6820
|
"type": "option"
|
|
6821
|
+
},
|
|
6822
|
+
"view": {
|
|
6823
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6824
|
+
"name": "view",
|
|
6825
|
+
"required": false,
|
|
6826
|
+
"allowNo": false,
|
|
6827
|
+
"type": "boolean"
|
|
6739
6828
|
}
|
|
6740
6829
|
},
|
|
6741
6830
|
"hasDynamicHelp": false,
|
|
6742
6831
|
"hiddenAliases": [],
|
|
6743
|
-
"id": "sandbox:
|
|
6832
|
+
"id": "sandbox:license:get",
|
|
6744
6833
|
"pluginAlias": "@xano/cli",
|
|
6745
6834
|
"pluginName": "@xano/cli",
|
|
6746
6835
|
"pluginType": "core",
|
|
@@ -6751,8 +6840,8 @@
|
|
|
6751
6840
|
"dist",
|
|
6752
6841
|
"commands",
|
|
6753
6842
|
"sandbox",
|
|
6754
|
-
"
|
|
6755
|
-
"
|
|
6843
|
+
"license",
|
|
6844
|
+
"get",
|
|
6756
6845
|
"index.js"
|
|
6757
6846
|
]
|
|
6758
6847
|
},
|
|
@@ -6863,15 +6952,13 @@
|
|
|
6863
6952
|
"index.js"
|
|
6864
6953
|
]
|
|
6865
6954
|
},
|
|
6866
|
-
"sandbox:
|
|
6955
|
+
"sandbox:unit_test:list": {
|
|
6867
6956
|
"aliases": [],
|
|
6868
6957
|
"args": {},
|
|
6869
|
-
"description": "
|
|
6958
|
+
"description": "List all unit tests for a sandbox environment",
|
|
6870
6959
|
"examples": [
|
|
6871
|
-
"$ xano sandbox
|
|
6872
|
-
"$ xano sandbox
|
|
6873
|
-
"$ xano sandbox license get --view",
|
|
6874
|
-
"$ xano sandbox license get -o json"
|
|
6960
|
+
"$ xano sandbox unit-test list\nUnit tests:\n - my-test (ID: abc-123) [function: math]\n",
|
|
6961
|
+
"$ xano sandbox unit-test list -o json"
|
|
6875
6962
|
],
|
|
6876
6963
|
"flags": {
|
|
6877
6964
|
"config": {
|
|
@@ -6903,13 +6990,26 @@
|
|
|
6903
6990
|
"allowNo": false,
|
|
6904
6991
|
"type": "boolean"
|
|
6905
6992
|
},
|
|
6906
|
-
"
|
|
6907
|
-
"char": "
|
|
6908
|
-
"description": "
|
|
6909
|
-
"name": "
|
|
6993
|
+
"branch": {
|
|
6994
|
+
"char": "b",
|
|
6995
|
+
"description": "Filter by branch name",
|
|
6996
|
+
"name": "branch",
|
|
6997
|
+
"required": false,
|
|
6998
|
+
"hasDynamicHelp": false,
|
|
6999
|
+
"multiple": false,
|
|
7000
|
+
"type": "option"
|
|
7001
|
+
},
|
|
7002
|
+
"obj-type": {
|
|
7003
|
+
"description": "Filter by object type",
|
|
7004
|
+
"name": "obj-type",
|
|
6910
7005
|
"required": false,
|
|
6911
7006
|
"hasDynamicHelp": false,
|
|
6912
7007
|
"multiple": false,
|
|
7008
|
+
"options": [
|
|
7009
|
+
"function",
|
|
7010
|
+
"query",
|
|
7011
|
+
"middleware"
|
|
7012
|
+
],
|
|
6913
7013
|
"type": "option"
|
|
6914
7014
|
},
|
|
6915
7015
|
"output": {
|
|
@@ -6925,18 +7025,11 @@
|
|
|
6925
7025
|
"json"
|
|
6926
7026
|
],
|
|
6927
7027
|
"type": "option"
|
|
6928
|
-
},
|
|
6929
|
-
"view": {
|
|
6930
|
-
"description": "Print license to stdout instead of saving to file",
|
|
6931
|
-
"name": "view",
|
|
6932
|
-
"required": false,
|
|
6933
|
-
"allowNo": false,
|
|
6934
|
-
"type": "boolean"
|
|
6935
7028
|
}
|
|
6936
7029
|
},
|
|
6937
7030
|
"hasDynamicHelp": false,
|
|
6938
7031
|
"hiddenAliases": [],
|
|
6939
|
-
"id": "sandbox:
|
|
7032
|
+
"id": "sandbox:unit_test:list",
|
|
6940
7033
|
"pluginAlias": "@xano/cli",
|
|
6941
7034
|
"pluginName": "@xano/cli",
|
|
6942
7035
|
"pluginType": "core",
|
|
@@ -6947,95 +7040,18 @@
|
|
|
6947
7040
|
"dist",
|
|
6948
7041
|
"commands",
|
|
6949
7042
|
"sandbox",
|
|
6950
|
-
"
|
|
6951
|
-
"
|
|
7043
|
+
"unit_test",
|
|
7044
|
+
"list",
|
|
6952
7045
|
"index.js"
|
|
6953
7046
|
]
|
|
6954
7047
|
},
|
|
6955
|
-
"sandbox:unit_test:
|
|
6956
|
-
"aliases": [],
|
|
6957
|
-
"args": {
|
|
6958
|
-
"unit_test_id": {
|
|
6959
|
-
"description": "ID of the unit test to run",
|
|
6960
|
-
"name": "unit_test_id",
|
|
6961
|
-
"required": true
|
|
6962
|
-
}
|
|
6963
|
-
},
|
|
6964
|
-
"description": "Run a unit test for a sandbox environment",
|
|
6965
|
-
"examples": [
|
|
6966
|
-
"$ xano sandbox unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
6967
|
-
"$ xano sandbox unit-test run abc-123 -o json"
|
|
6968
|
-
],
|
|
6969
|
-
"flags": {
|
|
6970
|
-
"config": {
|
|
6971
|
-
"char": "c",
|
|
6972
|
-
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
6973
|
-
"env": "XANO_CONFIG",
|
|
6974
|
-
"name": "config",
|
|
6975
|
-
"required": false,
|
|
6976
|
-
"hasDynamicHelp": false,
|
|
6977
|
-
"multiple": false,
|
|
6978
|
-
"type": "option"
|
|
6979
|
-
},
|
|
6980
|
-
"profile": {
|
|
6981
|
-
"char": "p",
|
|
6982
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
6983
|
-
"env": "XANO_PROFILE",
|
|
6984
|
-
"name": "profile",
|
|
6985
|
-
"required": false,
|
|
6986
|
-
"hasDynamicHelp": false,
|
|
6987
|
-
"multiple": false,
|
|
6988
|
-
"type": "option"
|
|
6989
|
-
},
|
|
6990
|
-
"verbose": {
|
|
6991
|
-
"char": "v",
|
|
6992
|
-
"description": "Show detailed request/response information",
|
|
6993
|
-
"env": "XANO_VERBOSE",
|
|
6994
|
-
"name": "verbose",
|
|
6995
|
-
"required": false,
|
|
6996
|
-
"allowNo": false,
|
|
6997
|
-
"type": "boolean"
|
|
6998
|
-
},
|
|
6999
|
-
"output": {
|
|
7000
|
-
"char": "o",
|
|
7001
|
-
"description": "Output format",
|
|
7002
|
-
"name": "output",
|
|
7003
|
-
"required": false,
|
|
7004
|
-
"default": "summary",
|
|
7005
|
-
"hasDynamicHelp": false,
|
|
7006
|
-
"multiple": false,
|
|
7007
|
-
"options": [
|
|
7008
|
-
"summary",
|
|
7009
|
-
"json"
|
|
7010
|
-
],
|
|
7011
|
-
"type": "option"
|
|
7012
|
-
}
|
|
7013
|
-
},
|
|
7014
|
-
"hasDynamicHelp": false,
|
|
7015
|
-
"hiddenAliases": [],
|
|
7016
|
-
"id": "sandbox:unit_test:run",
|
|
7017
|
-
"pluginAlias": "@xano/cli",
|
|
7018
|
-
"pluginName": "@xano/cli",
|
|
7019
|
-
"pluginType": "core",
|
|
7020
|
-
"strict": true,
|
|
7021
|
-
"enableJsonFlag": false,
|
|
7022
|
-
"isESM": true,
|
|
7023
|
-
"relativePath": [
|
|
7024
|
-
"dist",
|
|
7025
|
-
"commands",
|
|
7026
|
-
"sandbox",
|
|
7027
|
-
"unit_test",
|
|
7028
|
-
"run",
|
|
7029
|
-
"index.js"
|
|
7030
|
-
]
|
|
7031
|
-
},
|
|
7032
|
-
"sandbox:unit_test:list": {
|
|
7048
|
+
"sandbox:unit_test:run_all": {
|
|
7033
7049
|
"aliases": [],
|
|
7034
7050
|
"args": {},
|
|
7035
|
-
"description": "
|
|
7051
|
+
"description": "Run all unit tests for a sandbox environment",
|
|
7036
7052
|
"examples": [
|
|
7037
|
-
"$ xano sandbox unit-test
|
|
7038
|
-
"$ xano sandbox unit-test
|
|
7053
|
+
"$ xano sandbox unit-test run-all\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 4 passed, 1 failed\n",
|
|
7054
|
+
"$ xano sandbox unit-test run-all -o json"
|
|
7039
7055
|
],
|
|
7040
7056
|
"flags": {
|
|
7041
7057
|
"config": {
|
|
@@ -7106,7 +7122,7 @@
|
|
|
7106
7122
|
},
|
|
7107
7123
|
"hasDynamicHelp": false,
|
|
7108
7124
|
"hiddenAliases": [],
|
|
7109
|
-
"id": "sandbox:unit_test:
|
|
7125
|
+
"id": "sandbox:unit_test:run_all",
|
|
7110
7126
|
"pluginAlias": "@xano/cli",
|
|
7111
7127
|
"pluginName": "@xano/cli",
|
|
7112
7128
|
"pluginType": "core",
|
|
@@ -7118,17 +7134,23 @@
|
|
|
7118
7134
|
"commands",
|
|
7119
7135
|
"sandbox",
|
|
7120
7136
|
"unit_test",
|
|
7121
|
-
"
|
|
7137
|
+
"run_all",
|
|
7122
7138
|
"index.js"
|
|
7123
7139
|
]
|
|
7124
7140
|
},
|
|
7125
|
-
"sandbox:unit_test:
|
|
7141
|
+
"sandbox:unit_test:run": {
|
|
7126
7142
|
"aliases": [],
|
|
7127
|
-
"args": {
|
|
7128
|
-
|
|
7143
|
+
"args": {
|
|
7144
|
+
"unit_test_id": {
|
|
7145
|
+
"description": "ID of the unit test to run",
|
|
7146
|
+
"name": "unit_test_id",
|
|
7147
|
+
"required": true
|
|
7148
|
+
}
|
|
7149
|
+
},
|
|
7150
|
+
"description": "Run a unit test for a sandbox environment",
|
|
7129
7151
|
"examples": [
|
|
7130
|
-
"$ xano sandbox unit-test run-
|
|
7131
|
-
"$ xano sandbox unit-test run-
|
|
7152
|
+
"$ xano sandbox unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
7153
|
+
"$ xano sandbox unit-test run abc-123 -o json"
|
|
7132
7154
|
],
|
|
7133
7155
|
"flags": {
|
|
7134
7156
|
"config": {
|
|
@@ -7160,28 +7182,6 @@
|
|
|
7160
7182
|
"allowNo": false,
|
|
7161
7183
|
"type": "boolean"
|
|
7162
7184
|
},
|
|
7163
|
-
"branch": {
|
|
7164
|
-
"char": "b",
|
|
7165
|
-
"description": "Filter by branch name",
|
|
7166
|
-
"name": "branch",
|
|
7167
|
-
"required": false,
|
|
7168
|
-
"hasDynamicHelp": false,
|
|
7169
|
-
"multiple": false,
|
|
7170
|
-
"type": "option"
|
|
7171
|
-
},
|
|
7172
|
-
"obj-type": {
|
|
7173
|
-
"description": "Filter by object type",
|
|
7174
|
-
"name": "obj-type",
|
|
7175
|
-
"required": false,
|
|
7176
|
-
"hasDynamicHelp": false,
|
|
7177
|
-
"multiple": false,
|
|
7178
|
-
"options": [
|
|
7179
|
-
"function",
|
|
7180
|
-
"query",
|
|
7181
|
-
"middleware"
|
|
7182
|
-
],
|
|
7183
|
-
"type": "option"
|
|
7184
|
-
},
|
|
7185
7185
|
"output": {
|
|
7186
7186
|
"char": "o",
|
|
7187
7187
|
"description": "Output format",
|
|
@@ -7199,7 +7199,7 @@
|
|
|
7199
7199
|
},
|
|
7200
7200
|
"hasDynamicHelp": false,
|
|
7201
7201
|
"hiddenAliases": [],
|
|
7202
|
-
"id": "sandbox:unit_test:
|
|
7202
|
+
"id": "sandbox:unit_test:run",
|
|
7203
7203
|
"pluginAlias": "@xano/cli",
|
|
7204
7204
|
"pluginName": "@xano/cli",
|
|
7205
7205
|
"pluginType": "core",
|
|
@@ -7211,7 +7211,7 @@
|
|
|
7211
7211
|
"commands",
|
|
7212
7212
|
"sandbox",
|
|
7213
7213
|
"unit_test",
|
|
7214
|
-
"
|
|
7214
|
+
"run",
|
|
7215
7215
|
"index.js"
|
|
7216
7216
|
]
|
|
7217
7217
|
},
|
|
@@ -7765,20 +7765,19 @@
|
|
|
7765
7765
|
"index.js"
|
|
7766
7766
|
]
|
|
7767
7767
|
},
|
|
7768
|
-
"tenant:
|
|
7768
|
+
"tenant:backup:create": {
|
|
7769
7769
|
"aliases": [],
|
|
7770
7770
|
"args": {
|
|
7771
|
-
"
|
|
7772
|
-
"description": "
|
|
7773
|
-
"name": "
|
|
7771
|
+
"tenant_name": {
|
|
7772
|
+
"description": "Tenant name to back up",
|
|
7773
|
+
"name": "tenant_name",
|
|
7774
7774
|
"required": true
|
|
7775
7775
|
}
|
|
7776
7776
|
},
|
|
7777
|
-
"description": "
|
|
7777
|
+
"description": "Create a backup for a tenant",
|
|
7778
7778
|
"examples": [
|
|
7779
|
-
"$ xano tenant
|
|
7780
|
-
"$ xano tenant
|
|
7781
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
7779
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
7780
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
7782
7781
|
],
|
|
7783
7782
|
"flags": {
|
|
7784
7783
|
"config": {
|
|
@@ -7810,13 +7809,15 @@
|
|
|
7810
7809
|
"allowNo": false,
|
|
7811
7810
|
"type": "boolean"
|
|
7812
7811
|
},
|
|
7813
|
-
"
|
|
7814
|
-
"char": "
|
|
7815
|
-
"description": "
|
|
7816
|
-
"name": "
|
|
7812
|
+
"description": {
|
|
7813
|
+
"char": "d",
|
|
7814
|
+
"description": "Backup description",
|
|
7815
|
+
"name": "description",
|
|
7817
7816
|
"required": false,
|
|
7818
|
-
"
|
|
7819
|
-
"
|
|
7817
|
+
"default": "",
|
|
7818
|
+
"hasDynamicHelp": false,
|
|
7819
|
+
"multiple": false,
|
|
7820
|
+
"type": "option"
|
|
7820
7821
|
},
|
|
7821
7822
|
"output": {
|
|
7822
7823
|
"char": "o",
|
|
@@ -7831,11 +7832,20 @@
|
|
|
7831
7832
|
"json"
|
|
7832
7833
|
],
|
|
7833
7834
|
"type": "option"
|
|
7835
|
+
},
|
|
7836
|
+
"workspace": {
|
|
7837
|
+
"char": "w",
|
|
7838
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
7839
|
+
"name": "workspace",
|
|
7840
|
+
"required": false,
|
|
7841
|
+
"hasDynamicHelp": false,
|
|
7842
|
+
"multiple": false,
|
|
7843
|
+
"type": "option"
|
|
7834
7844
|
}
|
|
7835
7845
|
},
|
|
7836
7846
|
"hasDynamicHelp": false,
|
|
7837
7847
|
"hiddenAliases": [],
|
|
7838
|
-
"id": "tenant:
|
|
7848
|
+
"id": "tenant:backup:create",
|
|
7839
7849
|
"pluginAlias": "@xano/cli",
|
|
7840
7850
|
"pluginName": "@xano/cli",
|
|
7841
7851
|
"pluginType": "core",
|
|
@@ -7846,18 +7856,25 @@
|
|
|
7846
7856
|
"dist",
|
|
7847
7857
|
"commands",
|
|
7848
7858
|
"tenant",
|
|
7849
|
-
"
|
|
7850
|
-
"
|
|
7859
|
+
"backup",
|
|
7860
|
+
"create",
|
|
7851
7861
|
"index.js"
|
|
7852
7862
|
]
|
|
7853
7863
|
},
|
|
7854
|
-
"tenant:
|
|
7864
|
+
"tenant:backup:export": {
|
|
7855
7865
|
"aliases": [],
|
|
7856
|
-
"args": {
|
|
7857
|
-
|
|
7866
|
+
"args": {
|
|
7867
|
+
"tenant_name": {
|
|
7868
|
+
"description": "Tenant name to export backup from",
|
|
7869
|
+
"name": "tenant_name",
|
|
7870
|
+
"required": true
|
|
7871
|
+
}
|
|
7872
|
+
},
|
|
7873
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
7858
7874
|
"examples": [
|
|
7859
|
-
"$ xano tenant
|
|
7860
|
-
"$ xano tenant
|
|
7875
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
7876
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
7877
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
7861
7878
|
],
|
|
7862
7879
|
"flags": {
|
|
7863
7880
|
"config": {
|
|
@@ -7889,58 +7906,18 @@
|
|
|
7889
7906
|
"allowNo": false,
|
|
7890
7907
|
"type": "boolean"
|
|
7891
7908
|
},
|
|
7892
|
-
"
|
|
7893
|
-
"description": "
|
|
7894
|
-
"
|
|
7895
|
-
"credentials_file"
|
|
7896
|
-
],
|
|
7897
|
-
"name": "credentials",
|
|
7898
|
-
"required": false,
|
|
7899
|
-
"hasDynamicHelp": false,
|
|
7900
|
-
"multiple": false,
|
|
7901
|
-
"type": "option"
|
|
7902
|
-
},
|
|
7903
|
-
"credentials_file": {
|
|
7904
|
-
"description": "Path to kubeconfig credentials file",
|
|
7905
|
-
"exclusive": [
|
|
7906
|
-
"credentials"
|
|
7907
|
-
],
|
|
7908
|
-
"name": "credentials_file",
|
|
7909
|
-
"required": false,
|
|
7910
|
-
"hasDynamicHelp": false,
|
|
7911
|
-
"multiple": false,
|
|
7912
|
-
"type": "option"
|
|
7913
|
-
},
|
|
7914
|
-
"description": {
|
|
7915
|
-
"char": "d",
|
|
7916
|
-
"description": "Cluster description",
|
|
7917
|
-
"name": "description",
|
|
7918
|
-
"required": false,
|
|
7919
|
-
"hasDynamicHelp": false,
|
|
7920
|
-
"multiple": false,
|
|
7921
|
-
"type": "option"
|
|
7922
|
-
},
|
|
7923
|
-
"domain": {
|
|
7924
|
-
"description": "Custom domain for the cluster",
|
|
7925
|
-
"name": "domain",
|
|
7926
|
-
"required": false,
|
|
7927
|
-
"hasDynamicHelp": false,
|
|
7928
|
-
"multiple": false,
|
|
7929
|
-
"type": "option"
|
|
7930
|
-
},
|
|
7931
|
-
"name": {
|
|
7932
|
-
"char": "n",
|
|
7933
|
-
"description": "Cluster name",
|
|
7934
|
-
"name": "name",
|
|
7909
|
+
"backup_id": {
|
|
7910
|
+
"description": "Backup ID to export",
|
|
7911
|
+
"name": "backup_id",
|
|
7935
7912
|
"required": true,
|
|
7936
7913
|
"hasDynamicHelp": false,
|
|
7937
7914
|
"multiple": false,
|
|
7938
7915
|
"type": "option"
|
|
7939
7916
|
},
|
|
7940
|
-
"
|
|
7917
|
+
"format": {
|
|
7941
7918
|
"char": "o",
|
|
7942
7919
|
"description": "Output format",
|
|
7943
|
-
"name": "
|
|
7920
|
+
"name": "format",
|
|
7944
7921
|
"required": false,
|
|
7945
7922
|
"default": "summary",
|
|
7946
7923
|
"hasDynamicHelp": false,
|
|
@@ -7951,23 +7928,27 @@
|
|
|
7951
7928
|
],
|
|
7952
7929
|
"type": "option"
|
|
7953
7930
|
},
|
|
7954
|
-
"
|
|
7955
|
-
"description": "
|
|
7956
|
-
"name": "
|
|
7931
|
+
"output": {
|
|
7932
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
7933
|
+
"name": "output",
|
|
7957
7934
|
"required": false,
|
|
7958
|
-
"default": "standard",
|
|
7959
7935
|
"hasDynamicHelp": false,
|
|
7960
7936
|
"multiple": false,
|
|
7961
|
-
"options": [
|
|
7962
|
-
"standard",
|
|
7963
|
-
"run"
|
|
7964
|
-
],
|
|
7965
7937
|
"type": "option"
|
|
7966
|
-
}
|
|
7967
|
-
|
|
7968
|
-
|
|
7969
|
-
|
|
7970
|
-
|
|
7938
|
+
},
|
|
7939
|
+
"workspace": {
|
|
7940
|
+
"char": "w",
|
|
7941
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
7942
|
+
"name": "workspace",
|
|
7943
|
+
"required": false,
|
|
7944
|
+
"hasDynamicHelp": false,
|
|
7945
|
+
"multiple": false,
|
|
7946
|
+
"type": "option"
|
|
7947
|
+
}
|
|
7948
|
+
},
|
|
7949
|
+
"hasDynamicHelp": false,
|
|
7950
|
+
"hiddenAliases": [],
|
|
7951
|
+
"id": "tenant:backup:export",
|
|
7971
7952
|
"pluginAlias": "@xano/cli",
|
|
7972
7953
|
"pluginName": "@xano/cli",
|
|
7973
7954
|
"pluginType": "core",
|
|
@@ -7978,24 +7959,25 @@
|
|
|
7978
7959
|
"dist",
|
|
7979
7960
|
"commands",
|
|
7980
7961
|
"tenant",
|
|
7981
|
-
"
|
|
7982
|
-
"
|
|
7962
|
+
"backup",
|
|
7963
|
+
"export",
|
|
7983
7964
|
"index.js"
|
|
7984
7965
|
]
|
|
7985
7966
|
},
|
|
7986
|
-
"tenant:
|
|
7967
|
+
"tenant:backup:delete": {
|
|
7987
7968
|
"aliases": [],
|
|
7988
7969
|
"args": {
|
|
7989
|
-
"
|
|
7990
|
-
"description": "
|
|
7991
|
-
"name": "
|
|
7970
|
+
"tenant_name": {
|
|
7971
|
+
"description": "Tenant name that owns the backup",
|
|
7972
|
+
"name": "tenant_name",
|
|
7992
7973
|
"required": true
|
|
7993
7974
|
}
|
|
7994
7975
|
},
|
|
7995
|
-
"description": "
|
|
7976
|
+
"description": "[CRITICAL] NEVER delete a backup without explicit user confirmation; this removes your restore point. Deletes a tenant backup permanently.",
|
|
7996
7977
|
"examples": [
|
|
7997
|
-
"$ xano tenant
|
|
7998
|
-
"$ xano tenant
|
|
7978
|
+
"$ 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",
|
|
7979
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
7980
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
7999
7981
|
],
|
|
8000
7982
|
"flags": {
|
|
8001
7983
|
"config": {
|
|
@@ -8027,31 +8009,21 @@
|
|
|
8027
8009
|
"allowNo": false,
|
|
8028
8010
|
"type": "boolean"
|
|
8029
8011
|
},
|
|
8030
|
-
"
|
|
8031
|
-
"
|
|
8032
|
-
"
|
|
8033
|
-
"name": "description",
|
|
8034
|
-
"required": true,
|
|
8035
|
-
"hasDynamicHelp": false,
|
|
8036
|
-
"multiple": false,
|
|
8037
|
-
"type": "option"
|
|
8038
|
-
},
|
|
8039
|
-
"domain": {
|
|
8040
|
-
"description": "Custom domain for the cluster",
|
|
8041
|
-
"name": "domain",
|
|
8012
|
+
"backup_id": {
|
|
8013
|
+
"description": "Backup ID to delete",
|
|
8014
|
+
"name": "backup_id",
|
|
8042
8015
|
"required": true,
|
|
8043
8016
|
"hasDynamicHelp": false,
|
|
8044
8017
|
"multiple": false,
|
|
8045
8018
|
"type": "option"
|
|
8046
8019
|
},
|
|
8047
|
-
"
|
|
8048
|
-
"char": "
|
|
8049
|
-
"description": "
|
|
8050
|
-
"name": "
|
|
8051
|
-
"required":
|
|
8052
|
-
"
|
|
8053
|
-
"
|
|
8054
|
-
"type": "option"
|
|
8020
|
+
"force": {
|
|
8021
|
+
"char": "f",
|
|
8022
|
+
"description": "[CRITICAL] Skips the confirmation prompt.",
|
|
8023
|
+
"name": "force",
|
|
8024
|
+
"required": false,
|
|
8025
|
+
"allowNo": false,
|
|
8026
|
+
"type": "boolean"
|
|
8055
8027
|
},
|
|
8056
8028
|
"output": {
|
|
8057
8029
|
"char": "o",
|
|
@@ -8067,22 +8039,19 @@
|
|
|
8067
8039
|
],
|
|
8068
8040
|
"type": "option"
|
|
8069
8041
|
},
|
|
8070
|
-
"
|
|
8071
|
-
"
|
|
8072
|
-
"
|
|
8073
|
-
"
|
|
8042
|
+
"workspace": {
|
|
8043
|
+
"char": "w",
|
|
8044
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
8045
|
+
"name": "workspace",
|
|
8046
|
+
"required": false,
|
|
8074
8047
|
"hasDynamicHelp": false,
|
|
8075
8048
|
"multiple": false,
|
|
8076
|
-
"options": [
|
|
8077
|
-
"standard",
|
|
8078
|
-
"run"
|
|
8079
|
-
],
|
|
8080
8049
|
"type": "option"
|
|
8081
8050
|
}
|
|
8082
8051
|
},
|
|
8083
8052
|
"hasDynamicHelp": false,
|
|
8084
8053
|
"hiddenAliases": [],
|
|
8085
|
-
"id": "tenant:
|
|
8054
|
+
"id": "tenant:backup:delete",
|
|
8086
8055
|
"pluginAlias": "@xano/cli",
|
|
8087
8056
|
"pluginName": "@xano/cli",
|
|
8088
8057
|
"pluginType": "core",
|
|
@@ -8093,24 +8062,24 @@
|
|
|
8093
8062
|
"dist",
|
|
8094
8063
|
"commands",
|
|
8095
8064
|
"tenant",
|
|
8096
|
-
"
|
|
8097
|
-
"
|
|
8065
|
+
"backup",
|
|
8066
|
+
"delete",
|
|
8098
8067
|
"index.js"
|
|
8099
8068
|
]
|
|
8100
8069
|
},
|
|
8101
|
-
"tenant:
|
|
8070
|
+
"tenant:backup:list": {
|
|
8102
8071
|
"aliases": [],
|
|
8103
8072
|
"args": {
|
|
8104
|
-
"
|
|
8105
|
-
"description": "
|
|
8106
|
-
"name": "
|
|
8073
|
+
"tenant_name": {
|
|
8074
|
+
"description": "Tenant name to list backups for",
|
|
8075
|
+
"name": "tenant_name",
|
|
8107
8076
|
"required": true
|
|
8108
8077
|
}
|
|
8109
8078
|
},
|
|
8110
|
-
"description": "
|
|
8079
|
+
"description": "List backups for a tenant",
|
|
8111
8080
|
"examples": [
|
|
8112
|
-
"$ xano tenant
|
|
8113
|
-
"$ xano tenant
|
|
8081
|
+
"$ 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",
|
|
8082
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
8114
8083
|
],
|
|
8115
8084
|
"flags": {
|
|
8116
8085
|
"config": {
|
|
@@ -8155,11 +8124,29 @@
|
|
|
8155
8124
|
"json"
|
|
8156
8125
|
],
|
|
8157
8126
|
"type": "option"
|
|
8127
|
+
},
|
|
8128
|
+
"page": {
|
|
8129
|
+
"description": "Page number for pagination",
|
|
8130
|
+
"name": "page",
|
|
8131
|
+
"required": false,
|
|
8132
|
+
"default": 1,
|
|
8133
|
+
"hasDynamicHelp": false,
|
|
8134
|
+
"multiple": false,
|
|
8135
|
+
"type": "option"
|
|
8136
|
+
},
|
|
8137
|
+
"workspace": {
|
|
8138
|
+
"char": "w",
|
|
8139
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
8140
|
+
"name": "workspace",
|
|
8141
|
+
"required": false,
|
|
8142
|
+
"hasDynamicHelp": false,
|
|
8143
|
+
"multiple": false,
|
|
8144
|
+
"type": "option"
|
|
8158
8145
|
}
|
|
8159
8146
|
},
|
|
8160
8147
|
"hasDynamicHelp": false,
|
|
8161
8148
|
"hiddenAliases": [],
|
|
8162
|
-
"id": "tenant:
|
|
8149
|
+
"id": "tenant:backup:list",
|
|
8163
8150
|
"pluginAlias": "@xano/cli",
|
|
8164
8151
|
"pluginName": "@xano/cli",
|
|
8165
8152
|
"pluginType": "core",
|
|
@@ -8170,18 +8157,24 @@
|
|
|
8170
8157
|
"dist",
|
|
8171
8158
|
"commands",
|
|
8172
8159
|
"tenant",
|
|
8173
|
-
"
|
|
8174
|
-
"
|
|
8160
|
+
"backup",
|
|
8161
|
+
"list",
|
|
8175
8162
|
"index.js"
|
|
8176
8163
|
]
|
|
8177
8164
|
},
|
|
8178
|
-
"tenant:
|
|
8165
|
+
"tenant:backup:import": {
|
|
8179
8166
|
"aliases": [],
|
|
8180
|
-
"args": {
|
|
8181
|
-
|
|
8167
|
+
"args": {
|
|
8168
|
+
"tenant_name": {
|
|
8169
|
+
"description": "Tenant name to import backup into",
|
|
8170
|
+
"name": "tenant_name",
|
|
8171
|
+
"required": true
|
|
8172
|
+
}
|
|
8173
|
+
},
|
|
8174
|
+
"description": "Import a backup file into a tenant",
|
|
8182
8175
|
"examples": [
|
|
8183
|
-
"$ xano tenant
|
|
8184
|
-
"$ xano tenant
|
|
8176
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
8177
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
8185
8178
|
],
|
|
8186
8179
|
"flags": {
|
|
8187
8180
|
"config": {
|
|
@@ -8213,6 +8206,25 @@
|
|
|
8213
8206
|
"allowNo": false,
|
|
8214
8207
|
"type": "boolean"
|
|
8215
8208
|
},
|
|
8209
|
+
"description": {
|
|
8210
|
+
"char": "d",
|
|
8211
|
+
"description": "Backup description",
|
|
8212
|
+
"name": "description",
|
|
8213
|
+
"required": false,
|
|
8214
|
+
"default": "",
|
|
8215
|
+
"hasDynamicHelp": false,
|
|
8216
|
+
"multiple": false,
|
|
8217
|
+
"type": "option"
|
|
8218
|
+
},
|
|
8219
|
+
"file": {
|
|
8220
|
+
"char": "f",
|
|
8221
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
8222
|
+
"name": "file",
|
|
8223
|
+
"required": true,
|
|
8224
|
+
"hasDynamicHelp": false,
|
|
8225
|
+
"multiple": false,
|
|
8226
|
+
"type": "option"
|
|
8227
|
+
},
|
|
8216
8228
|
"output": {
|
|
8217
8229
|
"char": "o",
|
|
8218
8230
|
"description": "Output format",
|
|
@@ -8226,11 +8238,20 @@
|
|
|
8226
8238
|
"json"
|
|
8227
8239
|
],
|
|
8228
8240
|
"type": "option"
|
|
8241
|
+
},
|
|
8242
|
+
"workspace": {
|
|
8243
|
+
"char": "w",
|
|
8244
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
8245
|
+
"name": "workspace",
|
|
8246
|
+
"required": false,
|
|
8247
|
+
"hasDynamicHelp": false,
|
|
8248
|
+
"multiple": false,
|
|
8249
|
+
"type": "option"
|
|
8229
8250
|
}
|
|
8230
8251
|
},
|
|
8231
8252
|
"hasDynamicHelp": false,
|
|
8232
8253
|
"hiddenAliases": [],
|
|
8233
|
-
"id": "tenant:
|
|
8254
|
+
"id": "tenant:backup:import",
|
|
8234
8255
|
"pluginAlias": "@xano/cli",
|
|
8235
8256
|
"pluginName": "@xano/cli",
|
|
8236
8257
|
"pluginType": "core",
|
|
@@ -8241,24 +8262,24 @@
|
|
|
8241
8262
|
"dist",
|
|
8242
8263
|
"commands",
|
|
8243
8264
|
"tenant",
|
|
8244
|
-
"
|
|
8245
|
-
"
|
|
8265
|
+
"backup",
|
|
8266
|
+
"import",
|
|
8246
8267
|
"index.js"
|
|
8247
8268
|
]
|
|
8248
8269
|
},
|
|
8249
|
-
"tenant:backup:
|
|
8270
|
+
"tenant:backup:restore": {
|
|
8250
8271
|
"aliases": [],
|
|
8251
8272
|
"args": {
|
|
8252
8273
|
"tenant_name": {
|
|
8253
|
-
"description": "Tenant name to
|
|
8274
|
+
"description": "Tenant name to restore",
|
|
8254
8275
|
"name": "tenant_name",
|
|
8255
8276
|
"required": true
|
|
8256
8277
|
}
|
|
8257
8278
|
},
|
|
8258
|
-
"description": "
|
|
8279
|
+
"description": "[CRITICAL] STOP and confirm with the user; this overwrites current tenant state. Restores a tenant from a backup, replacing current tenant data.",
|
|
8259
8280
|
"examples": [
|
|
8260
|
-
"$ xano tenant backup
|
|
8261
|
-
"$ xano tenant backup
|
|
8281
|
+
"$ 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",
|
|
8282
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
8262
8283
|
],
|
|
8263
8284
|
"flags": {
|
|
8264
8285
|
"config": {
|
|
@@ -8290,16 +8311,22 @@
|
|
|
8290
8311
|
"allowNo": false,
|
|
8291
8312
|
"type": "boolean"
|
|
8292
8313
|
},
|
|
8293
|
-
"
|
|
8294
|
-
"
|
|
8295
|
-
"
|
|
8296
|
-
"
|
|
8297
|
-
"required": false,
|
|
8298
|
-
"default": "",
|
|
8314
|
+
"backup_id": {
|
|
8315
|
+
"description": "Backup ID to restore from",
|
|
8316
|
+
"name": "backup_id",
|
|
8317
|
+
"required": true,
|
|
8299
8318
|
"hasDynamicHelp": false,
|
|
8300
8319
|
"multiple": false,
|
|
8301
8320
|
"type": "option"
|
|
8302
8321
|
},
|
|
8322
|
+
"force": {
|
|
8323
|
+
"char": "f",
|
|
8324
|
+
"description": "[CRITICAL] Skips the confirmation prompt.",
|
|
8325
|
+
"name": "force",
|
|
8326
|
+
"required": false,
|
|
8327
|
+
"allowNo": false,
|
|
8328
|
+
"type": "boolean"
|
|
8329
|
+
},
|
|
8303
8330
|
"output": {
|
|
8304
8331
|
"char": "o",
|
|
8305
8332
|
"description": "Output format",
|
|
@@ -8326,7 +8353,7 @@
|
|
|
8326
8353
|
},
|
|
8327
8354
|
"hasDynamicHelp": false,
|
|
8328
8355
|
"hiddenAliases": [],
|
|
8329
|
-
"id": "tenant:backup:
|
|
8356
|
+
"id": "tenant:backup:restore",
|
|
8330
8357
|
"pluginAlias": "@xano/cli",
|
|
8331
8358
|
"pluginName": "@xano/cli",
|
|
8332
8359
|
"pluginType": "core",
|
|
@@ -8338,24 +8365,17 @@
|
|
|
8338
8365
|
"commands",
|
|
8339
8366
|
"tenant",
|
|
8340
8367
|
"backup",
|
|
8341
|
-
"
|
|
8368
|
+
"restore",
|
|
8342
8369
|
"index.js"
|
|
8343
8370
|
]
|
|
8344
8371
|
},
|
|
8345
|
-
"tenant:
|
|
8372
|
+
"tenant:cluster:create": {
|
|
8346
8373
|
"aliases": [],
|
|
8347
|
-
"args": {
|
|
8348
|
-
|
|
8349
|
-
"description": "Tenant name that owns the backup",
|
|
8350
|
-
"name": "tenant_name",
|
|
8351
|
-
"required": true
|
|
8352
|
-
}
|
|
8353
|
-
},
|
|
8354
|
-
"description": "[CRITICAL] NEVER delete a backup without explicit user confirmation; this removes your restore point. Deletes a tenant backup permanently.",
|
|
8374
|
+
"args": {},
|
|
8375
|
+
"description": "Create a new tenant cluster",
|
|
8355
8376
|
"examples": [
|
|
8356
|
-
"$ xano tenant
|
|
8357
|
-
"$ xano tenant
|
|
8358
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
8377
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
8378
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
8359
8379
|
],
|
|
8360
8380
|
"flags": {
|
|
8361
8381
|
"config": {
|
|
@@ -8387,21 +8407,53 @@
|
|
|
8387
8407
|
"allowNo": false,
|
|
8388
8408
|
"type": "boolean"
|
|
8389
8409
|
},
|
|
8390
|
-
"
|
|
8391
|
-
"description": "
|
|
8392
|
-
"
|
|
8393
|
-
|
|
8410
|
+
"credentials": {
|
|
8411
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
8412
|
+
"exclusive": [
|
|
8413
|
+
"credentials_file"
|
|
8414
|
+
],
|
|
8415
|
+
"name": "credentials",
|
|
8416
|
+
"required": false,
|
|
8394
8417
|
"hasDynamicHelp": false,
|
|
8395
8418
|
"multiple": false,
|
|
8396
8419
|
"type": "option"
|
|
8397
8420
|
},
|
|
8398
|
-
"
|
|
8399
|
-
"
|
|
8400
|
-
"
|
|
8401
|
-
|
|
8421
|
+
"credentials_file": {
|
|
8422
|
+
"description": "Path to kubeconfig credentials file",
|
|
8423
|
+
"exclusive": [
|
|
8424
|
+
"credentials"
|
|
8425
|
+
],
|
|
8426
|
+
"name": "credentials_file",
|
|
8402
8427
|
"required": false,
|
|
8403
|
-
"
|
|
8404
|
-
"
|
|
8428
|
+
"hasDynamicHelp": false,
|
|
8429
|
+
"multiple": false,
|
|
8430
|
+
"type": "option"
|
|
8431
|
+
},
|
|
8432
|
+
"description": {
|
|
8433
|
+
"char": "d",
|
|
8434
|
+
"description": "Cluster description",
|
|
8435
|
+
"name": "description",
|
|
8436
|
+
"required": false,
|
|
8437
|
+
"hasDynamicHelp": false,
|
|
8438
|
+
"multiple": false,
|
|
8439
|
+
"type": "option"
|
|
8440
|
+
},
|
|
8441
|
+
"domain": {
|
|
8442
|
+
"description": "Custom domain for the cluster",
|
|
8443
|
+
"name": "domain",
|
|
8444
|
+
"required": false,
|
|
8445
|
+
"hasDynamicHelp": false,
|
|
8446
|
+
"multiple": false,
|
|
8447
|
+
"type": "option"
|
|
8448
|
+
},
|
|
8449
|
+
"name": {
|
|
8450
|
+
"char": "n",
|
|
8451
|
+
"description": "Cluster name",
|
|
8452
|
+
"name": "name",
|
|
8453
|
+
"required": true,
|
|
8454
|
+
"hasDynamicHelp": false,
|
|
8455
|
+
"multiple": false,
|
|
8456
|
+
"type": "option"
|
|
8405
8457
|
},
|
|
8406
8458
|
"output": {
|
|
8407
8459
|
"char": "o",
|
|
@@ -8417,19 +8469,23 @@
|
|
|
8417
8469
|
],
|
|
8418
8470
|
"type": "option"
|
|
8419
8471
|
},
|
|
8420
|
-
"
|
|
8421
|
-
"
|
|
8422
|
-
"
|
|
8423
|
-
"name": "workspace",
|
|
8472
|
+
"type": {
|
|
8473
|
+
"description": "Cluster type",
|
|
8474
|
+
"name": "type",
|
|
8424
8475
|
"required": false,
|
|
8476
|
+
"default": "standard",
|
|
8425
8477
|
"hasDynamicHelp": false,
|
|
8426
8478
|
"multiple": false,
|
|
8479
|
+
"options": [
|
|
8480
|
+
"standard",
|
|
8481
|
+
"run"
|
|
8482
|
+
],
|
|
8427
8483
|
"type": "option"
|
|
8428
8484
|
}
|
|
8429
8485
|
},
|
|
8430
8486
|
"hasDynamicHelp": false,
|
|
8431
8487
|
"hiddenAliases": [],
|
|
8432
|
-
"id": "tenant:
|
|
8488
|
+
"id": "tenant:cluster:create",
|
|
8433
8489
|
"pluginAlias": "@xano/cli",
|
|
8434
8490
|
"pluginName": "@xano/cli",
|
|
8435
8491
|
"pluginType": "core",
|
|
@@ -8440,25 +8496,25 @@
|
|
|
8440
8496
|
"dist",
|
|
8441
8497
|
"commands",
|
|
8442
8498
|
"tenant",
|
|
8443
|
-
"
|
|
8444
|
-
"
|
|
8499
|
+
"cluster",
|
|
8500
|
+
"create",
|
|
8445
8501
|
"index.js"
|
|
8446
8502
|
]
|
|
8447
8503
|
},
|
|
8448
|
-
"tenant:
|
|
8504
|
+
"tenant:cluster:delete": {
|
|
8449
8505
|
"aliases": [],
|
|
8450
8506
|
"args": {
|
|
8451
|
-
"
|
|
8452
|
-
"description": "
|
|
8453
|
-
"name": "
|
|
8507
|
+
"cluster_id": {
|
|
8508
|
+
"description": "Cluster ID to delete",
|
|
8509
|
+
"name": "cluster_id",
|
|
8454
8510
|
"required": true
|
|
8455
8511
|
}
|
|
8456
8512
|
},
|
|
8457
|
-
"description": "
|
|
8513
|
+
"description": "[CRITICAL] NEVER run without explicit user confirmation; this removes an entire cluster. Deletes a tenant cluster permanently.",
|
|
8458
8514
|
"examples": [
|
|
8459
|
-
"$ xano tenant
|
|
8460
|
-
"$ xano tenant
|
|
8461
|
-
"$ xano tenant
|
|
8515
|
+
"$ 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",
|
|
8516
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
8517
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
8462
8518
|
],
|
|
8463
8519
|
"flags": {
|
|
8464
8520
|
"config": {
|
|
@@ -8490,18 +8546,18 @@
|
|
|
8490
8546
|
"allowNo": false,
|
|
8491
8547
|
"type": "boolean"
|
|
8492
8548
|
},
|
|
8493
|
-
"
|
|
8494
|
-
"
|
|
8495
|
-
"
|
|
8496
|
-
"
|
|
8497
|
-
"
|
|
8498
|
-
"
|
|
8499
|
-
"type": "
|
|
8549
|
+
"force": {
|
|
8550
|
+
"char": "f",
|
|
8551
|
+
"description": "[CRITICAL] Skips the confirmation prompt.",
|
|
8552
|
+
"name": "force",
|
|
8553
|
+
"required": false,
|
|
8554
|
+
"allowNo": false,
|
|
8555
|
+
"type": "boolean"
|
|
8500
8556
|
},
|
|
8501
|
-
"
|
|
8557
|
+
"output": {
|
|
8502
8558
|
"char": "o",
|
|
8503
8559
|
"description": "Output format",
|
|
8504
|
-
"name": "
|
|
8560
|
+
"name": "output",
|
|
8505
8561
|
"required": false,
|
|
8506
8562
|
"default": "summary",
|
|
8507
8563
|
"hasDynamicHelp": false,
|
|
@@ -8511,28 +8567,11 @@
|
|
|
8511
8567
|
"json"
|
|
8512
8568
|
],
|
|
8513
8569
|
"type": "option"
|
|
8514
|
-
},
|
|
8515
|
-
"output": {
|
|
8516
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
8517
|
-
"name": "output",
|
|
8518
|
-
"required": false,
|
|
8519
|
-
"hasDynamicHelp": false,
|
|
8520
|
-
"multiple": false,
|
|
8521
|
-
"type": "option"
|
|
8522
|
-
},
|
|
8523
|
-
"workspace": {
|
|
8524
|
-
"char": "w",
|
|
8525
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
8526
|
-
"name": "workspace",
|
|
8527
|
-
"required": false,
|
|
8528
|
-
"hasDynamicHelp": false,
|
|
8529
|
-
"multiple": false,
|
|
8530
|
-
"type": "option"
|
|
8531
8570
|
}
|
|
8532
8571
|
},
|
|
8533
8572
|
"hasDynamicHelp": false,
|
|
8534
8573
|
"hiddenAliases": [],
|
|
8535
|
-
"id": "tenant:
|
|
8574
|
+
"id": "tenant:cluster:delete",
|
|
8536
8575
|
"pluginAlias": "@xano/cli",
|
|
8537
8576
|
"pluginName": "@xano/cli",
|
|
8538
8577
|
"pluginType": "core",
|
|
@@ -8543,24 +8582,24 @@
|
|
|
8543
8582
|
"dist",
|
|
8544
8583
|
"commands",
|
|
8545
8584
|
"tenant",
|
|
8546
|
-
"
|
|
8547
|
-
"
|
|
8585
|
+
"cluster",
|
|
8586
|
+
"delete",
|
|
8548
8587
|
"index.js"
|
|
8549
8588
|
]
|
|
8550
8589
|
},
|
|
8551
|
-
"tenant:
|
|
8552
|
-
"aliases": [],
|
|
8553
|
-
"args": {
|
|
8554
|
-
"
|
|
8555
|
-
"description": "
|
|
8556
|
-
"name": "
|
|
8590
|
+
"tenant:cluster:get": {
|
|
8591
|
+
"aliases": [],
|
|
8592
|
+
"args": {
|
|
8593
|
+
"cluster_id": {
|
|
8594
|
+
"description": "Cluster ID to retrieve",
|
|
8595
|
+
"name": "cluster_id",
|
|
8557
8596
|
"required": true
|
|
8558
8597
|
}
|
|
8559
8598
|
},
|
|
8560
|
-
"description": "
|
|
8599
|
+
"description": "Get details of a specific tenant cluster",
|
|
8561
8600
|
"examples": [
|
|
8562
|
-
"$ xano tenant
|
|
8563
|
-
"$ xano tenant
|
|
8601
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
8602
|
+
"$ xano tenant cluster get 1 -o json"
|
|
8564
8603
|
],
|
|
8565
8604
|
"flags": {
|
|
8566
8605
|
"config": {
|
|
@@ -8592,25 +8631,6 @@
|
|
|
8592
8631
|
"allowNo": false,
|
|
8593
8632
|
"type": "boolean"
|
|
8594
8633
|
},
|
|
8595
|
-
"description": {
|
|
8596
|
-
"char": "d",
|
|
8597
|
-
"description": "Backup description",
|
|
8598
|
-
"name": "description",
|
|
8599
|
-
"required": false,
|
|
8600
|
-
"default": "",
|
|
8601
|
-
"hasDynamicHelp": false,
|
|
8602
|
-
"multiple": false,
|
|
8603
|
-
"type": "option"
|
|
8604
|
-
},
|
|
8605
|
-
"file": {
|
|
8606
|
-
"char": "f",
|
|
8607
|
-
"description": "Path to the backup file (.tar.gz)",
|
|
8608
|
-
"name": "file",
|
|
8609
|
-
"required": true,
|
|
8610
|
-
"hasDynamicHelp": false,
|
|
8611
|
-
"multiple": false,
|
|
8612
|
-
"type": "option"
|
|
8613
|
-
},
|
|
8614
8634
|
"output": {
|
|
8615
8635
|
"char": "o",
|
|
8616
8636
|
"description": "Output format",
|
|
@@ -8624,20 +8644,11 @@
|
|
|
8624
8644
|
"json"
|
|
8625
8645
|
],
|
|
8626
8646
|
"type": "option"
|
|
8627
|
-
},
|
|
8628
|
-
"workspace": {
|
|
8629
|
-
"char": "w",
|
|
8630
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
8631
|
-
"name": "workspace",
|
|
8632
|
-
"required": false,
|
|
8633
|
-
"hasDynamicHelp": false,
|
|
8634
|
-
"multiple": false,
|
|
8635
|
-
"type": "option"
|
|
8636
8647
|
}
|
|
8637
8648
|
},
|
|
8638
8649
|
"hasDynamicHelp": false,
|
|
8639
8650
|
"hiddenAliases": [],
|
|
8640
|
-
"id": "tenant:
|
|
8651
|
+
"id": "tenant:cluster:get",
|
|
8641
8652
|
"pluginAlias": "@xano/cli",
|
|
8642
8653
|
"pluginName": "@xano/cli",
|
|
8643
8654
|
"pluginType": "core",
|
|
@@ -8648,24 +8659,24 @@
|
|
|
8648
8659
|
"dist",
|
|
8649
8660
|
"commands",
|
|
8650
8661
|
"tenant",
|
|
8651
|
-
"
|
|
8652
|
-
"
|
|
8662
|
+
"cluster",
|
|
8663
|
+
"get",
|
|
8653
8664
|
"index.js"
|
|
8654
8665
|
]
|
|
8655
8666
|
},
|
|
8656
|
-
"tenant:
|
|
8667
|
+
"tenant:cluster:edit": {
|
|
8657
8668
|
"aliases": [],
|
|
8658
8669
|
"args": {
|
|
8659
|
-
"
|
|
8660
|
-
"description": "
|
|
8661
|
-
"name": "
|
|
8670
|
+
"cluster_id": {
|
|
8671
|
+
"description": "Cluster ID to edit",
|
|
8672
|
+
"name": "cluster_id",
|
|
8662
8673
|
"required": true
|
|
8663
8674
|
}
|
|
8664
8675
|
},
|
|
8665
|
-
"description": "
|
|
8676
|
+
"description": "Update an existing tenant cluster",
|
|
8666
8677
|
"examples": [
|
|
8667
|
-
"$ xano tenant
|
|
8668
|
-
"$ xano tenant
|
|
8678
|
+
"$ 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",
|
|
8679
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
8669
8680
|
],
|
|
8670
8681
|
"flags": {
|
|
8671
8682
|
"config": {
|
|
@@ -8697,6 +8708,32 @@
|
|
|
8697
8708
|
"allowNo": false,
|
|
8698
8709
|
"type": "boolean"
|
|
8699
8710
|
},
|
|
8711
|
+
"description": {
|
|
8712
|
+
"char": "d",
|
|
8713
|
+
"description": "Cluster description",
|
|
8714
|
+
"name": "description",
|
|
8715
|
+
"required": true,
|
|
8716
|
+
"hasDynamicHelp": false,
|
|
8717
|
+
"multiple": false,
|
|
8718
|
+
"type": "option"
|
|
8719
|
+
},
|
|
8720
|
+
"domain": {
|
|
8721
|
+
"description": "Custom domain for the cluster",
|
|
8722
|
+
"name": "domain",
|
|
8723
|
+
"required": true,
|
|
8724
|
+
"hasDynamicHelp": false,
|
|
8725
|
+
"multiple": false,
|
|
8726
|
+
"type": "option"
|
|
8727
|
+
},
|
|
8728
|
+
"name": {
|
|
8729
|
+
"char": "n",
|
|
8730
|
+
"description": "Cluster name",
|
|
8731
|
+
"name": "name",
|
|
8732
|
+
"required": true,
|
|
8733
|
+
"hasDynamicHelp": false,
|
|
8734
|
+
"multiple": false,
|
|
8735
|
+
"type": "option"
|
|
8736
|
+
},
|
|
8700
8737
|
"output": {
|
|
8701
8738
|
"char": "o",
|
|
8702
8739
|
"description": "Output format",
|
|
@@ -8711,28 +8748,22 @@
|
|
|
8711
8748
|
],
|
|
8712
8749
|
"type": "option"
|
|
8713
8750
|
},
|
|
8714
|
-
"
|
|
8715
|
-
"description": "
|
|
8716
|
-
"name": "
|
|
8717
|
-
"required":
|
|
8718
|
-
"default": 1,
|
|
8719
|
-
"hasDynamicHelp": false,
|
|
8720
|
-
"multiple": false,
|
|
8721
|
-
"type": "option"
|
|
8722
|
-
},
|
|
8723
|
-
"workspace": {
|
|
8724
|
-
"char": "w",
|
|
8725
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
8726
|
-
"name": "workspace",
|
|
8727
|
-
"required": false,
|
|
8751
|
+
"type": {
|
|
8752
|
+
"description": "Cluster type",
|
|
8753
|
+
"name": "type",
|
|
8754
|
+
"required": true,
|
|
8728
8755
|
"hasDynamicHelp": false,
|
|
8729
8756
|
"multiple": false,
|
|
8757
|
+
"options": [
|
|
8758
|
+
"standard",
|
|
8759
|
+
"run"
|
|
8760
|
+
],
|
|
8730
8761
|
"type": "option"
|
|
8731
8762
|
}
|
|
8732
8763
|
},
|
|
8733
8764
|
"hasDynamicHelp": false,
|
|
8734
8765
|
"hiddenAliases": [],
|
|
8735
|
-
"id": "tenant:
|
|
8766
|
+
"id": "tenant:cluster:edit",
|
|
8736
8767
|
"pluginAlias": "@xano/cli",
|
|
8737
8768
|
"pluginName": "@xano/cli",
|
|
8738
8769
|
"pluginType": "core",
|
|
@@ -8743,24 +8774,18 @@
|
|
|
8743
8774
|
"dist",
|
|
8744
8775
|
"commands",
|
|
8745
8776
|
"tenant",
|
|
8746
|
-
"
|
|
8747
|
-
"
|
|
8777
|
+
"cluster",
|
|
8778
|
+
"edit",
|
|
8748
8779
|
"index.js"
|
|
8749
8780
|
]
|
|
8750
8781
|
},
|
|
8751
|
-
"tenant:
|
|
8782
|
+
"tenant:cluster:list": {
|
|
8752
8783
|
"aliases": [],
|
|
8753
|
-
"args": {
|
|
8754
|
-
|
|
8755
|
-
"description": "Tenant name to restore",
|
|
8756
|
-
"name": "tenant_name",
|
|
8757
|
-
"required": true
|
|
8758
|
-
}
|
|
8759
|
-
},
|
|
8760
|
-
"description": "[CRITICAL] STOP and confirm with the user; this overwrites current tenant state. Restores a tenant from a backup, replacing current tenant data.",
|
|
8784
|
+
"args": {},
|
|
8785
|
+
"description": "List all tenant clusters",
|
|
8761
8786
|
"examples": [
|
|
8762
|
-
"$ xano tenant
|
|
8763
|
-
"$ xano tenant
|
|
8787
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
8788
|
+
"$ xano tenant cluster list --output json"
|
|
8764
8789
|
],
|
|
8765
8790
|
"flags": {
|
|
8766
8791
|
"config": {
|
|
@@ -8792,22 +8817,6 @@
|
|
|
8792
8817
|
"allowNo": false,
|
|
8793
8818
|
"type": "boolean"
|
|
8794
8819
|
},
|
|
8795
|
-
"backup_id": {
|
|
8796
|
-
"description": "Backup ID to restore from",
|
|
8797
|
-
"name": "backup_id",
|
|
8798
|
-
"required": true,
|
|
8799
|
-
"hasDynamicHelp": false,
|
|
8800
|
-
"multiple": false,
|
|
8801
|
-
"type": "option"
|
|
8802
|
-
},
|
|
8803
|
-
"force": {
|
|
8804
|
-
"char": "f",
|
|
8805
|
-
"description": "[CRITICAL] Skips the confirmation prompt.",
|
|
8806
|
-
"name": "force",
|
|
8807
|
-
"required": false,
|
|
8808
|
-
"allowNo": false,
|
|
8809
|
-
"type": "boolean"
|
|
8810
|
-
},
|
|
8811
8820
|
"output": {
|
|
8812
8821
|
"char": "o",
|
|
8813
8822
|
"description": "Output format",
|
|
@@ -8821,20 +8830,11 @@
|
|
|
8821
8830
|
"json"
|
|
8822
8831
|
],
|
|
8823
8832
|
"type": "option"
|
|
8824
|
-
},
|
|
8825
|
-
"workspace": {
|
|
8826
|
-
"char": "w",
|
|
8827
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
8828
|
-
"name": "workspace",
|
|
8829
|
-
"required": false,
|
|
8830
|
-
"hasDynamicHelp": false,
|
|
8831
|
-
"multiple": false,
|
|
8832
|
-
"type": "option"
|
|
8833
8833
|
}
|
|
8834
8834
|
},
|
|
8835
8835
|
"hasDynamicHelp": false,
|
|
8836
8836
|
"hiddenAliases": [],
|
|
8837
|
-
"id": "tenant:
|
|
8837
|
+
"id": "tenant:cluster:list",
|
|
8838
8838
|
"pluginAlias": "@xano/cli",
|
|
8839
8839
|
"pluginName": "@xano/cli",
|
|
8840
8840
|
"pluginType": "core",
|
|
@@ -8845,8 +8845,8 @@
|
|
|
8845
8845
|
"dist",
|
|
8846
8846
|
"commands",
|
|
8847
8847
|
"tenant",
|
|
8848
|
-
"
|
|
8849
|
-
"
|
|
8848
|
+
"cluster",
|
|
8849
|
+
"list",
|
|
8850
8850
|
"index.js"
|
|
8851
8851
|
]
|
|
8852
8852
|
},
|
|
@@ -9049,7 +9049,7 @@
|
|
|
9049
9049
|
"index.js"
|
|
9050
9050
|
]
|
|
9051
9051
|
},
|
|
9052
|
-
"tenant:env:
|
|
9052
|
+
"tenant:env:get_all": {
|
|
9053
9053
|
"aliases": [],
|
|
9054
9054
|
"args": {
|
|
9055
9055
|
"tenant_name": {
|
|
@@ -9058,10 +9058,12 @@
|
|
|
9058
9058
|
"required": true
|
|
9059
9059
|
}
|
|
9060
9060
|
},
|
|
9061
|
-
"description": "
|
|
9061
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
9062
9062
|
"examples": [
|
|
9063
|
-
"$ xano tenant env
|
|
9064
|
-
"$ xano tenant env
|
|
9063
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
9064
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
9065
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
9066
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
9065
9067
|
],
|
|
9066
9068
|
"flags": {
|
|
9067
9069
|
"config": {
|
|
@@ -9093,6 +9095,15 @@
|
|
|
9093
9095
|
"allowNo": false,
|
|
9094
9096
|
"type": "boolean"
|
|
9095
9097
|
},
|
|
9098
|
+
"file": {
|
|
9099
|
+
"char": "f",
|
|
9100
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
9101
|
+
"name": "file",
|
|
9102
|
+
"required": false,
|
|
9103
|
+
"hasDynamicHelp": false,
|
|
9104
|
+
"multiple": false,
|
|
9105
|
+
"type": "option"
|
|
9106
|
+
},
|
|
9096
9107
|
"output": {
|
|
9097
9108
|
"char": "o",
|
|
9098
9109
|
"description": "Output format",
|
|
@@ -9107,6 +9118,13 @@
|
|
|
9107
9118
|
],
|
|
9108
9119
|
"type": "option"
|
|
9109
9120
|
},
|
|
9121
|
+
"view": {
|
|
9122
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
9123
|
+
"name": "view",
|
|
9124
|
+
"required": false,
|
|
9125
|
+
"allowNo": false,
|
|
9126
|
+
"type": "boolean"
|
|
9127
|
+
},
|
|
9110
9128
|
"workspace": {
|
|
9111
9129
|
"char": "w",
|
|
9112
9130
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -9119,7 +9137,7 @@
|
|
|
9119
9137
|
},
|
|
9120
9138
|
"hasDynamicHelp": false,
|
|
9121
9139
|
"hiddenAliases": [],
|
|
9122
|
-
"id": "tenant:env:
|
|
9140
|
+
"id": "tenant:env:get_all",
|
|
9123
9141
|
"pluginAlias": "@xano/cli",
|
|
9124
9142
|
"pluginName": "@xano/cli",
|
|
9125
9143
|
"pluginType": "core",
|
|
@@ -9131,11 +9149,11 @@
|
|
|
9131
9149
|
"commands",
|
|
9132
9150
|
"tenant",
|
|
9133
9151
|
"env",
|
|
9134
|
-
"
|
|
9152
|
+
"get_all",
|
|
9135
9153
|
"index.js"
|
|
9136
9154
|
]
|
|
9137
9155
|
},
|
|
9138
|
-
"tenant:env:
|
|
9156
|
+
"tenant:env:list": {
|
|
9139
9157
|
"aliases": [],
|
|
9140
9158
|
"args": {
|
|
9141
9159
|
"tenant_name": {
|
|
@@ -9144,10 +9162,10 @@
|
|
|
9144
9162
|
"required": true
|
|
9145
9163
|
}
|
|
9146
9164
|
},
|
|
9147
|
-
"description": "
|
|
9165
|
+
"description": "List environment variable keys for a tenant",
|
|
9148
9166
|
"examples": [
|
|
9149
|
-
"$ xano tenant env
|
|
9150
|
-
"$ xano tenant env
|
|
9167
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
9168
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
9151
9169
|
],
|
|
9152
9170
|
"flags": {
|
|
9153
9171
|
"config": {
|
|
@@ -9179,15 +9197,6 @@
|
|
|
9179
9197
|
"allowNo": false,
|
|
9180
9198
|
"type": "boolean"
|
|
9181
9199
|
},
|
|
9182
|
-
"name": {
|
|
9183
|
-
"char": "n",
|
|
9184
|
-
"description": "Environment variable name",
|
|
9185
|
-
"name": "name",
|
|
9186
|
-
"required": true,
|
|
9187
|
-
"hasDynamicHelp": false,
|
|
9188
|
-
"multiple": false,
|
|
9189
|
-
"type": "option"
|
|
9190
|
-
},
|
|
9191
9200
|
"output": {
|
|
9192
9201
|
"char": "o",
|
|
9193
9202
|
"description": "Output format",
|
|
@@ -9202,14 +9211,6 @@
|
|
|
9202
9211
|
],
|
|
9203
9212
|
"type": "option"
|
|
9204
9213
|
},
|
|
9205
|
-
"value": {
|
|
9206
|
-
"description": "Environment variable value",
|
|
9207
|
-
"name": "value",
|
|
9208
|
-
"required": true,
|
|
9209
|
-
"hasDynamicHelp": false,
|
|
9210
|
-
"multiple": false,
|
|
9211
|
-
"type": "option"
|
|
9212
|
-
},
|
|
9213
9214
|
"workspace": {
|
|
9214
9215
|
"char": "w",
|
|
9215
9216
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -9222,7 +9223,7 @@
|
|
|
9222
9223
|
},
|
|
9223
9224
|
"hasDynamicHelp": false,
|
|
9224
9225
|
"hiddenAliases": [],
|
|
9225
|
-
"id": "tenant:env:
|
|
9226
|
+
"id": "tenant:env:list",
|
|
9226
9227
|
"pluginAlias": "@xano/cli",
|
|
9227
9228
|
"pluginName": "@xano/cli",
|
|
9228
9229
|
"pluginType": "core",
|
|
@@ -9234,11 +9235,11 @@
|
|
|
9234
9235
|
"commands",
|
|
9235
9236
|
"tenant",
|
|
9236
9237
|
"env",
|
|
9237
|
-
"
|
|
9238
|
+
"list",
|
|
9238
9239
|
"index.js"
|
|
9239
9240
|
]
|
|
9240
9241
|
},
|
|
9241
|
-
"tenant:env:
|
|
9242
|
+
"tenant:env:set": {
|
|
9242
9243
|
"aliases": [],
|
|
9243
9244
|
"args": {
|
|
9244
9245
|
"tenant_name": {
|
|
@@ -9247,12 +9248,10 @@
|
|
|
9247
9248
|
"required": true
|
|
9248
9249
|
}
|
|
9249
9250
|
},
|
|
9250
|
-
"description": "
|
|
9251
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
9251
9252
|
"examples": [
|
|
9252
|
-
"$ xano tenant env
|
|
9253
|
-
"$ xano tenant env
|
|
9254
|
-
"$ xano tenant env get_all my-tenant --view",
|
|
9255
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
9253
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
9254
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
9256
9255
|
],
|
|
9257
9256
|
"flags": {
|
|
9258
9257
|
"config": {
|
|
@@ -9284,11 +9283,11 @@
|
|
|
9284
9283
|
"allowNo": false,
|
|
9285
9284
|
"type": "boolean"
|
|
9286
9285
|
},
|
|
9287
|
-
"
|
|
9288
|
-
"char": "
|
|
9289
|
-
"description": "
|
|
9290
|
-
"name": "
|
|
9291
|
-
"required":
|
|
9286
|
+
"name": {
|
|
9287
|
+
"char": "n",
|
|
9288
|
+
"description": "Environment variable name",
|
|
9289
|
+
"name": "name",
|
|
9290
|
+
"required": true,
|
|
9292
9291
|
"hasDynamicHelp": false,
|
|
9293
9292
|
"multiple": false,
|
|
9294
9293
|
"type": "option"
|
|
@@ -9307,12 +9306,13 @@
|
|
|
9307
9306
|
],
|
|
9308
9307
|
"type": "option"
|
|
9309
9308
|
},
|
|
9310
|
-
"
|
|
9311
|
-
"description": "
|
|
9312
|
-
"name": "
|
|
9313
|
-
"required":
|
|
9314
|
-
"
|
|
9315
|
-
"
|
|
9309
|
+
"value": {
|
|
9310
|
+
"description": "Environment variable value",
|
|
9311
|
+
"name": "value",
|
|
9312
|
+
"required": true,
|
|
9313
|
+
"hasDynamicHelp": false,
|
|
9314
|
+
"multiple": false,
|
|
9315
|
+
"type": "option"
|
|
9316
9316
|
},
|
|
9317
9317
|
"workspace": {
|
|
9318
9318
|
"char": "w",
|
|
@@ -9326,7 +9326,7 @@
|
|
|
9326
9326
|
},
|
|
9327
9327
|
"hasDynamicHelp": false,
|
|
9328
9328
|
"hiddenAliases": [],
|
|
9329
|
-
"id": "tenant:env:
|
|
9329
|
+
"id": "tenant:env:set",
|
|
9330
9330
|
"pluginAlias": "@xano/cli",
|
|
9331
9331
|
"pluginName": "@xano/cli",
|
|
9332
9332
|
"pluginType": "core",
|
|
@@ -9338,7 +9338,7 @@
|
|
|
9338
9338
|
"commands",
|
|
9339
9339
|
"tenant",
|
|
9340
9340
|
"env",
|
|
9341
|
-
"
|
|
9341
|
+
"set",
|
|
9342
9342
|
"index.js"
|
|
9343
9343
|
]
|
|
9344
9344
|
},
|
|
@@ -10599,5 +10599,5 @@
|
|
|
10599
10599
|
]
|
|
10600
10600
|
}
|
|
10601
10601
|
},
|
|
10602
|
-
"version": "1.0.2-beta.
|
|
10602
|
+
"version": "1.0.2-beta.7"
|
|
10603
10603
|
}
|