@xano/cli 0.0.41 → 0.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -3
- package/dist/commands/workspace/push/index.d.ts +2 -0
- package/dist/commands/workspace/push/index.js +43 -1
- package/oclif.manifest.json +1337 -1321
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -226,20 +226,20 @@
|
|
|
226
226
|
"index.js"
|
|
227
227
|
]
|
|
228
228
|
},
|
|
229
|
-
"branch:
|
|
229
|
+
"branch:get": {
|
|
230
230
|
"aliases": [],
|
|
231
231
|
"args": {
|
|
232
232
|
"branch_label": {
|
|
233
|
-
"description": "Branch label
|
|
233
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
234
234
|
"name": "branch_label",
|
|
235
235
|
"required": true
|
|
236
236
|
}
|
|
237
237
|
},
|
|
238
|
-
"description": "
|
|
238
|
+
"description": "Get details for a specific branch",
|
|
239
239
|
"examples": [
|
|
240
|
-
"$ xano branch
|
|
241
|
-
"$ xano branch
|
|
242
|
-
"$ xano branch
|
|
240
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
241
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
242
|
+
"$ xano branch get staging --output json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
243
243
|
],
|
|
244
244
|
"flags": {
|
|
245
245
|
"profile": {
|
|
@@ -261,33 +261,6 @@
|
|
|
261
261
|
"allowNo": false,
|
|
262
262
|
"type": "boolean"
|
|
263
263
|
},
|
|
264
|
-
"color": {
|
|
265
|
-
"char": "c",
|
|
266
|
-
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
267
|
-
"name": "color",
|
|
268
|
-
"required": false,
|
|
269
|
-
"hasDynamicHelp": false,
|
|
270
|
-
"multiple": false,
|
|
271
|
-
"type": "option"
|
|
272
|
-
},
|
|
273
|
-
"description": {
|
|
274
|
-
"char": "d",
|
|
275
|
-
"description": "New description for the branch",
|
|
276
|
-
"name": "description",
|
|
277
|
-
"required": false,
|
|
278
|
-
"hasDynamicHelp": false,
|
|
279
|
-
"multiple": false,
|
|
280
|
-
"type": "option"
|
|
281
|
-
},
|
|
282
|
-
"label": {
|
|
283
|
-
"char": "l",
|
|
284
|
-
"description": "New label for the branch",
|
|
285
|
-
"name": "label",
|
|
286
|
-
"required": false,
|
|
287
|
-
"hasDynamicHelp": false,
|
|
288
|
-
"multiple": false,
|
|
289
|
-
"type": "option"
|
|
290
|
-
},
|
|
291
264
|
"output": {
|
|
292
265
|
"char": "o",
|
|
293
266
|
"description": "Output format",
|
|
@@ -314,7 +287,7 @@
|
|
|
314
287
|
},
|
|
315
288
|
"hasDynamicHelp": false,
|
|
316
289
|
"hiddenAliases": [],
|
|
317
|
-
"id": "branch:
|
|
290
|
+
"id": "branch:get",
|
|
318
291
|
"pluginAlias": "@xano/cli",
|
|
319
292
|
"pluginName": "@xano/cli",
|
|
320
293
|
"pluginType": "core",
|
|
@@ -325,7 +298,7 @@
|
|
|
325
298
|
"dist",
|
|
326
299
|
"commands",
|
|
327
300
|
"branch",
|
|
328
|
-
"
|
|
301
|
+
"get",
|
|
329
302
|
"index.js"
|
|
330
303
|
]
|
|
331
304
|
},
|
|
@@ -990,6 +963,66 @@
|
|
|
990
963
|
"index.js"
|
|
991
964
|
]
|
|
992
965
|
},
|
|
966
|
+
"platform:list": {
|
|
967
|
+
"aliases": [],
|
|
968
|
+
"args": {},
|
|
969
|
+
"description": "List all platforms",
|
|
970
|
+
"examples": [
|
|
971
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
972
|
+
"$ xano platform list --output json"
|
|
973
|
+
],
|
|
974
|
+
"flags": {
|
|
975
|
+
"profile": {
|
|
976
|
+
"char": "p",
|
|
977
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
978
|
+
"env": "XANO_PROFILE",
|
|
979
|
+
"name": "profile",
|
|
980
|
+
"required": false,
|
|
981
|
+
"hasDynamicHelp": false,
|
|
982
|
+
"multiple": false,
|
|
983
|
+
"type": "option"
|
|
984
|
+
},
|
|
985
|
+
"verbose": {
|
|
986
|
+
"char": "v",
|
|
987
|
+
"description": "Show detailed request/response information",
|
|
988
|
+
"env": "XANO_VERBOSE",
|
|
989
|
+
"name": "verbose",
|
|
990
|
+
"required": false,
|
|
991
|
+
"allowNo": false,
|
|
992
|
+
"type": "boolean"
|
|
993
|
+
},
|
|
994
|
+
"output": {
|
|
995
|
+
"char": "o",
|
|
996
|
+
"description": "Output format",
|
|
997
|
+
"name": "output",
|
|
998
|
+
"required": false,
|
|
999
|
+
"default": "summary",
|
|
1000
|
+
"hasDynamicHelp": false,
|
|
1001
|
+
"multiple": false,
|
|
1002
|
+
"options": [
|
|
1003
|
+
"summary",
|
|
1004
|
+
"json"
|
|
1005
|
+
],
|
|
1006
|
+
"type": "option"
|
|
1007
|
+
}
|
|
1008
|
+
},
|
|
1009
|
+
"hasDynamicHelp": false,
|
|
1010
|
+
"hiddenAliases": [],
|
|
1011
|
+
"id": "platform:list",
|
|
1012
|
+
"pluginAlias": "@xano/cli",
|
|
1013
|
+
"pluginName": "@xano/cli",
|
|
1014
|
+
"pluginType": "core",
|
|
1015
|
+
"strict": true,
|
|
1016
|
+
"enableJsonFlag": false,
|
|
1017
|
+
"isESM": true,
|
|
1018
|
+
"relativePath": [
|
|
1019
|
+
"dist",
|
|
1020
|
+
"commands",
|
|
1021
|
+
"platform",
|
|
1022
|
+
"list",
|
|
1023
|
+
"index.js"
|
|
1024
|
+
]
|
|
1025
|
+
},
|
|
993
1026
|
"profile:create": {
|
|
994
1027
|
"aliases": [],
|
|
995
1028
|
"args": {
|
|
@@ -1077,52 +1110,34 @@
|
|
|
1077
1110
|
"index.js"
|
|
1078
1111
|
]
|
|
1079
1112
|
},
|
|
1080
|
-
"
|
|
1113
|
+
"profile:delete": {
|
|
1081
1114
|
"aliases": [],
|
|
1082
|
-
"args": {
|
|
1083
|
-
|
|
1115
|
+
"args": {
|
|
1116
|
+
"name": {
|
|
1117
|
+
"description": "Profile name to delete",
|
|
1118
|
+
"name": "name",
|
|
1119
|
+
"required": true
|
|
1120
|
+
}
|
|
1121
|
+
},
|
|
1122
|
+
"description": "Delete a profile configuration",
|
|
1084
1123
|
"examples": [
|
|
1085
|
-
"$ xano
|
|
1086
|
-
"$ xano
|
|
1124
|
+
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1125
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1126
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1087
1127
|
],
|
|
1088
1128
|
"flags": {
|
|
1089
|
-
"
|
|
1090
|
-
"char": "
|
|
1091
|
-
"description": "
|
|
1092
|
-
"
|
|
1093
|
-
"name": "profile",
|
|
1094
|
-
"required": false,
|
|
1095
|
-
"hasDynamicHelp": false,
|
|
1096
|
-
"multiple": false,
|
|
1097
|
-
"type": "option"
|
|
1098
|
-
},
|
|
1099
|
-
"verbose": {
|
|
1100
|
-
"char": "v",
|
|
1101
|
-
"description": "Show detailed request/response information",
|
|
1102
|
-
"env": "XANO_VERBOSE",
|
|
1103
|
-
"name": "verbose",
|
|
1129
|
+
"force": {
|
|
1130
|
+
"char": "f",
|
|
1131
|
+
"description": "Skip confirmation prompt",
|
|
1132
|
+
"name": "force",
|
|
1104
1133
|
"required": false,
|
|
1105
1134
|
"allowNo": false,
|
|
1106
1135
|
"type": "boolean"
|
|
1107
|
-
},
|
|
1108
|
-
"output": {
|
|
1109
|
-
"char": "o",
|
|
1110
|
-
"description": "Output format",
|
|
1111
|
-
"name": "output",
|
|
1112
|
-
"required": false,
|
|
1113
|
-
"default": "summary",
|
|
1114
|
-
"hasDynamicHelp": false,
|
|
1115
|
-
"multiple": false,
|
|
1116
|
-
"options": [
|
|
1117
|
-
"summary",
|
|
1118
|
-
"json"
|
|
1119
|
-
],
|
|
1120
|
-
"type": "option"
|
|
1121
1136
|
}
|
|
1122
1137
|
},
|
|
1123
1138
|
"hasDynamicHelp": false,
|
|
1124
1139
|
"hiddenAliases": [],
|
|
1125
|
-
"id": "
|
|
1140
|
+
"id": "profile:delete",
|
|
1126
1141
|
"pluginAlias": "@xano/cli",
|
|
1127
1142
|
"pluginName": "@xano/cli",
|
|
1128
1143
|
"pluginType": "core",
|
|
@@ -1132,25 +1147,25 @@
|
|
|
1132
1147
|
"relativePath": [
|
|
1133
1148
|
"dist",
|
|
1134
1149
|
"commands",
|
|
1135
|
-
"
|
|
1136
|
-
"
|
|
1150
|
+
"profile",
|
|
1151
|
+
"delete",
|
|
1137
1152
|
"index.js"
|
|
1138
1153
|
]
|
|
1139
1154
|
},
|
|
1140
|
-
"branch:
|
|
1155
|
+
"branch:edit": {
|
|
1141
1156
|
"aliases": [],
|
|
1142
1157
|
"args": {
|
|
1143
1158
|
"branch_label": {
|
|
1144
|
-
"description": "Branch label (
|
|
1159
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
1145
1160
|
"name": "branch_label",
|
|
1146
1161
|
"required": true
|
|
1147
1162
|
}
|
|
1148
1163
|
},
|
|
1149
|
-
"description": "
|
|
1164
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
1150
1165
|
"examples": [
|
|
1151
|
-
"$ xano branch
|
|
1152
|
-
"$ xano branch
|
|
1153
|
-
"$ xano branch
|
|
1166
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
1167
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
1168
|
+
"$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
|
|
1154
1169
|
],
|
|
1155
1170
|
"flags": {
|
|
1156
1171
|
"profile": {
|
|
@@ -1172,6 +1187,33 @@
|
|
|
1172
1187
|
"allowNo": false,
|
|
1173
1188
|
"type": "boolean"
|
|
1174
1189
|
},
|
|
1190
|
+
"color": {
|
|
1191
|
+
"char": "c",
|
|
1192
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
1193
|
+
"name": "color",
|
|
1194
|
+
"required": false,
|
|
1195
|
+
"hasDynamicHelp": false,
|
|
1196
|
+
"multiple": false,
|
|
1197
|
+
"type": "option"
|
|
1198
|
+
},
|
|
1199
|
+
"description": {
|
|
1200
|
+
"char": "d",
|
|
1201
|
+
"description": "New description for the branch",
|
|
1202
|
+
"name": "description",
|
|
1203
|
+
"required": false,
|
|
1204
|
+
"hasDynamicHelp": false,
|
|
1205
|
+
"multiple": false,
|
|
1206
|
+
"type": "option"
|
|
1207
|
+
},
|
|
1208
|
+
"label": {
|
|
1209
|
+
"char": "l",
|
|
1210
|
+
"description": "New label for the branch",
|
|
1211
|
+
"name": "label",
|
|
1212
|
+
"required": false,
|
|
1213
|
+
"hasDynamicHelp": false,
|
|
1214
|
+
"multiple": false,
|
|
1215
|
+
"type": "option"
|
|
1216
|
+
},
|
|
1175
1217
|
"output": {
|
|
1176
1218
|
"char": "o",
|
|
1177
1219
|
"description": "Output format",
|
|
@@ -1198,7 +1240,7 @@
|
|
|
1198
1240
|
},
|
|
1199
1241
|
"hasDynamicHelp": false,
|
|
1200
1242
|
"hiddenAliases": [],
|
|
1201
|
-
"id": "branch:
|
|
1243
|
+
"id": "branch:edit",
|
|
1202
1244
|
"pluginAlias": "@xano/cli",
|
|
1203
1245
|
"pluginName": "@xano/cli",
|
|
1204
1246
|
"pluginType": "core",
|
|
@@ -1209,49 +1251,7 @@
|
|
|
1209
1251
|
"dist",
|
|
1210
1252
|
"commands",
|
|
1211
1253
|
"branch",
|
|
1212
|
-
"
|
|
1213
|
-
"index.js"
|
|
1214
|
-
]
|
|
1215
|
-
},
|
|
1216
|
-
"profile:delete": {
|
|
1217
|
-
"aliases": [],
|
|
1218
|
-
"args": {
|
|
1219
|
-
"name": {
|
|
1220
|
-
"description": "Profile name to delete",
|
|
1221
|
-
"name": "name",
|
|
1222
|
-
"required": true
|
|
1223
|
-
}
|
|
1224
|
-
},
|
|
1225
|
-
"description": "Delete a profile configuration",
|
|
1226
|
-
"examples": [
|
|
1227
|
-
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1228
|
-
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1229
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1230
|
-
],
|
|
1231
|
-
"flags": {
|
|
1232
|
-
"force": {
|
|
1233
|
-
"char": "f",
|
|
1234
|
-
"description": "Skip confirmation prompt",
|
|
1235
|
-
"name": "force",
|
|
1236
|
-
"required": false,
|
|
1237
|
-
"allowNo": false,
|
|
1238
|
-
"type": "boolean"
|
|
1239
|
-
}
|
|
1240
|
-
},
|
|
1241
|
-
"hasDynamicHelp": false,
|
|
1242
|
-
"hiddenAliases": [],
|
|
1243
|
-
"id": "profile:delete",
|
|
1244
|
-
"pluginAlias": "@xano/cli",
|
|
1245
|
-
"pluginName": "@xano/cli",
|
|
1246
|
-
"pluginType": "core",
|
|
1247
|
-
"strict": true,
|
|
1248
|
-
"enableJsonFlag": false,
|
|
1249
|
-
"isESM": true,
|
|
1250
|
-
"relativePath": [
|
|
1251
|
-
"dist",
|
|
1252
|
-
"commands",
|
|
1253
|
-
"profile",
|
|
1254
|
-
"delete",
|
|
1254
|
+
"edit",
|
|
1255
1255
|
"index.js"
|
|
1256
1256
|
]
|
|
1257
1257
|
},
|
|
@@ -1369,40 +1369,14 @@
|
|
|
1369
1369
|
"index.js"
|
|
1370
1370
|
]
|
|
1371
1371
|
},
|
|
1372
|
-
"profile:
|
|
1372
|
+
"profile:me": {
|
|
1373
1373
|
"aliases": [],
|
|
1374
1374
|
"args": {},
|
|
1375
|
-
"description": "Get the
|
|
1375
|
+
"description": "Get information about the currently authenticated user",
|
|
1376
1376
|
"examples": [
|
|
1377
|
-
"$ xano profile:
|
|
1378
|
-
"$ xano profile:
|
|
1379
|
-
|
|
1380
|
-
"flags": {},
|
|
1381
|
-
"hasDynamicHelp": false,
|
|
1382
|
-
"hiddenAliases": [],
|
|
1383
|
-
"id": "profile:get_default",
|
|
1384
|
-
"pluginAlias": "@xano/cli",
|
|
1385
|
-
"pluginName": "@xano/cli",
|
|
1386
|
-
"pluginType": "core",
|
|
1387
|
-
"strict": true,
|
|
1388
|
-
"enableJsonFlag": false,
|
|
1389
|
-
"isESM": true,
|
|
1390
|
-
"relativePath": [
|
|
1391
|
-
"dist",
|
|
1392
|
-
"commands",
|
|
1393
|
-
"profile",
|
|
1394
|
-
"get_default",
|
|
1395
|
-
"index.js"
|
|
1396
|
-
]
|
|
1397
|
-
},
|
|
1398
|
-
"profile:me": {
|
|
1399
|
-
"aliases": [],
|
|
1400
|
-
"args": {},
|
|
1401
|
-
"description": "Get information about the currently authenticated user",
|
|
1402
|
-
"examples": [
|
|
1403
|
-
"$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
|
|
1404
|
-
"$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
|
|
1405
|
-
"$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
|
|
1377
|
+
"$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
|
|
1378
|
+
"$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
|
|
1379
|
+
"$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
|
|
1406
1380
|
],
|
|
1407
1381
|
"flags": {
|
|
1408
1382
|
"profile": {
|
|
@@ -1456,6 +1430,42 @@
|
|
|
1456
1430
|
"index.js"
|
|
1457
1431
|
]
|
|
1458
1432
|
},
|
|
1433
|
+
"profile:list": {
|
|
1434
|
+
"aliases": [],
|
|
1435
|
+
"args": {},
|
|
1436
|
+
"description": "List all available profile configurations",
|
|
1437
|
+
"examples": [
|
|
1438
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1439
|
+
"$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
1440
|
+
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
1441
|
+
],
|
|
1442
|
+
"flags": {
|
|
1443
|
+
"details": {
|
|
1444
|
+
"char": "d",
|
|
1445
|
+
"description": "Show detailed information for each profile",
|
|
1446
|
+
"name": "details",
|
|
1447
|
+
"required": false,
|
|
1448
|
+
"allowNo": false,
|
|
1449
|
+
"type": "boolean"
|
|
1450
|
+
}
|
|
1451
|
+
},
|
|
1452
|
+
"hasDynamicHelp": false,
|
|
1453
|
+
"hiddenAliases": [],
|
|
1454
|
+
"id": "profile:list",
|
|
1455
|
+
"pluginAlias": "@xano/cli",
|
|
1456
|
+
"pluginName": "@xano/cli",
|
|
1457
|
+
"pluginType": "core",
|
|
1458
|
+
"strict": true,
|
|
1459
|
+
"enableJsonFlag": false,
|
|
1460
|
+
"isESM": true,
|
|
1461
|
+
"relativePath": [
|
|
1462
|
+
"dist",
|
|
1463
|
+
"commands",
|
|
1464
|
+
"profile",
|
|
1465
|
+
"list",
|
|
1466
|
+
"index.js"
|
|
1467
|
+
]
|
|
1468
|
+
},
|
|
1459
1469
|
"profile:set_default": {
|
|
1460
1470
|
"aliases": [],
|
|
1461
1471
|
"args": {
|
|
@@ -1488,6 +1498,32 @@
|
|
|
1488
1498
|
"index.js"
|
|
1489
1499
|
]
|
|
1490
1500
|
},
|
|
1501
|
+
"profile:token": {
|
|
1502
|
+
"aliases": [],
|
|
1503
|
+
"args": {},
|
|
1504
|
+
"description": "Print the access token for the default profile",
|
|
1505
|
+
"examples": [
|
|
1506
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1507
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1508
|
+
],
|
|
1509
|
+
"flags": {},
|
|
1510
|
+
"hasDynamicHelp": false,
|
|
1511
|
+
"hiddenAliases": [],
|
|
1512
|
+
"id": "profile:token",
|
|
1513
|
+
"pluginAlias": "@xano/cli",
|
|
1514
|
+
"pluginName": "@xano/cli",
|
|
1515
|
+
"pluginType": "core",
|
|
1516
|
+
"strict": true,
|
|
1517
|
+
"enableJsonFlag": false,
|
|
1518
|
+
"isESM": true,
|
|
1519
|
+
"relativePath": [
|
|
1520
|
+
"dist",
|
|
1521
|
+
"commands",
|
|
1522
|
+
"profile",
|
|
1523
|
+
"token",
|
|
1524
|
+
"index.js"
|
|
1525
|
+
]
|
|
1526
|
+
},
|
|
1491
1527
|
"profile:wizard": {
|
|
1492
1528
|
"aliases": [],
|
|
1493
1529
|
"args": {},
|
|
@@ -1533,32 +1569,6 @@
|
|
|
1533
1569
|
"index.js"
|
|
1534
1570
|
]
|
|
1535
1571
|
},
|
|
1536
|
-
"profile:token": {
|
|
1537
|
-
"aliases": [],
|
|
1538
|
-
"args": {},
|
|
1539
|
-
"description": "Print the access token for the default profile",
|
|
1540
|
-
"examples": [
|
|
1541
|
-
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1542
|
-
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1543
|
-
],
|
|
1544
|
-
"flags": {},
|
|
1545
|
-
"hasDynamicHelp": false,
|
|
1546
|
-
"hiddenAliases": [],
|
|
1547
|
-
"id": "profile:token",
|
|
1548
|
-
"pluginAlias": "@xano/cli",
|
|
1549
|
-
"pluginName": "@xano/cli",
|
|
1550
|
-
"pluginType": "core",
|
|
1551
|
-
"strict": true,
|
|
1552
|
-
"enableJsonFlag": false,
|
|
1553
|
-
"isESM": true,
|
|
1554
|
-
"relativePath": [
|
|
1555
|
-
"dist",
|
|
1556
|
-
"commands",
|
|
1557
|
-
"profile",
|
|
1558
|
-
"token",
|
|
1559
|
-
"index.js"
|
|
1560
|
-
]
|
|
1561
|
-
},
|
|
1562
1572
|
"profile:workspace": {
|
|
1563
1573
|
"aliases": [],
|
|
1564
1574
|
"args": {},
|
|
@@ -1585,28 +1595,18 @@
|
|
|
1585
1595
|
"index.js"
|
|
1586
1596
|
]
|
|
1587
1597
|
},
|
|
1588
|
-
"profile:
|
|
1598
|
+
"profile:get_default": {
|
|
1589
1599
|
"aliases": [],
|
|
1590
1600
|
"args": {},
|
|
1591
|
-
"description": "
|
|
1601
|
+
"description": "Get the current default profile name",
|
|
1592
1602
|
"examples": [
|
|
1593
|
-
"$ xano profile:
|
|
1594
|
-
"$ xano profile:
|
|
1595
|
-
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
1603
|
+
"$ xano profile:get-default\nproduction\n",
|
|
1604
|
+
"$ xano profile:get-default\nNo default profile set\n"
|
|
1596
1605
|
],
|
|
1597
|
-
"flags": {
|
|
1598
|
-
"details": {
|
|
1599
|
-
"char": "d",
|
|
1600
|
-
"description": "Show detailed information for each profile",
|
|
1601
|
-
"name": "details",
|
|
1602
|
-
"required": false,
|
|
1603
|
-
"allowNo": false,
|
|
1604
|
-
"type": "boolean"
|
|
1605
|
-
}
|
|
1606
|
-
},
|
|
1606
|
+
"flags": {},
|
|
1607
1607
|
"hasDynamicHelp": false,
|
|
1608
1608
|
"hiddenAliases": [],
|
|
1609
|
-
"id": "profile:
|
|
1609
|
+
"id": "profile:get_default",
|
|
1610
1610
|
"pluginAlias": "@xano/cli",
|
|
1611
1611
|
"pluginName": "@xano/cli",
|
|
1612
1612
|
"pluginType": "core",
|
|
@@ -1617,7 +1617,7 @@
|
|
|
1617
1617
|
"dist",
|
|
1618
1618
|
"commands",
|
|
1619
1619
|
"profile",
|
|
1620
|
-
"
|
|
1620
|
+
"get_default",
|
|
1621
1621
|
"index.js"
|
|
1622
1622
|
]
|
|
1623
1623
|
},
|
|
@@ -1732,20 +1732,19 @@
|
|
|
1732
1732
|
"index.js"
|
|
1733
1733
|
]
|
|
1734
1734
|
},
|
|
1735
|
-
"release:
|
|
1735
|
+
"release:edit": {
|
|
1736
1736
|
"aliases": [],
|
|
1737
1737
|
"args": {
|
|
1738
1738
|
"release_name": {
|
|
1739
|
-
"description": "Release name to
|
|
1739
|
+
"description": "Release name to edit",
|
|
1740
1740
|
"name": "release_name",
|
|
1741
1741
|
"required": true
|
|
1742
1742
|
}
|
|
1743
1743
|
},
|
|
1744
|
-
"description": "
|
|
1744
|
+
"description": "Edit an existing release",
|
|
1745
1745
|
"examples": [
|
|
1746
|
-
"$ xano release
|
|
1747
|
-
"$ xano release
|
|
1748
|
-
"$ xano release delete v1.0 -f -o json"
|
|
1746
|
+
"$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
|
|
1747
|
+
"$ xano release edit v1.0 --description \"New description\" -o json"
|
|
1749
1748
|
],
|
|
1750
1749
|
"flags": {
|
|
1751
1750
|
"profile": {
|
|
@@ -1767,13 +1766,23 @@
|
|
|
1767
1766
|
"allowNo": false,
|
|
1768
1767
|
"type": "boolean"
|
|
1769
1768
|
},
|
|
1770
|
-
"
|
|
1771
|
-
"char": "
|
|
1772
|
-
"description": "
|
|
1773
|
-
"name": "
|
|
1769
|
+
"description": {
|
|
1770
|
+
"char": "d",
|
|
1771
|
+
"description": "New description",
|
|
1772
|
+
"name": "description",
|
|
1774
1773
|
"required": false,
|
|
1775
|
-
"
|
|
1776
|
-
"
|
|
1774
|
+
"hasDynamicHelp": false,
|
|
1775
|
+
"multiple": false,
|
|
1776
|
+
"type": "option"
|
|
1777
|
+
},
|
|
1778
|
+
"name": {
|
|
1779
|
+
"char": "n",
|
|
1780
|
+
"description": "New name for the release",
|
|
1781
|
+
"name": "name",
|
|
1782
|
+
"required": false,
|
|
1783
|
+
"hasDynamicHelp": false,
|
|
1784
|
+
"multiple": false,
|
|
1785
|
+
"type": "option"
|
|
1777
1786
|
},
|
|
1778
1787
|
"output": {
|
|
1779
1788
|
"char": "o",
|
|
@@ -1801,7 +1810,7 @@
|
|
|
1801
1810
|
},
|
|
1802
1811
|
"hasDynamicHelp": false,
|
|
1803
1812
|
"hiddenAliases": [],
|
|
1804
|
-
"id": "release:
|
|
1813
|
+
"id": "release:edit",
|
|
1805
1814
|
"pluginAlias": "@xano/cli",
|
|
1806
1815
|
"pluginName": "@xano/cli",
|
|
1807
1816
|
"pluginType": "core",
|
|
@@ -1812,23 +1821,24 @@
|
|
|
1812
1821
|
"dist",
|
|
1813
1822
|
"commands",
|
|
1814
1823
|
"release",
|
|
1815
|
-
"
|
|
1824
|
+
"edit",
|
|
1816
1825
|
"index.js"
|
|
1817
1826
|
]
|
|
1818
1827
|
},
|
|
1819
|
-
"release:
|
|
1828
|
+
"release:export": {
|
|
1820
1829
|
"aliases": [],
|
|
1821
1830
|
"args": {
|
|
1822
1831
|
"release_name": {
|
|
1823
|
-
"description": "Release name to
|
|
1832
|
+
"description": "Release name to export",
|
|
1824
1833
|
"name": "release_name",
|
|
1825
1834
|
"required": true
|
|
1826
1835
|
}
|
|
1827
1836
|
},
|
|
1828
|
-
"description": "
|
|
1837
|
+
"description": "Export (download) a release to a local file",
|
|
1829
1838
|
"examples": [
|
|
1830
|
-
"$ xano release
|
|
1831
|
-
"$ xano release
|
|
1839
|
+
"$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
|
|
1840
|
+
"$ xano release export v1.0 --output ./backups/my-release.tar.gz",
|
|
1841
|
+
"$ xano release export v1.0 -o json"
|
|
1832
1842
|
],
|
|
1833
1843
|
"flags": {
|
|
1834
1844
|
"profile": {
|
|
@@ -1850,28 +1860,10 @@
|
|
|
1850
1860
|
"allowNo": false,
|
|
1851
1861
|
"type": "boolean"
|
|
1852
1862
|
},
|
|
1853
|
-
"
|
|
1854
|
-
"char": "d",
|
|
1855
|
-
"description": "New description",
|
|
1856
|
-
"name": "description",
|
|
1857
|
-
"required": false,
|
|
1858
|
-
"hasDynamicHelp": false,
|
|
1859
|
-
"multiple": false,
|
|
1860
|
-
"type": "option"
|
|
1861
|
-
},
|
|
1862
|
-
"name": {
|
|
1863
|
-
"char": "n",
|
|
1864
|
-
"description": "New name for the release",
|
|
1865
|
-
"name": "name",
|
|
1866
|
-
"required": false,
|
|
1867
|
-
"hasDynamicHelp": false,
|
|
1868
|
-
"multiple": false,
|
|
1869
|
-
"type": "option"
|
|
1870
|
-
},
|
|
1871
|
-
"output": {
|
|
1863
|
+
"format": {
|
|
1872
1864
|
"char": "o",
|
|
1873
1865
|
"description": "Output format",
|
|
1874
|
-
"name": "
|
|
1866
|
+
"name": "format",
|
|
1875
1867
|
"required": false,
|
|
1876
1868
|
"default": "summary",
|
|
1877
1869
|
"hasDynamicHelp": false,
|
|
@@ -1882,6 +1874,14 @@
|
|
|
1882
1874
|
],
|
|
1883
1875
|
"type": "option"
|
|
1884
1876
|
},
|
|
1877
|
+
"output": {
|
|
1878
|
+
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
1879
|
+
"name": "output",
|
|
1880
|
+
"required": false,
|
|
1881
|
+
"hasDynamicHelp": false,
|
|
1882
|
+
"multiple": false,
|
|
1883
|
+
"type": "option"
|
|
1884
|
+
},
|
|
1885
1885
|
"workspace": {
|
|
1886
1886
|
"char": "w",
|
|
1887
1887
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -1894,7 +1894,7 @@
|
|
|
1894
1894
|
},
|
|
1895
1895
|
"hasDynamicHelp": false,
|
|
1896
1896
|
"hiddenAliases": [],
|
|
1897
|
-
"id": "release:
|
|
1897
|
+
"id": "release:export",
|
|
1898
1898
|
"pluginAlias": "@xano/cli",
|
|
1899
1899
|
"pluginName": "@xano/cli",
|
|
1900
1900
|
"pluginType": "core",
|
|
@@ -1905,17 +1905,23 @@
|
|
|
1905
1905
|
"dist",
|
|
1906
1906
|
"commands",
|
|
1907
1907
|
"release",
|
|
1908
|
-
"
|
|
1908
|
+
"export",
|
|
1909
1909
|
"index.js"
|
|
1910
1910
|
]
|
|
1911
1911
|
},
|
|
1912
|
-
"release:
|
|
1912
|
+
"release:get": {
|
|
1913
1913
|
"aliases": [],
|
|
1914
|
-
"args": {
|
|
1915
|
-
|
|
1914
|
+
"args": {
|
|
1915
|
+
"release_name": {
|
|
1916
|
+
"description": "Release name to retrieve",
|
|
1917
|
+
"name": "release_name",
|
|
1918
|
+
"required": true
|
|
1919
|
+
}
|
|
1920
|
+
},
|
|
1921
|
+
"description": "Get details of a specific release",
|
|
1916
1922
|
"examples": [
|
|
1917
|
-
"$ xano release
|
|
1918
|
-
"$ xano release
|
|
1923
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
1924
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
1919
1925
|
],
|
|
1920
1926
|
"flags": {
|
|
1921
1927
|
"profile": {
|
|
@@ -1937,15 +1943,6 @@
|
|
|
1937
1943
|
"allowNo": false,
|
|
1938
1944
|
"type": "boolean"
|
|
1939
1945
|
},
|
|
1940
|
-
"file": {
|
|
1941
|
-
"char": "f",
|
|
1942
|
-
"description": "Path to the release file (.tar.gz)",
|
|
1943
|
-
"name": "file",
|
|
1944
|
-
"required": true,
|
|
1945
|
-
"hasDynamicHelp": false,
|
|
1946
|
-
"multiple": false,
|
|
1947
|
-
"type": "option"
|
|
1948
|
-
},
|
|
1949
1946
|
"output": {
|
|
1950
1947
|
"char": "o",
|
|
1951
1948
|
"description": "Output format",
|
|
@@ -1972,7 +1969,7 @@
|
|
|
1972
1969
|
},
|
|
1973
1970
|
"hasDynamicHelp": false,
|
|
1974
1971
|
"hiddenAliases": [],
|
|
1975
|
-
"id": "release:
|
|
1972
|
+
"id": "release:get",
|
|
1976
1973
|
"pluginAlias": "@xano/cli",
|
|
1977
1974
|
"pluginName": "@xano/cli",
|
|
1978
1975
|
"pluginType": "core",
|
|
@@ -1983,19 +1980,26 @@
|
|
|
1983
1980
|
"dist",
|
|
1984
1981
|
"commands",
|
|
1985
1982
|
"release",
|
|
1986
|
-
"
|
|
1983
|
+
"get",
|
|
1987
1984
|
"index.js"
|
|
1988
1985
|
]
|
|
1989
1986
|
},
|
|
1990
|
-
"release:
|
|
1987
|
+
"release:delete": {
|
|
1991
1988
|
"aliases": [],
|
|
1992
|
-
"args": {
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1989
|
+
"args": {
|
|
1990
|
+
"release_name": {
|
|
1991
|
+
"description": "Release name to delete",
|
|
1992
|
+
"name": "release_name",
|
|
1993
|
+
"required": true
|
|
1994
|
+
}
|
|
1995
|
+
},
|
|
1996
|
+
"description": "Delete a release permanently. This action cannot be undone.",
|
|
1997
|
+
"examples": [
|
|
1998
|
+
"$ xano release delete v1.0\nAre you sure you want to delete release 'v1.0'? This action cannot be undone. (y/N) y\nDeleted release 'v1.0'\n",
|
|
1999
|
+
"$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
|
|
2000
|
+
"$ xano release delete v1.0 -f -o json"
|
|
2001
|
+
],
|
|
2002
|
+
"flags": {
|
|
1999
2003
|
"profile": {
|
|
2000
2004
|
"char": "p",
|
|
2001
2005
|
"description": "Profile to use (uses default profile if not specified)",
|
|
@@ -2015,6 +2019,14 @@
|
|
|
2015
2019
|
"allowNo": false,
|
|
2016
2020
|
"type": "boolean"
|
|
2017
2021
|
},
|
|
2022
|
+
"force": {
|
|
2023
|
+
"char": "f",
|
|
2024
|
+
"description": "Skip confirmation prompt",
|
|
2025
|
+
"name": "force",
|
|
2026
|
+
"required": false,
|
|
2027
|
+
"allowNo": false,
|
|
2028
|
+
"type": "boolean"
|
|
2029
|
+
},
|
|
2018
2030
|
"output": {
|
|
2019
2031
|
"char": "o",
|
|
2020
2032
|
"description": "Output format",
|
|
@@ -2041,7 +2053,7 @@
|
|
|
2041
2053
|
},
|
|
2042
2054
|
"hasDynamicHelp": false,
|
|
2043
2055
|
"hiddenAliases": [],
|
|
2044
|
-
"id": "release:
|
|
2056
|
+
"id": "release:delete",
|
|
2045
2057
|
"pluginAlias": "@xano/cli",
|
|
2046
2058
|
"pluginName": "@xano/cli",
|
|
2047
2059
|
"pluginType": "core",
|
|
@@ -2052,24 +2064,17 @@
|
|
|
2052
2064
|
"dist",
|
|
2053
2065
|
"commands",
|
|
2054
2066
|
"release",
|
|
2055
|
-
"
|
|
2067
|
+
"delete",
|
|
2056
2068
|
"index.js"
|
|
2057
2069
|
]
|
|
2058
2070
|
},
|
|
2059
|
-
"release:
|
|
2071
|
+
"release:import": {
|
|
2060
2072
|
"aliases": [],
|
|
2061
|
-
"args": {
|
|
2062
|
-
|
|
2063
|
-
"description": "Release name to export",
|
|
2064
|
-
"name": "release_name",
|
|
2065
|
-
"required": true
|
|
2066
|
-
}
|
|
2067
|
-
},
|
|
2068
|
-
"description": "Export (download) a release to a local file",
|
|
2073
|
+
"args": {},
|
|
2074
|
+
"description": "Import a release file into a workspace",
|
|
2069
2075
|
"examples": [
|
|
2070
|
-
"$ xano release
|
|
2071
|
-
"$ xano release
|
|
2072
|
-
"$ xano release export v1.0 -o json"
|
|
2076
|
+
"$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
|
|
2077
|
+
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2073
2078
|
],
|
|
2074
2079
|
"flags": {
|
|
2075
2080
|
"profile": {
|
|
@@ -2091,10 +2096,19 @@
|
|
|
2091
2096
|
"allowNo": false,
|
|
2092
2097
|
"type": "boolean"
|
|
2093
2098
|
},
|
|
2094
|
-
"
|
|
2099
|
+
"file": {
|
|
2100
|
+
"char": "f",
|
|
2101
|
+
"description": "Path to the release file (.tar.gz)",
|
|
2102
|
+
"name": "file",
|
|
2103
|
+
"required": true,
|
|
2104
|
+
"hasDynamicHelp": false,
|
|
2105
|
+
"multiple": false,
|
|
2106
|
+
"type": "option"
|
|
2107
|
+
},
|
|
2108
|
+
"output": {
|
|
2095
2109
|
"char": "o",
|
|
2096
2110
|
"description": "Output format",
|
|
2097
|
-
"name": "
|
|
2111
|
+
"name": "output",
|
|
2098
2112
|
"required": false,
|
|
2099
2113
|
"default": "summary",
|
|
2100
2114
|
"hasDynamicHelp": false,
|
|
@@ -2105,14 +2119,6 @@
|
|
|
2105
2119
|
],
|
|
2106
2120
|
"type": "option"
|
|
2107
2121
|
},
|
|
2108
|
-
"output": {
|
|
2109
|
-
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
2110
|
-
"name": "output",
|
|
2111
|
-
"required": false,
|
|
2112
|
-
"hasDynamicHelp": false,
|
|
2113
|
-
"multiple": false,
|
|
2114
|
-
"type": "option"
|
|
2115
|
-
},
|
|
2116
2122
|
"workspace": {
|
|
2117
2123
|
"char": "w",
|
|
2118
2124
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2125,7 +2131,7 @@
|
|
|
2125
2131
|
},
|
|
2126
2132
|
"hasDynamicHelp": false,
|
|
2127
2133
|
"hiddenAliases": [],
|
|
2128
|
-
"id": "release:
|
|
2134
|
+
"id": "release:import",
|
|
2129
2135
|
"pluginAlias": "@xano/cli",
|
|
2130
2136
|
"pluginName": "@xano/cli",
|
|
2131
2137
|
"pluginType": "core",
|
|
@@ -2136,23 +2142,17 @@
|
|
|
2136
2142
|
"dist",
|
|
2137
2143
|
"commands",
|
|
2138
2144
|
"release",
|
|
2139
|
-
"
|
|
2145
|
+
"import",
|
|
2140
2146
|
"index.js"
|
|
2141
2147
|
]
|
|
2142
2148
|
},
|
|
2143
|
-
"release:
|
|
2149
|
+
"release:list": {
|
|
2144
2150
|
"aliases": [],
|
|
2145
|
-
"args": {
|
|
2146
|
-
|
|
2147
|
-
"description": "Release name to retrieve",
|
|
2148
|
-
"name": "release_name",
|
|
2149
|
-
"required": true
|
|
2150
|
-
}
|
|
2151
|
-
},
|
|
2152
|
-
"description": "Get details of a specific release",
|
|
2151
|
+
"args": {},
|
|
2152
|
+
"description": "List all releases in a workspace",
|
|
2153
2153
|
"examples": [
|
|
2154
|
-
"$ xano release
|
|
2155
|
-
"$ xano release
|
|
2154
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2155
|
+
"$ xano release list -w 5 --output json"
|
|
2156
2156
|
],
|
|
2157
2157
|
"flags": {
|
|
2158
2158
|
"profile": {
|
|
@@ -2200,7 +2200,7 @@
|
|
|
2200
2200
|
},
|
|
2201
2201
|
"hasDynamicHelp": false,
|
|
2202
2202
|
"hiddenAliases": [],
|
|
2203
|
-
"id": "release:
|
|
2203
|
+
"id": "release:list",
|
|
2204
2204
|
"pluginAlias": "@xano/cli",
|
|
2205
2205
|
"pluginName": "@xano/cli",
|
|
2206
2206
|
"pluginType": "core",
|
|
@@ -2211,7 +2211,7 @@
|
|
|
2211
2211
|
"dist",
|
|
2212
2212
|
"commands",
|
|
2213
2213
|
"release",
|
|
2214
|
-
"
|
|
2214
|
+
"list",
|
|
2215
2215
|
"index.js"
|
|
2216
2216
|
]
|
|
2217
2217
|
},
|
|
@@ -2418,19 +2418,15 @@
|
|
|
2418
2418
|
"index.js"
|
|
2419
2419
|
]
|
|
2420
2420
|
},
|
|
2421
|
-
"
|
|
2421
|
+
"static_host:list": {
|
|
2422
2422
|
"aliases": [],
|
|
2423
|
-
"args": {
|
|
2424
|
-
|
|
2425
|
-
"description": "Display name for the tenant",
|
|
2426
|
-
"name": "display",
|
|
2427
|
-
"required": true
|
|
2428
|
-
}
|
|
2429
|
-
},
|
|
2430
|
-
"description": "Create a new tenant in a workspace",
|
|
2423
|
+
"args": {},
|
|
2424
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
2431
2425
|
"examples": [
|
|
2432
|
-
"$ xano
|
|
2433
|
-
"$ xano
|
|
2426
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2427
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2428
|
+
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
2429
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2434
2430
|
],
|
|
2435
2431
|
"flags": {
|
|
2436
2432
|
"profile": {
|
|
@@ -2452,57 +2448,6 @@
|
|
|
2452
2448
|
"allowNo": false,
|
|
2453
2449
|
"type": "boolean"
|
|
2454
2450
|
},
|
|
2455
|
-
"cluster_id": {
|
|
2456
|
-
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2457
|
-
"name": "cluster_id",
|
|
2458
|
-
"required": false,
|
|
2459
|
-
"hasDynamicHelp": false,
|
|
2460
|
-
"multiple": false,
|
|
2461
|
-
"type": "option"
|
|
2462
|
-
},
|
|
2463
|
-
"description": {
|
|
2464
|
-
"char": "d",
|
|
2465
|
-
"description": "Tenant description",
|
|
2466
|
-
"name": "description",
|
|
2467
|
-
"required": false,
|
|
2468
|
-
"hasDynamicHelp": false,
|
|
2469
|
-
"multiple": false,
|
|
2470
|
-
"type": "option"
|
|
2471
|
-
},
|
|
2472
|
-
"domain": {
|
|
2473
|
-
"description": "Custom domain for the tenant",
|
|
2474
|
-
"name": "domain",
|
|
2475
|
-
"required": false,
|
|
2476
|
-
"hasDynamicHelp": false,
|
|
2477
|
-
"multiple": false,
|
|
2478
|
-
"type": "option"
|
|
2479
|
-
},
|
|
2480
|
-
"ephemeral": {
|
|
2481
|
-
"description": "Mark tenant as ephemeral (allows push operations)",
|
|
2482
|
-
"name": "ephemeral",
|
|
2483
|
-
"allowNo": false,
|
|
2484
|
-
"type": "boolean"
|
|
2485
|
-
},
|
|
2486
|
-
"ingress": {
|
|
2487
|
-
"description": "Enable ingress",
|
|
2488
|
-
"name": "ingress",
|
|
2489
|
-
"allowNo": true,
|
|
2490
|
-
"type": "boolean"
|
|
2491
|
-
},
|
|
2492
|
-
"license": {
|
|
2493
|
-
"description": "License tier",
|
|
2494
|
-
"name": "license",
|
|
2495
|
-
"required": false,
|
|
2496
|
-
"default": "tier1",
|
|
2497
|
-
"hasDynamicHelp": false,
|
|
2498
|
-
"multiple": false,
|
|
2499
|
-
"options": [
|
|
2500
|
-
"tier1",
|
|
2501
|
-
"tier2",
|
|
2502
|
-
"tier3"
|
|
2503
|
-
],
|
|
2504
|
-
"type": "option"
|
|
2505
|
-
},
|
|
2506
2451
|
"output": {
|
|
2507
2452
|
"char": "o",
|
|
2508
2453
|
"description": "Output format",
|
|
@@ -2517,23 +2462,27 @@
|
|
|
2517
2462
|
],
|
|
2518
2463
|
"type": "option"
|
|
2519
2464
|
},
|
|
2520
|
-
"
|
|
2521
|
-
"description": "
|
|
2522
|
-
"name": "
|
|
2465
|
+
"page": {
|
|
2466
|
+
"description": "Page number for pagination",
|
|
2467
|
+
"name": "page",
|
|
2523
2468
|
"required": false,
|
|
2469
|
+
"default": 1,
|
|
2524
2470
|
"hasDynamicHelp": false,
|
|
2525
2471
|
"multiple": false,
|
|
2526
2472
|
"type": "option"
|
|
2527
2473
|
},
|
|
2528
|
-
"
|
|
2529
|
-
"description": "
|
|
2530
|
-
"name": "
|
|
2531
|
-
"
|
|
2532
|
-
"
|
|
2474
|
+
"per_page": {
|
|
2475
|
+
"description": "Number of results per page",
|
|
2476
|
+
"name": "per_page",
|
|
2477
|
+
"required": false,
|
|
2478
|
+
"default": 50,
|
|
2479
|
+
"hasDynamicHelp": false,
|
|
2480
|
+
"multiple": false,
|
|
2481
|
+
"type": "option"
|
|
2533
2482
|
},
|
|
2534
2483
|
"workspace": {
|
|
2535
2484
|
"char": "w",
|
|
2536
|
-
"description": "Workspace ID (
|
|
2485
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2537
2486
|
"name": "workspace",
|
|
2538
2487
|
"required": false,
|
|
2539
2488
|
"hasDynamicHelp": false,
|
|
@@ -2543,7 +2492,7 @@
|
|
|
2543
2492
|
},
|
|
2544
2493
|
"hasDynamicHelp": false,
|
|
2545
2494
|
"hiddenAliases": [],
|
|
2546
|
-
"id": "
|
|
2495
|
+
"id": "static_host:list",
|
|
2547
2496
|
"pluginAlias": "@xano/cli",
|
|
2548
2497
|
"pluginName": "@xano/cli",
|
|
2549
2498
|
"pluginType": "core",
|
|
@@ -2553,20 +2502,19 @@
|
|
|
2553
2502
|
"relativePath": [
|
|
2554
2503
|
"dist",
|
|
2555
2504
|
"commands",
|
|
2556
|
-
"
|
|
2557
|
-
"
|
|
2505
|
+
"static_host",
|
|
2506
|
+
"list",
|
|
2558
2507
|
"index.js"
|
|
2559
2508
|
]
|
|
2560
2509
|
},
|
|
2561
|
-
"
|
|
2510
|
+
"unit_test:list": {
|
|
2562
2511
|
"aliases": [],
|
|
2563
2512
|
"args": {},
|
|
2564
|
-
"description": "List all
|
|
2513
|
+
"description": "List all unit tests in a workspace",
|
|
2565
2514
|
"examples": [
|
|
2566
|
-
"$ xano
|
|
2567
|
-
"$ xano
|
|
2568
|
-
"$ xano
|
|
2569
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2515
|
+
"$ xano unit-test list\nUnit tests in workspace 5:\n - my-test (ID: abc-123) [function: math]\n - auth-check (ID: def-456) [query: /user/login]\n",
|
|
2516
|
+
"$ xano unit-test list -w 5 --output json",
|
|
2517
|
+
"$ xano unit-test list --obj-type function"
|
|
2570
2518
|
],
|
|
2571
2519
|
"flags": {
|
|
2572
2520
|
"profile": {
|
|
@@ -2588,41 +2536,45 @@
|
|
|
2588
2536
|
"allowNo": false,
|
|
2589
2537
|
"type": "boolean"
|
|
2590
2538
|
},
|
|
2591
|
-
"
|
|
2592
|
-
"char": "
|
|
2593
|
-
"description": "
|
|
2594
|
-
"name": "
|
|
2539
|
+
"branch": {
|
|
2540
|
+
"char": "b",
|
|
2541
|
+
"description": "Filter by branch name",
|
|
2542
|
+
"name": "branch",
|
|
2595
2543
|
"required": false,
|
|
2596
|
-
"default": "summary",
|
|
2597
2544
|
"hasDynamicHelp": false,
|
|
2598
2545
|
"multiple": false,
|
|
2599
|
-
"options": [
|
|
2600
|
-
"summary",
|
|
2601
|
-
"json"
|
|
2602
|
-
],
|
|
2603
2546
|
"type": "option"
|
|
2604
2547
|
},
|
|
2605
|
-
"
|
|
2606
|
-
"description": "
|
|
2607
|
-
"name": "
|
|
2548
|
+
"obj-type": {
|
|
2549
|
+
"description": "Filter by object type",
|
|
2550
|
+
"name": "obj-type",
|
|
2608
2551
|
"required": false,
|
|
2609
|
-
"default": 1,
|
|
2610
2552
|
"hasDynamicHelp": false,
|
|
2611
2553
|
"multiple": false,
|
|
2554
|
+
"options": [
|
|
2555
|
+
"function",
|
|
2556
|
+
"query",
|
|
2557
|
+
"middleware"
|
|
2558
|
+
],
|
|
2612
2559
|
"type": "option"
|
|
2613
2560
|
},
|
|
2614
|
-
"
|
|
2615
|
-
"
|
|
2616
|
-
"
|
|
2561
|
+
"output": {
|
|
2562
|
+
"char": "o",
|
|
2563
|
+
"description": "Output format",
|
|
2564
|
+
"name": "output",
|
|
2617
2565
|
"required": false,
|
|
2618
|
-
"default":
|
|
2566
|
+
"default": "summary",
|
|
2619
2567
|
"hasDynamicHelp": false,
|
|
2620
2568
|
"multiple": false,
|
|
2569
|
+
"options": [
|
|
2570
|
+
"summary",
|
|
2571
|
+
"json"
|
|
2572
|
+
],
|
|
2621
2573
|
"type": "option"
|
|
2622
2574
|
},
|
|
2623
2575
|
"workspace": {
|
|
2624
2576
|
"char": "w",
|
|
2625
|
-
"description": "Workspace ID (
|
|
2577
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2626
2578
|
"name": "workspace",
|
|
2627
2579
|
"required": false,
|
|
2628
2580
|
"hasDynamicHelp": false,
|
|
@@ -2632,7 +2584,7 @@
|
|
|
2632
2584
|
},
|
|
2633
2585
|
"hasDynamicHelp": false,
|
|
2634
2586
|
"hiddenAliases": [],
|
|
2635
|
-
"id": "
|
|
2587
|
+
"id": "unit_test:list",
|
|
2636
2588
|
"pluginAlias": "@xano/cli",
|
|
2637
2589
|
"pluginName": "@xano/cli",
|
|
2638
2590
|
"pluginType": "core",
|
|
@@ -2642,25 +2594,24 @@
|
|
|
2642
2594
|
"relativePath": [
|
|
2643
2595
|
"dist",
|
|
2644
2596
|
"commands",
|
|
2645
|
-
"
|
|
2597
|
+
"unit_test",
|
|
2646
2598
|
"list",
|
|
2647
2599
|
"index.js"
|
|
2648
2600
|
]
|
|
2649
2601
|
},
|
|
2650
|
-
"
|
|
2602
|
+
"unit_test:run": {
|
|
2651
2603
|
"aliases": [],
|
|
2652
2604
|
"args": {
|
|
2653
|
-
"
|
|
2654
|
-
"description": "
|
|
2655
|
-
"name": "
|
|
2605
|
+
"unit_test_id": {
|
|
2606
|
+
"description": "ID of the unit test to run",
|
|
2607
|
+
"name": "unit_test_id",
|
|
2656
2608
|
"required": true
|
|
2657
2609
|
}
|
|
2658
2610
|
},
|
|
2659
|
-
"description": "
|
|
2611
|
+
"description": "Run a unit test",
|
|
2660
2612
|
"examples": [
|
|
2661
|
-
"$ xano
|
|
2662
|
-
"$ xano
|
|
2663
|
-
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2613
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
2614
|
+
"$ xano unit-test run abc-123 -o json"
|
|
2664
2615
|
],
|
|
2665
2616
|
"flags": {
|
|
2666
2617
|
"profile": {
|
|
@@ -2682,14 +2633,6 @@
|
|
|
2682
2633
|
"allowNo": false,
|
|
2683
2634
|
"type": "boolean"
|
|
2684
2635
|
},
|
|
2685
|
-
"force": {
|
|
2686
|
-
"char": "f",
|
|
2687
|
-
"description": "Skip confirmation prompt",
|
|
2688
|
-
"name": "force",
|
|
2689
|
-
"required": false,
|
|
2690
|
-
"allowNo": false,
|
|
2691
|
-
"type": "boolean"
|
|
2692
|
-
},
|
|
2693
2636
|
"output": {
|
|
2694
2637
|
"char": "o",
|
|
2695
2638
|
"description": "Output format",
|
|
@@ -2716,7 +2659,7 @@
|
|
|
2716
2659
|
},
|
|
2717
2660
|
"hasDynamicHelp": false,
|
|
2718
2661
|
"hiddenAliases": [],
|
|
2719
|
-
"id": "
|
|
2662
|
+
"id": "unit_test:run",
|
|
2720
2663
|
"pluginAlias": "@xano/cli",
|
|
2721
2664
|
"pluginName": "@xano/cli",
|
|
2722
2665
|
"pluginType": "core",
|
|
@@ -2726,24 +2669,18 @@
|
|
|
2726
2669
|
"relativePath": [
|
|
2727
2670
|
"dist",
|
|
2728
2671
|
"commands",
|
|
2729
|
-
"
|
|
2730
|
-
"
|
|
2672
|
+
"unit_test",
|
|
2673
|
+
"run",
|
|
2731
2674
|
"index.js"
|
|
2732
2675
|
]
|
|
2733
2676
|
},
|
|
2734
|
-
"
|
|
2677
|
+
"unit_test:run_all": {
|
|
2735
2678
|
"aliases": [],
|
|
2736
|
-
"args": {
|
|
2737
|
-
|
|
2738
|
-
"description": "Tenant name to deploy to",
|
|
2739
|
-
"name": "tenant_name",
|
|
2740
|
-
"required": true
|
|
2741
|
-
}
|
|
2742
|
-
},
|
|
2743
|
-
"description": "Deploy a platform version to a tenant",
|
|
2679
|
+
"args": {},
|
|
2680
|
+
"description": "Run all unit tests in a workspace",
|
|
2744
2681
|
"examples": [
|
|
2745
|
-
"$ xano
|
|
2746
|
-
"$ xano
|
|
2682
|
+
"$ xano unit-test run-all\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nPASS auth-check [query: /user/login]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 2 passed, 1 failed\n",
|
|
2683
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
2747
2684
|
],
|
|
2748
2685
|
"flags": {
|
|
2749
2686
|
"profile": {
|
|
@@ -2765,6 +2702,28 @@
|
|
|
2765
2702
|
"allowNo": false,
|
|
2766
2703
|
"type": "boolean"
|
|
2767
2704
|
},
|
|
2705
|
+
"branch": {
|
|
2706
|
+
"char": "b",
|
|
2707
|
+
"description": "Filter by branch name",
|
|
2708
|
+
"name": "branch",
|
|
2709
|
+
"required": false,
|
|
2710
|
+
"hasDynamicHelp": false,
|
|
2711
|
+
"multiple": false,
|
|
2712
|
+
"type": "option"
|
|
2713
|
+
},
|
|
2714
|
+
"obj-type": {
|
|
2715
|
+
"description": "Filter by object type",
|
|
2716
|
+
"name": "obj-type",
|
|
2717
|
+
"required": false,
|
|
2718
|
+
"hasDynamicHelp": false,
|
|
2719
|
+
"multiple": false,
|
|
2720
|
+
"options": [
|
|
2721
|
+
"function",
|
|
2722
|
+
"query",
|
|
2723
|
+
"middleware"
|
|
2724
|
+
],
|
|
2725
|
+
"type": "option"
|
|
2726
|
+
},
|
|
2768
2727
|
"output": {
|
|
2769
2728
|
"char": "o",
|
|
2770
2729
|
"description": "Output format",
|
|
@@ -2779,14 +2738,6 @@
|
|
|
2779
2738
|
],
|
|
2780
2739
|
"type": "option"
|
|
2781
2740
|
},
|
|
2782
|
-
"platform_id": {
|
|
2783
|
-
"description": "Platform ID to deploy",
|
|
2784
|
-
"name": "platform_id",
|
|
2785
|
-
"required": true,
|
|
2786
|
-
"hasDynamicHelp": false,
|
|
2787
|
-
"multiple": false,
|
|
2788
|
-
"type": "option"
|
|
2789
|
-
},
|
|
2790
2741
|
"workspace": {
|
|
2791
2742
|
"char": "w",
|
|
2792
2743
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2799,7 +2750,7 @@
|
|
|
2799
2750
|
},
|
|
2800
2751
|
"hasDynamicHelp": false,
|
|
2801
2752
|
"hiddenAliases": [],
|
|
2802
|
-
"id": "
|
|
2753
|
+
"id": "unit_test:run_all",
|
|
2803
2754
|
"pluginAlias": "@xano/cli",
|
|
2804
2755
|
"pluginName": "@xano/cli",
|
|
2805
2756
|
"pluginType": "core",
|
|
@@ -2809,24 +2760,24 @@
|
|
|
2809
2760
|
"relativePath": [
|
|
2810
2761
|
"dist",
|
|
2811
2762
|
"commands",
|
|
2812
|
-
"
|
|
2813
|
-
"
|
|
2763
|
+
"unit_test",
|
|
2764
|
+
"run_all",
|
|
2814
2765
|
"index.js"
|
|
2815
2766
|
]
|
|
2816
2767
|
},
|
|
2817
|
-
"
|
|
2768
|
+
"workflow_test:delete": {
|
|
2818
2769
|
"aliases": [],
|
|
2819
2770
|
"args": {
|
|
2820
|
-
"
|
|
2821
|
-
"description": "
|
|
2822
|
-
"name": "
|
|
2771
|
+
"workflow_test_id": {
|
|
2772
|
+
"description": "ID of the workflow test to delete",
|
|
2773
|
+
"name": "workflow_test_id",
|
|
2823
2774
|
"required": true
|
|
2824
2775
|
}
|
|
2825
2776
|
},
|
|
2826
|
-
"description": "
|
|
2777
|
+
"description": "Delete a workflow test",
|
|
2827
2778
|
"examples": [
|
|
2828
|
-
"$ xano
|
|
2829
|
-
"$ xano
|
|
2779
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
2780
|
+
"$ xano workflow-test delete 1 --force"
|
|
2830
2781
|
],
|
|
2831
2782
|
"flags": {
|
|
2832
2783
|
"profile": {
|
|
@@ -2848,6 +2799,14 @@
|
|
|
2848
2799
|
"allowNo": false,
|
|
2849
2800
|
"type": "boolean"
|
|
2850
2801
|
},
|
|
2802
|
+
"force": {
|
|
2803
|
+
"char": "f",
|
|
2804
|
+
"description": "Skip confirmation prompt",
|
|
2805
|
+
"name": "force",
|
|
2806
|
+
"required": false,
|
|
2807
|
+
"allowNo": false,
|
|
2808
|
+
"type": "boolean"
|
|
2809
|
+
},
|
|
2851
2810
|
"output": {
|
|
2852
2811
|
"char": "o",
|
|
2853
2812
|
"description": "Output format",
|
|
@@ -2862,15 +2821,6 @@
|
|
|
2862
2821
|
],
|
|
2863
2822
|
"type": "option"
|
|
2864
2823
|
},
|
|
2865
|
-
"release": {
|
|
2866
|
-
"char": "r",
|
|
2867
|
-
"description": "Release name to deploy",
|
|
2868
|
-
"name": "release",
|
|
2869
|
-
"required": true,
|
|
2870
|
-
"hasDynamicHelp": false,
|
|
2871
|
-
"multiple": false,
|
|
2872
|
-
"type": "option"
|
|
2873
|
-
},
|
|
2874
2824
|
"workspace": {
|
|
2875
2825
|
"char": "w",
|
|
2876
2826
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2883,7 +2833,7 @@
|
|
|
2883
2833
|
},
|
|
2884
2834
|
"hasDynamicHelp": false,
|
|
2885
2835
|
"hiddenAliases": [],
|
|
2886
|
-
"id": "
|
|
2836
|
+
"id": "workflow_test:delete",
|
|
2887
2837
|
"pluginAlias": "@xano/cli",
|
|
2888
2838
|
"pluginName": "@xano/cli",
|
|
2889
2839
|
"pluginType": "core",
|
|
@@ -2893,24 +2843,25 @@
|
|
|
2893
2843
|
"relativePath": [
|
|
2894
2844
|
"dist",
|
|
2895
2845
|
"commands",
|
|
2896
|
-
"
|
|
2897
|
-
"
|
|
2846
|
+
"workflow_test",
|
|
2847
|
+
"delete",
|
|
2898
2848
|
"index.js"
|
|
2899
2849
|
]
|
|
2900
2850
|
},
|
|
2901
|
-
"
|
|
2851
|
+
"workflow_test:get": {
|
|
2902
2852
|
"aliases": [],
|
|
2903
2853
|
"args": {
|
|
2904
|
-
"
|
|
2905
|
-
"description": "
|
|
2906
|
-
"name": "
|
|
2854
|
+
"workflow_test_id": {
|
|
2855
|
+
"description": "ID of the workflow test",
|
|
2856
|
+
"name": "workflow_test_id",
|
|
2907
2857
|
"required": true
|
|
2908
2858
|
}
|
|
2909
2859
|
},
|
|
2910
|
-
"description": "Get
|
|
2860
|
+
"description": "Get a specific workflow test",
|
|
2911
2861
|
"examples": [
|
|
2912
|
-
"$ xano
|
|
2913
|
-
"$ xano
|
|
2862
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
2863
|
+
"$ xano workflow-test get 1 -o xs",
|
|
2864
|
+
"$ xano workflow-test get 1 -o json"
|
|
2914
2865
|
],
|
|
2915
2866
|
"flags": {
|
|
2916
2867
|
"profile": {
|
|
@@ -2932,6 +2883,13 @@
|
|
|
2932
2883
|
"allowNo": false,
|
|
2933
2884
|
"type": "boolean"
|
|
2934
2885
|
},
|
|
2886
|
+
"include-draft": {
|
|
2887
|
+
"description": "Include draft version",
|
|
2888
|
+
"name": "include-draft",
|
|
2889
|
+
"required": false,
|
|
2890
|
+
"allowNo": false,
|
|
2891
|
+
"type": "boolean"
|
|
2892
|
+
},
|
|
2935
2893
|
"output": {
|
|
2936
2894
|
"char": "o",
|
|
2937
2895
|
"description": "Output format",
|
|
@@ -2942,7 +2900,8 @@
|
|
|
2942
2900
|
"multiple": false,
|
|
2943
2901
|
"options": [
|
|
2944
2902
|
"summary",
|
|
2945
|
-
"json"
|
|
2903
|
+
"json",
|
|
2904
|
+
"xs"
|
|
2946
2905
|
],
|
|
2947
2906
|
"type": "option"
|
|
2948
2907
|
},
|
|
@@ -2958,7 +2917,7 @@
|
|
|
2958
2917
|
},
|
|
2959
2918
|
"hasDynamicHelp": false,
|
|
2960
2919
|
"hiddenAliases": [],
|
|
2961
|
-
"id": "
|
|
2920
|
+
"id": "workflow_test:get",
|
|
2962
2921
|
"pluginAlias": "@xano/cli",
|
|
2963
2922
|
"pluginName": "@xano/cli",
|
|
2964
2923
|
"pluginType": "core",
|
|
@@ -2968,24 +2927,19 @@
|
|
|
2968
2927
|
"relativePath": [
|
|
2969
2928
|
"dist",
|
|
2970
2929
|
"commands",
|
|
2971
|
-
"
|
|
2930
|
+
"workflow_test",
|
|
2972
2931
|
"get",
|
|
2973
2932
|
"index.js"
|
|
2974
2933
|
]
|
|
2975
2934
|
},
|
|
2976
|
-
"
|
|
2935
|
+
"workflow_test:list": {
|
|
2977
2936
|
"aliases": [],
|
|
2978
|
-
"args": {
|
|
2979
|
-
|
|
2980
|
-
"description": "Tenant name to impersonate",
|
|
2981
|
-
"name": "tenant_name",
|
|
2982
|
-
"required": true
|
|
2983
|
-
}
|
|
2984
|
-
},
|
|
2985
|
-
"description": "Impersonate a tenant and open it in the browser",
|
|
2937
|
+
"args": {},
|
|
2938
|
+
"description": "List all workflow tests in a workspace",
|
|
2986
2939
|
"examples": [
|
|
2987
|
-
"$ xano
|
|
2988
|
-
"$ xano
|
|
2940
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
2941
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
2942
|
+
"$ xano workflow-test list --branch main"
|
|
2989
2943
|
],
|
|
2990
2944
|
"flags": {
|
|
2991
2945
|
"profile": {
|
|
@@ -3007,6 +2961,15 @@
|
|
|
3007
2961
|
"allowNo": false,
|
|
3008
2962
|
"type": "boolean"
|
|
3009
2963
|
},
|
|
2964
|
+
"branch": {
|
|
2965
|
+
"char": "b",
|
|
2966
|
+
"description": "Filter by branch name",
|
|
2967
|
+
"name": "branch",
|
|
2968
|
+
"required": false,
|
|
2969
|
+
"hasDynamicHelp": false,
|
|
2970
|
+
"multiple": false,
|
|
2971
|
+
"type": "option"
|
|
2972
|
+
},
|
|
3010
2973
|
"output": {
|
|
3011
2974
|
"char": "o",
|
|
3012
2975
|
"description": "Output format",
|
|
@@ -3021,14 +2984,6 @@
|
|
|
3021
2984
|
],
|
|
3022
2985
|
"type": "option"
|
|
3023
2986
|
},
|
|
3024
|
-
"url-only": {
|
|
3025
|
-
"char": "u",
|
|
3026
|
-
"description": "Print the URL without opening the browser",
|
|
3027
|
-
"name": "url-only",
|
|
3028
|
-
"required": false,
|
|
3029
|
-
"allowNo": false,
|
|
3030
|
-
"type": "boolean"
|
|
3031
|
-
},
|
|
3032
2987
|
"workspace": {
|
|
3033
2988
|
"char": "w",
|
|
3034
2989
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3041,7 +2996,7 @@
|
|
|
3041
2996
|
},
|
|
3042
2997
|
"hasDynamicHelp": false,
|
|
3043
2998
|
"hiddenAliases": [],
|
|
3044
|
-
"id": "
|
|
2999
|
+
"id": "workflow_test:list",
|
|
3045
3000
|
"pluginAlias": "@xano/cli",
|
|
3046
3001
|
"pluginName": "@xano/cli",
|
|
3047
3002
|
"pluginType": "core",
|
|
@@ -3051,26 +3006,24 @@
|
|
|
3051
3006
|
"relativePath": [
|
|
3052
3007
|
"dist",
|
|
3053
3008
|
"commands",
|
|
3054
|
-
"
|
|
3055
|
-
"
|
|
3009
|
+
"workflow_test",
|
|
3010
|
+
"list",
|
|
3056
3011
|
"index.js"
|
|
3057
3012
|
]
|
|
3058
3013
|
},
|
|
3059
|
-
"
|
|
3014
|
+
"workflow_test:run": {
|
|
3060
3015
|
"aliases": [],
|
|
3061
3016
|
"args": {
|
|
3062
|
-
"
|
|
3063
|
-
"description": "
|
|
3064
|
-
"name": "
|
|
3017
|
+
"workflow_test_id": {
|
|
3018
|
+
"description": "ID of the workflow test to run",
|
|
3019
|
+
"name": "workflow_test_id",
|
|
3065
3020
|
"required": true
|
|
3066
3021
|
}
|
|
3067
3022
|
},
|
|
3068
|
-
"description": "
|
|
3023
|
+
"description": "Run a workflow test",
|
|
3069
3024
|
"examples": [
|
|
3070
|
-
"$ xano
|
|
3071
|
-
"$ xano
|
|
3072
|
-
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3073
|
-
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3025
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
3026
|
+
"$ xano workflow-test run 1 -o json"
|
|
3074
3027
|
],
|
|
3075
3028
|
"flags": {
|
|
3076
3029
|
"profile": {
|
|
@@ -3092,39 +3045,23 @@
|
|
|
3092
3045
|
"allowNo": false,
|
|
3093
3046
|
"type": "boolean"
|
|
3094
3047
|
},
|
|
3095
|
-
"
|
|
3096
|
-
"
|
|
3097
|
-
"
|
|
3098
|
-
"
|
|
3099
|
-
"allowNo": false,
|
|
3100
|
-
"type": "boolean"
|
|
3101
|
-
},
|
|
3102
|
-
"env": {
|
|
3103
|
-
"description": "Include environment variables",
|
|
3104
|
-
"name": "env",
|
|
3105
|
-
"required": false,
|
|
3106
|
-
"allowNo": false,
|
|
3107
|
-
"type": "boolean"
|
|
3108
|
-
},
|
|
3109
|
-
"records": {
|
|
3110
|
-
"description": "Include records",
|
|
3111
|
-
"name": "records",
|
|
3048
|
+
"output": {
|
|
3049
|
+
"char": "o",
|
|
3050
|
+
"description": "Output format",
|
|
3051
|
+
"name": "output",
|
|
3112
3052
|
"required": false,
|
|
3113
|
-
"
|
|
3114
|
-
"type": "boolean"
|
|
3115
|
-
},
|
|
3116
|
-
"tenant": {
|
|
3117
|
-
"char": "t",
|
|
3118
|
-
"description": "Tenant name to pull from",
|
|
3119
|
-
"name": "tenant",
|
|
3120
|
-
"required": true,
|
|
3053
|
+
"default": "summary",
|
|
3121
3054
|
"hasDynamicHelp": false,
|
|
3122
3055
|
"multiple": false,
|
|
3056
|
+
"options": [
|
|
3057
|
+
"summary",
|
|
3058
|
+
"json"
|
|
3059
|
+
],
|
|
3123
3060
|
"type": "option"
|
|
3124
3061
|
},
|
|
3125
3062
|
"workspace": {
|
|
3126
3063
|
"char": "w",
|
|
3127
|
-
"description": "Workspace ID (
|
|
3064
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3128
3065
|
"name": "workspace",
|
|
3129
3066
|
"required": false,
|
|
3130
3067
|
"hasDynamicHelp": false,
|
|
@@ -3134,7 +3071,7 @@
|
|
|
3134
3071
|
},
|
|
3135
3072
|
"hasDynamicHelp": false,
|
|
3136
3073
|
"hiddenAliases": [],
|
|
3137
|
-
"id": "
|
|
3074
|
+
"id": "workflow_test:run",
|
|
3138
3075
|
"pluginAlias": "@xano/cli",
|
|
3139
3076
|
"pluginName": "@xano/cli",
|
|
3140
3077
|
"pluginType": "core",
|
|
@@ -3144,24 +3081,18 @@
|
|
|
3144
3081
|
"relativePath": [
|
|
3145
3082
|
"dist",
|
|
3146
3083
|
"commands",
|
|
3147
|
-
"
|
|
3148
|
-
"
|
|
3084
|
+
"workflow_test",
|
|
3085
|
+
"run",
|
|
3149
3086
|
"index.js"
|
|
3150
3087
|
]
|
|
3151
3088
|
},
|
|
3152
|
-
"
|
|
3089
|
+
"workflow_test:run_all": {
|
|
3153
3090
|
"aliases": [],
|
|
3154
|
-
"args": {
|
|
3155
|
-
|
|
3156
|
-
"description": "Tenant name to edit",
|
|
3157
|
-
"name": "tenant_name",
|
|
3158
|
-
"required": true
|
|
3159
|
-
}
|
|
3160
|
-
},
|
|
3161
|
-
"description": "Edit an existing tenant",
|
|
3091
|
+
"args": {},
|
|
3092
|
+
"description": "Run all workflow tests in a workspace",
|
|
3162
3093
|
"examples": [
|
|
3163
|
-
"$ xano
|
|
3164
|
-
"$ xano
|
|
3094
|
+
"$ xano workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (1.234s)\nPASS auth-flow (0.567s)\nFAIL data-validation (0.890s)\n Error: assertion failed at step 3\n\nResults: 2 passed, 1 failed (2.691s total)\n",
|
|
3095
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
3165
3096
|
],
|
|
3166
3097
|
"flags": {
|
|
3167
3098
|
"profile": {
|
|
@@ -3183,129 +3114,15 @@
|
|
|
3183
3114
|
"allowNo": false,
|
|
3184
3115
|
"type": "boolean"
|
|
3185
3116
|
},
|
|
3186
|
-
"
|
|
3187
|
-
"char": "
|
|
3188
|
-
"description": "
|
|
3189
|
-
"name": "
|
|
3117
|
+
"branch": {
|
|
3118
|
+
"char": "b",
|
|
3119
|
+
"description": "Filter by branch name",
|
|
3120
|
+
"name": "branch",
|
|
3190
3121
|
"required": false,
|
|
3191
3122
|
"hasDynamicHelp": false,
|
|
3192
3123
|
"multiple": false,
|
|
3193
3124
|
"type": "option"
|
|
3194
3125
|
},
|
|
3195
|
-
"display": {
|
|
3196
|
-
"description": "New display name",
|
|
3197
|
-
"name": "display",
|
|
3198
|
-
"required": false,
|
|
3199
|
-
"hasDynamicHelp": false,
|
|
3200
|
-
"multiple": false,
|
|
3201
|
-
"type": "option"
|
|
3202
|
-
},
|
|
3203
|
-
"domain": {
|
|
3204
|
-
"description": "Custom domain",
|
|
3205
|
-
"name": "domain",
|
|
3206
|
-
"required": false,
|
|
3207
|
-
"hasDynamicHelp": false,
|
|
3208
|
-
"multiple": false,
|
|
3209
|
-
"type": "option"
|
|
3210
|
-
},
|
|
3211
|
-
"ingress": {
|
|
3212
|
-
"description": "Enable/disable ingress",
|
|
3213
|
-
"name": "ingress",
|
|
3214
|
-
"required": false,
|
|
3215
|
-
"allowNo": true,
|
|
3216
|
-
"type": "boolean"
|
|
3217
|
-
},
|
|
3218
|
-
"output": {
|
|
3219
|
-
"char": "o",
|
|
3220
|
-
"description": "Output format",
|
|
3221
|
-
"name": "output",
|
|
3222
|
-
"required": false,
|
|
3223
|
-
"default": "summary",
|
|
3224
|
-
"hasDynamicHelp": false,
|
|
3225
|
-
"multiple": false,
|
|
3226
|
-
"options": [
|
|
3227
|
-
"summary",
|
|
3228
|
-
"json"
|
|
3229
|
-
],
|
|
3230
|
-
"type": "option"
|
|
3231
|
-
},
|
|
3232
|
-
"proxy": {
|
|
3233
|
-
"description": "Proxy URL",
|
|
3234
|
-
"name": "proxy",
|
|
3235
|
-
"required": false,
|
|
3236
|
-
"hasDynamicHelp": false,
|
|
3237
|
-
"multiple": false,
|
|
3238
|
-
"type": "option"
|
|
3239
|
-
},
|
|
3240
|
-
"rbac": {
|
|
3241
|
-
"description": "Enable/disable RBAC",
|
|
3242
|
-
"name": "rbac",
|
|
3243
|
-
"required": false,
|
|
3244
|
-
"allowNo": true,
|
|
3245
|
-
"type": "boolean"
|
|
3246
|
-
},
|
|
3247
|
-
"tasks": {
|
|
3248
|
-
"description": "Enable/disable background tasks",
|
|
3249
|
-
"name": "tasks",
|
|
3250
|
-
"required": false,
|
|
3251
|
-
"allowNo": true,
|
|
3252
|
-
"type": "boolean"
|
|
3253
|
-
},
|
|
3254
|
-
"workspace": {
|
|
3255
|
-
"char": "w",
|
|
3256
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3257
|
-
"name": "workspace",
|
|
3258
|
-
"required": false,
|
|
3259
|
-
"hasDynamicHelp": false,
|
|
3260
|
-
"multiple": false,
|
|
3261
|
-
"type": "option"
|
|
3262
|
-
}
|
|
3263
|
-
},
|
|
3264
|
-
"hasDynamicHelp": false,
|
|
3265
|
-
"hiddenAliases": [],
|
|
3266
|
-
"id": "tenant:edit",
|
|
3267
|
-
"pluginAlias": "@xano/cli",
|
|
3268
|
-
"pluginName": "@xano/cli",
|
|
3269
|
-
"pluginType": "core",
|
|
3270
|
-
"strict": true,
|
|
3271
|
-
"enableJsonFlag": false,
|
|
3272
|
-
"isESM": true,
|
|
3273
|
-
"relativePath": [
|
|
3274
|
-
"dist",
|
|
3275
|
-
"commands",
|
|
3276
|
-
"tenant",
|
|
3277
|
-
"edit",
|
|
3278
|
-
"index.js"
|
|
3279
|
-
]
|
|
3280
|
-
},
|
|
3281
|
-
"tenant:list": {
|
|
3282
|
-
"aliases": [],
|
|
3283
|
-
"args": {},
|
|
3284
|
-
"description": "List all tenants in a workspace",
|
|
3285
|
-
"examples": [
|
|
3286
|
-
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
|
|
3287
|
-
"$ xano tenant list -w 5 --output json"
|
|
3288
|
-
],
|
|
3289
|
-
"flags": {
|
|
3290
|
-
"profile": {
|
|
3291
|
-
"char": "p",
|
|
3292
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3293
|
-
"env": "XANO_PROFILE",
|
|
3294
|
-
"name": "profile",
|
|
3295
|
-
"required": false,
|
|
3296
|
-
"hasDynamicHelp": false,
|
|
3297
|
-
"multiple": false,
|
|
3298
|
-
"type": "option"
|
|
3299
|
-
},
|
|
3300
|
-
"verbose": {
|
|
3301
|
-
"char": "v",
|
|
3302
|
-
"description": "Show detailed request/response information",
|
|
3303
|
-
"env": "XANO_VERBOSE",
|
|
3304
|
-
"name": "verbose",
|
|
3305
|
-
"required": false,
|
|
3306
|
-
"allowNo": false,
|
|
3307
|
-
"type": "boolean"
|
|
3308
|
-
},
|
|
3309
3126
|
"output": {
|
|
3310
3127
|
"char": "o",
|
|
3311
3128
|
"description": "Output format",
|
|
@@ -3332,7 +3149,7 @@
|
|
|
3332
3149
|
},
|
|
3333
3150
|
"hasDynamicHelp": false,
|
|
3334
3151
|
"hiddenAliases": [],
|
|
3335
|
-
"id": "
|
|
3152
|
+
"id": "workflow_test:run_all",
|
|
3336
3153
|
"pluginAlias": "@xano/cli",
|
|
3337
3154
|
"pluginName": "@xano/cli",
|
|
3338
3155
|
"pluginType": "core",
|
|
@@ -3342,28 +3159,24 @@
|
|
|
3342
3159
|
"relativePath": [
|
|
3343
3160
|
"dist",
|
|
3344
3161
|
"commands",
|
|
3345
|
-
"
|
|
3346
|
-
"
|
|
3162
|
+
"workflow_test",
|
|
3163
|
+
"run_all",
|
|
3347
3164
|
"index.js"
|
|
3348
3165
|
]
|
|
3349
3166
|
},
|
|
3350
|
-
"tenant:
|
|
3167
|
+
"tenant:create": {
|
|
3351
3168
|
"aliases": [],
|
|
3352
3169
|
"args": {
|
|
3353
|
-
"
|
|
3354
|
-
"description": "
|
|
3355
|
-
"name": "
|
|
3170
|
+
"display": {
|
|
3171
|
+
"description": "Display name for the tenant",
|
|
3172
|
+
"name": "display",
|
|
3356
3173
|
"required": true
|
|
3357
3174
|
}
|
|
3358
3175
|
},
|
|
3359
|
-
"description": "
|
|
3176
|
+
"description": "Create a new tenant in a workspace",
|
|
3360
3177
|
"examples": [
|
|
3361
|
-
"$ xano tenant
|
|
3362
|
-
"$ xano tenant
|
|
3363
|
-
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3364
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
3365
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3366
|
-
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3178
|
+
"$ xano tenant create \"Production\"\nCreated tenant: Production (production) - ID: 42\n",
|
|
3179
|
+
"$ xano tenant create \"Staging\" --description \"Staging env\" --cluster_id 1 --platform_id 1 --license tier2 -o json"
|
|
3367
3180
|
],
|
|
3368
3181
|
"flags": {
|
|
3369
3182
|
"profile": {
|
|
@@ -3385,111 +3198,54 @@
|
|
|
3385
3198
|
"allowNo": false,
|
|
3386
3199
|
"type": "boolean"
|
|
3387
3200
|
},
|
|
3388
|
-
"
|
|
3389
|
-
"description": "
|
|
3390
|
-
"name": "
|
|
3391
|
-
"required": false,
|
|
3392
|
-
"allowNo": true,
|
|
3393
|
-
"type": "boolean"
|
|
3394
|
-
},
|
|
3395
|
-
"records": {
|
|
3396
|
-
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
3397
|
-
"name": "records",
|
|
3201
|
+
"cluster_id": {
|
|
3202
|
+
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
3203
|
+
"name": "cluster_id",
|
|
3398
3204
|
"required": false,
|
|
3399
|
-
"allowNo": true,
|
|
3400
|
-
"type": "boolean"
|
|
3401
|
-
},
|
|
3402
|
-
"tenant": {
|
|
3403
|
-
"char": "t",
|
|
3404
|
-
"description": "Tenant name to push to",
|
|
3405
|
-
"name": "tenant",
|
|
3406
|
-
"required": true,
|
|
3407
3205
|
"hasDynamicHelp": false,
|
|
3408
3206
|
"multiple": false,
|
|
3409
3207
|
"type": "option"
|
|
3410
3208
|
},
|
|
3411
|
-
"
|
|
3412
|
-
"
|
|
3413
|
-
"
|
|
3414
|
-
"
|
|
3415
|
-
"allowNo": false,
|
|
3416
|
-
"type": "boolean"
|
|
3417
|
-
},
|
|
3418
|
-
"workspace": {
|
|
3419
|
-
"char": "w",
|
|
3420
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
3421
|
-
"name": "workspace",
|
|
3209
|
+
"description": {
|
|
3210
|
+
"char": "d",
|
|
3211
|
+
"description": "Tenant description",
|
|
3212
|
+
"name": "description",
|
|
3422
3213
|
"required": false,
|
|
3423
3214
|
"hasDynamicHelp": false,
|
|
3424
3215
|
"multiple": false,
|
|
3425
3216
|
"type": "option"
|
|
3426
|
-
}
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
"id": "tenant:push",
|
|
3431
|
-
"pluginAlias": "@xano/cli",
|
|
3432
|
-
"pluginName": "@xano/cli",
|
|
3433
|
-
"pluginType": "core",
|
|
3434
|
-
"strict": true,
|
|
3435
|
-
"enableJsonFlag": false,
|
|
3436
|
-
"isESM": true,
|
|
3437
|
-
"relativePath": [
|
|
3438
|
-
"dist",
|
|
3439
|
-
"commands",
|
|
3440
|
-
"tenant",
|
|
3441
|
-
"push",
|
|
3442
|
-
"index.js"
|
|
3443
|
-
]
|
|
3444
|
-
},
|
|
3445
|
-
"unit_test:list": {
|
|
3446
|
-
"aliases": [],
|
|
3447
|
-
"args": {},
|
|
3448
|
-
"description": "List all unit tests in a workspace",
|
|
3449
|
-
"examples": [
|
|
3450
|
-
"$ xano unit-test list\nUnit tests in workspace 5:\n - my-test (ID: abc-123) [function: math]\n - auth-check (ID: def-456) [query: /user/login]\n",
|
|
3451
|
-
"$ xano unit-test list -w 5 --output json",
|
|
3452
|
-
"$ xano unit-test list --obj-type function"
|
|
3453
|
-
],
|
|
3454
|
-
"flags": {
|
|
3455
|
-
"profile": {
|
|
3456
|
-
"char": "p",
|
|
3457
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3458
|
-
"env": "XANO_PROFILE",
|
|
3459
|
-
"name": "profile",
|
|
3217
|
+
},
|
|
3218
|
+
"domain": {
|
|
3219
|
+
"description": "Custom domain for the tenant",
|
|
3220
|
+
"name": "domain",
|
|
3460
3221
|
"required": false,
|
|
3461
3222
|
"hasDynamicHelp": false,
|
|
3462
3223
|
"multiple": false,
|
|
3463
3224
|
"type": "option"
|
|
3464
3225
|
},
|
|
3465
|
-
"
|
|
3466
|
-
"
|
|
3467
|
-
"
|
|
3468
|
-
"env": "XANO_VERBOSE",
|
|
3469
|
-
"name": "verbose",
|
|
3470
|
-
"required": false,
|
|
3226
|
+
"ephemeral": {
|
|
3227
|
+
"description": "Mark tenant as ephemeral (allows push operations)",
|
|
3228
|
+
"name": "ephemeral",
|
|
3471
3229
|
"allowNo": false,
|
|
3472
3230
|
"type": "boolean"
|
|
3473
3231
|
},
|
|
3474
|
-
"
|
|
3475
|
-
"
|
|
3476
|
-
"
|
|
3477
|
-
"
|
|
3478
|
-
"
|
|
3479
|
-
"hasDynamicHelp": false,
|
|
3480
|
-
"multiple": false,
|
|
3481
|
-
"type": "option"
|
|
3232
|
+
"ingress": {
|
|
3233
|
+
"description": "Enable ingress",
|
|
3234
|
+
"name": "ingress",
|
|
3235
|
+
"allowNo": true,
|
|
3236
|
+
"type": "boolean"
|
|
3482
3237
|
},
|
|
3483
|
-
"
|
|
3484
|
-
"description": "
|
|
3485
|
-
"name": "
|
|
3238
|
+
"license": {
|
|
3239
|
+
"description": "License tier",
|
|
3240
|
+
"name": "license",
|
|
3486
3241
|
"required": false,
|
|
3242
|
+
"default": "tier1",
|
|
3487
3243
|
"hasDynamicHelp": false,
|
|
3488
3244
|
"multiple": false,
|
|
3489
3245
|
"options": [
|
|
3490
|
-
"
|
|
3491
|
-
"
|
|
3492
|
-
"
|
|
3246
|
+
"tier1",
|
|
3247
|
+
"tier2",
|
|
3248
|
+
"tier3"
|
|
3493
3249
|
],
|
|
3494
3250
|
"type": "option"
|
|
3495
3251
|
},
|
|
@@ -3507,6 +3263,20 @@
|
|
|
3507
3263
|
],
|
|
3508
3264
|
"type": "option"
|
|
3509
3265
|
},
|
|
3266
|
+
"platform_id": {
|
|
3267
|
+
"description": "Platform ID to use",
|
|
3268
|
+
"name": "platform_id",
|
|
3269
|
+
"required": false,
|
|
3270
|
+
"hasDynamicHelp": false,
|
|
3271
|
+
"multiple": false,
|
|
3272
|
+
"type": "option"
|
|
3273
|
+
},
|
|
3274
|
+
"tasks": {
|
|
3275
|
+
"description": "Enable background tasks",
|
|
3276
|
+
"name": "tasks",
|
|
3277
|
+
"allowNo": true,
|
|
3278
|
+
"type": "boolean"
|
|
3279
|
+
},
|
|
3510
3280
|
"workspace": {
|
|
3511
3281
|
"char": "w",
|
|
3512
3282
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3519,7 +3289,7 @@
|
|
|
3519
3289
|
},
|
|
3520
3290
|
"hasDynamicHelp": false,
|
|
3521
3291
|
"hiddenAliases": [],
|
|
3522
|
-
"id": "
|
|
3292
|
+
"id": "tenant:create",
|
|
3523
3293
|
"pluginAlias": "@xano/cli",
|
|
3524
3294
|
"pluginName": "@xano/cli",
|
|
3525
3295
|
"pluginType": "core",
|
|
@@ -3529,24 +3299,25 @@
|
|
|
3529
3299
|
"relativePath": [
|
|
3530
3300
|
"dist",
|
|
3531
3301
|
"commands",
|
|
3532
|
-
"
|
|
3533
|
-
"
|
|
3302
|
+
"tenant",
|
|
3303
|
+
"create",
|
|
3534
3304
|
"index.js"
|
|
3535
3305
|
]
|
|
3536
3306
|
},
|
|
3537
|
-
"
|
|
3307
|
+
"tenant:delete": {
|
|
3538
3308
|
"aliases": [],
|
|
3539
3309
|
"args": {
|
|
3540
|
-
"
|
|
3541
|
-
"description": "
|
|
3542
|
-
"name": "
|
|
3310
|
+
"tenant_name": {
|
|
3311
|
+
"description": "Tenant name to delete",
|
|
3312
|
+
"name": "tenant_name",
|
|
3543
3313
|
"required": true
|
|
3544
3314
|
}
|
|
3545
3315
|
},
|
|
3546
|
-
"description": "
|
|
3316
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
3547
3317
|
"examples": [
|
|
3548
|
-
"$ xano
|
|
3549
|
-
"$ xano
|
|
3318
|
+
"$ xano tenant delete t1234-abcd-xyz1\nAre you sure you want to delete tenant t1234-abcd-xyz1? This action cannot be undone. (y/N) y\nDeleted tenant t1234-abcd-xyz1\n",
|
|
3319
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
3320
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
3550
3321
|
],
|
|
3551
3322
|
"flags": {
|
|
3552
3323
|
"profile": {
|
|
@@ -3568,6 +3339,14 @@
|
|
|
3568
3339
|
"allowNo": false,
|
|
3569
3340
|
"type": "boolean"
|
|
3570
3341
|
},
|
|
3342
|
+
"force": {
|
|
3343
|
+
"char": "f",
|
|
3344
|
+
"description": "Skip confirmation prompt",
|
|
3345
|
+
"name": "force",
|
|
3346
|
+
"required": false,
|
|
3347
|
+
"allowNo": false,
|
|
3348
|
+
"type": "boolean"
|
|
3349
|
+
},
|
|
3571
3350
|
"output": {
|
|
3572
3351
|
"char": "o",
|
|
3573
3352
|
"description": "Output format",
|
|
@@ -3594,7 +3373,7 @@
|
|
|
3594
3373
|
},
|
|
3595
3374
|
"hasDynamicHelp": false,
|
|
3596
3375
|
"hiddenAliases": [],
|
|
3597
|
-
"id": "
|
|
3376
|
+
"id": "tenant:delete",
|
|
3598
3377
|
"pluginAlias": "@xano/cli",
|
|
3599
3378
|
"pluginName": "@xano/cli",
|
|
3600
3379
|
"pluginType": "core",
|
|
@@ -3604,61 +3383,45 @@
|
|
|
3604
3383
|
"relativePath": [
|
|
3605
3384
|
"dist",
|
|
3606
3385
|
"commands",
|
|
3607
|
-
"
|
|
3608
|
-
"
|
|
3386
|
+
"tenant",
|
|
3387
|
+
"delete",
|
|
3609
3388
|
"index.js"
|
|
3610
3389
|
]
|
|
3611
3390
|
},
|
|
3612
|
-
"
|
|
3391
|
+
"tenant:deploy_platform": {
|
|
3613
3392
|
"aliases": [],
|
|
3614
|
-
"args": {
|
|
3615
|
-
|
|
3393
|
+
"args": {
|
|
3394
|
+
"tenant_name": {
|
|
3395
|
+
"description": "Tenant name to deploy to",
|
|
3396
|
+
"name": "tenant_name",
|
|
3397
|
+
"required": true
|
|
3398
|
+
}
|
|
3399
|
+
},
|
|
3400
|
+
"description": "Deploy a platform version to a tenant",
|
|
3616
3401
|
"examples": [
|
|
3617
|
-
"$ xano
|
|
3618
|
-
"$ xano
|
|
3402
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
3403
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
|
|
3619
3404
|
],
|
|
3620
3405
|
"flags": {
|
|
3621
3406
|
"profile": {
|
|
3622
3407
|
"char": "p",
|
|
3623
3408
|
"description": "Profile to use (uses default profile if not specified)",
|
|
3624
3409
|
"env": "XANO_PROFILE",
|
|
3625
|
-
"name": "profile",
|
|
3626
|
-
"required": false,
|
|
3627
|
-
"hasDynamicHelp": false,
|
|
3628
|
-
"multiple": false,
|
|
3629
|
-
"type": "option"
|
|
3630
|
-
},
|
|
3631
|
-
"verbose": {
|
|
3632
|
-
"char": "v",
|
|
3633
|
-
"description": "Show detailed request/response information",
|
|
3634
|
-
"env": "XANO_VERBOSE",
|
|
3635
|
-
"name": "verbose",
|
|
3636
|
-
"required": false,
|
|
3637
|
-
"allowNo": false,
|
|
3638
|
-
"type": "boolean"
|
|
3639
|
-
},
|
|
3640
|
-
"branch": {
|
|
3641
|
-
"char": "b",
|
|
3642
|
-
"description": "Filter by branch name",
|
|
3643
|
-
"name": "branch",
|
|
3644
|
-
"required": false,
|
|
3645
|
-
"hasDynamicHelp": false,
|
|
3646
|
-
"multiple": false,
|
|
3647
|
-
"type": "option"
|
|
3648
|
-
},
|
|
3649
|
-
"obj-type": {
|
|
3650
|
-
"description": "Filter by object type",
|
|
3651
|
-
"name": "obj-type",
|
|
3652
|
-
"required": false,
|
|
3653
|
-
"hasDynamicHelp": false,
|
|
3654
|
-
"multiple": false,
|
|
3655
|
-
"options": [
|
|
3656
|
-
"function",
|
|
3657
|
-
"query",
|
|
3658
|
-
"middleware"
|
|
3659
|
-
],
|
|
3410
|
+
"name": "profile",
|
|
3411
|
+
"required": false,
|
|
3412
|
+
"hasDynamicHelp": false,
|
|
3413
|
+
"multiple": false,
|
|
3660
3414
|
"type": "option"
|
|
3661
3415
|
},
|
|
3416
|
+
"verbose": {
|
|
3417
|
+
"char": "v",
|
|
3418
|
+
"description": "Show detailed request/response information",
|
|
3419
|
+
"env": "XANO_VERBOSE",
|
|
3420
|
+
"name": "verbose",
|
|
3421
|
+
"required": false,
|
|
3422
|
+
"allowNo": false,
|
|
3423
|
+
"type": "boolean"
|
|
3424
|
+
},
|
|
3662
3425
|
"output": {
|
|
3663
3426
|
"char": "o",
|
|
3664
3427
|
"description": "Output format",
|
|
@@ -3673,6 +3436,14 @@
|
|
|
3673
3436
|
],
|
|
3674
3437
|
"type": "option"
|
|
3675
3438
|
},
|
|
3439
|
+
"platform_id": {
|
|
3440
|
+
"description": "Platform ID to deploy",
|
|
3441
|
+
"name": "platform_id",
|
|
3442
|
+
"required": true,
|
|
3443
|
+
"hasDynamicHelp": false,
|
|
3444
|
+
"multiple": false,
|
|
3445
|
+
"type": "option"
|
|
3446
|
+
},
|
|
3676
3447
|
"workspace": {
|
|
3677
3448
|
"char": "w",
|
|
3678
3449
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3685,7 +3456,7 @@
|
|
|
3685
3456
|
},
|
|
3686
3457
|
"hasDynamicHelp": false,
|
|
3687
3458
|
"hiddenAliases": [],
|
|
3688
|
-
"id": "
|
|
3459
|
+
"id": "tenant:deploy_platform",
|
|
3689
3460
|
"pluginAlias": "@xano/cli",
|
|
3690
3461
|
"pluginName": "@xano/cli",
|
|
3691
3462
|
"pluginType": "core",
|
|
@@ -3695,19 +3466,24 @@
|
|
|
3695
3466
|
"relativePath": [
|
|
3696
3467
|
"dist",
|
|
3697
3468
|
"commands",
|
|
3698
|
-
"
|
|
3699
|
-
"
|
|
3469
|
+
"tenant",
|
|
3470
|
+
"deploy_platform",
|
|
3700
3471
|
"index.js"
|
|
3701
3472
|
]
|
|
3702
3473
|
},
|
|
3703
|
-
"
|
|
3474
|
+
"tenant:deploy_release": {
|
|
3704
3475
|
"aliases": [],
|
|
3705
|
-
"args": {
|
|
3706
|
-
|
|
3476
|
+
"args": {
|
|
3477
|
+
"tenant_name": {
|
|
3478
|
+
"description": "Tenant name to deploy to",
|
|
3479
|
+
"name": "tenant_name",
|
|
3480
|
+
"required": true
|
|
3481
|
+
}
|
|
3482
|
+
},
|
|
3483
|
+
"description": "Deploy a release to a tenant",
|
|
3707
3484
|
"examples": [
|
|
3708
|
-
"$ xano
|
|
3709
|
-
"$ xano
|
|
3710
|
-
"$ xano workflow-test list --branch main"
|
|
3485
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
3486
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
3711
3487
|
],
|
|
3712
3488
|
"flags": {
|
|
3713
3489
|
"profile": {
|
|
@@ -3729,15 +3505,6 @@
|
|
|
3729
3505
|
"allowNo": false,
|
|
3730
3506
|
"type": "boolean"
|
|
3731
3507
|
},
|
|
3732
|
-
"branch": {
|
|
3733
|
-
"char": "b",
|
|
3734
|
-
"description": "Filter by branch name",
|
|
3735
|
-
"name": "branch",
|
|
3736
|
-
"required": false,
|
|
3737
|
-
"hasDynamicHelp": false,
|
|
3738
|
-
"multiple": false,
|
|
3739
|
-
"type": "option"
|
|
3740
|
-
},
|
|
3741
3508
|
"output": {
|
|
3742
3509
|
"char": "o",
|
|
3743
3510
|
"description": "Output format",
|
|
@@ -3752,6 +3519,15 @@
|
|
|
3752
3519
|
],
|
|
3753
3520
|
"type": "option"
|
|
3754
3521
|
},
|
|
3522
|
+
"release": {
|
|
3523
|
+
"char": "r",
|
|
3524
|
+
"description": "Release name to deploy",
|
|
3525
|
+
"name": "release",
|
|
3526
|
+
"required": true,
|
|
3527
|
+
"hasDynamicHelp": false,
|
|
3528
|
+
"multiple": false,
|
|
3529
|
+
"type": "option"
|
|
3530
|
+
},
|
|
3755
3531
|
"workspace": {
|
|
3756
3532
|
"char": "w",
|
|
3757
3533
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3764,7 +3540,7 @@
|
|
|
3764
3540
|
},
|
|
3765
3541
|
"hasDynamicHelp": false,
|
|
3766
3542
|
"hiddenAliases": [],
|
|
3767
|
-
"id": "
|
|
3543
|
+
"id": "tenant:deploy_release",
|
|
3768
3544
|
"pluginAlias": "@xano/cli",
|
|
3769
3545
|
"pluginName": "@xano/cli",
|
|
3770
3546
|
"pluginType": "core",
|
|
@@ -3774,25 +3550,24 @@
|
|
|
3774
3550
|
"relativePath": [
|
|
3775
3551
|
"dist",
|
|
3776
3552
|
"commands",
|
|
3777
|
-
"
|
|
3778
|
-
"
|
|
3553
|
+
"tenant",
|
|
3554
|
+
"deploy_release",
|
|
3779
3555
|
"index.js"
|
|
3780
3556
|
]
|
|
3781
3557
|
},
|
|
3782
|
-
"
|
|
3558
|
+
"tenant:edit": {
|
|
3783
3559
|
"aliases": [],
|
|
3784
3560
|
"args": {
|
|
3785
|
-
"
|
|
3786
|
-
"description": "
|
|
3787
|
-
"name": "
|
|
3561
|
+
"tenant_name": {
|
|
3562
|
+
"description": "Tenant name to edit",
|
|
3563
|
+
"name": "tenant_name",
|
|
3788
3564
|
"required": true
|
|
3789
3565
|
}
|
|
3790
3566
|
},
|
|
3791
|
-
"description": "
|
|
3567
|
+
"description": "Edit an existing tenant",
|
|
3792
3568
|
"examples": [
|
|
3793
|
-
"$ xano
|
|
3794
|
-
"$ xano
|
|
3795
|
-
"$ xano workflow-test get 1 -o json"
|
|
3569
|
+
"$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
|
|
3570
|
+
"$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
|
|
3796
3571
|
],
|
|
3797
3572
|
"flags": {
|
|
3798
3573
|
"profile": {
|
|
@@ -3814,11 +3589,36 @@
|
|
|
3814
3589
|
"allowNo": false,
|
|
3815
3590
|
"type": "boolean"
|
|
3816
3591
|
},
|
|
3817
|
-
"
|
|
3818
|
-
"
|
|
3819
|
-
"
|
|
3592
|
+
"description": {
|
|
3593
|
+
"char": "d",
|
|
3594
|
+
"description": "New description",
|
|
3595
|
+
"name": "description",
|
|
3820
3596
|
"required": false,
|
|
3821
|
-
"
|
|
3597
|
+
"hasDynamicHelp": false,
|
|
3598
|
+
"multiple": false,
|
|
3599
|
+
"type": "option"
|
|
3600
|
+
},
|
|
3601
|
+
"display": {
|
|
3602
|
+
"description": "New display name",
|
|
3603
|
+
"name": "display",
|
|
3604
|
+
"required": false,
|
|
3605
|
+
"hasDynamicHelp": false,
|
|
3606
|
+
"multiple": false,
|
|
3607
|
+
"type": "option"
|
|
3608
|
+
},
|
|
3609
|
+
"domain": {
|
|
3610
|
+
"description": "Custom domain",
|
|
3611
|
+
"name": "domain",
|
|
3612
|
+
"required": false,
|
|
3613
|
+
"hasDynamicHelp": false,
|
|
3614
|
+
"multiple": false,
|
|
3615
|
+
"type": "option"
|
|
3616
|
+
},
|
|
3617
|
+
"ingress": {
|
|
3618
|
+
"description": "Enable/disable ingress",
|
|
3619
|
+
"name": "ingress",
|
|
3620
|
+
"required": false,
|
|
3621
|
+
"allowNo": true,
|
|
3822
3622
|
"type": "boolean"
|
|
3823
3623
|
},
|
|
3824
3624
|
"output": {
|
|
@@ -3831,11 +3631,32 @@
|
|
|
3831
3631
|
"multiple": false,
|
|
3832
3632
|
"options": [
|
|
3833
3633
|
"summary",
|
|
3834
|
-
"json"
|
|
3835
|
-
"xs"
|
|
3634
|
+
"json"
|
|
3836
3635
|
],
|
|
3837
3636
|
"type": "option"
|
|
3838
3637
|
},
|
|
3638
|
+
"proxy": {
|
|
3639
|
+
"description": "Proxy URL",
|
|
3640
|
+
"name": "proxy",
|
|
3641
|
+
"required": false,
|
|
3642
|
+
"hasDynamicHelp": false,
|
|
3643
|
+
"multiple": false,
|
|
3644
|
+
"type": "option"
|
|
3645
|
+
},
|
|
3646
|
+
"rbac": {
|
|
3647
|
+
"description": "Enable/disable RBAC",
|
|
3648
|
+
"name": "rbac",
|
|
3649
|
+
"required": false,
|
|
3650
|
+
"allowNo": true,
|
|
3651
|
+
"type": "boolean"
|
|
3652
|
+
},
|
|
3653
|
+
"tasks": {
|
|
3654
|
+
"description": "Enable/disable background tasks",
|
|
3655
|
+
"name": "tasks",
|
|
3656
|
+
"required": false,
|
|
3657
|
+
"allowNo": true,
|
|
3658
|
+
"type": "boolean"
|
|
3659
|
+
},
|
|
3839
3660
|
"workspace": {
|
|
3840
3661
|
"char": "w",
|
|
3841
3662
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3848,7 +3669,7 @@
|
|
|
3848
3669
|
},
|
|
3849
3670
|
"hasDynamicHelp": false,
|
|
3850
3671
|
"hiddenAliases": [],
|
|
3851
|
-
"id": "
|
|
3672
|
+
"id": "tenant:edit",
|
|
3852
3673
|
"pluginAlias": "@xano/cli",
|
|
3853
3674
|
"pluginName": "@xano/cli",
|
|
3854
3675
|
"pluginType": "core",
|
|
@@ -3858,24 +3679,24 @@
|
|
|
3858
3679
|
"relativePath": [
|
|
3859
3680
|
"dist",
|
|
3860
3681
|
"commands",
|
|
3861
|
-
"
|
|
3862
|
-
"
|
|
3682
|
+
"tenant",
|
|
3683
|
+
"edit",
|
|
3863
3684
|
"index.js"
|
|
3864
3685
|
]
|
|
3865
3686
|
},
|
|
3866
|
-
"
|
|
3687
|
+
"tenant:get": {
|
|
3867
3688
|
"aliases": [],
|
|
3868
3689
|
"args": {
|
|
3869
|
-
"
|
|
3870
|
-
"description": "
|
|
3871
|
-
"name": "
|
|
3690
|
+
"tenant_name": {
|
|
3691
|
+
"description": "Tenant name to retrieve",
|
|
3692
|
+
"name": "tenant_name",
|
|
3872
3693
|
"required": true
|
|
3873
3694
|
}
|
|
3874
3695
|
},
|
|
3875
|
-
"description": "
|
|
3696
|
+
"description": "Get details of a specific tenant",
|
|
3876
3697
|
"examples": [
|
|
3877
|
-
"$ xano
|
|
3878
|
-
"$ xano
|
|
3698
|
+
"$ xano tenant get t1234-abcd-xyz1\nTenant: My Tenant (my-tenant)\n State: ok\n License: tier1\n Domain: my-tenant.xano.io\n Cluster: default\n Release: v1.0\n",
|
|
3699
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
3879
3700
|
],
|
|
3880
3701
|
"flags": {
|
|
3881
3702
|
"profile": {
|
|
@@ -3897,14 +3718,6 @@
|
|
|
3897
3718
|
"allowNo": false,
|
|
3898
3719
|
"type": "boolean"
|
|
3899
3720
|
},
|
|
3900
|
-
"force": {
|
|
3901
|
-
"char": "f",
|
|
3902
|
-
"description": "Skip confirmation prompt",
|
|
3903
|
-
"name": "force",
|
|
3904
|
-
"required": false,
|
|
3905
|
-
"allowNo": false,
|
|
3906
|
-
"type": "boolean"
|
|
3907
|
-
},
|
|
3908
3721
|
"output": {
|
|
3909
3722
|
"char": "o",
|
|
3910
3723
|
"description": "Output format",
|
|
@@ -3931,7 +3744,7 @@
|
|
|
3931
3744
|
},
|
|
3932
3745
|
"hasDynamicHelp": false,
|
|
3933
3746
|
"hiddenAliases": [],
|
|
3934
|
-
"id": "
|
|
3747
|
+
"id": "tenant:get",
|
|
3935
3748
|
"pluginAlias": "@xano/cli",
|
|
3936
3749
|
"pluginName": "@xano/cli",
|
|
3937
3750
|
"pluginType": "core",
|
|
@@ -3941,24 +3754,24 @@
|
|
|
3941
3754
|
"relativePath": [
|
|
3942
3755
|
"dist",
|
|
3943
3756
|
"commands",
|
|
3944
|
-
"
|
|
3945
|
-
"
|
|
3757
|
+
"tenant",
|
|
3758
|
+
"get",
|
|
3946
3759
|
"index.js"
|
|
3947
3760
|
]
|
|
3948
3761
|
},
|
|
3949
|
-
"
|
|
3762
|
+
"tenant:impersonate": {
|
|
3950
3763
|
"aliases": [],
|
|
3951
3764
|
"args": {
|
|
3952
|
-
"
|
|
3953
|
-
"description": "
|
|
3954
|
-
"name": "
|
|
3765
|
+
"tenant_name": {
|
|
3766
|
+
"description": "Tenant name to impersonate",
|
|
3767
|
+
"name": "tenant_name",
|
|
3955
3768
|
"required": true
|
|
3956
3769
|
}
|
|
3957
3770
|
},
|
|
3958
|
-
"description": "
|
|
3771
|
+
"description": "Impersonate a tenant and open it in the browser",
|
|
3959
3772
|
"examples": [
|
|
3960
|
-
"$ xano
|
|
3961
|
-
"$ xano
|
|
3773
|
+
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3774
|
+
"$ xano tenant impersonate my-tenant -o json"
|
|
3962
3775
|
],
|
|
3963
3776
|
"flags": {
|
|
3964
3777
|
"profile": {
|
|
@@ -3994,6 +3807,14 @@
|
|
|
3994
3807
|
],
|
|
3995
3808
|
"type": "option"
|
|
3996
3809
|
},
|
|
3810
|
+
"url-only": {
|
|
3811
|
+
"char": "u",
|
|
3812
|
+
"description": "Print the URL without opening the browser",
|
|
3813
|
+
"name": "url-only",
|
|
3814
|
+
"required": false,
|
|
3815
|
+
"allowNo": false,
|
|
3816
|
+
"type": "boolean"
|
|
3817
|
+
},
|
|
3997
3818
|
"workspace": {
|
|
3998
3819
|
"char": "w",
|
|
3999
3820
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -4006,7 +3827,7 @@
|
|
|
4006
3827
|
},
|
|
4007
3828
|
"hasDynamicHelp": false,
|
|
4008
3829
|
"hiddenAliases": [],
|
|
4009
|
-
"id": "
|
|
3830
|
+
"id": "tenant:impersonate",
|
|
4010
3831
|
"pluginAlias": "@xano/cli",
|
|
4011
3832
|
"pluginName": "@xano/cli",
|
|
4012
3833
|
"pluginType": "core",
|
|
@@ -4016,18 +3837,25 @@
|
|
|
4016
3837
|
"relativePath": [
|
|
4017
3838
|
"dist",
|
|
4018
3839
|
"commands",
|
|
4019
|
-
"
|
|
4020
|
-
"
|
|
3840
|
+
"tenant",
|
|
3841
|
+
"impersonate",
|
|
4021
3842
|
"index.js"
|
|
4022
3843
|
]
|
|
4023
3844
|
},
|
|
4024
|
-
"
|
|
3845
|
+
"workspace:create": {
|
|
4025
3846
|
"aliases": [],
|
|
4026
|
-
"args": {
|
|
4027
|
-
|
|
3847
|
+
"args": {
|
|
3848
|
+
"name": {
|
|
3849
|
+
"description": "Name of the workspace",
|
|
3850
|
+
"name": "name",
|
|
3851
|
+
"required": true
|
|
3852
|
+
}
|
|
3853
|
+
},
|
|
3854
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
4028
3855
|
"examples": [
|
|
4029
|
-
"$ xano
|
|
4030
|
-
"$ xano
|
|
3856
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
3857
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
3858
|
+
"$ xano workspace create new-project -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
|
|
4031
3859
|
],
|
|
4032
3860
|
"flags": {
|
|
4033
3861
|
"profile": {
|
|
@@ -4049,10 +3877,10 @@
|
|
|
4049
3877
|
"allowNo": false,
|
|
4050
3878
|
"type": "boolean"
|
|
4051
3879
|
},
|
|
4052
|
-
"
|
|
4053
|
-
"char": "
|
|
4054
|
-
"description": "
|
|
4055
|
-
"name": "
|
|
3880
|
+
"description": {
|
|
3881
|
+
"char": "d",
|
|
3882
|
+
"description": "Description for the workspace",
|
|
3883
|
+
"name": "description",
|
|
4056
3884
|
"required": false,
|
|
4057
3885
|
"hasDynamicHelp": false,
|
|
4058
3886
|
"multiple": false,
|
|
@@ -4071,20 +3899,11 @@
|
|
|
4071
3899
|
"json"
|
|
4072
3900
|
],
|
|
4073
3901
|
"type": "option"
|
|
4074
|
-
},
|
|
4075
|
-
"workspace": {
|
|
4076
|
-
"char": "w",
|
|
4077
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4078
|
-
"name": "workspace",
|
|
4079
|
-
"required": false,
|
|
4080
|
-
"hasDynamicHelp": false,
|
|
4081
|
-
"multiple": false,
|
|
4082
|
-
"type": "option"
|
|
4083
3902
|
}
|
|
4084
3903
|
},
|
|
4085
3904
|
"hasDynamicHelp": false,
|
|
4086
3905
|
"hiddenAliases": [],
|
|
4087
|
-
"id": "
|
|
3906
|
+
"id": "workspace:create",
|
|
4088
3907
|
"pluginAlias": "@xano/cli",
|
|
4089
3908
|
"pluginName": "@xano/cli",
|
|
4090
3909
|
"pluginType": "core",
|
|
@@ -4094,25 +3913,25 @@
|
|
|
4094
3913
|
"relativePath": [
|
|
4095
3914
|
"dist",
|
|
4096
3915
|
"commands",
|
|
4097
|
-
"
|
|
4098
|
-
"
|
|
3916
|
+
"workspace",
|
|
3917
|
+
"create",
|
|
4099
3918
|
"index.js"
|
|
4100
3919
|
]
|
|
4101
3920
|
},
|
|
4102
|
-
"workspace:
|
|
3921
|
+
"workspace:delete": {
|
|
4103
3922
|
"aliases": [],
|
|
4104
3923
|
"args": {
|
|
4105
|
-
"
|
|
4106
|
-
"description": "
|
|
4107
|
-
"name": "
|
|
3924
|
+
"workspace_id": {
|
|
3925
|
+
"description": "Workspace ID to delete",
|
|
3926
|
+
"name": "workspace_id",
|
|
4108
3927
|
"required": true
|
|
4109
3928
|
}
|
|
4110
3929
|
},
|
|
4111
|
-
"description": "
|
|
4112
|
-
"examples": [
|
|
4113
|
-
"$ xano workspace
|
|
4114
|
-
"$ xano workspace
|
|
4115
|
-
"$ xano workspace
|
|
3930
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
3931
|
+
"examples": [
|
|
3932
|
+
"$ xano workspace delete 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
|
|
3933
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
3934
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4116
3935
|
],
|
|
4117
3936
|
"flags": {
|
|
4118
3937
|
"profile": {
|
|
@@ -4134,14 +3953,13 @@
|
|
|
4134
3953
|
"allowNo": false,
|
|
4135
3954
|
"type": "boolean"
|
|
4136
3955
|
},
|
|
4137
|
-
"
|
|
4138
|
-
"char": "
|
|
4139
|
-
"description": "
|
|
4140
|
-
"name": "
|
|
3956
|
+
"force": {
|
|
3957
|
+
"char": "f",
|
|
3958
|
+
"description": "Skip confirmation prompt",
|
|
3959
|
+
"name": "force",
|
|
4141
3960
|
"required": false,
|
|
4142
|
-
"
|
|
4143
|
-
"
|
|
4144
|
-
"type": "option"
|
|
3961
|
+
"allowNo": false,
|
|
3962
|
+
"type": "boolean"
|
|
4145
3963
|
},
|
|
4146
3964
|
"output": {
|
|
4147
3965
|
"char": "o",
|
|
@@ -4160,7 +3978,7 @@
|
|
|
4160
3978
|
},
|
|
4161
3979
|
"hasDynamicHelp": false,
|
|
4162
3980
|
"hiddenAliases": [],
|
|
4163
|
-
"id": "workspace:
|
|
3981
|
+
"id": "workspace:delete",
|
|
4164
3982
|
"pluginAlias": "@xano/cli",
|
|
4165
3983
|
"pluginName": "@xano/cli",
|
|
4166
3984
|
"pluginType": "core",
|
|
@@ -4171,7 +3989,7 @@
|
|
|
4171
3989
|
"dist",
|
|
4172
3990
|
"commands",
|
|
4173
3991
|
"workspace",
|
|
4174
|
-
"
|
|
3992
|
+
"delete",
|
|
4175
3993
|
"index.js"
|
|
4176
3994
|
]
|
|
4177
3995
|
},
|
|
@@ -4275,20 +4093,13 @@
|
|
|
4275
4093
|
"index.js"
|
|
4276
4094
|
]
|
|
4277
4095
|
},
|
|
4278
|
-
"
|
|
4096
|
+
"tenant:list": {
|
|
4279
4097
|
"aliases": [],
|
|
4280
|
-
"args": {
|
|
4281
|
-
|
|
4282
|
-
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4283
|
-
"name": "workspace_id",
|
|
4284
|
-
"required": false
|
|
4285
|
-
}
|
|
4286
|
-
},
|
|
4287
|
-
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4098
|
+
"args": {},
|
|
4099
|
+
"description": "List all tenants in a workspace",
|
|
4288
4100
|
"examples": [
|
|
4289
|
-
"$ xano
|
|
4290
|
-
"$ xano
|
|
4291
|
-
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4101
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
|
|
4102
|
+
"$ xano tenant list -w 5 --output json"
|
|
4292
4103
|
],
|
|
4293
4104
|
"flags": {
|
|
4294
4105
|
"profile": {
|
|
@@ -4323,11 +4134,20 @@
|
|
|
4323
4134
|
"json"
|
|
4324
4135
|
],
|
|
4325
4136
|
"type": "option"
|
|
4137
|
+
},
|
|
4138
|
+
"workspace": {
|
|
4139
|
+
"char": "w",
|
|
4140
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4141
|
+
"name": "workspace",
|
|
4142
|
+
"required": false,
|
|
4143
|
+
"hasDynamicHelp": false,
|
|
4144
|
+
"multiple": false,
|
|
4145
|
+
"type": "option"
|
|
4326
4146
|
}
|
|
4327
4147
|
},
|
|
4328
4148
|
"hasDynamicHelp": false,
|
|
4329
4149
|
"hiddenAliases": [],
|
|
4330
|
-
"id": "
|
|
4150
|
+
"id": "tenant:list",
|
|
4331
4151
|
"pluginAlias": "@xano/cli",
|
|
4332
4152
|
"pluginName": "@xano/cli",
|
|
4333
4153
|
"pluginType": "core",
|
|
@@ -4337,20 +4157,120 @@
|
|
|
4337
4157
|
"relativePath": [
|
|
4338
4158
|
"dist",
|
|
4339
4159
|
"commands",
|
|
4340
|
-
"
|
|
4341
|
-
"
|
|
4160
|
+
"tenant",
|
|
4161
|
+
"list",
|
|
4342
4162
|
"index.js"
|
|
4343
4163
|
]
|
|
4344
4164
|
},
|
|
4345
|
-
"
|
|
4165
|
+
"tenant:push": {
|
|
4346
4166
|
"aliases": [],
|
|
4347
|
-
"args": {
|
|
4348
|
-
|
|
4167
|
+
"args": {
|
|
4168
|
+
"directory": {
|
|
4169
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
4170
|
+
"name": "directory",
|
|
4171
|
+
"required": true
|
|
4172
|
+
}
|
|
4173
|
+
},
|
|
4174
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
4349
4175
|
"examples": [
|
|
4350
|
-
"$ xano workspace
|
|
4351
|
-
"$ xano
|
|
4352
|
-
"$ xano
|
|
4353
|
-
"$ xano workspace
|
|
4176
|
+
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
4177
|
+
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
4178
|
+
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
4179
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
4180
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
4181
|
+
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
4182
|
+
],
|
|
4183
|
+
"flags": {
|
|
4184
|
+
"profile": {
|
|
4185
|
+
"char": "p",
|
|
4186
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4187
|
+
"env": "XANO_PROFILE",
|
|
4188
|
+
"name": "profile",
|
|
4189
|
+
"required": false,
|
|
4190
|
+
"hasDynamicHelp": false,
|
|
4191
|
+
"multiple": false,
|
|
4192
|
+
"type": "option"
|
|
4193
|
+
},
|
|
4194
|
+
"verbose": {
|
|
4195
|
+
"char": "v",
|
|
4196
|
+
"description": "Show detailed request/response information",
|
|
4197
|
+
"env": "XANO_VERBOSE",
|
|
4198
|
+
"name": "verbose",
|
|
4199
|
+
"required": false,
|
|
4200
|
+
"allowNo": false,
|
|
4201
|
+
"type": "boolean"
|
|
4202
|
+
},
|
|
4203
|
+
"env": {
|
|
4204
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4205
|
+
"name": "env",
|
|
4206
|
+
"required": false,
|
|
4207
|
+
"allowNo": true,
|
|
4208
|
+
"type": "boolean"
|
|
4209
|
+
},
|
|
4210
|
+
"records": {
|
|
4211
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
4212
|
+
"name": "records",
|
|
4213
|
+
"required": false,
|
|
4214
|
+
"allowNo": true,
|
|
4215
|
+
"type": "boolean"
|
|
4216
|
+
},
|
|
4217
|
+
"tenant": {
|
|
4218
|
+
"char": "t",
|
|
4219
|
+
"description": "Tenant name to push to",
|
|
4220
|
+
"name": "tenant",
|
|
4221
|
+
"required": true,
|
|
4222
|
+
"hasDynamicHelp": false,
|
|
4223
|
+
"multiple": false,
|
|
4224
|
+
"type": "option"
|
|
4225
|
+
},
|
|
4226
|
+
"truncate": {
|
|
4227
|
+
"description": "Truncate all table records before importing",
|
|
4228
|
+
"name": "truncate",
|
|
4229
|
+
"required": false,
|
|
4230
|
+
"allowNo": false,
|
|
4231
|
+
"type": "boolean"
|
|
4232
|
+
},
|
|
4233
|
+
"workspace": {
|
|
4234
|
+
"char": "w",
|
|
4235
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4236
|
+
"name": "workspace",
|
|
4237
|
+
"required": false,
|
|
4238
|
+
"hasDynamicHelp": false,
|
|
4239
|
+
"multiple": false,
|
|
4240
|
+
"type": "option"
|
|
4241
|
+
}
|
|
4242
|
+
},
|
|
4243
|
+
"hasDynamicHelp": false,
|
|
4244
|
+
"hiddenAliases": [],
|
|
4245
|
+
"id": "tenant:push",
|
|
4246
|
+
"pluginAlias": "@xano/cli",
|
|
4247
|
+
"pluginName": "@xano/cli",
|
|
4248
|
+
"pluginType": "core",
|
|
4249
|
+
"strict": true,
|
|
4250
|
+
"enableJsonFlag": false,
|
|
4251
|
+
"isESM": true,
|
|
4252
|
+
"relativePath": [
|
|
4253
|
+
"dist",
|
|
4254
|
+
"commands",
|
|
4255
|
+
"tenant",
|
|
4256
|
+
"push",
|
|
4257
|
+
"index.js"
|
|
4258
|
+
]
|
|
4259
|
+
},
|
|
4260
|
+
"workspace:get": {
|
|
4261
|
+
"aliases": [],
|
|
4262
|
+
"args": {
|
|
4263
|
+
"workspace_id": {
|
|
4264
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4265
|
+
"name": "workspace_id",
|
|
4266
|
+
"required": false
|
|
4267
|
+
}
|
|
4268
|
+
},
|
|
4269
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4270
|
+
"examples": [
|
|
4271
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
4272
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
4273
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4354
4274
|
],
|
|
4355
4275
|
"flags": {
|
|
4356
4276
|
"profile": {
|
|
@@ -4389,7 +4309,7 @@
|
|
|
4389
4309
|
},
|
|
4390
4310
|
"hasDynamicHelp": false,
|
|
4391
4311
|
"hiddenAliases": [],
|
|
4392
|
-
"id": "workspace:
|
|
4312
|
+
"id": "workspace:get",
|
|
4393
4313
|
"pluginAlias": "@xano/cli",
|
|
4394
4314
|
"pluginName": "@xano/cli",
|
|
4395
4315
|
"pluginType": "core",
|
|
@@ -4400,11 +4320,11 @@
|
|
|
4400
4320
|
"dist",
|
|
4401
4321
|
"commands",
|
|
4402
4322
|
"workspace",
|
|
4403
|
-
"
|
|
4323
|
+
"get",
|
|
4404
4324
|
"index.js"
|
|
4405
4325
|
]
|
|
4406
4326
|
},
|
|
4407
|
-
"
|
|
4327
|
+
"tenant:pull": {
|
|
4408
4328
|
"aliases": [],
|
|
4409
4329
|
"args": {
|
|
4410
4330
|
"directory": {
|
|
@@ -4413,13 +4333,12 @@
|
|
|
4413
4333
|
"required": true
|
|
4414
4334
|
}
|
|
4415
4335
|
},
|
|
4416
|
-
"description": "Pull a
|
|
4336
|
+
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
4417
4337
|
"examples": [
|
|
4418
|
-
"$ xano
|
|
4419
|
-
"$ xano
|
|
4420
|
-
"$ xano
|
|
4421
|
-
"$ xano
|
|
4422
|
-
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4338
|
+
"$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
|
|
4339
|
+
"$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
|
|
4340
|
+
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
4341
|
+
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
4423
4342
|
],
|
|
4424
4343
|
"flags": {
|
|
4425
4344
|
"profile": {
|
|
@@ -4441,14 +4360,12 @@
|
|
|
4441
4360
|
"allowNo": false,
|
|
4442
4361
|
"type": "boolean"
|
|
4443
4362
|
},
|
|
4444
|
-
"
|
|
4445
|
-
"
|
|
4446
|
-
"
|
|
4447
|
-
"name": "branch",
|
|
4363
|
+
"draft": {
|
|
4364
|
+
"description": "Include draft versions",
|
|
4365
|
+
"name": "draft",
|
|
4448
4366
|
"required": false,
|
|
4449
|
-
"
|
|
4450
|
-
"
|
|
4451
|
-
"type": "option"
|
|
4367
|
+
"allowNo": false,
|
|
4368
|
+
"type": "boolean"
|
|
4452
4369
|
},
|
|
4453
4370
|
"env": {
|
|
4454
4371
|
"description": "Include environment variables",
|
|
@@ -4457,33 +4374,97 @@
|
|
|
4457
4374
|
"allowNo": false,
|
|
4458
4375
|
"type": "boolean"
|
|
4459
4376
|
},
|
|
4460
|
-
"
|
|
4461
|
-
"description": "Include
|
|
4462
|
-
"name": "
|
|
4377
|
+
"records": {
|
|
4378
|
+
"description": "Include records",
|
|
4379
|
+
"name": "records",
|
|
4463
4380
|
"required": false,
|
|
4464
4381
|
"allowNo": false,
|
|
4465
4382
|
"type": "boolean"
|
|
4466
4383
|
},
|
|
4467
|
-
"
|
|
4468
|
-
"
|
|
4469
|
-
"
|
|
4384
|
+
"tenant": {
|
|
4385
|
+
"char": "t",
|
|
4386
|
+
"description": "Tenant name to pull from",
|
|
4387
|
+
"name": "tenant",
|
|
4388
|
+
"required": true,
|
|
4389
|
+
"hasDynamicHelp": false,
|
|
4390
|
+
"multiple": false,
|
|
4391
|
+
"type": "option"
|
|
4392
|
+
},
|
|
4393
|
+
"workspace": {
|
|
4394
|
+
"char": "w",
|
|
4395
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4396
|
+
"name": "workspace",
|
|
4397
|
+
"required": false,
|
|
4398
|
+
"hasDynamicHelp": false,
|
|
4399
|
+
"multiple": false,
|
|
4400
|
+
"type": "option"
|
|
4401
|
+
}
|
|
4402
|
+
},
|
|
4403
|
+
"hasDynamicHelp": false,
|
|
4404
|
+
"hiddenAliases": [],
|
|
4405
|
+
"id": "tenant:pull",
|
|
4406
|
+
"pluginAlias": "@xano/cli",
|
|
4407
|
+
"pluginName": "@xano/cli",
|
|
4408
|
+
"pluginType": "core",
|
|
4409
|
+
"strict": true,
|
|
4410
|
+
"enableJsonFlag": false,
|
|
4411
|
+
"isESM": true,
|
|
4412
|
+
"relativePath": [
|
|
4413
|
+
"dist",
|
|
4414
|
+
"commands",
|
|
4415
|
+
"tenant",
|
|
4416
|
+
"pull",
|
|
4417
|
+
"index.js"
|
|
4418
|
+
]
|
|
4419
|
+
},
|
|
4420
|
+
"workspace:list": {
|
|
4421
|
+
"aliases": [],
|
|
4422
|
+
"args": {},
|
|
4423
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
4424
|
+
"examples": [
|
|
4425
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4426
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4427
|
+
"$ xano workspace:list --output json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"workspace-1\"\n },\n {\n \"id\": 2,\n \"name\": \"workspace-2\"\n }\n ]\n}\n",
|
|
4428
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4429
|
+
],
|
|
4430
|
+
"flags": {
|
|
4431
|
+
"profile": {
|
|
4432
|
+
"char": "p",
|
|
4433
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4434
|
+
"env": "XANO_PROFILE",
|
|
4435
|
+
"name": "profile",
|
|
4436
|
+
"required": false,
|
|
4437
|
+
"hasDynamicHelp": false,
|
|
4438
|
+
"multiple": false,
|
|
4439
|
+
"type": "option"
|
|
4440
|
+
},
|
|
4441
|
+
"verbose": {
|
|
4442
|
+
"char": "v",
|
|
4443
|
+
"description": "Show detailed request/response information",
|
|
4444
|
+
"env": "XANO_VERBOSE",
|
|
4445
|
+
"name": "verbose",
|
|
4470
4446
|
"required": false,
|
|
4471
4447
|
"allowNo": false,
|
|
4472
4448
|
"type": "boolean"
|
|
4473
4449
|
},
|
|
4474
|
-
"
|
|
4475
|
-
"char": "
|
|
4476
|
-
"description": "
|
|
4477
|
-
"name": "
|
|
4450
|
+
"output": {
|
|
4451
|
+
"char": "o",
|
|
4452
|
+
"description": "Output format",
|
|
4453
|
+
"name": "output",
|
|
4478
4454
|
"required": false,
|
|
4455
|
+
"default": "summary",
|
|
4479
4456
|
"hasDynamicHelp": false,
|
|
4480
4457
|
"multiple": false,
|
|
4458
|
+
"options": [
|
|
4459
|
+
"summary",
|
|
4460
|
+
"json"
|
|
4461
|
+
],
|
|
4481
4462
|
"type": "option"
|
|
4482
4463
|
}
|
|
4483
4464
|
},
|
|
4484
4465
|
"hasDynamicHelp": false,
|
|
4485
4466
|
"hiddenAliases": [],
|
|
4486
|
-
"id": "workspace:
|
|
4467
|
+
"id": "workspace:list",
|
|
4487
4468
|
"pluginAlias": "@xano/cli",
|
|
4488
4469
|
"pluginName": "@xano/cli",
|
|
4489
4470
|
"pluginType": "core",
|
|
@@ -4494,24 +4475,24 @@
|
|
|
4494
4475
|
"dist",
|
|
4495
4476
|
"commands",
|
|
4496
4477
|
"workspace",
|
|
4497
|
-
"
|
|
4478
|
+
"list",
|
|
4498
4479
|
"index.js"
|
|
4499
4480
|
]
|
|
4500
4481
|
},
|
|
4501
|
-
"
|
|
4482
|
+
"static_host:build:create": {
|
|
4502
4483
|
"aliases": [],
|
|
4503
4484
|
"args": {
|
|
4504
|
-
"
|
|
4505
|
-
"description": "
|
|
4506
|
-
"name": "
|
|
4485
|
+
"static_host": {
|
|
4486
|
+
"description": "Static Host name",
|
|
4487
|
+
"name": "static_host",
|
|
4507
4488
|
"required": true
|
|
4508
4489
|
}
|
|
4509
4490
|
},
|
|
4510
|
-
"description": "
|
|
4491
|
+
"description": "Create a new build for a static host",
|
|
4511
4492
|
"examples": [
|
|
4512
|
-
"$ xano
|
|
4513
|
-
"$ xano
|
|
4514
|
-
"$ xano
|
|
4493
|
+
"$ xano static_host:build:create default -f ./build.zip -n \"v1.0.0\"\nBuild created successfully!\nID: 123\nName: v1.0.0\nStatus: pending\n",
|
|
4494
|
+
"$ xano static_host:build:create default -w 40 -f ./dist.zip -n \"production\" -d \"Production build\"\nBuild created successfully!\nID: 124\nName: production\nDescription: Production build\n",
|
|
4495
|
+
"$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
|
|
4515
4496
|
],
|
|
4516
4497
|
"flags": {
|
|
4517
4498
|
"profile": {
|
|
@@ -4533,13 +4514,32 @@
|
|
|
4533
4514
|
"allowNo": false,
|
|
4534
4515
|
"type": "boolean"
|
|
4535
4516
|
},
|
|
4536
|
-
"
|
|
4537
|
-
"char": "
|
|
4538
|
-
"description": "
|
|
4539
|
-
"name": "
|
|
4517
|
+
"description": {
|
|
4518
|
+
"char": "d",
|
|
4519
|
+
"description": "Build description",
|
|
4520
|
+
"name": "description",
|
|
4540
4521
|
"required": false,
|
|
4541
|
-
"
|
|
4542
|
-
"
|
|
4522
|
+
"hasDynamicHelp": false,
|
|
4523
|
+
"multiple": false,
|
|
4524
|
+
"type": "option"
|
|
4525
|
+
},
|
|
4526
|
+
"file": {
|
|
4527
|
+
"char": "f",
|
|
4528
|
+
"description": "Path to zip file to upload",
|
|
4529
|
+
"name": "file",
|
|
4530
|
+
"required": true,
|
|
4531
|
+
"hasDynamicHelp": false,
|
|
4532
|
+
"multiple": false,
|
|
4533
|
+
"type": "option"
|
|
4534
|
+
},
|
|
4535
|
+
"name": {
|
|
4536
|
+
"char": "n",
|
|
4537
|
+
"description": "Build name",
|
|
4538
|
+
"name": "name",
|
|
4539
|
+
"required": true,
|
|
4540
|
+
"hasDynamicHelp": false,
|
|
4541
|
+
"multiple": false,
|
|
4542
|
+
"type": "option"
|
|
4543
4543
|
},
|
|
4544
4544
|
"output": {
|
|
4545
4545
|
"char": "o",
|
|
@@ -4554,11 +4554,20 @@
|
|
|
4554
4554
|
"json"
|
|
4555
4555
|
],
|
|
4556
4556
|
"type": "option"
|
|
4557
|
+
},
|
|
4558
|
+
"workspace": {
|
|
4559
|
+
"char": "w",
|
|
4560
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4561
|
+
"name": "workspace",
|
|
4562
|
+
"required": false,
|
|
4563
|
+
"hasDynamicHelp": false,
|
|
4564
|
+
"multiple": false,
|
|
4565
|
+
"type": "option"
|
|
4557
4566
|
}
|
|
4558
4567
|
},
|
|
4559
4568
|
"hasDynamicHelp": false,
|
|
4560
4569
|
"hiddenAliases": [],
|
|
4561
|
-
"id": "
|
|
4570
|
+
"id": "static_host:build:create",
|
|
4562
4571
|
"pluginAlias": "@xano/cli",
|
|
4563
4572
|
"pluginName": "@xano/cli",
|
|
4564
4573
|
"pluginType": "core",
|
|
@@ -4568,31 +4577,32 @@
|
|
|
4568
4577
|
"relativePath": [
|
|
4569
4578
|
"dist",
|
|
4570
4579
|
"commands",
|
|
4571
|
-
"
|
|
4572
|
-
"
|
|
4580
|
+
"static_host",
|
|
4581
|
+
"build",
|
|
4582
|
+
"create",
|
|
4573
4583
|
"index.js"
|
|
4574
4584
|
]
|
|
4575
4585
|
},
|
|
4576
|
-
"
|
|
4586
|
+
"static_host:build:get": {
|
|
4577
4587
|
"aliases": [],
|
|
4578
4588
|
"args": {
|
|
4579
|
-
"
|
|
4580
|
-
"description": "
|
|
4581
|
-
"name": "
|
|
4589
|
+
"build_id": {
|
|
4590
|
+
"description": "Build ID",
|
|
4591
|
+
"name": "build_id",
|
|
4592
|
+
"required": true
|
|
4593
|
+
},
|
|
4594
|
+
"static_host": {
|
|
4595
|
+
"description": "Static Host name",
|
|
4596
|
+
"name": "static_host",
|
|
4582
4597
|
"required": true
|
|
4583
4598
|
}
|
|
4584
4599
|
},
|
|
4585
|
-
"description": "
|
|
4600
|
+
"description": "Get details of a specific build for a static host",
|
|
4586
4601
|
"examples": [
|
|
4587
|
-
"$ xano
|
|
4588
|
-
"$ xano
|
|
4589
|
-
"$ xano
|
|
4590
|
-
"$ xano
|
|
4591
|
-
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4592
|
-
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4593
|
-
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4594
|
-
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
4595
|
-
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
4602
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4603
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4604
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
4605
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4596
4606
|
],
|
|
4597
4607
|
"flags": {
|
|
4598
4608
|
"profile": {
|
|
@@ -4614,43 +4624,20 @@
|
|
|
4614
4624
|
"allowNo": false,
|
|
4615
4625
|
"type": "boolean"
|
|
4616
4626
|
},
|
|
4617
|
-
"
|
|
4618
|
-
"char": "
|
|
4619
|
-
"description": "
|
|
4620
|
-
"name": "
|
|
4627
|
+
"output": {
|
|
4628
|
+
"char": "o",
|
|
4629
|
+
"description": "Output format",
|
|
4630
|
+
"name": "output",
|
|
4621
4631
|
"required": false,
|
|
4632
|
+
"default": "summary",
|
|
4622
4633
|
"hasDynamicHelp": false,
|
|
4623
4634
|
"multiple": false,
|
|
4635
|
+
"options": [
|
|
4636
|
+
"summary",
|
|
4637
|
+
"json"
|
|
4638
|
+
],
|
|
4624
4639
|
"type": "option"
|
|
4625
4640
|
},
|
|
4626
|
-
"env": {
|
|
4627
|
-
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4628
|
-
"name": "env",
|
|
4629
|
-
"required": false,
|
|
4630
|
-
"allowNo": true,
|
|
4631
|
-
"type": "boolean"
|
|
4632
|
-
},
|
|
4633
|
-
"records": {
|
|
4634
|
-
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
4635
|
-
"name": "records",
|
|
4636
|
-
"required": false,
|
|
4637
|
-
"allowNo": true,
|
|
4638
|
-
"type": "boolean"
|
|
4639
|
-
},
|
|
4640
|
-
"sync-guids": {
|
|
4641
|
-
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4642
|
-
"name": "sync-guids",
|
|
4643
|
-
"required": false,
|
|
4644
|
-
"allowNo": true,
|
|
4645
|
-
"type": "boolean"
|
|
4646
|
-
},
|
|
4647
|
-
"truncate": {
|
|
4648
|
-
"description": "Truncate all table records before importing",
|
|
4649
|
-
"name": "truncate",
|
|
4650
|
-
"required": false,
|
|
4651
|
-
"allowNo": false,
|
|
4652
|
-
"type": "boolean"
|
|
4653
|
-
},
|
|
4654
4641
|
"workspace": {
|
|
4655
4642
|
"char": "w",
|
|
4656
4643
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -4663,7 +4650,7 @@
|
|
|
4663
4650
|
},
|
|
4664
4651
|
"hasDynamicHelp": false,
|
|
4665
4652
|
"hiddenAliases": [],
|
|
4666
|
-
"id": "
|
|
4653
|
+
"id": "static_host:build:get",
|
|
4667
4654
|
"pluginAlias": "@xano/cli",
|
|
4668
4655
|
"pluginName": "@xano/cli",
|
|
4669
4656
|
"pluginType": "core",
|
|
@@ -4673,12 +4660,13 @@
|
|
|
4673
4660
|
"relativePath": [
|
|
4674
4661
|
"dist",
|
|
4675
4662
|
"commands",
|
|
4676
|
-
"
|
|
4677
|
-
"
|
|
4663
|
+
"static_host",
|
|
4664
|
+
"build",
|
|
4665
|
+
"get",
|
|
4678
4666
|
"index.js"
|
|
4679
4667
|
]
|
|
4680
4668
|
},
|
|
4681
|
-
"static_host:build:
|
|
4669
|
+
"static_host:build:list": {
|
|
4682
4670
|
"aliases": [],
|
|
4683
4671
|
"args": {
|
|
4684
4672
|
"static_host": {
|
|
@@ -4687,11 +4675,12 @@
|
|
|
4687
4675
|
"required": true
|
|
4688
4676
|
}
|
|
4689
4677
|
},
|
|
4690
|
-
"description": "
|
|
4678
|
+
"description": "List all builds for a static host",
|
|
4691
4679
|
"examples": [
|
|
4692
|
-
"$ xano static_host:build:
|
|
4693
|
-
"$ xano static_host:build:
|
|
4694
|
-
"$ xano static_host:build:
|
|
4680
|
+
"$ xano static_host:build:list default -w 40\nAvailable builds:\n - v1.0.0 (ID: 1) - Status: completed\n - v1.0.1 (ID: 2) - Status: pending\n",
|
|
4681
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
4682
|
+
"$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
|
|
4683
|
+
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
4695
4684
|
],
|
|
4696
4685
|
"flags": {
|
|
4697
4686
|
"profile": {
|
|
@@ -4713,33 +4702,6 @@
|
|
|
4713
4702
|
"allowNo": false,
|
|
4714
4703
|
"type": "boolean"
|
|
4715
4704
|
},
|
|
4716
|
-
"description": {
|
|
4717
|
-
"char": "d",
|
|
4718
|
-
"description": "Build description",
|
|
4719
|
-
"name": "description",
|
|
4720
|
-
"required": false,
|
|
4721
|
-
"hasDynamicHelp": false,
|
|
4722
|
-
"multiple": false,
|
|
4723
|
-
"type": "option"
|
|
4724
|
-
},
|
|
4725
|
-
"file": {
|
|
4726
|
-
"char": "f",
|
|
4727
|
-
"description": "Path to zip file to upload",
|
|
4728
|
-
"name": "file",
|
|
4729
|
-
"required": true,
|
|
4730
|
-
"hasDynamicHelp": false,
|
|
4731
|
-
"multiple": false,
|
|
4732
|
-
"type": "option"
|
|
4733
|
-
},
|
|
4734
|
-
"name": {
|
|
4735
|
-
"char": "n",
|
|
4736
|
-
"description": "Build name",
|
|
4737
|
-
"name": "name",
|
|
4738
|
-
"required": true,
|
|
4739
|
-
"hasDynamicHelp": false,
|
|
4740
|
-
"multiple": false,
|
|
4741
|
-
"type": "option"
|
|
4742
|
-
},
|
|
4743
4705
|
"output": {
|
|
4744
4706
|
"char": "o",
|
|
4745
4707
|
"description": "Output format",
|
|
@@ -4754,6 +4716,24 @@
|
|
|
4754
4716
|
],
|
|
4755
4717
|
"type": "option"
|
|
4756
4718
|
},
|
|
4719
|
+
"page": {
|
|
4720
|
+
"description": "Page number for pagination",
|
|
4721
|
+
"name": "page",
|
|
4722
|
+
"required": false,
|
|
4723
|
+
"default": 1,
|
|
4724
|
+
"hasDynamicHelp": false,
|
|
4725
|
+
"multiple": false,
|
|
4726
|
+
"type": "option"
|
|
4727
|
+
},
|
|
4728
|
+
"per_page": {
|
|
4729
|
+
"description": "Number of results per page",
|
|
4730
|
+
"name": "per_page",
|
|
4731
|
+
"required": false,
|
|
4732
|
+
"default": 50,
|
|
4733
|
+
"hasDynamicHelp": false,
|
|
4734
|
+
"multiple": false,
|
|
4735
|
+
"type": "option"
|
|
4736
|
+
},
|
|
4757
4737
|
"workspace": {
|
|
4758
4738
|
"char": "w",
|
|
4759
4739
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -4766,7 +4746,7 @@
|
|
|
4766
4746
|
},
|
|
4767
4747
|
"hasDynamicHelp": false,
|
|
4768
4748
|
"hiddenAliases": [],
|
|
4769
|
-
"id": "static_host:build:
|
|
4749
|
+
"id": "static_host:build:list",
|
|
4770
4750
|
"pluginAlias": "@xano/cli",
|
|
4771
4751
|
"pluginName": "@xano/cli",
|
|
4772
4752
|
"pluginType": "core",
|
|
@@ -4778,30 +4758,23 @@
|
|
|
4778
4758
|
"commands",
|
|
4779
4759
|
"static_host",
|
|
4780
4760
|
"build",
|
|
4781
|
-
"
|
|
4761
|
+
"list",
|
|
4782
4762
|
"index.js"
|
|
4783
4763
|
]
|
|
4784
4764
|
},
|
|
4785
|
-
"
|
|
4765
|
+
"tenant:backup:create": {
|
|
4786
4766
|
"aliases": [],
|
|
4787
4767
|
"args": {
|
|
4788
|
-
"
|
|
4789
|
-
"description": "
|
|
4790
|
-
"name": "
|
|
4791
|
-
"required": true
|
|
4792
|
-
},
|
|
4793
|
-
"static_host": {
|
|
4794
|
-
"description": "Static Host name",
|
|
4795
|
-
"name": "static_host",
|
|
4768
|
+
"tenant_name": {
|
|
4769
|
+
"description": "Tenant name to back up",
|
|
4770
|
+
"name": "tenant_name",
|
|
4796
4771
|
"required": true
|
|
4797
4772
|
}
|
|
4798
4773
|
},
|
|
4799
|
-
"description": "
|
|
4774
|
+
"description": "Create a backup for a tenant",
|
|
4800
4775
|
"examples": [
|
|
4801
|
-
"$ xano
|
|
4802
|
-
"$ xano
|
|
4803
|
-
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
4804
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4776
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
4777
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
4805
4778
|
],
|
|
4806
4779
|
"flags": {
|
|
4807
4780
|
"profile": {
|
|
@@ -4820,8 +4793,18 @@
|
|
|
4820
4793
|
"env": "XANO_VERBOSE",
|
|
4821
4794
|
"name": "verbose",
|
|
4822
4795
|
"required": false,
|
|
4823
|
-
"allowNo": false,
|
|
4824
|
-
"type": "boolean"
|
|
4796
|
+
"allowNo": false,
|
|
4797
|
+
"type": "boolean"
|
|
4798
|
+
},
|
|
4799
|
+
"description": {
|
|
4800
|
+
"char": "d",
|
|
4801
|
+
"description": "Backup description",
|
|
4802
|
+
"name": "description",
|
|
4803
|
+
"required": false,
|
|
4804
|
+
"default": "",
|
|
4805
|
+
"hasDynamicHelp": false,
|
|
4806
|
+
"multiple": false,
|
|
4807
|
+
"type": "option"
|
|
4825
4808
|
},
|
|
4826
4809
|
"output": {
|
|
4827
4810
|
"char": "o",
|
|
@@ -4839,7 +4822,7 @@
|
|
|
4839
4822
|
},
|
|
4840
4823
|
"workspace": {
|
|
4841
4824
|
"char": "w",
|
|
4842
|
-
"description": "Workspace ID (
|
|
4825
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4843
4826
|
"name": "workspace",
|
|
4844
4827
|
"required": false,
|
|
4845
4828
|
"hasDynamicHelp": false,
|
|
@@ -4849,7 +4832,7 @@
|
|
|
4849
4832
|
},
|
|
4850
4833
|
"hasDynamicHelp": false,
|
|
4851
4834
|
"hiddenAliases": [],
|
|
4852
|
-
"id": "
|
|
4835
|
+
"id": "tenant:backup:create",
|
|
4853
4836
|
"pluginAlias": "@xano/cli",
|
|
4854
4837
|
"pluginName": "@xano/cli",
|
|
4855
4838
|
"pluginType": "core",
|
|
@@ -4859,27 +4842,28 @@
|
|
|
4859
4842
|
"relativePath": [
|
|
4860
4843
|
"dist",
|
|
4861
4844
|
"commands",
|
|
4862
|
-
"
|
|
4863
|
-
"
|
|
4864
|
-
"
|
|
4845
|
+
"tenant",
|
|
4846
|
+
"backup",
|
|
4847
|
+
"create",
|
|
4865
4848
|
"index.js"
|
|
4866
4849
|
]
|
|
4867
4850
|
},
|
|
4868
|
-
"
|
|
4851
|
+
"workspace:pull": {
|
|
4869
4852
|
"aliases": [],
|
|
4870
4853
|
"args": {
|
|
4871
|
-
"
|
|
4872
|
-
"description": "
|
|
4873
|
-
"name": "
|
|
4854
|
+
"directory": {
|
|
4855
|
+
"description": "Output directory for pulled documents",
|
|
4856
|
+
"name": "directory",
|
|
4874
4857
|
"required": true
|
|
4875
4858
|
}
|
|
4876
4859
|
},
|
|
4877
|
-
"description": "
|
|
4860
|
+
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
4878
4861
|
"examples": [
|
|
4879
|
-
"$ xano
|
|
4880
|
-
"$ xano
|
|
4881
|
-
"$ xano
|
|
4882
|
-
"$ xano
|
|
4862
|
+
"$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
4863
|
+
"$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
|
|
4864
|
+
"$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
|
|
4865
|
+
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4866
|
+
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4883
4867
|
],
|
|
4884
4868
|
"flags": {
|
|
4885
4869
|
"profile": {
|
|
@@ -4901,37 +4885,35 @@
|
|
|
4901
4885
|
"allowNo": false,
|
|
4902
4886
|
"type": "boolean"
|
|
4903
4887
|
},
|
|
4904
|
-
"
|
|
4905
|
-
"char": "
|
|
4906
|
-
"description": "
|
|
4907
|
-
"name": "
|
|
4888
|
+
"branch": {
|
|
4889
|
+
"char": "b",
|
|
4890
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4891
|
+
"name": "branch",
|
|
4908
4892
|
"required": false,
|
|
4909
|
-
"default": "summary",
|
|
4910
4893
|
"hasDynamicHelp": false,
|
|
4911
4894
|
"multiple": false,
|
|
4912
|
-
"options": [
|
|
4913
|
-
"summary",
|
|
4914
|
-
"json"
|
|
4915
|
-
],
|
|
4916
4895
|
"type": "option"
|
|
4917
4896
|
},
|
|
4918
|
-
"
|
|
4919
|
-
"description": "
|
|
4920
|
-
"name": "
|
|
4897
|
+
"env": {
|
|
4898
|
+
"description": "Include environment variables",
|
|
4899
|
+
"name": "env",
|
|
4921
4900
|
"required": false,
|
|
4922
|
-
"
|
|
4923
|
-
"
|
|
4924
|
-
"multiple": false,
|
|
4925
|
-
"type": "option"
|
|
4901
|
+
"allowNo": false,
|
|
4902
|
+
"type": "boolean"
|
|
4926
4903
|
},
|
|
4927
|
-
"
|
|
4928
|
-
"description": "
|
|
4929
|
-
"name": "
|
|
4904
|
+
"draft": {
|
|
4905
|
+
"description": "Include draft versions",
|
|
4906
|
+
"name": "draft",
|
|
4930
4907
|
"required": false,
|
|
4931
|
-
"
|
|
4932
|
-
"
|
|
4933
|
-
|
|
4934
|
-
|
|
4908
|
+
"allowNo": false,
|
|
4909
|
+
"type": "boolean"
|
|
4910
|
+
},
|
|
4911
|
+
"records": {
|
|
4912
|
+
"description": "Include records",
|
|
4913
|
+
"name": "records",
|
|
4914
|
+
"required": false,
|
|
4915
|
+
"allowNo": false,
|
|
4916
|
+
"type": "boolean"
|
|
4935
4917
|
},
|
|
4936
4918
|
"workspace": {
|
|
4937
4919
|
"char": "w",
|
|
@@ -4945,7 +4927,7 @@
|
|
|
4945
4927
|
},
|
|
4946
4928
|
"hasDynamicHelp": false,
|
|
4947
4929
|
"hiddenAliases": [],
|
|
4948
|
-
"id": "
|
|
4930
|
+
"id": "workspace:pull",
|
|
4949
4931
|
"pluginAlias": "@xano/cli",
|
|
4950
4932
|
"pluginName": "@xano/cli",
|
|
4951
4933
|
"pluginType": "core",
|
|
@@ -4955,25 +4937,33 @@
|
|
|
4955
4937
|
"relativePath": [
|
|
4956
4938
|
"dist",
|
|
4957
4939
|
"commands",
|
|
4958
|
-
"
|
|
4959
|
-
"
|
|
4960
|
-
"list",
|
|
4940
|
+
"workspace",
|
|
4941
|
+
"pull",
|
|
4961
4942
|
"index.js"
|
|
4962
4943
|
]
|
|
4963
4944
|
},
|
|
4964
|
-
"
|
|
4945
|
+
"workspace:push": {
|
|
4965
4946
|
"aliases": [],
|
|
4966
4947
|
"args": {
|
|
4967
|
-
"
|
|
4968
|
-
"description": "
|
|
4969
|
-
"name": "
|
|
4948
|
+
"directory": {
|
|
4949
|
+
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
4950
|
+
"name": "directory",
|
|
4970
4951
|
"required": true
|
|
4971
4952
|
}
|
|
4972
4953
|
},
|
|
4973
|
-
"description": "
|
|
4954
|
+
"description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
|
|
4974
4955
|
"examples": [
|
|
4975
|
-
"$ xano
|
|
4976
|
-
"$ xano
|
|
4956
|
+
"$ xano workspace push ./my-workspace\nPushed 42 documents from ./my-workspace\n",
|
|
4957
|
+
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
4958
|
+
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
4959
|
+
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4960
|
+
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4961
|
+
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
4962
|
+
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4963
|
+
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4964
|
+
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4965
|
+
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
4966
|
+
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
4977
4967
|
],
|
|
4978
4968
|
"flags": {
|
|
4979
4969
|
"profile": {
|
|
@@ -4995,33 +4985,60 @@
|
|
|
4995
4985
|
"allowNo": false,
|
|
4996
4986
|
"type": "boolean"
|
|
4997
4987
|
},
|
|
4998
|
-
"
|
|
4999
|
-
"char": "
|
|
5000
|
-
"description": "
|
|
5001
|
-
"name": "
|
|
4988
|
+
"branch": {
|
|
4989
|
+
"char": "b",
|
|
4990
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4991
|
+
"name": "branch",
|
|
5002
4992
|
"required": false,
|
|
5003
|
-
"default": "",
|
|
5004
4993
|
"hasDynamicHelp": false,
|
|
5005
4994
|
"multiple": false,
|
|
5006
4995
|
"type": "option"
|
|
5007
4996
|
},
|
|
5008
|
-
"
|
|
5009
|
-
"
|
|
5010
|
-
"
|
|
5011
|
-
"name": "output",
|
|
4997
|
+
"delete": {
|
|
4998
|
+
"description": "Delete workspace objects not included in the push (default: false)",
|
|
4999
|
+
"name": "delete",
|
|
5012
5000
|
"required": false,
|
|
5013
|
-
"
|
|
5014
|
-
"
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
"
|
|
5001
|
+
"allowNo": true,
|
|
5002
|
+
"type": "boolean"
|
|
5003
|
+
},
|
|
5004
|
+
"env": {
|
|
5005
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
5006
|
+
"name": "env",
|
|
5007
|
+
"required": false,
|
|
5008
|
+
"allowNo": true,
|
|
5009
|
+
"type": "boolean"
|
|
5010
|
+
},
|
|
5011
|
+
"partial": {
|
|
5012
|
+
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
5013
|
+
"name": "partial",
|
|
5014
|
+
"required": false,
|
|
5015
|
+
"allowNo": false,
|
|
5016
|
+
"type": "boolean"
|
|
5017
|
+
},
|
|
5018
|
+
"records": {
|
|
5019
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
5020
|
+
"name": "records",
|
|
5021
|
+
"required": false,
|
|
5022
|
+
"allowNo": true,
|
|
5023
|
+
"type": "boolean"
|
|
5024
|
+
},
|
|
5025
|
+
"sync-guids": {
|
|
5026
|
+
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
5027
|
+
"name": "sync-guids",
|
|
5028
|
+
"required": false,
|
|
5029
|
+
"allowNo": true,
|
|
5030
|
+
"type": "boolean"
|
|
5031
|
+
},
|
|
5032
|
+
"truncate": {
|
|
5033
|
+
"description": "Truncate all table records before importing",
|
|
5034
|
+
"name": "truncate",
|
|
5035
|
+
"required": false,
|
|
5036
|
+
"allowNo": false,
|
|
5037
|
+
"type": "boolean"
|
|
5021
5038
|
},
|
|
5022
5039
|
"workspace": {
|
|
5023
5040
|
"char": "w",
|
|
5024
|
-
"description": "Workspace ID (
|
|
5041
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5025
5042
|
"name": "workspace",
|
|
5026
5043
|
"required": false,
|
|
5027
5044
|
"hasDynamicHelp": false,
|
|
@@ -5031,7 +5048,7 @@
|
|
|
5031
5048
|
},
|
|
5032
5049
|
"hasDynamicHelp": false,
|
|
5033
5050
|
"hiddenAliases": [],
|
|
5034
|
-
"id": "
|
|
5051
|
+
"id": "workspace:push",
|
|
5035
5052
|
"pluginAlias": "@xano/cli",
|
|
5036
5053
|
"pluginName": "@xano/cli",
|
|
5037
5054
|
"pluginType": "core",
|
|
@@ -5041,26 +5058,25 @@
|
|
|
5041
5058
|
"relativePath": [
|
|
5042
5059
|
"dist",
|
|
5043
5060
|
"commands",
|
|
5044
|
-
"
|
|
5045
|
-
"
|
|
5046
|
-
"create",
|
|
5061
|
+
"workspace",
|
|
5062
|
+
"push",
|
|
5047
5063
|
"index.js"
|
|
5048
5064
|
]
|
|
5049
5065
|
},
|
|
5050
|
-
"tenant:backup:
|
|
5066
|
+
"tenant:backup:delete": {
|
|
5051
5067
|
"aliases": [],
|
|
5052
5068
|
"args": {
|
|
5053
5069
|
"tenant_name": {
|
|
5054
|
-
"description": "Tenant name
|
|
5070
|
+
"description": "Tenant name that owns the backup",
|
|
5055
5071
|
"name": "tenant_name",
|
|
5056
5072
|
"required": true
|
|
5057
5073
|
}
|
|
5058
5074
|
},
|
|
5059
|
-
"description": "
|
|
5075
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5060
5076
|
"examples": [
|
|
5061
|
-
"$ xano tenant backup
|
|
5062
|
-
"$ xano tenant backup
|
|
5063
|
-
"$ xano tenant backup
|
|
5077
|
+
"$ 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",
|
|
5078
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5079
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5064
5080
|
],
|
|
5065
5081
|
"flags": {
|
|
5066
5082
|
"profile": {
|
|
@@ -5083,17 +5099,25 @@
|
|
|
5083
5099
|
"type": "boolean"
|
|
5084
5100
|
},
|
|
5085
5101
|
"backup_id": {
|
|
5086
|
-
"description": "Backup ID to
|
|
5102
|
+
"description": "Backup ID to delete",
|
|
5087
5103
|
"name": "backup_id",
|
|
5088
5104
|
"required": true,
|
|
5089
5105
|
"hasDynamicHelp": false,
|
|
5090
5106
|
"multiple": false,
|
|
5091
5107
|
"type": "option"
|
|
5092
5108
|
},
|
|
5093
|
-
"
|
|
5109
|
+
"force": {
|
|
5110
|
+
"char": "f",
|
|
5111
|
+
"description": "Skip confirmation prompt",
|
|
5112
|
+
"name": "force",
|
|
5113
|
+
"required": false,
|
|
5114
|
+
"allowNo": false,
|
|
5115
|
+
"type": "boolean"
|
|
5116
|
+
},
|
|
5117
|
+
"output": {
|
|
5094
5118
|
"char": "o",
|
|
5095
5119
|
"description": "Output format",
|
|
5096
|
-
"name": "
|
|
5120
|
+
"name": "output",
|
|
5097
5121
|
"required": false,
|
|
5098
5122
|
"default": "summary",
|
|
5099
5123
|
"hasDynamicHelp": false,
|
|
@@ -5104,14 +5128,6 @@
|
|
|
5104
5128
|
],
|
|
5105
5129
|
"type": "option"
|
|
5106
5130
|
},
|
|
5107
|
-
"output": {
|
|
5108
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5109
|
-
"name": "output",
|
|
5110
|
-
"required": false,
|
|
5111
|
-
"hasDynamicHelp": false,
|
|
5112
|
-
"multiple": false,
|
|
5113
|
-
"type": "option"
|
|
5114
|
-
},
|
|
5115
5131
|
"workspace": {
|
|
5116
5132
|
"char": "w",
|
|
5117
5133
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5124,7 +5140,7 @@
|
|
|
5124
5140
|
},
|
|
5125
5141
|
"hasDynamicHelp": false,
|
|
5126
5142
|
"hiddenAliases": [],
|
|
5127
|
-
"id": "tenant:backup:
|
|
5143
|
+
"id": "tenant:backup:delete",
|
|
5128
5144
|
"pluginAlias": "@xano/cli",
|
|
5129
5145
|
"pluginName": "@xano/cli",
|
|
5130
5146
|
"pluginType": "core",
|
|
@@ -5136,7 +5152,7 @@
|
|
|
5136
5152
|
"commands",
|
|
5137
5153
|
"tenant",
|
|
5138
5154
|
"backup",
|
|
5139
|
-
"
|
|
5155
|
+
"delete",
|
|
5140
5156
|
"index.js"
|
|
5141
5157
|
]
|
|
5142
5158
|
},
|
|
@@ -5235,20 +5251,19 @@
|
|
|
5235
5251
|
"index.js"
|
|
5236
5252
|
]
|
|
5237
5253
|
},
|
|
5238
|
-
"tenant:backup:
|
|
5254
|
+
"tenant:backup:list": {
|
|
5239
5255
|
"aliases": [],
|
|
5240
5256
|
"args": {
|
|
5241
5257
|
"tenant_name": {
|
|
5242
|
-
"description": "Tenant name
|
|
5258
|
+
"description": "Tenant name to list backups for",
|
|
5243
5259
|
"name": "tenant_name",
|
|
5244
5260
|
"required": true
|
|
5245
5261
|
}
|
|
5246
5262
|
},
|
|
5247
|
-
"description": "
|
|
5263
|
+
"description": "List backups for a tenant",
|
|
5248
5264
|
"examples": [
|
|
5249
|
-
"$ xano tenant backup
|
|
5250
|
-
"$ xano tenant backup
|
|
5251
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5265
|
+
"$ 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",
|
|
5266
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5252
5267
|
],
|
|
5253
5268
|
"flags": {
|
|
5254
5269
|
"profile": {
|
|
@@ -5270,22 +5285,6 @@
|
|
|
5270
5285
|
"allowNo": false,
|
|
5271
5286
|
"type": "boolean"
|
|
5272
5287
|
},
|
|
5273
|
-
"backup_id": {
|
|
5274
|
-
"description": "Backup ID to delete",
|
|
5275
|
-
"name": "backup_id",
|
|
5276
|
-
"required": true,
|
|
5277
|
-
"hasDynamicHelp": false,
|
|
5278
|
-
"multiple": false,
|
|
5279
|
-
"type": "option"
|
|
5280
|
-
},
|
|
5281
|
-
"force": {
|
|
5282
|
-
"char": "f",
|
|
5283
|
-
"description": "Skip confirmation prompt",
|
|
5284
|
-
"name": "force",
|
|
5285
|
-
"required": false,
|
|
5286
|
-
"allowNo": false,
|
|
5287
|
-
"type": "boolean"
|
|
5288
|
-
},
|
|
5289
5288
|
"output": {
|
|
5290
5289
|
"char": "o",
|
|
5291
5290
|
"description": "Output format",
|
|
@@ -5300,6 +5299,15 @@
|
|
|
5300
5299
|
],
|
|
5301
5300
|
"type": "option"
|
|
5302
5301
|
},
|
|
5302
|
+
"page": {
|
|
5303
|
+
"description": "Page number for pagination",
|
|
5304
|
+
"name": "page",
|
|
5305
|
+
"required": false,
|
|
5306
|
+
"default": 1,
|
|
5307
|
+
"hasDynamicHelp": false,
|
|
5308
|
+
"multiple": false,
|
|
5309
|
+
"type": "option"
|
|
5310
|
+
},
|
|
5303
5311
|
"workspace": {
|
|
5304
5312
|
"char": "w",
|
|
5305
5313
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5312,7 +5320,7 @@
|
|
|
5312
5320
|
},
|
|
5313
5321
|
"hasDynamicHelp": false,
|
|
5314
5322
|
"hiddenAliases": [],
|
|
5315
|
-
"id": "tenant:backup:
|
|
5323
|
+
"id": "tenant:backup:list",
|
|
5316
5324
|
"pluginAlias": "@xano/cli",
|
|
5317
5325
|
"pluginName": "@xano/cli",
|
|
5318
5326
|
"pluginType": "core",
|
|
@@ -5324,23 +5332,24 @@
|
|
|
5324
5332
|
"commands",
|
|
5325
5333
|
"tenant",
|
|
5326
5334
|
"backup",
|
|
5327
|
-
"
|
|
5335
|
+
"list",
|
|
5328
5336
|
"index.js"
|
|
5329
5337
|
]
|
|
5330
5338
|
},
|
|
5331
|
-
"tenant:backup:
|
|
5339
|
+
"tenant:backup:export": {
|
|
5332
5340
|
"aliases": [],
|
|
5333
5341
|
"args": {
|
|
5334
5342
|
"tenant_name": {
|
|
5335
|
-
"description": "Tenant name to
|
|
5343
|
+
"description": "Tenant name to export backup from",
|
|
5336
5344
|
"name": "tenant_name",
|
|
5337
5345
|
"required": true
|
|
5338
5346
|
}
|
|
5339
5347
|
},
|
|
5340
|
-
"description": "
|
|
5348
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5341
5349
|
"examples": [
|
|
5342
|
-
"$ xano tenant backup
|
|
5343
|
-
"$ xano tenant backup
|
|
5350
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5351
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5352
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5344
5353
|
],
|
|
5345
5354
|
"flags": {
|
|
5346
5355
|
"profile": {
|
|
@@ -5362,10 +5371,18 @@
|
|
|
5362
5371
|
"allowNo": false,
|
|
5363
5372
|
"type": "boolean"
|
|
5364
5373
|
},
|
|
5365
|
-
"
|
|
5374
|
+
"backup_id": {
|
|
5375
|
+
"description": "Backup ID to export",
|
|
5376
|
+
"name": "backup_id",
|
|
5377
|
+
"required": true,
|
|
5378
|
+
"hasDynamicHelp": false,
|
|
5379
|
+
"multiple": false,
|
|
5380
|
+
"type": "option"
|
|
5381
|
+
},
|
|
5382
|
+
"format": {
|
|
5366
5383
|
"char": "o",
|
|
5367
5384
|
"description": "Output format",
|
|
5368
|
-
"name": "
|
|
5385
|
+
"name": "format",
|
|
5369
5386
|
"required": false,
|
|
5370
5387
|
"default": "summary",
|
|
5371
5388
|
"hasDynamicHelp": false,
|
|
@@ -5376,11 +5393,10 @@
|
|
|
5376
5393
|
],
|
|
5377
5394
|
"type": "option"
|
|
5378
5395
|
},
|
|
5379
|
-
"
|
|
5380
|
-
"description": "
|
|
5381
|
-
"name": "
|
|
5396
|
+
"output": {
|
|
5397
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5398
|
+
"name": "output",
|
|
5382
5399
|
"required": false,
|
|
5383
|
-
"default": 1,
|
|
5384
5400
|
"hasDynamicHelp": false,
|
|
5385
5401
|
"multiple": false,
|
|
5386
5402
|
"type": "option"
|
|
@@ -5397,7 +5413,7 @@
|
|
|
5397
5413
|
},
|
|
5398
5414
|
"hasDynamicHelp": false,
|
|
5399
5415
|
"hiddenAliases": [],
|
|
5400
|
-
"id": "tenant:backup:
|
|
5416
|
+
"id": "tenant:backup:export",
|
|
5401
5417
|
"pluginAlias": "@xano/cli",
|
|
5402
5418
|
"pluginName": "@xano/cli",
|
|
5403
5419
|
"pluginType": "core",
|
|
@@ -5409,7 +5425,7 @@
|
|
|
5409
5425
|
"commands",
|
|
5410
5426
|
"tenant",
|
|
5411
5427
|
"backup",
|
|
5412
|
-
"
|
|
5428
|
+
"export",
|
|
5413
5429
|
"index.js"
|
|
5414
5430
|
]
|
|
5415
5431
|
},
|
|
@@ -5627,6 +5643,82 @@
|
|
|
5627
5643
|
"index.js"
|
|
5628
5644
|
]
|
|
5629
5645
|
},
|
|
5646
|
+
"tenant:cluster:delete": {
|
|
5647
|
+
"aliases": [],
|
|
5648
|
+
"args": {
|
|
5649
|
+
"cluster_id": {
|
|
5650
|
+
"description": "Cluster ID to delete",
|
|
5651
|
+
"name": "cluster_id",
|
|
5652
|
+
"required": true
|
|
5653
|
+
}
|
|
5654
|
+
},
|
|
5655
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5656
|
+
"examples": [
|
|
5657
|
+
"$ 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",
|
|
5658
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5659
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5660
|
+
],
|
|
5661
|
+
"flags": {
|
|
5662
|
+
"profile": {
|
|
5663
|
+
"char": "p",
|
|
5664
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5665
|
+
"env": "XANO_PROFILE",
|
|
5666
|
+
"name": "profile",
|
|
5667
|
+
"required": false,
|
|
5668
|
+
"hasDynamicHelp": false,
|
|
5669
|
+
"multiple": false,
|
|
5670
|
+
"type": "option"
|
|
5671
|
+
},
|
|
5672
|
+
"verbose": {
|
|
5673
|
+
"char": "v",
|
|
5674
|
+
"description": "Show detailed request/response information",
|
|
5675
|
+
"env": "XANO_VERBOSE",
|
|
5676
|
+
"name": "verbose",
|
|
5677
|
+
"required": false,
|
|
5678
|
+
"allowNo": false,
|
|
5679
|
+
"type": "boolean"
|
|
5680
|
+
},
|
|
5681
|
+
"force": {
|
|
5682
|
+
"char": "f",
|
|
5683
|
+
"description": "Skip confirmation prompt",
|
|
5684
|
+
"name": "force",
|
|
5685
|
+
"required": false,
|
|
5686
|
+
"allowNo": false,
|
|
5687
|
+
"type": "boolean"
|
|
5688
|
+
},
|
|
5689
|
+
"output": {
|
|
5690
|
+
"char": "o",
|
|
5691
|
+
"description": "Output format",
|
|
5692
|
+
"name": "output",
|
|
5693
|
+
"required": false,
|
|
5694
|
+
"default": "summary",
|
|
5695
|
+
"hasDynamicHelp": false,
|
|
5696
|
+
"multiple": false,
|
|
5697
|
+
"options": [
|
|
5698
|
+
"summary",
|
|
5699
|
+
"json"
|
|
5700
|
+
],
|
|
5701
|
+
"type": "option"
|
|
5702
|
+
}
|
|
5703
|
+
},
|
|
5704
|
+
"hasDynamicHelp": false,
|
|
5705
|
+
"hiddenAliases": [],
|
|
5706
|
+
"id": "tenant:cluster:delete",
|
|
5707
|
+
"pluginAlias": "@xano/cli",
|
|
5708
|
+
"pluginName": "@xano/cli",
|
|
5709
|
+
"pluginType": "core",
|
|
5710
|
+
"strict": true,
|
|
5711
|
+
"enableJsonFlag": false,
|
|
5712
|
+
"isESM": true,
|
|
5713
|
+
"relativePath": [
|
|
5714
|
+
"dist",
|
|
5715
|
+
"commands",
|
|
5716
|
+
"tenant",
|
|
5717
|
+
"cluster",
|
|
5718
|
+
"delete",
|
|
5719
|
+
"index.js"
|
|
5720
|
+
]
|
|
5721
|
+
},
|
|
5630
5722
|
"tenant:cluster:edit": {
|
|
5631
5723
|
"aliases": [],
|
|
5632
5724
|
"args": {
|
|
@@ -6133,82 +6225,6 @@
|
|
|
6133
6225
|
"index.js"
|
|
6134
6226
|
]
|
|
6135
6227
|
},
|
|
6136
|
-
"tenant:cluster:delete": {
|
|
6137
|
-
"aliases": [],
|
|
6138
|
-
"args": {
|
|
6139
|
-
"cluster_id": {
|
|
6140
|
-
"description": "Cluster ID to delete",
|
|
6141
|
-
"name": "cluster_id",
|
|
6142
|
-
"required": true
|
|
6143
|
-
}
|
|
6144
|
-
},
|
|
6145
|
-
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
6146
|
-
"examples": [
|
|
6147
|
-
"$ 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",
|
|
6148
|
-
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
6149
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
6150
|
-
],
|
|
6151
|
-
"flags": {
|
|
6152
|
-
"profile": {
|
|
6153
|
-
"char": "p",
|
|
6154
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
6155
|
-
"env": "XANO_PROFILE",
|
|
6156
|
-
"name": "profile",
|
|
6157
|
-
"required": false,
|
|
6158
|
-
"hasDynamicHelp": false,
|
|
6159
|
-
"multiple": false,
|
|
6160
|
-
"type": "option"
|
|
6161
|
-
},
|
|
6162
|
-
"verbose": {
|
|
6163
|
-
"char": "v",
|
|
6164
|
-
"description": "Show detailed request/response information",
|
|
6165
|
-
"env": "XANO_VERBOSE",
|
|
6166
|
-
"name": "verbose",
|
|
6167
|
-
"required": false,
|
|
6168
|
-
"allowNo": false,
|
|
6169
|
-
"type": "boolean"
|
|
6170
|
-
},
|
|
6171
|
-
"force": {
|
|
6172
|
-
"char": "f",
|
|
6173
|
-
"description": "Skip confirmation prompt",
|
|
6174
|
-
"name": "force",
|
|
6175
|
-
"required": false,
|
|
6176
|
-
"allowNo": false,
|
|
6177
|
-
"type": "boolean"
|
|
6178
|
-
},
|
|
6179
|
-
"output": {
|
|
6180
|
-
"char": "o",
|
|
6181
|
-
"description": "Output format",
|
|
6182
|
-
"name": "output",
|
|
6183
|
-
"required": false,
|
|
6184
|
-
"default": "summary",
|
|
6185
|
-
"hasDynamicHelp": false,
|
|
6186
|
-
"multiple": false,
|
|
6187
|
-
"options": [
|
|
6188
|
-
"summary",
|
|
6189
|
-
"json"
|
|
6190
|
-
],
|
|
6191
|
-
"type": "option"
|
|
6192
|
-
}
|
|
6193
|
-
},
|
|
6194
|
-
"hasDynamicHelp": false,
|
|
6195
|
-
"hiddenAliases": [],
|
|
6196
|
-
"id": "tenant:cluster:delete",
|
|
6197
|
-
"pluginAlias": "@xano/cli",
|
|
6198
|
-
"pluginName": "@xano/cli",
|
|
6199
|
-
"pluginType": "core",
|
|
6200
|
-
"strict": true,
|
|
6201
|
-
"enableJsonFlag": false,
|
|
6202
|
-
"isESM": true,
|
|
6203
|
-
"relativePath": [
|
|
6204
|
-
"dist",
|
|
6205
|
-
"commands",
|
|
6206
|
-
"tenant",
|
|
6207
|
-
"cluster",
|
|
6208
|
-
"delete",
|
|
6209
|
-
"index.js"
|
|
6210
|
-
]
|
|
6211
|
-
},
|
|
6212
6228
|
"tenant:env:list": {
|
|
6213
6229
|
"aliases": [],
|
|
6214
6230
|
"args": {
|
|
@@ -6285,7 +6301,7 @@
|
|
|
6285
6301
|
"index.js"
|
|
6286
6302
|
]
|
|
6287
6303
|
},
|
|
6288
|
-
"tenant:env:
|
|
6304
|
+
"tenant:env:set": {
|
|
6289
6305
|
"aliases": [],
|
|
6290
6306
|
"args": {
|
|
6291
6307
|
"tenant_name": {
|
|
@@ -6294,11 +6310,10 @@
|
|
|
6294
6310
|
"required": true
|
|
6295
6311
|
}
|
|
6296
6312
|
},
|
|
6297
|
-
"description": "Set
|
|
6313
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6298
6314
|
"examples": [
|
|
6299
|
-
"$ xano tenant env
|
|
6300
|
-
"$ xano tenant env
|
|
6301
|
-
"$ xano tenant env set_all my-tenant -o json"
|
|
6315
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6316
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6302
6317
|
],
|
|
6303
6318
|
"flags": {
|
|
6304
6319
|
"profile": {
|
|
@@ -6320,18 +6335,11 @@
|
|
|
6320
6335
|
"allowNo": false,
|
|
6321
6336
|
"type": "boolean"
|
|
6322
6337
|
},
|
|
6323
|
-
"
|
|
6324
|
-
"
|
|
6325
|
-
"
|
|
6326
|
-
"
|
|
6327
|
-
"
|
|
6328
|
-
"type": "boolean"
|
|
6329
|
-
},
|
|
6330
|
-
"file": {
|
|
6331
|
-
"char": "f",
|
|
6332
|
-
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6333
|
-
"name": "file",
|
|
6334
|
-
"required": false,
|
|
6338
|
+
"name": {
|
|
6339
|
+
"char": "n",
|
|
6340
|
+
"description": "Environment variable name",
|
|
6341
|
+
"name": "name",
|
|
6342
|
+
"required": true,
|
|
6335
6343
|
"hasDynamicHelp": false,
|
|
6336
6344
|
"multiple": false,
|
|
6337
6345
|
"type": "option"
|
|
@@ -6350,6 +6358,14 @@
|
|
|
6350
6358
|
],
|
|
6351
6359
|
"type": "option"
|
|
6352
6360
|
},
|
|
6361
|
+
"value": {
|
|
6362
|
+
"description": "Environment variable value",
|
|
6363
|
+
"name": "value",
|
|
6364
|
+
"required": true,
|
|
6365
|
+
"hasDynamicHelp": false,
|
|
6366
|
+
"multiple": false,
|
|
6367
|
+
"type": "option"
|
|
6368
|
+
},
|
|
6353
6369
|
"workspace": {
|
|
6354
6370
|
"char": "w",
|
|
6355
6371
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6362,7 +6378,7 @@
|
|
|
6362
6378
|
},
|
|
6363
6379
|
"hasDynamicHelp": false,
|
|
6364
6380
|
"hiddenAliases": [],
|
|
6365
|
-
"id": "tenant:env:
|
|
6381
|
+
"id": "tenant:env:set",
|
|
6366
6382
|
"pluginAlias": "@xano/cli",
|
|
6367
6383
|
"pluginName": "@xano/cli",
|
|
6368
6384
|
"pluginType": "core",
|
|
@@ -6374,11 +6390,11 @@
|
|
|
6374
6390
|
"commands",
|
|
6375
6391
|
"tenant",
|
|
6376
6392
|
"env",
|
|
6377
|
-
"
|
|
6393
|
+
"set",
|
|
6378
6394
|
"index.js"
|
|
6379
6395
|
]
|
|
6380
6396
|
},
|
|
6381
|
-
"tenant:env:
|
|
6397
|
+
"tenant:env:set_all": {
|
|
6382
6398
|
"aliases": [],
|
|
6383
6399
|
"args": {
|
|
6384
6400
|
"tenant_name": {
|
|
@@ -6387,10 +6403,11 @@
|
|
|
6387
6403
|
"required": true
|
|
6388
6404
|
}
|
|
6389
6405
|
},
|
|
6390
|
-
"description": "Set
|
|
6406
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6391
6407
|
"examples": [
|
|
6392
|
-
"$ xano tenant env
|
|
6393
|
-
"$ xano tenant env
|
|
6408
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6409
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6410
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6394
6411
|
],
|
|
6395
6412
|
"flags": {
|
|
6396
6413
|
"profile": {
|
|
@@ -6412,11 +6429,18 @@
|
|
|
6412
6429
|
"allowNo": false,
|
|
6413
6430
|
"type": "boolean"
|
|
6414
6431
|
},
|
|
6415
|
-
"
|
|
6416
|
-
"
|
|
6417
|
-
"
|
|
6418
|
-
"
|
|
6419
|
-
"
|
|
6432
|
+
"clean": {
|
|
6433
|
+
"description": "Remove the source file after successful upload",
|
|
6434
|
+
"name": "clean",
|
|
6435
|
+
"required": false,
|
|
6436
|
+
"allowNo": false,
|
|
6437
|
+
"type": "boolean"
|
|
6438
|
+
},
|
|
6439
|
+
"file": {
|
|
6440
|
+
"char": "f",
|
|
6441
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6442
|
+
"name": "file",
|
|
6443
|
+
"required": false,
|
|
6420
6444
|
"hasDynamicHelp": false,
|
|
6421
6445
|
"multiple": false,
|
|
6422
6446
|
"type": "option"
|
|
@@ -6435,14 +6459,6 @@
|
|
|
6435
6459
|
],
|
|
6436
6460
|
"type": "option"
|
|
6437
6461
|
},
|
|
6438
|
-
"value": {
|
|
6439
|
-
"description": "Environment variable value",
|
|
6440
|
-
"name": "value",
|
|
6441
|
-
"required": true,
|
|
6442
|
-
"hasDynamicHelp": false,
|
|
6443
|
-
"multiple": false,
|
|
6444
|
-
"type": "option"
|
|
6445
|
-
},
|
|
6446
6462
|
"workspace": {
|
|
6447
6463
|
"char": "w",
|
|
6448
6464
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6455,7 +6471,7 @@
|
|
|
6455
6471
|
},
|
|
6456
6472
|
"hasDynamicHelp": false,
|
|
6457
6473
|
"hiddenAliases": [],
|
|
6458
|
-
"id": "tenant:env:
|
|
6474
|
+
"id": "tenant:env:set_all",
|
|
6459
6475
|
"pluginAlias": "@xano/cli",
|
|
6460
6476
|
"pluginName": "@xano/cli",
|
|
6461
6477
|
"pluginType": "core",
|
|
@@ -6467,7 +6483,7 @@
|
|
|
6467
6483
|
"commands",
|
|
6468
6484
|
"tenant",
|
|
6469
6485
|
"env",
|
|
6470
|
-
"
|
|
6486
|
+
"set_all",
|
|
6471
6487
|
"index.js"
|
|
6472
6488
|
]
|
|
6473
6489
|
},
|
|
@@ -6868,5 +6884,5 @@
|
|
|
6868
6884
|
]
|
|
6869
6885
|
}
|
|
6870
6886
|
},
|
|
6871
|
-
"version": "0.0.
|
|
6887
|
+
"version": "0.0.42"
|
|
6872
6888
|
}
|