@xano/cli 0.0.42 → 0.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/oclif.manifest.json
CHANGED
|
@@ -302,6 +302,109 @@
|
|
|
302
302
|
"index.js"
|
|
303
303
|
]
|
|
304
304
|
},
|
|
305
|
+
"branch:edit": {
|
|
306
|
+
"aliases": [],
|
|
307
|
+
"args": {
|
|
308
|
+
"branch_label": {
|
|
309
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
310
|
+
"name": "branch_label",
|
|
311
|
+
"required": true
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
315
|
+
"examples": [
|
|
316
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
317
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
318
|
+
"$ 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"
|
|
319
|
+
],
|
|
320
|
+
"flags": {
|
|
321
|
+
"profile": {
|
|
322
|
+
"char": "p",
|
|
323
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
324
|
+
"env": "XANO_PROFILE",
|
|
325
|
+
"name": "profile",
|
|
326
|
+
"required": false,
|
|
327
|
+
"hasDynamicHelp": false,
|
|
328
|
+
"multiple": false,
|
|
329
|
+
"type": "option"
|
|
330
|
+
},
|
|
331
|
+
"verbose": {
|
|
332
|
+
"char": "v",
|
|
333
|
+
"description": "Show detailed request/response information",
|
|
334
|
+
"env": "XANO_VERBOSE",
|
|
335
|
+
"name": "verbose",
|
|
336
|
+
"required": false,
|
|
337
|
+
"allowNo": false,
|
|
338
|
+
"type": "boolean"
|
|
339
|
+
},
|
|
340
|
+
"color": {
|
|
341
|
+
"char": "c",
|
|
342
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
343
|
+
"name": "color",
|
|
344
|
+
"required": false,
|
|
345
|
+
"hasDynamicHelp": false,
|
|
346
|
+
"multiple": false,
|
|
347
|
+
"type": "option"
|
|
348
|
+
},
|
|
349
|
+
"description": {
|
|
350
|
+
"char": "d",
|
|
351
|
+
"description": "New description for the branch",
|
|
352
|
+
"name": "description",
|
|
353
|
+
"required": false,
|
|
354
|
+
"hasDynamicHelp": false,
|
|
355
|
+
"multiple": false,
|
|
356
|
+
"type": "option"
|
|
357
|
+
},
|
|
358
|
+
"label": {
|
|
359
|
+
"char": "l",
|
|
360
|
+
"description": "New label for the branch",
|
|
361
|
+
"name": "label",
|
|
362
|
+
"required": false,
|
|
363
|
+
"hasDynamicHelp": false,
|
|
364
|
+
"multiple": false,
|
|
365
|
+
"type": "option"
|
|
366
|
+
},
|
|
367
|
+
"output": {
|
|
368
|
+
"char": "o",
|
|
369
|
+
"description": "Output format",
|
|
370
|
+
"name": "output",
|
|
371
|
+
"required": false,
|
|
372
|
+
"default": "summary",
|
|
373
|
+
"hasDynamicHelp": false,
|
|
374
|
+
"multiple": false,
|
|
375
|
+
"options": [
|
|
376
|
+
"summary",
|
|
377
|
+
"json"
|
|
378
|
+
],
|
|
379
|
+
"type": "option"
|
|
380
|
+
},
|
|
381
|
+
"workspace": {
|
|
382
|
+
"char": "w",
|
|
383
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
384
|
+
"name": "workspace",
|
|
385
|
+
"required": false,
|
|
386
|
+
"hasDynamicHelp": false,
|
|
387
|
+
"multiple": false,
|
|
388
|
+
"type": "option"
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
"hasDynamicHelp": false,
|
|
392
|
+
"hiddenAliases": [],
|
|
393
|
+
"id": "branch:edit",
|
|
394
|
+
"pluginAlias": "@xano/cli",
|
|
395
|
+
"pluginName": "@xano/cli",
|
|
396
|
+
"pluginType": "core",
|
|
397
|
+
"strict": true,
|
|
398
|
+
"enableJsonFlag": false,
|
|
399
|
+
"isESM": true,
|
|
400
|
+
"relativePath": [
|
|
401
|
+
"dist",
|
|
402
|
+
"commands",
|
|
403
|
+
"branch",
|
|
404
|
+
"edit",
|
|
405
|
+
"index.js"
|
|
406
|
+
]
|
|
407
|
+
},
|
|
305
408
|
"branch:list": {
|
|
306
409
|
"aliases": [],
|
|
307
410
|
"args": {
|
|
@@ -1152,109 +1255,6 @@
|
|
|
1152
1255
|
"index.js"
|
|
1153
1256
|
]
|
|
1154
1257
|
},
|
|
1155
|
-
"branch:edit": {
|
|
1156
|
-
"aliases": [],
|
|
1157
|
-
"args": {
|
|
1158
|
-
"branch_label": {
|
|
1159
|
-
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
1160
|
-
"name": "branch_label",
|
|
1161
|
-
"required": true
|
|
1162
|
-
}
|
|
1163
|
-
},
|
|
1164
|
-
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
1165
|
-
"examples": [
|
|
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"
|
|
1169
|
-
],
|
|
1170
|
-
"flags": {
|
|
1171
|
-
"profile": {
|
|
1172
|
-
"char": "p",
|
|
1173
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1174
|
-
"env": "XANO_PROFILE",
|
|
1175
|
-
"name": "profile",
|
|
1176
|
-
"required": false,
|
|
1177
|
-
"hasDynamicHelp": false,
|
|
1178
|
-
"multiple": false,
|
|
1179
|
-
"type": "option"
|
|
1180
|
-
},
|
|
1181
|
-
"verbose": {
|
|
1182
|
-
"char": "v",
|
|
1183
|
-
"description": "Show detailed request/response information",
|
|
1184
|
-
"env": "XANO_VERBOSE",
|
|
1185
|
-
"name": "verbose",
|
|
1186
|
-
"required": false,
|
|
1187
|
-
"allowNo": false,
|
|
1188
|
-
"type": "boolean"
|
|
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
|
-
},
|
|
1217
|
-
"output": {
|
|
1218
|
-
"char": "o",
|
|
1219
|
-
"description": "Output format",
|
|
1220
|
-
"name": "output",
|
|
1221
|
-
"required": false,
|
|
1222
|
-
"default": "summary",
|
|
1223
|
-
"hasDynamicHelp": false,
|
|
1224
|
-
"multiple": false,
|
|
1225
|
-
"options": [
|
|
1226
|
-
"summary",
|
|
1227
|
-
"json"
|
|
1228
|
-
],
|
|
1229
|
-
"type": "option"
|
|
1230
|
-
},
|
|
1231
|
-
"workspace": {
|
|
1232
|
-
"char": "w",
|
|
1233
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1234
|
-
"name": "workspace",
|
|
1235
|
-
"required": false,
|
|
1236
|
-
"hasDynamicHelp": false,
|
|
1237
|
-
"multiple": false,
|
|
1238
|
-
"type": "option"
|
|
1239
|
-
}
|
|
1240
|
-
},
|
|
1241
|
-
"hasDynamicHelp": false,
|
|
1242
|
-
"hiddenAliases": [],
|
|
1243
|
-
"id": "branch:edit",
|
|
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
|
-
"branch",
|
|
1254
|
-
"edit",
|
|
1255
|
-
"index.js"
|
|
1256
|
-
]
|
|
1257
|
-
},
|
|
1258
1258
|
"profile:edit": {
|
|
1259
1259
|
"aliases": [],
|
|
1260
1260
|
"args": {
|
|
@@ -1369,53 +1369,18 @@
|
|
|
1369
1369
|
"index.js"
|
|
1370
1370
|
]
|
|
1371
1371
|
},
|
|
1372
|
-
"profile:
|
|
1372
|
+
"profile:get_default": {
|
|
1373
1373
|
"aliases": [],
|
|
1374
1374
|
"args": {},
|
|
1375
|
-
"description": "Get
|
|
1375
|
+
"description": "Get the current default profile name",
|
|
1376
1376
|
"examples": [
|
|
1377
|
-
"$ xano profile:
|
|
1378
|
-
"$ xano profile:
|
|
1379
|
-
"$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
|
|
1377
|
+
"$ xano profile:get-default\nproduction\n",
|
|
1378
|
+
"$ xano profile:get-default\nNo default profile set\n"
|
|
1380
1379
|
],
|
|
1381
|
-
"flags": {
|
|
1382
|
-
"profile": {
|
|
1383
|
-
"char": "p",
|
|
1384
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1385
|
-
"env": "XANO_PROFILE",
|
|
1386
|
-
"name": "profile",
|
|
1387
|
-
"required": false,
|
|
1388
|
-
"hasDynamicHelp": false,
|
|
1389
|
-
"multiple": false,
|
|
1390
|
-
"type": "option"
|
|
1391
|
-
},
|
|
1392
|
-
"verbose": {
|
|
1393
|
-
"char": "v",
|
|
1394
|
-
"description": "Show detailed request/response information",
|
|
1395
|
-
"env": "XANO_VERBOSE",
|
|
1396
|
-
"name": "verbose",
|
|
1397
|
-
"required": false,
|
|
1398
|
-
"allowNo": false,
|
|
1399
|
-
"type": "boolean"
|
|
1400
|
-
},
|
|
1401
|
-
"output": {
|
|
1402
|
-
"char": "o",
|
|
1403
|
-
"description": "Output format",
|
|
1404
|
-
"name": "output",
|
|
1405
|
-
"required": false,
|
|
1406
|
-
"default": "summary",
|
|
1407
|
-
"hasDynamicHelp": false,
|
|
1408
|
-
"multiple": false,
|
|
1409
|
-
"options": [
|
|
1410
|
-
"summary",
|
|
1411
|
-
"json"
|
|
1412
|
-
],
|
|
1413
|
-
"type": "option"
|
|
1414
|
-
}
|
|
1415
|
-
},
|
|
1380
|
+
"flags": {},
|
|
1416
1381
|
"hasDynamicHelp": false,
|
|
1417
1382
|
"hiddenAliases": [],
|
|
1418
|
-
"id": "profile:
|
|
1383
|
+
"id": "profile:get_default",
|
|
1419
1384
|
"pluginAlias": "@xano/cli",
|
|
1420
1385
|
"pluginName": "@xano/cli",
|
|
1421
1386
|
"pluginType": "core",
|
|
@@ -1426,7 +1391,7 @@
|
|
|
1426
1391
|
"dist",
|
|
1427
1392
|
"commands",
|
|
1428
1393
|
"profile",
|
|
1429
|
-
"
|
|
1394
|
+
"get_default",
|
|
1430
1395
|
"index.js"
|
|
1431
1396
|
]
|
|
1432
1397
|
},
|
|
@@ -1466,7 +1431,68 @@
|
|
|
1466
1431
|
"index.js"
|
|
1467
1432
|
]
|
|
1468
1433
|
},
|
|
1469
|
-
"profile:
|
|
1434
|
+
"profile:me": {
|
|
1435
|
+
"aliases": [],
|
|
1436
|
+
"args": {},
|
|
1437
|
+
"description": "Get information about the currently authenticated user",
|
|
1438
|
+
"examples": [
|
|
1439
|
+
"$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
|
|
1440
|
+
"$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
|
|
1441
|
+
"$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
|
|
1442
|
+
],
|
|
1443
|
+
"flags": {
|
|
1444
|
+
"profile": {
|
|
1445
|
+
"char": "p",
|
|
1446
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1447
|
+
"env": "XANO_PROFILE",
|
|
1448
|
+
"name": "profile",
|
|
1449
|
+
"required": false,
|
|
1450
|
+
"hasDynamicHelp": false,
|
|
1451
|
+
"multiple": false,
|
|
1452
|
+
"type": "option"
|
|
1453
|
+
},
|
|
1454
|
+
"verbose": {
|
|
1455
|
+
"char": "v",
|
|
1456
|
+
"description": "Show detailed request/response information",
|
|
1457
|
+
"env": "XANO_VERBOSE",
|
|
1458
|
+
"name": "verbose",
|
|
1459
|
+
"required": false,
|
|
1460
|
+
"allowNo": false,
|
|
1461
|
+
"type": "boolean"
|
|
1462
|
+
},
|
|
1463
|
+
"output": {
|
|
1464
|
+
"char": "o",
|
|
1465
|
+
"description": "Output format",
|
|
1466
|
+
"name": "output",
|
|
1467
|
+
"required": false,
|
|
1468
|
+
"default": "summary",
|
|
1469
|
+
"hasDynamicHelp": false,
|
|
1470
|
+
"multiple": false,
|
|
1471
|
+
"options": [
|
|
1472
|
+
"summary",
|
|
1473
|
+
"json"
|
|
1474
|
+
],
|
|
1475
|
+
"type": "option"
|
|
1476
|
+
}
|
|
1477
|
+
},
|
|
1478
|
+
"hasDynamicHelp": false,
|
|
1479
|
+
"hiddenAliases": [],
|
|
1480
|
+
"id": "profile:me",
|
|
1481
|
+
"pluginAlias": "@xano/cli",
|
|
1482
|
+
"pluginName": "@xano/cli",
|
|
1483
|
+
"pluginType": "core",
|
|
1484
|
+
"strict": true,
|
|
1485
|
+
"enableJsonFlag": false,
|
|
1486
|
+
"isESM": true,
|
|
1487
|
+
"relativePath": [
|
|
1488
|
+
"dist",
|
|
1489
|
+
"commands",
|
|
1490
|
+
"profile",
|
|
1491
|
+
"me",
|
|
1492
|
+
"index.js"
|
|
1493
|
+
]
|
|
1494
|
+
},
|
|
1495
|
+
"profile:set_default": {
|
|
1470
1496
|
"aliases": [],
|
|
1471
1497
|
"args": {
|
|
1472
1498
|
"name": {
|
|
@@ -1595,32 +1621,6 @@
|
|
|
1595
1621
|
"index.js"
|
|
1596
1622
|
]
|
|
1597
1623
|
},
|
|
1598
|
-
"profile:get_default": {
|
|
1599
|
-
"aliases": [],
|
|
1600
|
-
"args": {},
|
|
1601
|
-
"description": "Get the current default profile name",
|
|
1602
|
-
"examples": [
|
|
1603
|
-
"$ xano profile:get-default\nproduction\n",
|
|
1604
|
-
"$ xano profile:get-default\nNo default profile set\n"
|
|
1605
|
-
],
|
|
1606
|
-
"flags": {},
|
|
1607
|
-
"hasDynamicHelp": false,
|
|
1608
|
-
"hiddenAliases": [],
|
|
1609
|
-
"id": "profile:get_default",
|
|
1610
|
-
"pluginAlias": "@xano/cli",
|
|
1611
|
-
"pluginName": "@xano/cli",
|
|
1612
|
-
"pluginType": "core",
|
|
1613
|
-
"strict": true,
|
|
1614
|
-
"enableJsonFlag": false,
|
|
1615
|
-
"isESM": true,
|
|
1616
|
-
"relativePath": [
|
|
1617
|
-
"dist",
|
|
1618
|
-
"commands",
|
|
1619
|
-
"profile",
|
|
1620
|
-
"get_default",
|
|
1621
|
-
"index.js"
|
|
1622
|
-
]
|
|
1623
|
-
},
|
|
1624
1624
|
"release:create": {
|
|
1625
1625
|
"aliases": [],
|
|
1626
1626
|
"args": {},
|
|
@@ -1732,19 +1732,20 @@
|
|
|
1732
1732
|
"index.js"
|
|
1733
1733
|
]
|
|
1734
1734
|
},
|
|
1735
|
-
"release:
|
|
1735
|
+
"release:delete": {
|
|
1736
1736
|
"aliases": [],
|
|
1737
1737
|
"args": {
|
|
1738
1738
|
"release_name": {
|
|
1739
|
-
"description": "Release name to
|
|
1739
|
+
"description": "Release name to delete",
|
|
1740
1740
|
"name": "release_name",
|
|
1741
1741
|
"required": true
|
|
1742
1742
|
}
|
|
1743
1743
|
},
|
|
1744
|
-
"description": "
|
|
1744
|
+
"description": "Delete a release permanently. This action cannot be undone.",
|
|
1745
1745
|
"examples": [
|
|
1746
|
-
"$ xano release
|
|
1747
|
-
"$ xano release
|
|
1746
|
+
"$ 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",
|
|
1747
|
+
"$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
|
|
1748
|
+
"$ xano release delete v1.0 -f -o json"
|
|
1748
1749
|
],
|
|
1749
1750
|
"flags": {
|
|
1750
1751
|
"profile": {
|
|
@@ -1766,23 +1767,13 @@
|
|
|
1766
1767
|
"allowNo": false,
|
|
1767
1768
|
"type": "boolean"
|
|
1768
1769
|
},
|
|
1769
|
-
"
|
|
1770
|
-
"char": "
|
|
1771
|
-
"description": "
|
|
1772
|
-
"name": "
|
|
1773
|
-
"required": false,
|
|
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",
|
|
1770
|
+
"force": {
|
|
1771
|
+
"char": "f",
|
|
1772
|
+
"description": "Skip confirmation prompt",
|
|
1773
|
+
"name": "force",
|
|
1782
1774
|
"required": false,
|
|
1783
|
-
"
|
|
1784
|
-
"
|
|
1785
|
-
"type": "option"
|
|
1775
|
+
"allowNo": false,
|
|
1776
|
+
"type": "boolean"
|
|
1786
1777
|
},
|
|
1787
1778
|
"output": {
|
|
1788
1779
|
"char": "o",
|
|
@@ -1810,7 +1801,7 @@
|
|
|
1810
1801
|
},
|
|
1811
1802
|
"hasDynamicHelp": false,
|
|
1812
1803
|
"hiddenAliases": [],
|
|
1813
|
-
"id": "release:
|
|
1804
|
+
"id": "release:delete",
|
|
1814
1805
|
"pluginAlias": "@xano/cli",
|
|
1815
1806
|
"pluginName": "@xano/cli",
|
|
1816
1807
|
"pluginType": "core",
|
|
@@ -1821,24 +1812,23 @@
|
|
|
1821
1812
|
"dist",
|
|
1822
1813
|
"commands",
|
|
1823
1814
|
"release",
|
|
1824
|
-
"
|
|
1815
|
+
"delete",
|
|
1825
1816
|
"index.js"
|
|
1826
1817
|
]
|
|
1827
1818
|
},
|
|
1828
|
-
"release:
|
|
1819
|
+
"release:edit": {
|
|
1829
1820
|
"aliases": [],
|
|
1830
1821
|
"args": {
|
|
1831
1822
|
"release_name": {
|
|
1832
|
-
"description": "Release name to
|
|
1823
|
+
"description": "Release name to edit",
|
|
1833
1824
|
"name": "release_name",
|
|
1834
1825
|
"required": true
|
|
1835
1826
|
}
|
|
1836
1827
|
},
|
|
1837
|
-
"description": "
|
|
1828
|
+
"description": "Edit an existing release",
|
|
1838
1829
|
"examples": [
|
|
1839
|
-
"$ xano release
|
|
1840
|
-
"$ xano release
|
|
1841
|
-
"$ xano release export v1.0 -o json"
|
|
1830
|
+
"$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
|
|
1831
|
+
"$ xano release edit v1.0 --description \"New description\" -o json"
|
|
1842
1832
|
],
|
|
1843
1833
|
"flags": {
|
|
1844
1834
|
"profile": {
|
|
@@ -1860,26 +1850,36 @@
|
|
|
1860
1850
|
"allowNo": false,
|
|
1861
1851
|
"type": "boolean"
|
|
1862
1852
|
},
|
|
1863
|
-
"
|
|
1864
|
-
"char": "
|
|
1865
|
-
"description": "
|
|
1866
|
-
"name": "
|
|
1853
|
+
"description": {
|
|
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",
|
|
1867
1866
|
"required": false,
|
|
1868
|
-
"default": "summary",
|
|
1869
1867
|
"hasDynamicHelp": false,
|
|
1870
1868
|
"multiple": false,
|
|
1871
|
-
"options": [
|
|
1872
|
-
"summary",
|
|
1873
|
-
"json"
|
|
1874
|
-
],
|
|
1875
1869
|
"type": "option"
|
|
1876
1870
|
},
|
|
1877
1871
|
"output": {
|
|
1878
|
-
"
|
|
1872
|
+
"char": "o",
|
|
1873
|
+
"description": "Output format",
|
|
1879
1874
|
"name": "output",
|
|
1880
1875
|
"required": false,
|
|
1876
|
+
"default": "summary",
|
|
1881
1877
|
"hasDynamicHelp": false,
|
|
1882
1878
|
"multiple": false,
|
|
1879
|
+
"options": [
|
|
1880
|
+
"summary",
|
|
1881
|
+
"json"
|
|
1882
|
+
],
|
|
1883
1883
|
"type": "option"
|
|
1884
1884
|
},
|
|
1885
1885
|
"workspace": {
|
|
@@ -1894,7 +1894,7 @@
|
|
|
1894
1894
|
},
|
|
1895
1895
|
"hasDynamicHelp": false,
|
|
1896
1896
|
"hiddenAliases": [],
|
|
1897
|
-
"id": "release:
|
|
1897
|
+
"id": "release:edit",
|
|
1898
1898
|
"pluginAlias": "@xano/cli",
|
|
1899
1899
|
"pluginName": "@xano/cli",
|
|
1900
1900
|
"pluginType": "core",
|
|
@@ -1905,23 +1905,24 @@
|
|
|
1905
1905
|
"dist",
|
|
1906
1906
|
"commands",
|
|
1907
1907
|
"release",
|
|
1908
|
-
"
|
|
1908
|
+
"edit",
|
|
1909
1909
|
"index.js"
|
|
1910
1910
|
]
|
|
1911
1911
|
},
|
|
1912
|
-
"release:
|
|
1912
|
+
"release:export": {
|
|
1913
1913
|
"aliases": [],
|
|
1914
1914
|
"args": {
|
|
1915
1915
|
"release_name": {
|
|
1916
|
-
"description": "Release name to
|
|
1916
|
+
"description": "Release name to export",
|
|
1917
1917
|
"name": "release_name",
|
|
1918
1918
|
"required": true
|
|
1919
1919
|
}
|
|
1920
1920
|
},
|
|
1921
|
-
"description": "
|
|
1921
|
+
"description": "Export (download) a release to a local file",
|
|
1922
1922
|
"examples": [
|
|
1923
|
-
"$ xano release
|
|
1924
|
-
"$ xano release
|
|
1923
|
+
"$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
|
|
1924
|
+
"$ xano release export v1.0 --output ./backups/my-release.tar.gz",
|
|
1925
|
+
"$ xano release export v1.0 -o json"
|
|
1925
1926
|
],
|
|
1926
1927
|
"flags": {
|
|
1927
1928
|
"profile": {
|
|
@@ -1943,10 +1944,10 @@
|
|
|
1943
1944
|
"allowNo": false,
|
|
1944
1945
|
"type": "boolean"
|
|
1945
1946
|
},
|
|
1946
|
-
"
|
|
1947
|
+
"format": {
|
|
1947
1948
|
"char": "o",
|
|
1948
1949
|
"description": "Output format",
|
|
1949
|
-
"name": "
|
|
1950
|
+
"name": "format",
|
|
1950
1951
|
"required": false,
|
|
1951
1952
|
"default": "summary",
|
|
1952
1953
|
"hasDynamicHelp": false,
|
|
@@ -1957,6 +1958,14 @@
|
|
|
1957
1958
|
],
|
|
1958
1959
|
"type": "option"
|
|
1959
1960
|
},
|
|
1961
|
+
"output": {
|
|
1962
|
+
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
1963
|
+
"name": "output",
|
|
1964
|
+
"required": false,
|
|
1965
|
+
"hasDynamicHelp": false,
|
|
1966
|
+
"multiple": false,
|
|
1967
|
+
"type": "option"
|
|
1968
|
+
},
|
|
1960
1969
|
"workspace": {
|
|
1961
1970
|
"char": "w",
|
|
1962
1971
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -1969,7 +1978,7 @@
|
|
|
1969
1978
|
},
|
|
1970
1979
|
"hasDynamicHelp": false,
|
|
1971
1980
|
"hiddenAliases": [],
|
|
1972
|
-
"id": "release:
|
|
1981
|
+
"id": "release:export",
|
|
1973
1982
|
"pluginAlias": "@xano/cli",
|
|
1974
1983
|
"pluginName": "@xano/cli",
|
|
1975
1984
|
"pluginType": "core",
|
|
@@ -1980,24 +1989,23 @@
|
|
|
1980
1989
|
"dist",
|
|
1981
1990
|
"commands",
|
|
1982
1991
|
"release",
|
|
1983
|
-
"
|
|
1992
|
+
"export",
|
|
1984
1993
|
"index.js"
|
|
1985
1994
|
]
|
|
1986
1995
|
},
|
|
1987
|
-
"release:
|
|
1996
|
+
"release:get": {
|
|
1988
1997
|
"aliases": [],
|
|
1989
1998
|
"args": {
|
|
1990
1999
|
"release_name": {
|
|
1991
|
-
"description": "Release name to
|
|
2000
|
+
"description": "Release name to retrieve",
|
|
1992
2001
|
"name": "release_name",
|
|
1993
2002
|
"required": true
|
|
1994
2003
|
}
|
|
1995
2004
|
},
|
|
1996
|
-
"description": "
|
|
2005
|
+
"description": "Get details of a specific release",
|
|
1997
2006
|
"examples": [
|
|
1998
|
-
"$ xano release
|
|
1999
|
-
"$ xano release
|
|
2000
|
-
"$ xano release delete v1.0 -f -o json"
|
|
2007
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2008
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
2001
2009
|
],
|
|
2002
2010
|
"flags": {
|
|
2003
2011
|
"profile": {
|
|
@@ -2019,14 +2027,6 @@
|
|
|
2019
2027
|
"allowNo": false,
|
|
2020
2028
|
"type": "boolean"
|
|
2021
2029
|
},
|
|
2022
|
-
"force": {
|
|
2023
|
-
"char": "f",
|
|
2024
|
-
"description": "Skip confirmation prompt",
|
|
2025
|
-
"name": "force",
|
|
2026
|
-
"required": false,
|
|
2027
|
-
"allowNo": false,
|
|
2028
|
-
"type": "boolean"
|
|
2029
|
-
},
|
|
2030
2030
|
"output": {
|
|
2031
2031
|
"char": "o",
|
|
2032
2032
|
"description": "Output format",
|
|
@@ -2053,7 +2053,7 @@
|
|
|
2053
2053
|
},
|
|
2054
2054
|
"hasDynamicHelp": false,
|
|
2055
2055
|
"hiddenAliases": [],
|
|
2056
|
-
"id": "release:
|
|
2056
|
+
"id": "release:get",
|
|
2057
2057
|
"pluginAlias": "@xano/cli",
|
|
2058
2058
|
"pluginName": "@xano/cli",
|
|
2059
2059
|
"pluginType": "core",
|
|
@@ -2064,7 +2064,7 @@
|
|
|
2064
2064
|
"dist",
|
|
2065
2065
|
"commands",
|
|
2066
2066
|
"release",
|
|
2067
|
-
"
|
|
2067
|
+
"get",
|
|
2068
2068
|
"index.js"
|
|
2069
2069
|
]
|
|
2070
2070
|
},
|
|
@@ -2507,14 +2507,19 @@
|
|
|
2507
2507
|
"index.js"
|
|
2508
2508
|
]
|
|
2509
2509
|
},
|
|
2510
|
-
"
|
|
2510
|
+
"tenant:create": {
|
|
2511
2511
|
"aliases": [],
|
|
2512
|
-
"args": {
|
|
2513
|
-
|
|
2512
|
+
"args": {
|
|
2513
|
+
"display": {
|
|
2514
|
+
"description": "Display name for the tenant",
|
|
2515
|
+
"name": "display",
|
|
2516
|
+
"required": true
|
|
2517
|
+
}
|
|
2518
|
+
},
|
|
2519
|
+
"description": "Create a new tenant in a workspace",
|
|
2514
2520
|
"examples": [
|
|
2515
|
-
"$ xano
|
|
2516
|
-
"$ xano
|
|
2517
|
-
"$ xano unit-test list --obj-type function"
|
|
2521
|
+
"$ xano tenant create \"Production\"\nCreated tenant: Production (production) - ID: 42\n",
|
|
2522
|
+
"$ xano tenant create \"Staging\" --description \"Staging env\" --cluster_id 1 --platform_id 1 --license tier2 -o json"
|
|
2518
2523
|
],
|
|
2519
2524
|
"flags": {
|
|
2520
2525
|
"profile": {
|
|
@@ -2536,26 +2541,55 @@
|
|
|
2536
2541
|
"allowNo": false,
|
|
2537
2542
|
"type": "boolean"
|
|
2538
2543
|
},
|
|
2539
|
-
"
|
|
2540
|
-
"
|
|
2541
|
-
"
|
|
2542
|
-
"name": "branch",
|
|
2544
|
+
"cluster_id": {
|
|
2545
|
+
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2546
|
+
"name": "cluster_id",
|
|
2543
2547
|
"required": false,
|
|
2544
2548
|
"hasDynamicHelp": false,
|
|
2545
2549
|
"multiple": false,
|
|
2546
2550
|
"type": "option"
|
|
2547
2551
|
},
|
|
2548
|
-
"
|
|
2549
|
-
"
|
|
2550
|
-
"
|
|
2552
|
+
"description": {
|
|
2553
|
+
"char": "d",
|
|
2554
|
+
"description": "Tenant description",
|
|
2555
|
+
"name": "description",
|
|
2551
2556
|
"required": false,
|
|
2552
2557
|
"hasDynamicHelp": false,
|
|
2553
2558
|
"multiple": false,
|
|
2554
|
-
"
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
+
"type": "option"
|
|
2560
|
+
},
|
|
2561
|
+
"domain": {
|
|
2562
|
+
"description": "Custom domain for the tenant",
|
|
2563
|
+
"name": "domain",
|
|
2564
|
+
"required": false,
|
|
2565
|
+
"hasDynamicHelp": false,
|
|
2566
|
+
"multiple": false,
|
|
2567
|
+
"type": "option"
|
|
2568
|
+
},
|
|
2569
|
+
"ephemeral": {
|
|
2570
|
+
"description": "Mark tenant as ephemeral (allows push operations)",
|
|
2571
|
+
"name": "ephemeral",
|
|
2572
|
+
"allowNo": false,
|
|
2573
|
+
"type": "boolean"
|
|
2574
|
+
},
|
|
2575
|
+
"ingress": {
|
|
2576
|
+
"description": "Enable ingress",
|
|
2577
|
+
"name": "ingress",
|
|
2578
|
+
"allowNo": true,
|
|
2579
|
+
"type": "boolean"
|
|
2580
|
+
},
|
|
2581
|
+
"license": {
|
|
2582
|
+
"description": "License tier",
|
|
2583
|
+
"name": "license",
|
|
2584
|
+
"required": false,
|
|
2585
|
+
"default": "tier1",
|
|
2586
|
+
"hasDynamicHelp": false,
|
|
2587
|
+
"multiple": false,
|
|
2588
|
+
"options": [
|
|
2589
|
+
"tier1",
|
|
2590
|
+
"tier2",
|
|
2591
|
+
"tier3"
|
|
2592
|
+
],
|
|
2559
2593
|
"type": "option"
|
|
2560
2594
|
},
|
|
2561
2595
|
"output": {
|
|
@@ -2572,6 +2606,20 @@
|
|
|
2572
2606
|
],
|
|
2573
2607
|
"type": "option"
|
|
2574
2608
|
},
|
|
2609
|
+
"platform_id": {
|
|
2610
|
+
"description": "Platform ID to use",
|
|
2611
|
+
"name": "platform_id",
|
|
2612
|
+
"required": false,
|
|
2613
|
+
"hasDynamicHelp": false,
|
|
2614
|
+
"multiple": false,
|
|
2615
|
+
"type": "option"
|
|
2616
|
+
},
|
|
2617
|
+
"tasks": {
|
|
2618
|
+
"description": "Enable background tasks",
|
|
2619
|
+
"name": "tasks",
|
|
2620
|
+
"allowNo": true,
|
|
2621
|
+
"type": "boolean"
|
|
2622
|
+
},
|
|
2575
2623
|
"workspace": {
|
|
2576
2624
|
"char": "w",
|
|
2577
2625
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2584,7 +2632,7 @@
|
|
|
2584
2632
|
},
|
|
2585
2633
|
"hasDynamicHelp": false,
|
|
2586
2634
|
"hiddenAliases": [],
|
|
2587
|
-
"id": "
|
|
2635
|
+
"id": "tenant:create",
|
|
2588
2636
|
"pluginAlias": "@xano/cli",
|
|
2589
2637
|
"pluginName": "@xano/cli",
|
|
2590
2638
|
"pluginType": "core",
|
|
@@ -2594,24 +2642,25 @@
|
|
|
2594
2642
|
"relativePath": [
|
|
2595
2643
|
"dist",
|
|
2596
2644
|
"commands",
|
|
2597
|
-
"
|
|
2598
|
-
"
|
|
2645
|
+
"tenant",
|
|
2646
|
+
"create",
|
|
2599
2647
|
"index.js"
|
|
2600
2648
|
]
|
|
2601
2649
|
},
|
|
2602
|
-
"
|
|
2650
|
+
"tenant:delete": {
|
|
2603
2651
|
"aliases": [],
|
|
2604
2652
|
"args": {
|
|
2605
|
-
"
|
|
2606
|
-
"description": "
|
|
2607
|
-
"name": "
|
|
2653
|
+
"tenant_name": {
|
|
2654
|
+
"description": "Tenant name to delete",
|
|
2655
|
+
"name": "tenant_name",
|
|
2608
2656
|
"required": true
|
|
2609
2657
|
}
|
|
2610
2658
|
},
|
|
2611
|
-
"description": "
|
|
2659
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2612
2660
|
"examples": [
|
|
2613
|
-
"$ xano
|
|
2614
|
-
"$ xano
|
|
2661
|
+
"$ 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",
|
|
2662
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2663
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2615
2664
|
],
|
|
2616
2665
|
"flags": {
|
|
2617
2666
|
"profile": {
|
|
@@ -2633,6 +2682,14 @@
|
|
|
2633
2682
|
"allowNo": false,
|
|
2634
2683
|
"type": "boolean"
|
|
2635
2684
|
},
|
|
2685
|
+
"force": {
|
|
2686
|
+
"char": "f",
|
|
2687
|
+
"description": "Skip confirmation prompt",
|
|
2688
|
+
"name": "force",
|
|
2689
|
+
"required": false,
|
|
2690
|
+
"allowNo": false,
|
|
2691
|
+
"type": "boolean"
|
|
2692
|
+
},
|
|
2636
2693
|
"output": {
|
|
2637
2694
|
"char": "o",
|
|
2638
2695
|
"description": "Output format",
|
|
@@ -2659,7 +2716,7 @@
|
|
|
2659
2716
|
},
|
|
2660
2717
|
"hasDynamicHelp": false,
|
|
2661
2718
|
"hiddenAliases": [],
|
|
2662
|
-
"id": "
|
|
2719
|
+
"id": "tenant:delete",
|
|
2663
2720
|
"pluginAlias": "@xano/cli",
|
|
2664
2721
|
"pluginName": "@xano/cli",
|
|
2665
2722
|
"pluginType": "core",
|
|
@@ -2669,18 +2726,24 @@
|
|
|
2669
2726
|
"relativePath": [
|
|
2670
2727
|
"dist",
|
|
2671
2728
|
"commands",
|
|
2672
|
-
"
|
|
2673
|
-
"
|
|
2729
|
+
"tenant",
|
|
2730
|
+
"delete",
|
|
2674
2731
|
"index.js"
|
|
2675
2732
|
]
|
|
2676
2733
|
},
|
|
2677
|
-
"
|
|
2734
|
+
"tenant:deploy_platform": {
|
|
2678
2735
|
"aliases": [],
|
|
2679
|
-
"args": {
|
|
2680
|
-
|
|
2736
|
+
"args": {
|
|
2737
|
+
"tenant_name": {
|
|
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",
|
|
2681
2744
|
"examples": [
|
|
2682
|
-
"$ xano
|
|
2683
|
-
"$ xano
|
|
2745
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2746
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
|
|
2684
2747
|
],
|
|
2685
2748
|
"flags": {
|
|
2686
2749
|
"profile": {
|
|
@@ -2702,28 +2765,6 @@
|
|
|
2702
2765
|
"allowNo": false,
|
|
2703
2766
|
"type": "boolean"
|
|
2704
2767
|
},
|
|
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
|
-
},
|
|
2727
2768
|
"output": {
|
|
2728
2769
|
"char": "o",
|
|
2729
2770
|
"description": "Output format",
|
|
@@ -2738,6 +2779,14 @@
|
|
|
2738
2779
|
],
|
|
2739
2780
|
"type": "option"
|
|
2740
2781
|
},
|
|
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
|
+
},
|
|
2741
2790
|
"workspace": {
|
|
2742
2791
|
"char": "w",
|
|
2743
2792
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2750,7 +2799,7 @@
|
|
|
2750
2799
|
},
|
|
2751
2800
|
"hasDynamicHelp": false,
|
|
2752
2801
|
"hiddenAliases": [],
|
|
2753
|
-
"id": "
|
|
2802
|
+
"id": "tenant:deploy_platform",
|
|
2754
2803
|
"pluginAlias": "@xano/cli",
|
|
2755
2804
|
"pluginName": "@xano/cli",
|
|
2756
2805
|
"pluginType": "core",
|
|
@@ -2760,24 +2809,24 @@
|
|
|
2760
2809
|
"relativePath": [
|
|
2761
2810
|
"dist",
|
|
2762
2811
|
"commands",
|
|
2763
|
-
"
|
|
2764
|
-
"
|
|
2812
|
+
"tenant",
|
|
2813
|
+
"deploy_platform",
|
|
2765
2814
|
"index.js"
|
|
2766
2815
|
]
|
|
2767
2816
|
},
|
|
2768
|
-
"
|
|
2817
|
+
"tenant:deploy_release": {
|
|
2769
2818
|
"aliases": [],
|
|
2770
2819
|
"args": {
|
|
2771
|
-
"
|
|
2772
|
-
"description": "
|
|
2773
|
-
"name": "
|
|
2820
|
+
"tenant_name": {
|
|
2821
|
+
"description": "Tenant name to deploy to",
|
|
2822
|
+
"name": "tenant_name",
|
|
2774
2823
|
"required": true
|
|
2775
2824
|
}
|
|
2776
2825
|
},
|
|
2777
|
-
"description": "
|
|
2826
|
+
"description": "Deploy a release to a tenant",
|
|
2778
2827
|
"examples": [
|
|
2779
|
-
"$ xano
|
|
2780
|
-
"$ xano
|
|
2828
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
2829
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
2781
2830
|
],
|
|
2782
2831
|
"flags": {
|
|
2783
2832
|
"profile": {
|
|
@@ -2799,14 +2848,6 @@
|
|
|
2799
2848
|
"allowNo": false,
|
|
2800
2849
|
"type": "boolean"
|
|
2801
2850
|
},
|
|
2802
|
-
"force": {
|
|
2803
|
-
"char": "f",
|
|
2804
|
-
"description": "Skip confirmation prompt",
|
|
2805
|
-
"name": "force",
|
|
2806
|
-
"required": false,
|
|
2807
|
-
"allowNo": false,
|
|
2808
|
-
"type": "boolean"
|
|
2809
|
-
},
|
|
2810
2851
|
"output": {
|
|
2811
2852
|
"char": "o",
|
|
2812
2853
|
"description": "Output format",
|
|
@@ -2821,6 +2862,15 @@
|
|
|
2821
2862
|
],
|
|
2822
2863
|
"type": "option"
|
|
2823
2864
|
},
|
|
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
|
+
},
|
|
2824
2874
|
"workspace": {
|
|
2825
2875
|
"char": "w",
|
|
2826
2876
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2833,7 +2883,7 @@
|
|
|
2833
2883
|
},
|
|
2834
2884
|
"hasDynamicHelp": false,
|
|
2835
2885
|
"hiddenAliases": [],
|
|
2836
|
-
"id": "
|
|
2886
|
+
"id": "tenant:deploy_release",
|
|
2837
2887
|
"pluginAlias": "@xano/cli",
|
|
2838
2888
|
"pluginName": "@xano/cli",
|
|
2839
2889
|
"pluginType": "core",
|
|
@@ -2843,25 +2893,24 @@
|
|
|
2843
2893
|
"relativePath": [
|
|
2844
2894
|
"dist",
|
|
2845
2895
|
"commands",
|
|
2846
|
-
"
|
|
2847
|
-
"
|
|
2896
|
+
"tenant",
|
|
2897
|
+
"deploy_release",
|
|
2848
2898
|
"index.js"
|
|
2849
2899
|
]
|
|
2850
2900
|
},
|
|
2851
|
-
"
|
|
2901
|
+
"tenant:edit": {
|
|
2852
2902
|
"aliases": [],
|
|
2853
2903
|
"args": {
|
|
2854
|
-
"
|
|
2855
|
-
"description": "
|
|
2856
|
-
"name": "
|
|
2904
|
+
"tenant_name": {
|
|
2905
|
+
"description": "Tenant name to edit",
|
|
2906
|
+
"name": "tenant_name",
|
|
2857
2907
|
"required": true
|
|
2858
2908
|
}
|
|
2859
2909
|
},
|
|
2860
|
-
"description": "
|
|
2910
|
+
"description": "Edit an existing tenant",
|
|
2861
2911
|
"examples": [
|
|
2862
|
-
"$ xano
|
|
2863
|
-
"$ xano
|
|
2864
|
-
"$ xano workflow-test get 1 -o json"
|
|
2912
|
+
"$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
|
|
2913
|
+
"$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
|
|
2865
2914
|
],
|
|
2866
2915
|
"flags": {
|
|
2867
2916
|
"profile": {
|
|
@@ -2883,11 +2932,36 @@
|
|
|
2883
2932
|
"allowNo": false,
|
|
2884
2933
|
"type": "boolean"
|
|
2885
2934
|
},
|
|
2886
|
-
"
|
|
2887
|
-
"
|
|
2888
|
-
"
|
|
2935
|
+
"description": {
|
|
2936
|
+
"char": "d",
|
|
2937
|
+
"description": "New description",
|
|
2938
|
+
"name": "description",
|
|
2889
2939
|
"required": false,
|
|
2890
|
-
"
|
|
2940
|
+
"hasDynamicHelp": false,
|
|
2941
|
+
"multiple": false,
|
|
2942
|
+
"type": "option"
|
|
2943
|
+
},
|
|
2944
|
+
"display": {
|
|
2945
|
+
"description": "New display name",
|
|
2946
|
+
"name": "display",
|
|
2947
|
+
"required": false,
|
|
2948
|
+
"hasDynamicHelp": false,
|
|
2949
|
+
"multiple": false,
|
|
2950
|
+
"type": "option"
|
|
2951
|
+
},
|
|
2952
|
+
"domain": {
|
|
2953
|
+
"description": "Custom domain",
|
|
2954
|
+
"name": "domain",
|
|
2955
|
+
"required": false,
|
|
2956
|
+
"hasDynamicHelp": false,
|
|
2957
|
+
"multiple": false,
|
|
2958
|
+
"type": "option"
|
|
2959
|
+
},
|
|
2960
|
+
"ingress": {
|
|
2961
|
+
"description": "Enable/disable ingress",
|
|
2962
|
+
"name": "ingress",
|
|
2963
|
+
"required": false,
|
|
2964
|
+
"allowNo": true,
|
|
2891
2965
|
"type": "boolean"
|
|
2892
2966
|
},
|
|
2893
2967
|
"output": {
|
|
@@ -2900,11 +2974,32 @@
|
|
|
2900
2974
|
"multiple": false,
|
|
2901
2975
|
"options": [
|
|
2902
2976
|
"summary",
|
|
2903
|
-
"json"
|
|
2904
|
-
"xs"
|
|
2977
|
+
"json"
|
|
2905
2978
|
],
|
|
2906
2979
|
"type": "option"
|
|
2907
2980
|
},
|
|
2981
|
+
"proxy": {
|
|
2982
|
+
"description": "Proxy URL",
|
|
2983
|
+
"name": "proxy",
|
|
2984
|
+
"required": false,
|
|
2985
|
+
"hasDynamicHelp": false,
|
|
2986
|
+
"multiple": false,
|
|
2987
|
+
"type": "option"
|
|
2988
|
+
},
|
|
2989
|
+
"rbac": {
|
|
2990
|
+
"description": "Enable/disable RBAC",
|
|
2991
|
+
"name": "rbac",
|
|
2992
|
+
"required": false,
|
|
2993
|
+
"allowNo": true,
|
|
2994
|
+
"type": "boolean"
|
|
2995
|
+
},
|
|
2996
|
+
"tasks": {
|
|
2997
|
+
"description": "Enable/disable background tasks",
|
|
2998
|
+
"name": "tasks",
|
|
2999
|
+
"required": false,
|
|
3000
|
+
"allowNo": true,
|
|
3001
|
+
"type": "boolean"
|
|
3002
|
+
},
|
|
2908
3003
|
"workspace": {
|
|
2909
3004
|
"char": "w",
|
|
2910
3005
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2917,7 +3012,7 @@
|
|
|
2917
3012
|
},
|
|
2918
3013
|
"hasDynamicHelp": false,
|
|
2919
3014
|
"hiddenAliases": [],
|
|
2920
|
-
"id": "
|
|
3015
|
+
"id": "tenant:edit",
|
|
2921
3016
|
"pluginAlias": "@xano/cli",
|
|
2922
3017
|
"pluginName": "@xano/cli",
|
|
2923
3018
|
"pluginType": "core",
|
|
@@ -2927,19 +3022,24 @@
|
|
|
2927
3022
|
"relativePath": [
|
|
2928
3023
|
"dist",
|
|
2929
3024
|
"commands",
|
|
2930
|
-
"
|
|
2931
|
-
"
|
|
3025
|
+
"tenant",
|
|
3026
|
+
"edit",
|
|
2932
3027
|
"index.js"
|
|
2933
3028
|
]
|
|
2934
3029
|
},
|
|
2935
|
-
"
|
|
3030
|
+
"tenant:get": {
|
|
2936
3031
|
"aliases": [],
|
|
2937
|
-
"args": {
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
3032
|
+
"args": {
|
|
3033
|
+
"tenant_name": {
|
|
3034
|
+
"description": "Tenant name to retrieve",
|
|
3035
|
+
"name": "tenant_name",
|
|
3036
|
+
"required": true
|
|
3037
|
+
}
|
|
3038
|
+
},
|
|
3039
|
+
"description": "Get details of a specific tenant",
|
|
3040
|
+
"examples": [
|
|
3041
|
+
"$ 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",
|
|
3042
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
2943
3043
|
],
|
|
2944
3044
|
"flags": {
|
|
2945
3045
|
"profile": {
|
|
@@ -2961,15 +3061,6 @@
|
|
|
2961
3061
|
"allowNo": false,
|
|
2962
3062
|
"type": "boolean"
|
|
2963
3063
|
},
|
|
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
|
-
},
|
|
2973
3064
|
"output": {
|
|
2974
3065
|
"char": "o",
|
|
2975
3066
|
"description": "Output format",
|
|
@@ -2996,7 +3087,7 @@
|
|
|
2996
3087
|
},
|
|
2997
3088
|
"hasDynamicHelp": false,
|
|
2998
3089
|
"hiddenAliases": [],
|
|
2999
|
-
"id": "
|
|
3090
|
+
"id": "tenant:get",
|
|
3000
3091
|
"pluginAlias": "@xano/cli",
|
|
3001
3092
|
"pluginName": "@xano/cli",
|
|
3002
3093
|
"pluginType": "core",
|
|
@@ -3006,24 +3097,24 @@
|
|
|
3006
3097
|
"relativePath": [
|
|
3007
3098
|
"dist",
|
|
3008
3099
|
"commands",
|
|
3009
|
-
"
|
|
3010
|
-
"
|
|
3100
|
+
"tenant",
|
|
3101
|
+
"get",
|
|
3011
3102
|
"index.js"
|
|
3012
3103
|
]
|
|
3013
3104
|
},
|
|
3014
|
-
"
|
|
3105
|
+
"tenant:impersonate": {
|
|
3015
3106
|
"aliases": [],
|
|
3016
3107
|
"args": {
|
|
3017
|
-
"
|
|
3018
|
-
"description": "
|
|
3019
|
-
"name": "
|
|
3108
|
+
"tenant_name": {
|
|
3109
|
+
"description": "Tenant name to impersonate",
|
|
3110
|
+
"name": "tenant_name",
|
|
3020
3111
|
"required": true
|
|
3021
3112
|
}
|
|
3022
3113
|
},
|
|
3023
|
-
"description": "
|
|
3114
|
+
"description": "Impersonate a tenant and open it in the browser",
|
|
3024
3115
|
"examples": [
|
|
3025
|
-
"$ xano
|
|
3026
|
-
"$ xano
|
|
3116
|
+
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3117
|
+
"$ xano tenant impersonate my-tenant -o json"
|
|
3027
3118
|
],
|
|
3028
3119
|
"flags": {
|
|
3029
3120
|
"profile": {
|
|
@@ -3059,6 +3150,14 @@
|
|
|
3059
3150
|
],
|
|
3060
3151
|
"type": "option"
|
|
3061
3152
|
},
|
|
3153
|
+
"url-only": {
|
|
3154
|
+
"char": "u",
|
|
3155
|
+
"description": "Print the URL without opening the browser",
|
|
3156
|
+
"name": "url-only",
|
|
3157
|
+
"required": false,
|
|
3158
|
+
"allowNo": false,
|
|
3159
|
+
"type": "boolean"
|
|
3160
|
+
},
|
|
3062
3161
|
"workspace": {
|
|
3063
3162
|
"char": "w",
|
|
3064
3163
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3071,7 +3170,7 @@
|
|
|
3071
3170
|
},
|
|
3072
3171
|
"hasDynamicHelp": false,
|
|
3073
3172
|
"hiddenAliases": [],
|
|
3074
|
-
"id": "
|
|
3173
|
+
"id": "tenant:impersonate",
|
|
3075
3174
|
"pluginAlias": "@xano/cli",
|
|
3076
3175
|
"pluginName": "@xano/cli",
|
|
3077
3176
|
"pluginType": "core",
|
|
@@ -3081,18 +3180,18 @@
|
|
|
3081
3180
|
"relativePath": [
|
|
3082
3181
|
"dist",
|
|
3083
3182
|
"commands",
|
|
3084
|
-
"
|
|
3085
|
-
"
|
|
3183
|
+
"tenant",
|
|
3184
|
+
"impersonate",
|
|
3086
3185
|
"index.js"
|
|
3087
3186
|
]
|
|
3088
3187
|
},
|
|
3089
|
-
"
|
|
3188
|
+
"tenant:list": {
|
|
3090
3189
|
"aliases": [],
|
|
3091
3190
|
"args": {},
|
|
3092
|
-
"description": "
|
|
3191
|
+
"description": "List all tenants in a workspace",
|
|
3093
3192
|
"examples": [
|
|
3094
|
-
"$ xano
|
|
3095
|
-
"$ xano
|
|
3193
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
|
|
3194
|
+
"$ xano tenant list -w 5 --output json"
|
|
3096
3195
|
],
|
|
3097
3196
|
"flags": {
|
|
3098
3197
|
"profile": {
|
|
@@ -3114,15 +3213,6 @@
|
|
|
3114
3213
|
"allowNo": false,
|
|
3115
3214
|
"type": "boolean"
|
|
3116
3215
|
},
|
|
3117
|
-
"branch": {
|
|
3118
|
-
"char": "b",
|
|
3119
|
-
"description": "Filter by branch name",
|
|
3120
|
-
"name": "branch",
|
|
3121
|
-
"required": false,
|
|
3122
|
-
"hasDynamicHelp": false,
|
|
3123
|
-
"multiple": false,
|
|
3124
|
-
"type": "option"
|
|
3125
|
-
},
|
|
3126
3216
|
"output": {
|
|
3127
3217
|
"char": "o",
|
|
3128
3218
|
"description": "Output format",
|
|
@@ -3149,7 +3239,7 @@
|
|
|
3149
3239
|
},
|
|
3150
3240
|
"hasDynamicHelp": false,
|
|
3151
3241
|
"hiddenAliases": [],
|
|
3152
|
-
"id": "
|
|
3242
|
+
"id": "tenant:list",
|
|
3153
3243
|
"pluginAlias": "@xano/cli",
|
|
3154
3244
|
"pluginName": "@xano/cli",
|
|
3155
3245
|
"pluginType": "core",
|
|
@@ -3159,24 +3249,26 @@
|
|
|
3159
3249
|
"relativePath": [
|
|
3160
3250
|
"dist",
|
|
3161
3251
|
"commands",
|
|
3162
|
-
"
|
|
3163
|
-
"
|
|
3252
|
+
"tenant",
|
|
3253
|
+
"list",
|
|
3164
3254
|
"index.js"
|
|
3165
3255
|
]
|
|
3166
3256
|
},
|
|
3167
|
-
"tenant:
|
|
3257
|
+
"tenant:pull": {
|
|
3168
3258
|
"aliases": [],
|
|
3169
3259
|
"args": {
|
|
3170
|
-
"
|
|
3171
|
-
"description": "
|
|
3172
|
-
"name": "
|
|
3260
|
+
"directory": {
|
|
3261
|
+
"description": "Output directory for pulled documents",
|
|
3262
|
+
"name": "directory",
|
|
3173
3263
|
"required": true
|
|
3174
3264
|
}
|
|
3175
3265
|
},
|
|
3176
|
-
"description": "
|
|
3266
|
+
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3177
3267
|
"examples": [
|
|
3178
|
-
"$ xano tenant
|
|
3179
|
-
"$ xano tenant
|
|
3268
|
+
"$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
|
|
3269
|
+
"$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
|
|
3270
|
+
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3271
|
+
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3180
3272
|
],
|
|
3181
3273
|
"flags": {
|
|
3182
3274
|
"profile": {
|
|
@@ -3198,88 +3290,39 @@
|
|
|
3198
3290
|
"allowNo": false,
|
|
3199
3291
|
"type": "boolean"
|
|
3200
3292
|
},
|
|
3201
|
-
"
|
|
3202
|
-
"description": "
|
|
3203
|
-
"name": "
|
|
3204
|
-
"required": false,
|
|
3205
|
-
"hasDynamicHelp": false,
|
|
3206
|
-
"multiple": false,
|
|
3207
|
-
"type": "option"
|
|
3208
|
-
},
|
|
3209
|
-
"description": {
|
|
3210
|
-
"char": "d",
|
|
3211
|
-
"description": "Tenant description",
|
|
3212
|
-
"name": "description",
|
|
3213
|
-
"required": false,
|
|
3214
|
-
"hasDynamicHelp": false,
|
|
3215
|
-
"multiple": false,
|
|
3216
|
-
"type": "option"
|
|
3217
|
-
},
|
|
3218
|
-
"domain": {
|
|
3219
|
-
"description": "Custom domain for the tenant",
|
|
3220
|
-
"name": "domain",
|
|
3293
|
+
"draft": {
|
|
3294
|
+
"description": "Include draft versions",
|
|
3295
|
+
"name": "draft",
|
|
3221
3296
|
"required": false,
|
|
3222
|
-
"hasDynamicHelp": false,
|
|
3223
|
-
"multiple": false,
|
|
3224
|
-
"type": "option"
|
|
3225
|
-
},
|
|
3226
|
-
"ephemeral": {
|
|
3227
|
-
"description": "Mark tenant as ephemeral (allows push operations)",
|
|
3228
|
-
"name": "ephemeral",
|
|
3229
3297
|
"allowNo": false,
|
|
3230
3298
|
"type": "boolean"
|
|
3231
3299
|
},
|
|
3232
|
-
"
|
|
3233
|
-
"description": "
|
|
3234
|
-
"name": "
|
|
3235
|
-
"allowNo": true,
|
|
3236
|
-
"type": "boolean"
|
|
3237
|
-
},
|
|
3238
|
-
"license": {
|
|
3239
|
-
"description": "License tier",
|
|
3240
|
-
"name": "license",
|
|
3300
|
+
"env": {
|
|
3301
|
+
"description": "Include environment variables",
|
|
3302
|
+
"name": "env",
|
|
3241
3303
|
"required": false,
|
|
3242
|
-
"
|
|
3243
|
-
"
|
|
3244
|
-
"multiple": false,
|
|
3245
|
-
"options": [
|
|
3246
|
-
"tier1",
|
|
3247
|
-
"tier2",
|
|
3248
|
-
"tier3"
|
|
3249
|
-
],
|
|
3250
|
-
"type": "option"
|
|
3304
|
+
"allowNo": false,
|
|
3305
|
+
"type": "boolean"
|
|
3251
3306
|
},
|
|
3252
|
-
"
|
|
3253
|
-
"
|
|
3254
|
-
"
|
|
3255
|
-
"name": "output",
|
|
3307
|
+
"records": {
|
|
3308
|
+
"description": "Include records",
|
|
3309
|
+
"name": "records",
|
|
3256
3310
|
"required": false,
|
|
3257
|
-
"
|
|
3258
|
-
"
|
|
3259
|
-
"multiple": false,
|
|
3260
|
-
"options": [
|
|
3261
|
-
"summary",
|
|
3262
|
-
"json"
|
|
3263
|
-
],
|
|
3264
|
-
"type": "option"
|
|
3311
|
+
"allowNo": false,
|
|
3312
|
+
"type": "boolean"
|
|
3265
3313
|
},
|
|
3266
|
-
"
|
|
3267
|
-
"
|
|
3268
|
-
"
|
|
3269
|
-
"
|
|
3314
|
+
"tenant": {
|
|
3315
|
+
"char": "t",
|
|
3316
|
+
"description": "Tenant name to pull from",
|
|
3317
|
+
"name": "tenant",
|
|
3318
|
+
"required": true,
|
|
3270
3319
|
"hasDynamicHelp": false,
|
|
3271
3320
|
"multiple": false,
|
|
3272
3321
|
"type": "option"
|
|
3273
3322
|
},
|
|
3274
|
-
"tasks": {
|
|
3275
|
-
"description": "Enable background tasks",
|
|
3276
|
-
"name": "tasks",
|
|
3277
|
-
"allowNo": true,
|
|
3278
|
-
"type": "boolean"
|
|
3279
|
-
},
|
|
3280
3323
|
"workspace": {
|
|
3281
3324
|
"char": "w",
|
|
3282
|
-
"description": "Workspace ID (
|
|
3325
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3283
3326
|
"name": "workspace",
|
|
3284
3327
|
"required": false,
|
|
3285
3328
|
"hasDynamicHelp": false,
|
|
@@ -3289,7 +3332,7 @@
|
|
|
3289
3332
|
},
|
|
3290
3333
|
"hasDynamicHelp": false,
|
|
3291
3334
|
"hiddenAliases": [],
|
|
3292
|
-
"id": "tenant:
|
|
3335
|
+
"id": "tenant:pull",
|
|
3293
3336
|
"pluginAlias": "@xano/cli",
|
|
3294
3337
|
"pluginName": "@xano/cli",
|
|
3295
3338
|
"pluginType": "core",
|
|
@@ -3300,24 +3343,27 @@
|
|
|
3300
3343
|
"dist",
|
|
3301
3344
|
"commands",
|
|
3302
3345
|
"tenant",
|
|
3303
|
-
"
|
|
3346
|
+
"pull",
|
|
3304
3347
|
"index.js"
|
|
3305
3348
|
]
|
|
3306
3349
|
},
|
|
3307
|
-
"tenant:
|
|
3350
|
+
"tenant:push": {
|
|
3308
3351
|
"aliases": [],
|
|
3309
3352
|
"args": {
|
|
3310
|
-
"
|
|
3311
|
-
"description": "
|
|
3312
|
-
"name": "
|
|
3353
|
+
"directory": {
|
|
3354
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3355
|
+
"name": "directory",
|
|
3313
3356
|
"required": true
|
|
3314
3357
|
}
|
|
3315
3358
|
},
|
|
3316
|
-
"description": "
|
|
3359
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3317
3360
|
"examples": [
|
|
3318
|
-
"$ xano tenant
|
|
3319
|
-
"$ xano tenant
|
|
3320
|
-
"$ xano tenant
|
|
3361
|
+
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3362
|
+
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
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"
|
|
3321
3367
|
],
|
|
3322
3368
|
"flags": {
|
|
3323
3369
|
"profile": {
|
|
@@ -3339,31 +3385,39 @@
|
|
|
3339
3385
|
"allowNo": false,
|
|
3340
3386
|
"type": "boolean"
|
|
3341
3387
|
},
|
|
3342
|
-
"
|
|
3343
|
-
"
|
|
3344
|
-
"
|
|
3345
|
-
"name": "force",
|
|
3388
|
+
"env": {
|
|
3389
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
3390
|
+
"name": "env",
|
|
3346
3391
|
"required": false,
|
|
3347
|
-
"allowNo":
|
|
3392
|
+
"allowNo": true,
|
|
3348
3393
|
"type": "boolean"
|
|
3349
3394
|
},
|
|
3350
|
-
"
|
|
3351
|
-
"
|
|
3352
|
-
"
|
|
3353
|
-
"name": "output",
|
|
3395
|
+
"records": {
|
|
3396
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
3397
|
+
"name": "records",
|
|
3354
3398
|
"required": false,
|
|
3355
|
-
"
|
|
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,
|
|
3356
3407
|
"hasDynamicHelp": false,
|
|
3357
3408
|
"multiple": false,
|
|
3358
|
-
"options": [
|
|
3359
|
-
"summary",
|
|
3360
|
-
"json"
|
|
3361
|
-
],
|
|
3362
3409
|
"type": "option"
|
|
3363
3410
|
},
|
|
3411
|
+
"truncate": {
|
|
3412
|
+
"description": "Truncate all table records before importing",
|
|
3413
|
+
"name": "truncate",
|
|
3414
|
+
"required": false,
|
|
3415
|
+
"allowNo": false,
|
|
3416
|
+
"type": "boolean"
|
|
3417
|
+
},
|
|
3364
3418
|
"workspace": {
|
|
3365
3419
|
"char": "w",
|
|
3366
|
-
"description": "Workspace ID (
|
|
3420
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3367
3421
|
"name": "workspace",
|
|
3368
3422
|
"required": false,
|
|
3369
3423
|
"hasDynamicHelp": false,
|
|
@@ -3373,7 +3427,7 @@
|
|
|
3373
3427
|
},
|
|
3374
3428
|
"hasDynamicHelp": false,
|
|
3375
3429
|
"hiddenAliases": [],
|
|
3376
|
-
"id": "tenant:
|
|
3430
|
+
"id": "tenant:push",
|
|
3377
3431
|
"pluginAlias": "@xano/cli",
|
|
3378
3432
|
"pluginName": "@xano/cli",
|
|
3379
3433
|
"pluginType": "core",
|
|
@@ -3384,23 +3438,18 @@
|
|
|
3384
3438
|
"dist",
|
|
3385
3439
|
"commands",
|
|
3386
3440
|
"tenant",
|
|
3387
|
-
"
|
|
3441
|
+
"push",
|
|
3388
3442
|
"index.js"
|
|
3389
3443
|
]
|
|
3390
3444
|
},
|
|
3391
|
-
"
|
|
3445
|
+
"unit_test:list": {
|
|
3392
3446
|
"aliases": [],
|
|
3393
|
-
"args": {
|
|
3394
|
-
|
|
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",
|
|
3447
|
+
"args": {},
|
|
3448
|
+
"description": "List all unit tests in a workspace",
|
|
3401
3449
|
"examples": [
|
|
3402
|
-
"$ xano
|
|
3403
|
-
"$ xano
|
|
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"
|
|
3404
3453
|
],
|
|
3405
3454
|
"flags": {
|
|
3406
3455
|
"profile": {
|
|
@@ -3422,6 +3471,28 @@
|
|
|
3422
3471
|
"allowNo": false,
|
|
3423
3472
|
"type": "boolean"
|
|
3424
3473
|
},
|
|
3474
|
+
"branch": {
|
|
3475
|
+
"char": "b",
|
|
3476
|
+
"description": "Filter by branch name",
|
|
3477
|
+
"name": "branch",
|
|
3478
|
+
"required": false,
|
|
3479
|
+
"hasDynamicHelp": false,
|
|
3480
|
+
"multiple": false,
|
|
3481
|
+
"type": "option"
|
|
3482
|
+
},
|
|
3483
|
+
"obj-type": {
|
|
3484
|
+
"description": "Filter by object type",
|
|
3485
|
+
"name": "obj-type",
|
|
3486
|
+
"required": false,
|
|
3487
|
+
"hasDynamicHelp": false,
|
|
3488
|
+
"multiple": false,
|
|
3489
|
+
"options": [
|
|
3490
|
+
"function",
|
|
3491
|
+
"query",
|
|
3492
|
+
"middleware"
|
|
3493
|
+
],
|
|
3494
|
+
"type": "option"
|
|
3495
|
+
},
|
|
3425
3496
|
"output": {
|
|
3426
3497
|
"char": "o",
|
|
3427
3498
|
"description": "Output format",
|
|
@@ -3436,14 +3507,6 @@
|
|
|
3436
3507
|
],
|
|
3437
3508
|
"type": "option"
|
|
3438
3509
|
},
|
|
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
|
-
},
|
|
3447
3510
|
"workspace": {
|
|
3448
3511
|
"char": "w",
|
|
3449
3512
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3456,7 +3519,7 @@
|
|
|
3456
3519
|
},
|
|
3457
3520
|
"hasDynamicHelp": false,
|
|
3458
3521
|
"hiddenAliases": [],
|
|
3459
|
-
"id": "
|
|
3522
|
+
"id": "unit_test:list",
|
|
3460
3523
|
"pluginAlias": "@xano/cli",
|
|
3461
3524
|
"pluginName": "@xano/cli",
|
|
3462
3525
|
"pluginType": "core",
|
|
@@ -3466,24 +3529,24 @@
|
|
|
3466
3529
|
"relativePath": [
|
|
3467
3530
|
"dist",
|
|
3468
3531
|
"commands",
|
|
3469
|
-
"
|
|
3470
|
-
"
|
|
3532
|
+
"unit_test",
|
|
3533
|
+
"list",
|
|
3471
3534
|
"index.js"
|
|
3472
3535
|
]
|
|
3473
3536
|
},
|
|
3474
|
-
"
|
|
3537
|
+
"unit_test:run": {
|
|
3475
3538
|
"aliases": [],
|
|
3476
3539
|
"args": {
|
|
3477
|
-
"
|
|
3478
|
-
"description": "
|
|
3479
|
-
"name": "
|
|
3540
|
+
"unit_test_id": {
|
|
3541
|
+
"description": "ID of the unit test to run",
|
|
3542
|
+
"name": "unit_test_id",
|
|
3480
3543
|
"required": true
|
|
3481
3544
|
}
|
|
3482
3545
|
},
|
|
3483
|
-
"description": "
|
|
3546
|
+
"description": "Run a unit test",
|
|
3484
3547
|
"examples": [
|
|
3485
|
-
"$ xano
|
|
3486
|
-
"$ xano
|
|
3548
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3549
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3487
3550
|
],
|
|
3488
3551
|
"flags": {
|
|
3489
3552
|
"profile": {
|
|
@@ -3519,15 +3582,6 @@
|
|
|
3519
3582
|
],
|
|
3520
3583
|
"type": "option"
|
|
3521
3584
|
},
|
|
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
|
-
},
|
|
3531
3585
|
"workspace": {
|
|
3532
3586
|
"char": "w",
|
|
3533
3587
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3540,7 +3594,7 @@
|
|
|
3540
3594
|
},
|
|
3541
3595
|
"hasDynamicHelp": false,
|
|
3542
3596
|
"hiddenAliases": [],
|
|
3543
|
-
"id": "
|
|
3597
|
+
"id": "unit_test:run",
|
|
3544
3598
|
"pluginAlias": "@xano/cli",
|
|
3545
3599
|
"pluginName": "@xano/cli",
|
|
3546
3600
|
"pluginType": "core",
|
|
@@ -3550,24 +3604,18 @@
|
|
|
3550
3604
|
"relativePath": [
|
|
3551
3605
|
"dist",
|
|
3552
3606
|
"commands",
|
|
3553
|
-
"
|
|
3554
|
-
"
|
|
3607
|
+
"unit_test",
|
|
3608
|
+
"run",
|
|
3555
3609
|
"index.js"
|
|
3556
3610
|
]
|
|
3557
3611
|
},
|
|
3558
|
-
"
|
|
3612
|
+
"unit_test:run_all": {
|
|
3559
3613
|
"aliases": [],
|
|
3560
|
-
"args": {
|
|
3561
|
-
|
|
3562
|
-
"description": "Tenant name to edit",
|
|
3563
|
-
"name": "tenant_name",
|
|
3564
|
-
"required": true
|
|
3565
|
-
}
|
|
3566
|
-
},
|
|
3567
|
-
"description": "Edit an existing tenant",
|
|
3614
|
+
"args": {},
|
|
3615
|
+
"description": "Run all unit tests in a workspace",
|
|
3568
3616
|
"examples": [
|
|
3569
|
-
"$ xano
|
|
3570
|
-
"$ xano
|
|
3617
|
+
"$ 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",
|
|
3618
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
3571
3619
|
],
|
|
3572
3620
|
"flags": {
|
|
3573
3621
|
"profile": {
|
|
@@ -3589,38 +3637,28 @@
|
|
|
3589
3637
|
"allowNo": false,
|
|
3590
3638
|
"type": "boolean"
|
|
3591
3639
|
},
|
|
3592
|
-
"
|
|
3593
|
-
"char": "
|
|
3594
|
-
"description": "
|
|
3595
|
-
"name": "
|
|
3596
|
-
"required": false,
|
|
3597
|
-
"hasDynamicHelp": false,
|
|
3598
|
-
"multiple": false,
|
|
3599
|
-
"type": "option"
|
|
3600
|
-
},
|
|
3601
|
-
"display": {
|
|
3602
|
-
"description": "New display name",
|
|
3603
|
-
"name": "display",
|
|
3640
|
+
"branch": {
|
|
3641
|
+
"char": "b",
|
|
3642
|
+
"description": "Filter by branch name",
|
|
3643
|
+
"name": "branch",
|
|
3604
3644
|
"required": false,
|
|
3605
3645
|
"hasDynamicHelp": false,
|
|
3606
3646
|
"multiple": false,
|
|
3607
3647
|
"type": "option"
|
|
3608
3648
|
},
|
|
3609
|
-
"
|
|
3610
|
-
"description": "
|
|
3611
|
-
"name": "
|
|
3649
|
+
"obj-type": {
|
|
3650
|
+
"description": "Filter by object type",
|
|
3651
|
+
"name": "obj-type",
|
|
3612
3652
|
"required": false,
|
|
3613
3653
|
"hasDynamicHelp": false,
|
|
3614
3654
|
"multiple": false,
|
|
3655
|
+
"options": [
|
|
3656
|
+
"function",
|
|
3657
|
+
"query",
|
|
3658
|
+
"middleware"
|
|
3659
|
+
],
|
|
3615
3660
|
"type": "option"
|
|
3616
3661
|
},
|
|
3617
|
-
"ingress": {
|
|
3618
|
-
"description": "Enable/disable ingress",
|
|
3619
|
-
"name": "ingress",
|
|
3620
|
-
"required": false,
|
|
3621
|
-
"allowNo": true,
|
|
3622
|
-
"type": "boolean"
|
|
3623
|
-
},
|
|
3624
3662
|
"output": {
|
|
3625
3663
|
"char": "o",
|
|
3626
3664
|
"description": "Output format",
|
|
@@ -3635,28 +3673,6 @@
|
|
|
3635
3673
|
],
|
|
3636
3674
|
"type": "option"
|
|
3637
3675
|
},
|
|
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
|
-
},
|
|
3660
3676
|
"workspace": {
|
|
3661
3677
|
"char": "w",
|
|
3662
3678
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3669,7 +3685,7 @@
|
|
|
3669
3685
|
},
|
|
3670
3686
|
"hasDynamicHelp": false,
|
|
3671
3687
|
"hiddenAliases": [],
|
|
3672
|
-
"id": "
|
|
3688
|
+
"id": "unit_test:run_all",
|
|
3673
3689
|
"pluginAlias": "@xano/cli",
|
|
3674
3690
|
"pluginName": "@xano/cli",
|
|
3675
3691
|
"pluginType": "core",
|
|
@@ -3679,24 +3695,24 @@
|
|
|
3679
3695
|
"relativePath": [
|
|
3680
3696
|
"dist",
|
|
3681
3697
|
"commands",
|
|
3682
|
-
"
|
|
3683
|
-
"
|
|
3698
|
+
"unit_test",
|
|
3699
|
+
"run_all",
|
|
3684
3700
|
"index.js"
|
|
3685
3701
|
]
|
|
3686
3702
|
},
|
|
3687
|
-
"
|
|
3703
|
+
"workflow_test:delete": {
|
|
3688
3704
|
"aliases": [],
|
|
3689
3705
|
"args": {
|
|
3690
|
-
"
|
|
3691
|
-
"description": "
|
|
3692
|
-
"name": "
|
|
3706
|
+
"workflow_test_id": {
|
|
3707
|
+
"description": "ID of the workflow test to delete",
|
|
3708
|
+
"name": "workflow_test_id",
|
|
3693
3709
|
"required": true
|
|
3694
3710
|
}
|
|
3695
3711
|
},
|
|
3696
|
-
"description": "
|
|
3712
|
+
"description": "Delete a workflow test",
|
|
3697
3713
|
"examples": [
|
|
3698
|
-
"$ xano
|
|
3699
|
-
"$ xano
|
|
3714
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
3715
|
+
"$ xano workflow-test delete 1 --force"
|
|
3700
3716
|
],
|
|
3701
3717
|
"flags": {
|
|
3702
3718
|
"profile": {
|
|
@@ -3718,6 +3734,14 @@
|
|
|
3718
3734
|
"allowNo": false,
|
|
3719
3735
|
"type": "boolean"
|
|
3720
3736
|
},
|
|
3737
|
+
"force": {
|
|
3738
|
+
"char": "f",
|
|
3739
|
+
"description": "Skip confirmation prompt",
|
|
3740
|
+
"name": "force",
|
|
3741
|
+
"required": false,
|
|
3742
|
+
"allowNo": false,
|
|
3743
|
+
"type": "boolean"
|
|
3744
|
+
},
|
|
3721
3745
|
"output": {
|
|
3722
3746
|
"char": "o",
|
|
3723
3747
|
"description": "Output format",
|
|
@@ -3744,7 +3768,7 @@
|
|
|
3744
3768
|
},
|
|
3745
3769
|
"hasDynamicHelp": false,
|
|
3746
3770
|
"hiddenAliases": [],
|
|
3747
|
-
"id": "
|
|
3771
|
+
"id": "workflow_test:delete",
|
|
3748
3772
|
"pluginAlias": "@xano/cli",
|
|
3749
3773
|
"pluginName": "@xano/cli",
|
|
3750
3774
|
"pluginType": "core",
|
|
@@ -3754,24 +3778,25 @@
|
|
|
3754
3778
|
"relativePath": [
|
|
3755
3779
|
"dist",
|
|
3756
3780
|
"commands",
|
|
3757
|
-
"
|
|
3758
|
-
"
|
|
3781
|
+
"workflow_test",
|
|
3782
|
+
"delete",
|
|
3759
3783
|
"index.js"
|
|
3760
3784
|
]
|
|
3761
3785
|
},
|
|
3762
|
-
"
|
|
3786
|
+
"workflow_test:get": {
|
|
3763
3787
|
"aliases": [],
|
|
3764
3788
|
"args": {
|
|
3765
|
-
"
|
|
3766
|
-
"description": "
|
|
3767
|
-
"name": "
|
|
3789
|
+
"workflow_test_id": {
|
|
3790
|
+
"description": "ID of the workflow test",
|
|
3791
|
+
"name": "workflow_test_id",
|
|
3768
3792
|
"required": true
|
|
3769
3793
|
}
|
|
3770
3794
|
},
|
|
3771
|
-
"description": "
|
|
3795
|
+
"description": "Get a specific workflow test",
|
|
3772
3796
|
"examples": [
|
|
3773
|
-
"$ xano
|
|
3774
|
-
"$ xano
|
|
3797
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
3798
|
+
"$ xano workflow-test get 1 -o xs",
|
|
3799
|
+
"$ xano workflow-test get 1 -o json"
|
|
3775
3800
|
],
|
|
3776
3801
|
"flags": {
|
|
3777
3802
|
"profile": {
|
|
@@ -3793,6 +3818,13 @@
|
|
|
3793
3818
|
"allowNo": false,
|
|
3794
3819
|
"type": "boolean"
|
|
3795
3820
|
},
|
|
3821
|
+
"include-draft": {
|
|
3822
|
+
"description": "Include draft version",
|
|
3823
|
+
"name": "include-draft",
|
|
3824
|
+
"required": false,
|
|
3825
|
+
"allowNo": false,
|
|
3826
|
+
"type": "boolean"
|
|
3827
|
+
},
|
|
3796
3828
|
"output": {
|
|
3797
3829
|
"char": "o",
|
|
3798
3830
|
"description": "Output format",
|
|
@@ -3803,18 +3835,11 @@
|
|
|
3803
3835
|
"multiple": false,
|
|
3804
3836
|
"options": [
|
|
3805
3837
|
"summary",
|
|
3806
|
-
"json"
|
|
3838
|
+
"json",
|
|
3839
|
+
"xs"
|
|
3807
3840
|
],
|
|
3808
3841
|
"type": "option"
|
|
3809
3842
|
},
|
|
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
|
-
},
|
|
3818
3843
|
"workspace": {
|
|
3819
3844
|
"char": "w",
|
|
3820
3845
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3827,7 +3852,7 @@
|
|
|
3827
3852
|
},
|
|
3828
3853
|
"hasDynamicHelp": false,
|
|
3829
3854
|
"hiddenAliases": [],
|
|
3830
|
-
"id": "
|
|
3855
|
+
"id": "workflow_test:get",
|
|
3831
3856
|
"pluginAlias": "@xano/cli",
|
|
3832
3857
|
"pluginName": "@xano/cli",
|
|
3833
3858
|
"pluginType": "core",
|
|
@@ -3837,25 +3862,19 @@
|
|
|
3837
3862
|
"relativePath": [
|
|
3838
3863
|
"dist",
|
|
3839
3864
|
"commands",
|
|
3840
|
-
"
|
|
3841
|
-
"
|
|
3865
|
+
"workflow_test",
|
|
3866
|
+
"get",
|
|
3842
3867
|
"index.js"
|
|
3843
3868
|
]
|
|
3844
3869
|
},
|
|
3845
|
-
"
|
|
3870
|
+
"workflow_test:list": {
|
|
3846
3871
|
"aliases": [],
|
|
3847
|
-
"args": {
|
|
3848
|
-
|
|
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",
|
|
3872
|
+
"args": {},
|
|
3873
|
+
"description": "List all workflow tests in a workspace",
|
|
3855
3874
|
"examples": [
|
|
3856
|
-
"$ xano workspace
|
|
3857
|
-
"$ xano
|
|
3858
|
-
"$ xano
|
|
3875
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
3876
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
3877
|
+
"$ xano workflow-test list --branch main"
|
|
3859
3878
|
],
|
|
3860
3879
|
"flags": {
|
|
3861
3880
|
"profile": {
|
|
@@ -3877,10 +3896,10 @@
|
|
|
3877
3896
|
"allowNo": false,
|
|
3878
3897
|
"type": "boolean"
|
|
3879
3898
|
},
|
|
3880
|
-
"
|
|
3881
|
-
"char": "
|
|
3882
|
-
"description": "
|
|
3883
|
-
"name": "
|
|
3899
|
+
"branch": {
|
|
3900
|
+
"char": "b",
|
|
3901
|
+
"description": "Filter by branch name",
|
|
3902
|
+
"name": "branch",
|
|
3884
3903
|
"required": false,
|
|
3885
3904
|
"hasDynamicHelp": false,
|
|
3886
3905
|
"multiple": false,
|
|
@@ -3899,11 +3918,20 @@
|
|
|
3899
3918
|
"json"
|
|
3900
3919
|
],
|
|
3901
3920
|
"type": "option"
|
|
3921
|
+
},
|
|
3922
|
+
"workspace": {
|
|
3923
|
+
"char": "w",
|
|
3924
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3925
|
+
"name": "workspace",
|
|
3926
|
+
"required": false,
|
|
3927
|
+
"hasDynamicHelp": false,
|
|
3928
|
+
"multiple": false,
|
|
3929
|
+
"type": "option"
|
|
3902
3930
|
}
|
|
3903
3931
|
},
|
|
3904
3932
|
"hasDynamicHelp": false,
|
|
3905
3933
|
"hiddenAliases": [],
|
|
3906
|
-
"id": "
|
|
3934
|
+
"id": "workflow_test:list",
|
|
3907
3935
|
"pluginAlias": "@xano/cli",
|
|
3908
3936
|
"pluginName": "@xano/cli",
|
|
3909
3937
|
"pluginType": "core",
|
|
@@ -3913,25 +3941,24 @@
|
|
|
3913
3941
|
"relativePath": [
|
|
3914
3942
|
"dist",
|
|
3915
3943
|
"commands",
|
|
3916
|
-
"
|
|
3917
|
-
"
|
|
3944
|
+
"workflow_test",
|
|
3945
|
+
"list",
|
|
3918
3946
|
"index.js"
|
|
3919
3947
|
]
|
|
3920
3948
|
},
|
|
3921
|
-
"
|
|
3949
|
+
"workflow_test:run": {
|
|
3922
3950
|
"aliases": [],
|
|
3923
3951
|
"args": {
|
|
3924
|
-
"
|
|
3925
|
-
"description": "
|
|
3926
|
-
"name": "
|
|
3952
|
+
"workflow_test_id": {
|
|
3953
|
+
"description": "ID of the workflow test to run",
|
|
3954
|
+
"name": "workflow_test_id",
|
|
3927
3955
|
"required": true
|
|
3928
3956
|
}
|
|
3929
3957
|
},
|
|
3930
|
-
"description": "
|
|
3958
|
+
"description": "Run a workflow test",
|
|
3931
3959
|
"examples": [
|
|
3932
|
-
"$ xano
|
|
3933
|
-
"$ xano
|
|
3934
|
-
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
3960
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
3961
|
+
"$ xano workflow-test run 1 -o json"
|
|
3935
3962
|
],
|
|
3936
3963
|
"flags": {
|
|
3937
3964
|
"profile": {
|
|
@@ -3953,14 +3980,6 @@
|
|
|
3953
3980
|
"allowNo": false,
|
|
3954
3981
|
"type": "boolean"
|
|
3955
3982
|
},
|
|
3956
|
-
"force": {
|
|
3957
|
-
"char": "f",
|
|
3958
|
-
"description": "Skip confirmation prompt",
|
|
3959
|
-
"name": "force",
|
|
3960
|
-
"required": false,
|
|
3961
|
-
"allowNo": false,
|
|
3962
|
-
"type": "boolean"
|
|
3963
|
-
},
|
|
3964
3983
|
"output": {
|
|
3965
3984
|
"char": "o",
|
|
3966
3985
|
"description": "Output format",
|
|
@@ -3974,11 +3993,20 @@
|
|
|
3974
3993
|
"json"
|
|
3975
3994
|
],
|
|
3976
3995
|
"type": "option"
|
|
3996
|
+
},
|
|
3997
|
+
"workspace": {
|
|
3998
|
+
"char": "w",
|
|
3999
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4000
|
+
"name": "workspace",
|
|
4001
|
+
"required": false,
|
|
4002
|
+
"hasDynamicHelp": false,
|
|
4003
|
+
"multiple": false,
|
|
4004
|
+
"type": "option"
|
|
3977
4005
|
}
|
|
3978
4006
|
},
|
|
3979
4007
|
"hasDynamicHelp": false,
|
|
3980
4008
|
"hiddenAliases": [],
|
|
3981
|
-
"id": "
|
|
4009
|
+
"id": "workflow_test:run",
|
|
3982
4010
|
"pluginAlias": "@xano/cli",
|
|
3983
4011
|
"pluginName": "@xano/cli",
|
|
3984
4012
|
"pluginType": "core",
|
|
@@ -3988,26 +4016,18 @@
|
|
|
3988
4016
|
"relativePath": [
|
|
3989
4017
|
"dist",
|
|
3990
4018
|
"commands",
|
|
3991
|
-
"
|
|
3992
|
-
"
|
|
4019
|
+
"workflow_test",
|
|
4020
|
+
"run",
|
|
3993
4021
|
"index.js"
|
|
3994
4022
|
]
|
|
3995
4023
|
},
|
|
3996
|
-
"
|
|
4024
|
+
"workflow_test:run_all": {
|
|
3997
4025
|
"aliases": [],
|
|
3998
|
-
"args": {
|
|
3999
|
-
|
|
4000
|
-
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
4001
|
-
"name": "workspace_id",
|
|
4002
|
-
"required": false
|
|
4003
|
-
}
|
|
4004
|
-
},
|
|
4005
|
-
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
4026
|
+
"args": {},
|
|
4027
|
+
"description": "Run all workflow tests in a workspace",
|
|
4006
4028
|
"examples": [
|
|
4007
|
-
"$ xano
|
|
4008
|
-
"$ xano
|
|
4009
|
-
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
4010
|
-
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4029
|
+
"$ 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",
|
|
4030
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
4011
4031
|
],
|
|
4012
4032
|
"flags": {
|
|
4013
4033
|
"profile": {
|
|
@@ -4029,19 +4049,10 @@
|
|
|
4029
4049
|
"allowNo": false,
|
|
4030
4050
|
"type": "boolean"
|
|
4031
4051
|
},
|
|
4032
|
-
"
|
|
4033
|
-
"char": "
|
|
4034
|
-
"description": "
|
|
4035
|
-
"name": "
|
|
4036
|
-
"required": false,
|
|
4037
|
-
"hasDynamicHelp": false,
|
|
4038
|
-
"multiple": false,
|
|
4039
|
-
"type": "option"
|
|
4040
|
-
},
|
|
4041
|
-
"name": {
|
|
4042
|
-
"char": "n",
|
|
4043
|
-
"description": "New name for the workspace",
|
|
4044
|
-
"name": "name",
|
|
4052
|
+
"branch": {
|
|
4053
|
+
"char": "b",
|
|
4054
|
+
"description": "Filter by branch name",
|
|
4055
|
+
"name": "branch",
|
|
4045
4056
|
"required": false,
|
|
4046
4057
|
"hasDynamicHelp": false,
|
|
4047
4058
|
"multiple": false,
|
|
@@ -4061,24 +4072,19 @@
|
|
|
4061
4072
|
],
|
|
4062
4073
|
"type": "option"
|
|
4063
4074
|
},
|
|
4064
|
-
"
|
|
4065
|
-
"
|
|
4066
|
-
"
|
|
4067
|
-
"
|
|
4068
|
-
"allowNo": true,
|
|
4069
|
-
"type": "boolean"
|
|
4070
|
-
},
|
|
4071
|
-
"swagger": {
|
|
4072
|
-
"description": "Enable or disable swagger documentation",
|
|
4073
|
-
"name": "swagger",
|
|
4075
|
+
"workspace": {
|
|
4076
|
+
"char": "w",
|
|
4077
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4078
|
+
"name": "workspace",
|
|
4074
4079
|
"required": false,
|
|
4075
|
-
"
|
|
4076
|
-
"
|
|
4080
|
+
"hasDynamicHelp": false,
|
|
4081
|
+
"multiple": false,
|
|
4082
|
+
"type": "option"
|
|
4077
4083
|
}
|
|
4078
4084
|
},
|
|
4079
4085
|
"hasDynamicHelp": false,
|
|
4080
4086
|
"hiddenAliases": [],
|
|
4081
|
-
"id": "
|
|
4087
|
+
"id": "workflow_test:run_all",
|
|
4082
4088
|
"pluginAlias": "@xano/cli",
|
|
4083
4089
|
"pluginName": "@xano/cli",
|
|
4084
4090
|
"pluginType": "core",
|
|
@@ -4088,18 +4094,25 @@
|
|
|
4088
4094
|
"relativePath": [
|
|
4089
4095
|
"dist",
|
|
4090
4096
|
"commands",
|
|
4091
|
-
"
|
|
4092
|
-
"
|
|
4097
|
+
"workflow_test",
|
|
4098
|
+
"run_all",
|
|
4093
4099
|
"index.js"
|
|
4094
4100
|
]
|
|
4095
4101
|
},
|
|
4096
|
-
"
|
|
4102
|
+
"workspace:create": {
|
|
4097
4103
|
"aliases": [],
|
|
4098
|
-
"args": {
|
|
4099
|
-
|
|
4104
|
+
"args": {
|
|
4105
|
+
"name": {
|
|
4106
|
+
"description": "Name of the workspace",
|
|
4107
|
+
"name": "name",
|
|
4108
|
+
"required": true
|
|
4109
|
+
}
|
|
4110
|
+
},
|
|
4111
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
4100
4112
|
"examples": [
|
|
4101
|
-
"$ xano
|
|
4102
|
-
"$ xano
|
|
4113
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
4114
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
4115
|
+
"$ 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"
|
|
4103
4116
|
],
|
|
4104
4117
|
"flags": {
|
|
4105
4118
|
"profile": {
|
|
@@ -4121,6 +4134,15 @@
|
|
|
4121
4134
|
"allowNo": false,
|
|
4122
4135
|
"type": "boolean"
|
|
4123
4136
|
},
|
|
4137
|
+
"description": {
|
|
4138
|
+
"char": "d",
|
|
4139
|
+
"description": "Description for the workspace",
|
|
4140
|
+
"name": "description",
|
|
4141
|
+
"required": false,
|
|
4142
|
+
"hasDynamicHelp": false,
|
|
4143
|
+
"multiple": false,
|
|
4144
|
+
"type": "option"
|
|
4145
|
+
},
|
|
4124
4146
|
"output": {
|
|
4125
4147
|
"char": "o",
|
|
4126
4148
|
"description": "Output format",
|
|
@@ -4134,20 +4156,11 @@
|
|
|
4134
4156
|
"json"
|
|
4135
4157
|
],
|
|
4136
4158
|
"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"
|
|
4146
4159
|
}
|
|
4147
4160
|
},
|
|
4148
4161
|
"hasDynamicHelp": false,
|
|
4149
4162
|
"hiddenAliases": [],
|
|
4150
|
-
"id": "
|
|
4163
|
+
"id": "workspace:create",
|
|
4151
4164
|
"pluginAlias": "@xano/cli",
|
|
4152
4165
|
"pluginName": "@xano/cli",
|
|
4153
4166
|
"pluginType": "core",
|
|
@@ -4157,28 +4170,25 @@
|
|
|
4157
4170
|
"relativePath": [
|
|
4158
4171
|
"dist",
|
|
4159
4172
|
"commands",
|
|
4160
|
-
"
|
|
4161
|
-
"
|
|
4173
|
+
"workspace",
|
|
4174
|
+
"create",
|
|
4162
4175
|
"index.js"
|
|
4163
4176
|
]
|
|
4164
4177
|
},
|
|
4165
|
-
"
|
|
4178
|
+
"workspace:get": {
|
|
4166
4179
|
"aliases": [],
|
|
4167
4180
|
"args": {
|
|
4168
|
-
"
|
|
4169
|
-
"description": "
|
|
4170
|
-
"name": "
|
|
4171
|
-
"required":
|
|
4181
|
+
"workspace_id": {
|
|
4182
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4183
|
+
"name": "workspace_id",
|
|
4184
|
+
"required": false
|
|
4172
4185
|
}
|
|
4173
4186
|
},
|
|
4174
|
-
"description": "
|
|
4187
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4175
4188
|
"examples": [
|
|
4176
|
-
"$ xano
|
|
4177
|
-
"$ xano
|
|
4178
|
-
"$ xano
|
|
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"
|
|
4189
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
4190
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
4191
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4182
4192
|
],
|
|
4183
4193
|
"flags": {
|
|
4184
4194
|
"profile": {
|
|
@@ -4200,49 +4210,24 @@
|
|
|
4200
4210
|
"allowNo": false,
|
|
4201
4211
|
"type": "boolean"
|
|
4202
4212
|
},
|
|
4203
|
-
"
|
|
4204
|
-
"
|
|
4205
|
-
"
|
|
4206
|
-
"
|
|
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",
|
|
4213
|
+
"output": {
|
|
4214
|
+
"char": "o",
|
|
4215
|
+
"description": "Output format",
|
|
4216
|
+
"name": "output",
|
|
4237
4217
|
"required": false,
|
|
4218
|
+
"default": "summary",
|
|
4238
4219
|
"hasDynamicHelp": false,
|
|
4239
4220
|
"multiple": false,
|
|
4221
|
+
"options": [
|
|
4222
|
+
"summary",
|
|
4223
|
+
"json"
|
|
4224
|
+
],
|
|
4240
4225
|
"type": "option"
|
|
4241
4226
|
}
|
|
4242
4227
|
},
|
|
4243
4228
|
"hasDynamicHelp": false,
|
|
4244
4229
|
"hiddenAliases": [],
|
|
4245
|
-
"id": "
|
|
4230
|
+
"id": "workspace:get",
|
|
4246
4231
|
"pluginAlias": "@xano/cli",
|
|
4247
4232
|
"pluginName": "@xano/cli",
|
|
4248
4233
|
"pluginType": "core",
|
|
@@ -4252,25 +4237,25 @@
|
|
|
4252
4237
|
"relativePath": [
|
|
4253
4238
|
"dist",
|
|
4254
4239
|
"commands",
|
|
4255
|
-
"
|
|
4256
|
-
"
|
|
4240
|
+
"workspace",
|
|
4241
|
+
"get",
|
|
4257
4242
|
"index.js"
|
|
4258
4243
|
]
|
|
4259
4244
|
},
|
|
4260
|
-
"workspace:
|
|
4245
|
+
"workspace:delete": {
|
|
4261
4246
|
"aliases": [],
|
|
4262
4247
|
"args": {
|
|
4263
4248
|
"workspace_id": {
|
|
4264
|
-
"description": "Workspace ID to
|
|
4249
|
+
"description": "Workspace ID to delete",
|
|
4265
4250
|
"name": "workspace_id",
|
|
4266
|
-
"required":
|
|
4251
|
+
"required": true
|
|
4267
4252
|
}
|
|
4268
4253
|
},
|
|
4269
|
-
"description": "
|
|
4254
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
4270
4255
|
"examples": [
|
|
4271
|
-
"$ xano workspace
|
|
4272
|
-
"$ xano workspace
|
|
4273
|
-
"$ xano workspace
|
|
4256
|
+
"$ 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",
|
|
4257
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
4258
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4274
4259
|
],
|
|
4275
4260
|
"flags": {
|
|
4276
4261
|
"profile": {
|
|
@@ -4292,6 +4277,14 @@
|
|
|
4292
4277
|
"allowNo": false,
|
|
4293
4278
|
"type": "boolean"
|
|
4294
4279
|
},
|
|
4280
|
+
"force": {
|
|
4281
|
+
"char": "f",
|
|
4282
|
+
"description": "Skip confirmation prompt",
|
|
4283
|
+
"name": "force",
|
|
4284
|
+
"required": false,
|
|
4285
|
+
"allowNo": false,
|
|
4286
|
+
"type": "boolean"
|
|
4287
|
+
},
|
|
4295
4288
|
"output": {
|
|
4296
4289
|
"char": "o",
|
|
4297
4290
|
"description": "Output format",
|
|
@@ -4309,7 +4302,7 @@
|
|
|
4309
4302
|
},
|
|
4310
4303
|
"hasDynamicHelp": false,
|
|
4311
4304
|
"hiddenAliases": [],
|
|
4312
|
-
"id": "workspace:
|
|
4305
|
+
"id": "workspace:delete",
|
|
4313
4306
|
"pluginAlias": "@xano/cli",
|
|
4314
4307
|
"pluginName": "@xano/cli",
|
|
4315
4308
|
"pluginType": "core",
|
|
@@ -4320,26 +4313,26 @@
|
|
|
4320
4313
|
"dist",
|
|
4321
4314
|
"commands",
|
|
4322
4315
|
"workspace",
|
|
4323
|
-
"
|
|
4316
|
+
"delete",
|
|
4324
4317
|
"index.js"
|
|
4325
4318
|
]
|
|
4326
4319
|
},
|
|
4327
|
-
"
|
|
4320
|
+
"workspace:edit": {
|
|
4328
4321
|
"aliases": [],
|
|
4329
4322
|
"args": {
|
|
4330
|
-
"
|
|
4331
|
-
"description": "
|
|
4332
|
-
"name": "
|
|
4333
|
-
"required":
|
|
4323
|
+
"workspace_id": {
|
|
4324
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
4325
|
+
"name": "workspace_id",
|
|
4326
|
+
"required": false
|
|
4334
4327
|
}
|
|
4335
4328
|
},
|
|
4336
|
-
"description": "
|
|
4329
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
4337
4330
|
"examples": [
|
|
4338
|
-
"$ xano
|
|
4339
|
-
"$ xano
|
|
4340
|
-
"$ xano
|
|
4341
|
-
"$ xano
|
|
4342
|
-
],
|
|
4331
|
+
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
4332
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
4333
|
+
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
4334
|
+
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4335
|
+
],
|
|
4343
4336
|
"flags": {
|
|
4344
4337
|
"profile": {
|
|
4345
4338
|
"char": "p",
|
|
@@ -4360,49 +4353,56 @@
|
|
|
4360
4353
|
"allowNo": false,
|
|
4361
4354
|
"type": "boolean"
|
|
4362
4355
|
},
|
|
4363
|
-
"
|
|
4364
|
-
"
|
|
4365
|
-
"
|
|
4366
|
-
"
|
|
4367
|
-
"allowNo": false,
|
|
4368
|
-
"type": "boolean"
|
|
4369
|
-
},
|
|
4370
|
-
"env": {
|
|
4371
|
-
"description": "Include environment variables",
|
|
4372
|
-
"name": "env",
|
|
4356
|
+
"description": {
|
|
4357
|
+
"char": "d",
|
|
4358
|
+
"description": "New description for the workspace",
|
|
4359
|
+
"name": "description",
|
|
4373
4360
|
"required": false,
|
|
4374
|
-
"
|
|
4375
|
-
"
|
|
4361
|
+
"hasDynamicHelp": false,
|
|
4362
|
+
"multiple": false,
|
|
4363
|
+
"type": "option"
|
|
4376
4364
|
},
|
|
4377
|
-
"
|
|
4378
|
-
"
|
|
4379
|
-
"
|
|
4365
|
+
"name": {
|
|
4366
|
+
"char": "n",
|
|
4367
|
+
"description": "New name for the workspace",
|
|
4368
|
+
"name": "name",
|
|
4380
4369
|
"required": false,
|
|
4381
|
-
"allowNo": false,
|
|
4382
|
-
"type": "boolean"
|
|
4383
|
-
},
|
|
4384
|
-
"tenant": {
|
|
4385
|
-
"char": "t",
|
|
4386
|
-
"description": "Tenant name to pull from",
|
|
4387
|
-
"name": "tenant",
|
|
4388
|
-
"required": true,
|
|
4389
4370
|
"hasDynamicHelp": false,
|
|
4390
4371
|
"multiple": false,
|
|
4391
4372
|
"type": "option"
|
|
4392
4373
|
},
|
|
4393
|
-
"
|
|
4394
|
-
"char": "
|
|
4395
|
-
"description": "
|
|
4396
|
-
"name": "
|
|
4374
|
+
"output": {
|
|
4375
|
+
"char": "o",
|
|
4376
|
+
"description": "Output format",
|
|
4377
|
+
"name": "output",
|
|
4397
4378
|
"required": false,
|
|
4379
|
+
"default": "summary",
|
|
4398
4380
|
"hasDynamicHelp": false,
|
|
4399
4381
|
"multiple": false,
|
|
4382
|
+
"options": [
|
|
4383
|
+
"summary",
|
|
4384
|
+
"json"
|
|
4385
|
+
],
|
|
4400
4386
|
"type": "option"
|
|
4387
|
+
},
|
|
4388
|
+
"require-token": {
|
|
4389
|
+
"description": "Whether to require a token for documentation access",
|
|
4390
|
+
"name": "require-token",
|
|
4391
|
+
"required": false,
|
|
4392
|
+
"allowNo": true,
|
|
4393
|
+
"type": "boolean"
|
|
4394
|
+
},
|
|
4395
|
+
"swagger": {
|
|
4396
|
+
"description": "Enable or disable swagger documentation",
|
|
4397
|
+
"name": "swagger",
|
|
4398
|
+
"required": false,
|
|
4399
|
+
"allowNo": true,
|
|
4400
|
+
"type": "boolean"
|
|
4401
4401
|
}
|
|
4402
4402
|
},
|
|
4403
4403
|
"hasDynamicHelp": false,
|
|
4404
4404
|
"hiddenAliases": [],
|
|
4405
|
-
"id": "
|
|
4405
|
+
"id": "workspace:edit",
|
|
4406
4406
|
"pluginAlias": "@xano/cli",
|
|
4407
4407
|
"pluginName": "@xano/cli",
|
|
4408
4408
|
"pluginType": "core",
|
|
@@ -4412,8 +4412,8 @@
|
|
|
4412
4412
|
"relativePath": [
|
|
4413
4413
|
"dist",
|
|
4414
4414
|
"commands",
|
|
4415
|
-
"
|
|
4416
|
-
"
|
|
4415
|
+
"workspace",
|
|
4416
|
+
"edit",
|
|
4417
4417
|
"index.js"
|
|
4418
4418
|
]
|
|
4419
4419
|
},
|
|
@@ -4479,20 +4479,22 @@
|
|
|
4479
4479
|
"index.js"
|
|
4480
4480
|
]
|
|
4481
4481
|
},
|
|
4482
|
-
"
|
|
4482
|
+
"workspace:pull": {
|
|
4483
4483
|
"aliases": [],
|
|
4484
4484
|
"args": {
|
|
4485
|
-
"
|
|
4486
|
-
"description": "
|
|
4487
|
-
"name": "
|
|
4485
|
+
"directory": {
|
|
4486
|
+
"description": "Output directory for pulled documents",
|
|
4487
|
+
"name": "directory",
|
|
4488
4488
|
"required": true
|
|
4489
4489
|
}
|
|
4490
4490
|
},
|
|
4491
|
-
"description": "
|
|
4491
|
+
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
4492
4492
|
"examples": [
|
|
4493
|
-
"$ xano
|
|
4494
|
-
"$ xano
|
|
4495
|
-
"$ xano
|
|
4493
|
+
"$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
4494
|
+
"$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
|
|
4495
|
+
"$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
|
|
4496
|
+
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4497
|
+
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4496
4498
|
],
|
|
4497
4499
|
"flags": {
|
|
4498
4500
|
"profile": {
|
|
@@ -4514,46 +4516,35 @@
|
|
|
4514
4516
|
"allowNo": false,
|
|
4515
4517
|
"type": "boolean"
|
|
4516
4518
|
},
|
|
4517
|
-
"
|
|
4518
|
-
"char": "
|
|
4519
|
-
"description": "
|
|
4520
|
-
"name": "
|
|
4519
|
+
"branch": {
|
|
4520
|
+
"char": "b",
|
|
4521
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4522
|
+
"name": "branch",
|
|
4521
4523
|
"required": false,
|
|
4522
4524
|
"hasDynamicHelp": false,
|
|
4523
4525
|
"multiple": false,
|
|
4524
4526
|
"type": "option"
|
|
4525
4527
|
},
|
|
4526
|
-
"
|
|
4527
|
-
"
|
|
4528
|
-
"
|
|
4529
|
-
"
|
|
4530
|
-
"
|
|
4531
|
-
"
|
|
4532
|
-
"multiple": false,
|
|
4533
|
-
"type": "option"
|
|
4528
|
+
"env": {
|
|
4529
|
+
"description": "Include environment variables",
|
|
4530
|
+
"name": "env",
|
|
4531
|
+
"required": false,
|
|
4532
|
+
"allowNo": false,
|
|
4533
|
+
"type": "boolean"
|
|
4534
4534
|
},
|
|
4535
|
-
"
|
|
4536
|
-
"
|
|
4537
|
-
"
|
|
4538
|
-
"
|
|
4539
|
-
"
|
|
4540
|
-
"
|
|
4541
|
-
"multiple": false,
|
|
4542
|
-
"type": "option"
|
|
4535
|
+
"draft": {
|
|
4536
|
+
"description": "Include draft versions",
|
|
4537
|
+
"name": "draft",
|
|
4538
|
+
"required": false,
|
|
4539
|
+
"allowNo": false,
|
|
4540
|
+
"type": "boolean"
|
|
4543
4541
|
},
|
|
4544
|
-
"
|
|
4545
|
-
"
|
|
4546
|
-
"
|
|
4547
|
-
"name": "output",
|
|
4542
|
+
"records": {
|
|
4543
|
+
"description": "Include records",
|
|
4544
|
+
"name": "records",
|
|
4548
4545
|
"required": false,
|
|
4549
|
-
"
|
|
4550
|
-
"
|
|
4551
|
-
"multiple": false,
|
|
4552
|
-
"options": [
|
|
4553
|
-
"summary",
|
|
4554
|
-
"json"
|
|
4555
|
-
],
|
|
4556
|
-
"type": "option"
|
|
4546
|
+
"allowNo": false,
|
|
4547
|
+
"type": "boolean"
|
|
4557
4548
|
},
|
|
4558
4549
|
"workspace": {
|
|
4559
4550
|
"char": "w",
|
|
@@ -4567,7 +4558,7 @@
|
|
|
4567
4558
|
},
|
|
4568
4559
|
"hasDynamicHelp": false,
|
|
4569
4560
|
"hiddenAliases": [],
|
|
4570
|
-
"id": "
|
|
4561
|
+
"id": "workspace:pull",
|
|
4571
4562
|
"pluginAlias": "@xano/cli",
|
|
4572
4563
|
"pluginName": "@xano/cli",
|
|
4573
4564
|
"pluginType": "core",
|
|
@@ -4577,32 +4568,33 @@
|
|
|
4577
4568
|
"relativePath": [
|
|
4578
4569
|
"dist",
|
|
4579
4570
|
"commands",
|
|
4580
|
-
"
|
|
4581
|
-
"
|
|
4582
|
-
"create",
|
|
4571
|
+
"workspace",
|
|
4572
|
+
"pull",
|
|
4583
4573
|
"index.js"
|
|
4584
4574
|
]
|
|
4585
4575
|
},
|
|
4586
|
-
"
|
|
4576
|
+
"workspace:push": {
|
|
4587
4577
|
"aliases": [],
|
|
4588
4578
|
"args": {
|
|
4589
|
-
"
|
|
4590
|
-
"description": "
|
|
4591
|
-
"name": "
|
|
4592
|
-
"required": true
|
|
4593
|
-
},
|
|
4594
|
-
"static_host": {
|
|
4595
|
-
"description": "Static Host name",
|
|
4596
|
-
"name": "static_host",
|
|
4579
|
+
"directory": {
|
|
4580
|
+
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
4581
|
+
"name": "directory",
|
|
4597
4582
|
"required": true
|
|
4598
4583
|
}
|
|
4599
4584
|
},
|
|
4600
|
-
"description": "
|
|
4585
|
+
"description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
|
|
4601
4586
|
"examples": [
|
|
4602
|
-
"$ xano
|
|
4603
|
-
"$ xano
|
|
4604
|
-
"$ xano
|
|
4605
|
-
"$ xano
|
|
4587
|
+
"$ xano workspace push ./my-workspace\nPushed 42 documents from ./my-workspace\n",
|
|
4588
|
+
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
4589
|
+
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
4590
|
+
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4591
|
+
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4592
|
+
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
4593
|
+
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4594
|
+
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4595
|
+
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4596
|
+
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
4597
|
+
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
4606
4598
|
],
|
|
4607
4599
|
"flags": {
|
|
4608
4600
|
"profile": {
|
|
@@ -4624,20 +4616,57 @@
|
|
|
4624
4616
|
"allowNo": false,
|
|
4625
4617
|
"type": "boolean"
|
|
4626
4618
|
},
|
|
4627
|
-
"
|
|
4628
|
-
"char": "
|
|
4629
|
-
"description": "
|
|
4630
|
-
"name": "
|
|
4619
|
+
"branch": {
|
|
4620
|
+
"char": "b",
|
|
4621
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4622
|
+
"name": "branch",
|
|
4631
4623
|
"required": false,
|
|
4632
|
-
"default": "summary",
|
|
4633
4624
|
"hasDynamicHelp": false,
|
|
4634
4625
|
"multiple": false,
|
|
4635
|
-
"options": [
|
|
4636
|
-
"summary",
|
|
4637
|
-
"json"
|
|
4638
|
-
],
|
|
4639
4626
|
"type": "option"
|
|
4640
4627
|
},
|
|
4628
|
+
"delete": {
|
|
4629
|
+
"description": "Delete workspace objects not included in the push (default: false)",
|
|
4630
|
+
"name": "delete",
|
|
4631
|
+
"required": false,
|
|
4632
|
+
"allowNo": true,
|
|
4633
|
+
"type": "boolean"
|
|
4634
|
+
},
|
|
4635
|
+
"env": {
|
|
4636
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4637
|
+
"name": "env",
|
|
4638
|
+
"required": false,
|
|
4639
|
+
"allowNo": true,
|
|
4640
|
+
"type": "boolean"
|
|
4641
|
+
},
|
|
4642
|
+
"partial": {
|
|
4643
|
+
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4644
|
+
"name": "partial",
|
|
4645
|
+
"required": false,
|
|
4646
|
+
"allowNo": false,
|
|
4647
|
+
"type": "boolean"
|
|
4648
|
+
},
|
|
4649
|
+
"records": {
|
|
4650
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
4651
|
+
"name": "records",
|
|
4652
|
+
"required": false,
|
|
4653
|
+
"allowNo": true,
|
|
4654
|
+
"type": "boolean"
|
|
4655
|
+
},
|
|
4656
|
+
"sync-guids": {
|
|
4657
|
+
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4658
|
+
"name": "sync-guids",
|
|
4659
|
+
"required": false,
|
|
4660
|
+
"allowNo": true,
|
|
4661
|
+
"type": "boolean"
|
|
4662
|
+
},
|
|
4663
|
+
"truncate": {
|
|
4664
|
+
"description": "Truncate all table records before importing",
|
|
4665
|
+
"name": "truncate",
|
|
4666
|
+
"required": false,
|
|
4667
|
+
"allowNo": false,
|
|
4668
|
+
"type": "boolean"
|
|
4669
|
+
},
|
|
4641
4670
|
"workspace": {
|
|
4642
4671
|
"char": "w",
|
|
4643
4672
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -4650,7 +4679,7 @@
|
|
|
4650
4679
|
},
|
|
4651
4680
|
"hasDynamicHelp": false,
|
|
4652
4681
|
"hiddenAliases": [],
|
|
4653
|
-
"id": "
|
|
4682
|
+
"id": "workspace:push",
|
|
4654
4683
|
"pluginAlias": "@xano/cli",
|
|
4655
4684
|
"pluginName": "@xano/cli",
|
|
4656
4685
|
"pluginType": "core",
|
|
@@ -4660,13 +4689,12 @@
|
|
|
4660
4689
|
"relativePath": [
|
|
4661
4690
|
"dist",
|
|
4662
4691
|
"commands",
|
|
4663
|
-
"
|
|
4664
|
-
"
|
|
4665
|
-
"get",
|
|
4692
|
+
"workspace",
|
|
4693
|
+
"push",
|
|
4666
4694
|
"index.js"
|
|
4667
4695
|
]
|
|
4668
4696
|
},
|
|
4669
|
-
"static_host:build:
|
|
4697
|
+
"static_host:build:create": {
|
|
4670
4698
|
"aliases": [],
|
|
4671
4699
|
"args": {
|
|
4672
4700
|
"static_host": {
|
|
@@ -4675,12 +4703,11 @@
|
|
|
4675
4703
|
"required": true
|
|
4676
4704
|
}
|
|
4677
4705
|
},
|
|
4678
|
-
"description": "
|
|
4706
|
+
"description": "Create a new build for a static host",
|
|
4679
4707
|
"examples": [
|
|
4680
|
-
"$ xano static_host:build:
|
|
4681
|
-
"$ xano static_host:build:
|
|
4682
|
-
"$ xano static_host:build:
|
|
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"
|
|
4708
|
+
"$ 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",
|
|
4709
|
+
"$ 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",
|
|
4710
|
+
"$ 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"
|
|
4684
4711
|
],
|
|
4685
4712
|
"flags": {
|
|
4686
4713
|
"profile": {
|
|
@@ -4702,36 +4729,45 @@
|
|
|
4702
4729
|
"allowNo": false,
|
|
4703
4730
|
"type": "boolean"
|
|
4704
4731
|
},
|
|
4705
|
-
"
|
|
4706
|
-
"char": "
|
|
4707
|
-
"description": "
|
|
4708
|
-
"name": "
|
|
4732
|
+
"description": {
|
|
4733
|
+
"char": "d",
|
|
4734
|
+
"description": "Build description",
|
|
4735
|
+
"name": "description",
|
|
4709
4736
|
"required": false,
|
|
4710
|
-
"default": "summary",
|
|
4711
4737
|
"hasDynamicHelp": false,
|
|
4712
4738
|
"multiple": false,
|
|
4713
|
-
"options": [
|
|
4714
|
-
"summary",
|
|
4715
|
-
"json"
|
|
4716
|
-
],
|
|
4717
4739
|
"type": "option"
|
|
4718
4740
|
},
|
|
4719
|
-
"
|
|
4720
|
-
"
|
|
4721
|
-
"
|
|
4722
|
-
"
|
|
4723
|
-
"
|
|
4741
|
+
"file": {
|
|
4742
|
+
"char": "f",
|
|
4743
|
+
"description": "Path to zip file to upload",
|
|
4744
|
+
"name": "file",
|
|
4745
|
+
"required": true,
|
|
4724
4746
|
"hasDynamicHelp": false,
|
|
4725
4747
|
"multiple": false,
|
|
4726
4748
|
"type": "option"
|
|
4727
4749
|
},
|
|
4728
|
-
"
|
|
4729
|
-
"
|
|
4730
|
-
"
|
|
4750
|
+
"name": {
|
|
4751
|
+
"char": "n",
|
|
4752
|
+
"description": "Build name",
|
|
4753
|
+
"name": "name",
|
|
4754
|
+
"required": true,
|
|
4755
|
+
"hasDynamicHelp": false,
|
|
4756
|
+
"multiple": false,
|
|
4757
|
+
"type": "option"
|
|
4758
|
+
},
|
|
4759
|
+
"output": {
|
|
4760
|
+
"char": "o",
|
|
4761
|
+
"description": "Output format",
|
|
4762
|
+
"name": "output",
|
|
4731
4763
|
"required": false,
|
|
4732
|
-
"default":
|
|
4764
|
+
"default": "summary",
|
|
4733
4765
|
"hasDynamicHelp": false,
|
|
4734
4766
|
"multiple": false,
|
|
4767
|
+
"options": [
|
|
4768
|
+
"summary",
|
|
4769
|
+
"json"
|
|
4770
|
+
],
|
|
4735
4771
|
"type": "option"
|
|
4736
4772
|
},
|
|
4737
4773
|
"workspace": {
|
|
@@ -4746,7 +4782,7 @@
|
|
|
4746
4782
|
},
|
|
4747
4783
|
"hasDynamicHelp": false,
|
|
4748
4784
|
"hiddenAliases": [],
|
|
4749
|
-
"id": "static_host:build:
|
|
4785
|
+
"id": "static_host:build:create",
|
|
4750
4786
|
"pluginAlias": "@xano/cli",
|
|
4751
4787
|
"pluginName": "@xano/cli",
|
|
4752
4788
|
"pluginType": "core",
|
|
@@ -4758,23 +4794,30 @@
|
|
|
4758
4794
|
"commands",
|
|
4759
4795
|
"static_host",
|
|
4760
4796
|
"build",
|
|
4761
|
-
"
|
|
4797
|
+
"create",
|
|
4762
4798
|
"index.js"
|
|
4763
4799
|
]
|
|
4764
4800
|
},
|
|
4765
|
-
"
|
|
4801
|
+
"static_host:build:get": {
|
|
4766
4802
|
"aliases": [],
|
|
4767
4803
|
"args": {
|
|
4768
|
-
"
|
|
4769
|
-
"description": "
|
|
4770
|
-
"name": "
|
|
4804
|
+
"build_id": {
|
|
4805
|
+
"description": "Build ID",
|
|
4806
|
+
"name": "build_id",
|
|
4807
|
+
"required": true
|
|
4808
|
+
},
|
|
4809
|
+
"static_host": {
|
|
4810
|
+
"description": "Static Host name",
|
|
4811
|
+
"name": "static_host",
|
|
4771
4812
|
"required": true
|
|
4772
4813
|
}
|
|
4773
4814
|
},
|
|
4774
|
-
"description": "
|
|
4815
|
+
"description": "Get details of a specific build for a static host",
|
|
4775
4816
|
"examples": [
|
|
4776
|
-
"$ xano
|
|
4777
|
-
"$ xano
|
|
4817
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4818
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4819
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
4820
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4778
4821
|
],
|
|
4779
4822
|
"flags": {
|
|
4780
4823
|
"profile": {
|
|
@@ -4796,16 +4839,6 @@
|
|
|
4796
4839
|
"allowNo": false,
|
|
4797
4840
|
"type": "boolean"
|
|
4798
4841
|
},
|
|
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"
|
|
4808
|
-
},
|
|
4809
4842
|
"output": {
|
|
4810
4843
|
"char": "o",
|
|
4811
4844
|
"description": "Output format",
|
|
@@ -4822,7 +4855,7 @@
|
|
|
4822
4855
|
},
|
|
4823
4856
|
"workspace": {
|
|
4824
4857
|
"char": "w",
|
|
4825
|
-
"description": "Workspace ID (
|
|
4858
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4826
4859
|
"name": "workspace",
|
|
4827
4860
|
"required": false,
|
|
4828
4861
|
"hasDynamicHelp": false,
|
|
@@ -4832,7 +4865,7 @@
|
|
|
4832
4865
|
},
|
|
4833
4866
|
"hasDynamicHelp": false,
|
|
4834
4867
|
"hiddenAliases": [],
|
|
4835
|
-
"id": "
|
|
4868
|
+
"id": "static_host:build:get",
|
|
4836
4869
|
"pluginAlias": "@xano/cli",
|
|
4837
4870
|
"pluginName": "@xano/cli",
|
|
4838
4871
|
"pluginType": "core",
|
|
@@ -4842,28 +4875,27 @@
|
|
|
4842
4875
|
"relativePath": [
|
|
4843
4876
|
"dist",
|
|
4844
4877
|
"commands",
|
|
4845
|
-
"
|
|
4846
|
-
"
|
|
4847
|
-
"
|
|
4878
|
+
"static_host",
|
|
4879
|
+
"build",
|
|
4880
|
+
"get",
|
|
4848
4881
|
"index.js"
|
|
4849
4882
|
]
|
|
4850
4883
|
},
|
|
4851
|
-
"
|
|
4884
|
+
"static_host:build:list": {
|
|
4852
4885
|
"aliases": [],
|
|
4853
4886
|
"args": {
|
|
4854
|
-
"
|
|
4855
|
-
"description": "
|
|
4856
|
-
"name": "
|
|
4887
|
+
"static_host": {
|
|
4888
|
+
"description": "Static Host name",
|
|
4889
|
+
"name": "static_host",
|
|
4857
4890
|
"required": true
|
|
4858
4891
|
}
|
|
4859
4892
|
},
|
|
4860
|
-
"description": "
|
|
4893
|
+
"description": "List all builds for a static host",
|
|
4861
4894
|
"examples": [
|
|
4862
|
-
"$ xano
|
|
4863
|
-
"$ xano
|
|
4864
|
-
"$ xano
|
|
4865
|
-
"$ xano
|
|
4866
|
-
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4895
|
+
"$ 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",
|
|
4896
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
4897
|
+
"$ 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",
|
|
4898
|
+
"$ 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"
|
|
4867
4899
|
],
|
|
4868
4900
|
"flags": {
|
|
4869
4901
|
"profile": {
|
|
@@ -4885,35 +4917,37 @@
|
|
|
4885
4917
|
"allowNo": false,
|
|
4886
4918
|
"type": "boolean"
|
|
4887
4919
|
},
|
|
4888
|
-
"
|
|
4889
|
-
"char": "
|
|
4890
|
-
"description": "
|
|
4891
|
-
"name": "
|
|
4920
|
+
"output": {
|
|
4921
|
+
"char": "o",
|
|
4922
|
+
"description": "Output format",
|
|
4923
|
+
"name": "output",
|
|
4892
4924
|
"required": false,
|
|
4925
|
+
"default": "summary",
|
|
4893
4926
|
"hasDynamicHelp": false,
|
|
4894
4927
|
"multiple": false,
|
|
4928
|
+
"options": [
|
|
4929
|
+
"summary",
|
|
4930
|
+
"json"
|
|
4931
|
+
],
|
|
4895
4932
|
"type": "option"
|
|
4896
4933
|
},
|
|
4897
|
-
"
|
|
4898
|
-
"description": "
|
|
4899
|
-
"name": "
|
|
4900
|
-
"required": false,
|
|
4901
|
-
"allowNo": false,
|
|
4902
|
-
"type": "boolean"
|
|
4903
|
-
},
|
|
4904
|
-
"draft": {
|
|
4905
|
-
"description": "Include draft versions",
|
|
4906
|
-
"name": "draft",
|
|
4934
|
+
"page": {
|
|
4935
|
+
"description": "Page number for pagination",
|
|
4936
|
+
"name": "page",
|
|
4907
4937
|
"required": false,
|
|
4908
|
-
"
|
|
4909
|
-
"
|
|
4938
|
+
"default": 1,
|
|
4939
|
+
"hasDynamicHelp": false,
|
|
4940
|
+
"multiple": false,
|
|
4941
|
+
"type": "option"
|
|
4910
4942
|
},
|
|
4911
|
-
"
|
|
4912
|
-
"description": "
|
|
4913
|
-
"name": "
|
|
4943
|
+
"per_page": {
|
|
4944
|
+
"description": "Number of results per page",
|
|
4945
|
+
"name": "per_page",
|
|
4914
4946
|
"required": false,
|
|
4915
|
-
"
|
|
4916
|
-
"
|
|
4947
|
+
"default": 50,
|
|
4948
|
+
"hasDynamicHelp": false,
|
|
4949
|
+
"multiple": false,
|
|
4950
|
+
"type": "option"
|
|
4917
4951
|
},
|
|
4918
4952
|
"workspace": {
|
|
4919
4953
|
"char": "w",
|
|
@@ -4927,7 +4961,7 @@
|
|
|
4927
4961
|
},
|
|
4928
4962
|
"hasDynamicHelp": false,
|
|
4929
4963
|
"hiddenAliases": [],
|
|
4930
|
-
"id": "
|
|
4964
|
+
"id": "static_host:build:list",
|
|
4931
4965
|
"pluginAlias": "@xano/cli",
|
|
4932
4966
|
"pluginName": "@xano/cli",
|
|
4933
4967
|
"pluginType": "core",
|
|
@@ -4937,33 +4971,26 @@
|
|
|
4937
4971
|
"relativePath": [
|
|
4938
4972
|
"dist",
|
|
4939
4973
|
"commands",
|
|
4940
|
-
"
|
|
4941
|
-
"
|
|
4974
|
+
"static_host",
|
|
4975
|
+
"build",
|
|
4976
|
+
"list",
|
|
4942
4977
|
"index.js"
|
|
4943
4978
|
]
|
|
4944
4979
|
},
|
|
4945
|
-
"
|
|
4980
|
+
"tenant:backup:delete": {
|
|
4946
4981
|
"aliases": [],
|
|
4947
4982
|
"args": {
|
|
4948
|
-
"
|
|
4949
|
-
"description": "
|
|
4950
|
-
"name": "
|
|
4983
|
+
"tenant_name": {
|
|
4984
|
+
"description": "Tenant name that owns the backup",
|
|
4985
|
+
"name": "tenant_name",
|
|
4951
4986
|
"required": true
|
|
4952
4987
|
}
|
|
4953
4988
|
},
|
|
4954
|
-
"description": "
|
|
4989
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
4955
4990
|
"examples": [
|
|
4956
|
-
"$ xano
|
|
4957
|
-
"$ xano
|
|
4958
|
-
"$ xano
|
|
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"
|
|
4991
|
+
"$ 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",
|
|
4992
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
4993
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
4967
4994
|
],
|
|
4968
4995
|
"flags": {
|
|
4969
4996
|
"profile": {
|
|
@@ -4985,60 +5012,39 @@
|
|
|
4985
5012
|
"allowNo": false,
|
|
4986
5013
|
"type": "boolean"
|
|
4987
5014
|
},
|
|
4988
|
-
"
|
|
4989
|
-
"
|
|
4990
|
-
"
|
|
4991
|
-
"
|
|
4992
|
-
"required": false,
|
|
5015
|
+
"backup_id": {
|
|
5016
|
+
"description": "Backup ID to delete",
|
|
5017
|
+
"name": "backup_id",
|
|
5018
|
+
"required": true,
|
|
4993
5019
|
"hasDynamicHelp": false,
|
|
4994
5020
|
"multiple": false,
|
|
4995
5021
|
"type": "option"
|
|
4996
5022
|
},
|
|
4997
|
-
"
|
|
4998
|
-
"
|
|
4999
|
-
"
|
|
5000
|
-
"
|
|
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",
|
|
5023
|
+
"force": {
|
|
5024
|
+
"char": "f",
|
|
5025
|
+
"description": "Skip confirmation prompt",
|
|
5026
|
+
"name": "force",
|
|
5014
5027
|
"required": false,
|
|
5015
5028
|
"allowNo": false,
|
|
5016
5029
|
"type": "boolean"
|
|
5017
5030
|
},
|
|
5018
|
-
"
|
|
5019
|
-
"
|
|
5020
|
-
"
|
|
5021
|
-
"
|
|
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",
|
|
5031
|
+
"output": {
|
|
5032
|
+
"char": "o",
|
|
5033
|
+
"description": "Output format",
|
|
5034
|
+
"name": "output",
|
|
5035
5035
|
"required": false,
|
|
5036
|
-
"
|
|
5037
|
-
"
|
|
5036
|
+
"default": "summary",
|
|
5037
|
+
"hasDynamicHelp": false,
|
|
5038
|
+
"multiple": false,
|
|
5039
|
+
"options": [
|
|
5040
|
+
"summary",
|
|
5041
|
+
"json"
|
|
5042
|
+
],
|
|
5043
|
+
"type": "option"
|
|
5038
5044
|
},
|
|
5039
5045
|
"workspace": {
|
|
5040
5046
|
"char": "w",
|
|
5041
|
-
"description": "Workspace ID (
|
|
5047
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5042
5048
|
"name": "workspace",
|
|
5043
5049
|
"required": false,
|
|
5044
5050
|
"hasDynamicHelp": false,
|
|
@@ -5048,7 +5054,7 @@
|
|
|
5048
5054
|
},
|
|
5049
5055
|
"hasDynamicHelp": false,
|
|
5050
5056
|
"hiddenAliases": [],
|
|
5051
|
-
"id": "
|
|
5057
|
+
"id": "tenant:backup:delete",
|
|
5052
5058
|
"pluginAlias": "@xano/cli",
|
|
5053
5059
|
"pluginName": "@xano/cli",
|
|
5054
5060
|
"pluginType": "core",
|
|
@@ -5058,25 +5064,25 @@
|
|
|
5058
5064
|
"relativePath": [
|
|
5059
5065
|
"dist",
|
|
5060
5066
|
"commands",
|
|
5061
|
-
"
|
|
5062
|
-
"
|
|
5067
|
+
"tenant",
|
|
5068
|
+
"backup",
|
|
5069
|
+
"delete",
|
|
5063
5070
|
"index.js"
|
|
5064
5071
|
]
|
|
5065
5072
|
},
|
|
5066
|
-
"tenant:backup:
|
|
5073
|
+
"tenant:backup:create": {
|
|
5067
5074
|
"aliases": [],
|
|
5068
5075
|
"args": {
|
|
5069
5076
|
"tenant_name": {
|
|
5070
|
-
"description": "Tenant name
|
|
5077
|
+
"description": "Tenant name to back up",
|
|
5071
5078
|
"name": "tenant_name",
|
|
5072
5079
|
"required": true
|
|
5073
5080
|
}
|
|
5074
5081
|
},
|
|
5075
|
-
"description": "
|
|
5082
|
+
"description": "Create a backup for a tenant",
|
|
5076
5083
|
"examples": [
|
|
5077
|
-
"$ xano tenant backup
|
|
5078
|
-
"$ xano tenant backup
|
|
5079
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5084
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5085
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5080
5086
|
],
|
|
5081
5087
|
"flags": {
|
|
5082
5088
|
"profile": {
|
|
@@ -5098,22 +5104,16 @@
|
|
|
5098
5104
|
"allowNo": false,
|
|
5099
5105
|
"type": "boolean"
|
|
5100
5106
|
},
|
|
5101
|
-
"
|
|
5102
|
-
"
|
|
5103
|
-
"
|
|
5104
|
-
"
|
|
5107
|
+
"description": {
|
|
5108
|
+
"char": "d",
|
|
5109
|
+
"description": "Backup description",
|
|
5110
|
+
"name": "description",
|
|
5111
|
+
"required": false,
|
|
5112
|
+
"default": "",
|
|
5105
5113
|
"hasDynamicHelp": false,
|
|
5106
5114
|
"multiple": false,
|
|
5107
5115
|
"type": "option"
|
|
5108
5116
|
},
|
|
5109
|
-
"force": {
|
|
5110
|
-
"char": "f",
|
|
5111
|
-
"description": "Skip confirmation prompt",
|
|
5112
|
-
"name": "force",
|
|
5113
|
-
"required": false,
|
|
5114
|
-
"allowNo": false,
|
|
5115
|
-
"type": "boolean"
|
|
5116
|
-
},
|
|
5117
5117
|
"output": {
|
|
5118
5118
|
"char": "o",
|
|
5119
5119
|
"description": "Output format",
|
|
@@ -5140,7 +5140,7 @@
|
|
|
5140
5140
|
},
|
|
5141
5141
|
"hasDynamicHelp": false,
|
|
5142
5142
|
"hiddenAliases": [],
|
|
5143
|
-
"id": "tenant:backup:
|
|
5143
|
+
"id": "tenant:backup:create",
|
|
5144
5144
|
"pluginAlias": "@xano/cli",
|
|
5145
5145
|
"pluginName": "@xano/cli",
|
|
5146
5146
|
"pluginType": "core",
|
|
@@ -5152,23 +5152,24 @@
|
|
|
5152
5152
|
"commands",
|
|
5153
5153
|
"tenant",
|
|
5154
5154
|
"backup",
|
|
5155
|
-
"
|
|
5155
|
+
"create",
|
|
5156
5156
|
"index.js"
|
|
5157
5157
|
]
|
|
5158
5158
|
},
|
|
5159
|
-
"tenant:backup:
|
|
5159
|
+
"tenant:backup:export": {
|
|
5160
5160
|
"aliases": [],
|
|
5161
5161
|
"args": {
|
|
5162
5162
|
"tenant_name": {
|
|
5163
|
-
"description": "Tenant name to
|
|
5163
|
+
"description": "Tenant name to export backup from",
|
|
5164
5164
|
"name": "tenant_name",
|
|
5165
5165
|
"required": true
|
|
5166
5166
|
}
|
|
5167
5167
|
},
|
|
5168
|
-
"description": "
|
|
5168
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5169
5169
|
"examples": [
|
|
5170
|
-
"$ xano tenant backup
|
|
5171
|
-
"$ xano tenant backup
|
|
5170
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5171
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5172
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5172
5173
|
],
|
|
5173
5174
|
"flags": {
|
|
5174
5175
|
"profile": {
|
|
@@ -5190,29 +5191,18 @@
|
|
|
5190
5191
|
"allowNo": false,
|
|
5191
5192
|
"type": "boolean"
|
|
5192
5193
|
},
|
|
5193
|
-
"
|
|
5194
|
-
"
|
|
5195
|
-
"
|
|
5196
|
-
"name": "description",
|
|
5197
|
-
"required": false,
|
|
5198
|
-
"default": "",
|
|
5199
|
-
"hasDynamicHelp": false,
|
|
5200
|
-
"multiple": false,
|
|
5201
|
-
"type": "option"
|
|
5202
|
-
},
|
|
5203
|
-
"file": {
|
|
5204
|
-
"char": "f",
|
|
5205
|
-
"description": "Path to the backup file (.tar.gz)",
|
|
5206
|
-
"name": "file",
|
|
5194
|
+
"backup_id": {
|
|
5195
|
+
"description": "Backup ID to export",
|
|
5196
|
+
"name": "backup_id",
|
|
5207
5197
|
"required": true,
|
|
5208
5198
|
"hasDynamicHelp": false,
|
|
5209
5199
|
"multiple": false,
|
|
5210
5200
|
"type": "option"
|
|
5211
5201
|
},
|
|
5212
|
-
"
|
|
5202
|
+
"format": {
|
|
5213
5203
|
"char": "o",
|
|
5214
5204
|
"description": "Output format",
|
|
5215
|
-
"name": "
|
|
5205
|
+
"name": "format",
|
|
5216
5206
|
"required": false,
|
|
5217
5207
|
"default": "summary",
|
|
5218
5208
|
"hasDynamicHelp": false,
|
|
@@ -5223,6 +5213,14 @@
|
|
|
5223
5213
|
],
|
|
5224
5214
|
"type": "option"
|
|
5225
5215
|
},
|
|
5216
|
+
"output": {
|
|
5217
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5218
|
+
"name": "output",
|
|
5219
|
+
"required": false,
|
|
5220
|
+
"hasDynamicHelp": false,
|
|
5221
|
+
"multiple": false,
|
|
5222
|
+
"type": "option"
|
|
5223
|
+
},
|
|
5226
5224
|
"workspace": {
|
|
5227
5225
|
"char": "w",
|
|
5228
5226
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5235,7 +5233,7 @@
|
|
|
5235
5233
|
},
|
|
5236
5234
|
"hasDynamicHelp": false,
|
|
5237
5235
|
"hiddenAliases": [],
|
|
5238
|
-
"id": "tenant:backup:
|
|
5236
|
+
"id": "tenant:backup:export",
|
|
5239
5237
|
"pluginAlias": "@xano/cli",
|
|
5240
5238
|
"pluginName": "@xano/cli",
|
|
5241
5239
|
"pluginType": "core",
|
|
@@ -5247,7 +5245,7 @@
|
|
|
5247
5245
|
"commands",
|
|
5248
5246
|
"tenant",
|
|
5249
5247
|
"backup",
|
|
5250
|
-
"
|
|
5248
|
+
"export",
|
|
5251
5249
|
"index.js"
|
|
5252
5250
|
]
|
|
5253
5251
|
},
|
|
@@ -5336,20 +5334,19 @@
|
|
|
5336
5334
|
"index.js"
|
|
5337
5335
|
]
|
|
5338
5336
|
},
|
|
5339
|
-
"tenant:backup:
|
|
5337
|
+
"tenant:backup:import": {
|
|
5340
5338
|
"aliases": [],
|
|
5341
5339
|
"args": {
|
|
5342
5340
|
"tenant_name": {
|
|
5343
|
-
"description": "Tenant name to
|
|
5341
|
+
"description": "Tenant name to import backup into",
|
|
5344
5342
|
"name": "tenant_name",
|
|
5345
5343
|
"required": true
|
|
5346
5344
|
}
|
|
5347
5345
|
},
|
|
5348
|
-
"description": "
|
|
5346
|
+
"description": "Import a backup file into a tenant",
|
|
5349
5347
|
"examples": [
|
|
5350
|
-
"$ xano tenant backup
|
|
5351
|
-
"$ xano tenant backup
|
|
5352
|
-
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5348
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5349
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5353
5350
|
],
|
|
5354
5351
|
"flags": {
|
|
5355
5352
|
"profile": {
|
|
@@ -5371,18 +5368,29 @@
|
|
|
5371
5368
|
"allowNo": false,
|
|
5372
5369
|
"type": "boolean"
|
|
5373
5370
|
},
|
|
5374
|
-
"
|
|
5375
|
-
"
|
|
5376
|
-
"
|
|
5371
|
+
"description": {
|
|
5372
|
+
"char": "d",
|
|
5373
|
+
"description": "Backup description",
|
|
5374
|
+
"name": "description",
|
|
5375
|
+
"required": false,
|
|
5376
|
+
"default": "",
|
|
5377
|
+
"hasDynamicHelp": false,
|
|
5378
|
+
"multiple": false,
|
|
5379
|
+
"type": "option"
|
|
5380
|
+
},
|
|
5381
|
+
"file": {
|
|
5382
|
+
"char": "f",
|
|
5383
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5384
|
+
"name": "file",
|
|
5377
5385
|
"required": true,
|
|
5378
5386
|
"hasDynamicHelp": false,
|
|
5379
5387
|
"multiple": false,
|
|
5380
5388
|
"type": "option"
|
|
5381
5389
|
},
|
|
5382
|
-
"
|
|
5390
|
+
"output": {
|
|
5383
5391
|
"char": "o",
|
|
5384
5392
|
"description": "Output format",
|
|
5385
|
-
"name": "
|
|
5393
|
+
"name": "output",
|
|
5386
5394
|
"required": false,
|
|
5387
5395
|
"default": "summary",
|
|
5388
5396
|
"hasDynamicHelp": false,
|
|
@@ -5393,14 +5401,6 @@
|
|
|
5393
5401
|
],
|
|
5394
5402
|
"type": "option"
|
|
5395
5403
|
},
|
|
5396
|
-
"output": {
|
|
5397
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5398
|
-
"name": "output",
|
|
5399
|
-
"required": false,
|
|
5400
|
-
"hasDynamicHelp": false,
|
|
5401
|
-
"multiple": false,
|
|
5402
|
-
"type": "option"
|
|
5403
|
-
},
|
|
5404
5404
|
"workspace": {
|
|
5405
5405
|
"char": "w",
|
|
5406
5406
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5413,7 +5413,7 @@
|
|
|
5413
5413
|
},
|
|
5414
5414
|
"hasDynamicHelp": false,
|
|
5415
5415
|
"hiddenAliases": [],
|
|
5416
|
-
"id": "tenant:backup:
|
|
5416
|
+
"id": "tenant:backup:import",
|
|
5417
5417
|
"pluginAlias": "@xano/cli",
|
|
5418
5418
|
"pluginName": "@xano/cli",
|
|
5419
5419
|
"pluginType": "core",
|
|
@@ -5425,7 +5425,7 @@
|
|
|
5425
5425
|
"commands",
|
|
5426
5426
|
"tenant",
|
|
5427
5427
|
"backup",
|
|
5428
|
-
"
|
|
5428
|
+
"import",
|
|
5429
5429
|
"index.js"
|
|
5430
5430
|
]
|
|
5431
5431
|
},
|
|
@@ -5643,20 +5643,19 @@
|
|
|
5643
5643
|
"index.js"
|
|
5644
5644
|
]
|
|
5645
5645
|
},
|
|
5646
|
-
"tenant:cluster:
|
|
5646
|
+
"tenant:cluster:get": {
|
|
5647
5647
|
"aliases": [],
|
|
5648
5648
|
"args": {
|
|
5649
5649
|
"cluster_id": {
|
|
5650
|
-
"description": "Cluster ID to
|
|
5650
|
+
"description": "Cluster ID to retrieve",
|
|
5651
5651
|
"name": "cluster_id",
|
|
5652
5652
|
"required": true
|
|
5653
5653
|
}
|
|
5654
5654
|
},
|
|
5655
|
-
"description": "
|
|
5655
|
+
"description": "Get details of a specific tenant cluster",
|
|
5656
5656
|
"examples": [
|
|
5657
|
-
"$ xano tenant cluster
|
|
5658
|
-
"$ xano tenant cluster
|
|
5659
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
5657
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5658
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5660
5659
|
],
|
|
5661
5660
|
"flags": {
|
|
5662
5661
|
"profile": {
|
|
@@ -5678,14 +5677,6 @@
|
|
|
5678
5677
|
"allowNo": false,
|
|
5679
5678
|
"type": "boolean"
|
|
5680
5679
|
},
|
|
5681
|
-
"force": {
|
|
5682
|
-
"char": "f",
|
|
5683
|
-
"description": "Skip confirmation prompt",
|
|
5684
|
-
"name": "force",
|
|
5685
|
-
"required": false,
|
|
5686
|
-
"allowNo": false,
|
|
5687
|
-
"type": "boolean"
|
|
5688
|
-
},
|
|
5689
5680
|
"output": {
|
|
5690
5681
|
"char": "o",
|
|
5691
5682
|
"description": "Output format",
|
|
@@ -5703,7 +5694,7 @@
|
|
|
5703
5694
|
},
|
|
5704
5695
|
"hasDynamicHelp": false,
|
|
5705
5696
|
"hiddenAliases": [],
|
|
5706
|
-
"id": "tenant:cluster:
|
|
5697
|
+
"id": "tenant:cluster:get",
|
|
5707
5698
|
"pluginAlias": "@xano/cli",
|
|
5708
5699
|
"pluginName": "@xano/cli",
|
|
5709
5700
|
"pluginType": "core",
|
|
@@ -5715,7 +5706,7 @@
|
|
|
5715
5706
|
"commands",
|
|
5716
5707
|
"tenant",
|
|
5717
5708
|
"cluster",
|
|
5718
|
-
"
|
|
5709
|
+
"get",
|
|
5719
5710
|
"index.js"
|
|
5720
5711
|
]
|
|
5721
5712
|
},
|
|
@@ -5824,19 +5815,20 @@
|
|
|
5824
5815
|
"index.js"
|
|
5825
5816
|
]
|
|
5826
5817
|
},
|
|
5827
|
-
"tenant:cluster:
|
|
5818
|
+
"tenant:cluster:delete": {
|
|
5828
5819
|
"aliases": [],
|
|
5829
5820
|
"args": {
|
|
5830
5821
|
"cluster_id": {
|
|
5831
|
-
"description": "Cluster ID to
|
|
5822
|
+
"description": "Cluster ID to delete",
|
|
5832
5823
|
"name": "cluster_id",
|
|
5833
5824
|
"required": true
|
|
5834
5825
|
}
|
|
5835
5826
|
},
|
|
5836
|
-
"description": "
|
|
5827
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5837
5828
|
"examples": [
|
|
5838
|
-
"$ xano tenant cluster
|
|
5839
|
-
"$ xano tenant cluster
|
|
5829
|
+
"$ 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",
|
|
5830
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5831
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5840
5832
|
],
|
|
5841
5833
|
"flags": {
|
|
5842
5834
|
"profile": {
|
|
@@ -5858,6 +5850,14 @@
|
|
|
5858
5850
|
"allowNo": false,
|
|
5859
5851
|
"type": "boolean"
|
|
5860
5852
|
},
|
|
5853
|
+
"force": {
|
|
5854
|
+
"char": "f",
|
|
5855
|
+
"description": "Skip confirmation prompt",
|
|
5856
|
+
"name": "force",
|
|
5857
|
+
"required": false,
|
|
5858
|
+
"allowNo": false,
|
|
5859
|
+
"type": "boolean"
|
|
5860
|
+
},
|
|
5861
5861
|
"output": {
|
|
5862
5862
|
"char": "o",
|
|
5863
5863
|
"description": "Output format",
|
|
@@ -5875,7 +5875,7 @@
|
|
|
5875
5875
|
},
|
|
5876
5876
|
"hasDynamicHelp": false,
|
|
5877
5877
|
"hiddenAliases": [],
|
|
5878
|
-
"id": "tenant:cluster:
|
|
5878
|
+
"id": "tenant:cluster:delete",
|
|
5879
5879
|
"pluginAlias": "@xano/cli",
|
|
5880
5880
|
"pluginName": "@xano/cli",
|
|
5881
5881
|
"pluginType": "core",
|
|
@@ -5887,17 +5887,23 @@
|
|
|
5887
5887
|
"commands",
|
|
5888
5888
|
"tenant",
|
|
5889
5889
|
"cluster",
|
|
5890
|
-
"
|
|
5890
|
+
"delete",
|
|
5891
5891
|
"index.js"
|
|
5892
5892
|
]
|
|
5893
5893
|
},
|
|
5894
|
-
"tenant:
|
|
5894
|
+
"tenant:env:get": {
|
|
5895
5895
|
"aliases": [],
|
|
5896
|
-
"args": {
|
|
5897
|
-
|
|
5896
|
+
"args": {
|
|
5897
|
+
"tenant_name": {
|
|
5898
|
+
"description": "Tenant name",
|
|
5899
|
+
"name": "tenant_name",
|
|
5900
|
+
"required": true
|
|
5901
|
+
}
|
|
5902
|
+
},
|
|
5903
|
+
"description": "Get a single environment variable for a tenant",
|
|
5898
5904
|
"examples": [
|
|
5899
|
-
"$ xano tenant
|
|
5900
|
-
"$ xano tenant
|
|
5905
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
5906
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
5901
5907
|
],
|
|
5902
5908
|
"flags": {
|
|
5903
5909
|
"profile": {
|
|
@@ -5919,6 +5925,15 @@
|
|
|
5919
5925
|
"allowNo": false,
|
|
5920
5926
|
"type": "boolean"
|
|
5921
5927
|
},
|
|
5928
|
+
"name": {
|
|
5929
|
+
"char": "n",
|
|
5930
|
+
"description": "Environment variable name",
|
|
5931
|
+
"name": "name",
|
|
5932
|
+
"required": true,
|
|
5933
|
+
"hasDynamicHelp": false,
|
|
5934
|
+
"multiple": false,
|
|
5935
|
+
"type": "option"
|
|
5936
|
+
},
|
|
5922
5937
|
"output": {
|
|
5923
5938
|
"char": "o",
|
|
5924
5939
|
"description": "Output format",
|
|
@@ -5932,11 +5947,20 @@
|
|
|
5932
5947
|
"json"
|
|
5933
5948
|
],
|
|
5934
5949
|
"type": "option"
|
|
5950
|
+
},
|
|
5951
|
+
"workspace": {
|
|
5952
|
+
"char": "w",
|
|
5953
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5954
|
+
"name": "workspace",
|
|
5955
|
+
"required": false,
|
|
5956
|
+
"hasDynamicHelp": false,
|
|
5957
|
+
"multiple": false,
|
|
5958
|
+
"type": "option"
|
|
5935
5959
|
}
|
|
5936
5960
|
},
|
|
5937
5961
|
"hasDynamicHelp": false,
|
|
5938
5962
|
"hiddenAliases": [],
|
|
5939
|
-
"id": "tenant:
|
|
5963
|
+
"id": "tenant:env:get",
|
|
5940
5964
|
"pluginAlias": "@xano/cli",
|
|
5941
5965
|
"pluginName": "@xano/cli",
|
|
5942
5966
|
"pluginType": "core",
|
|
@@ -5947,12 +5971,12 @@
|
|
|
5947
5971
|
"dist",
|
|
5948
5972
|
"commands",
|
|
5949
5973
|
"tenant",
|
|
5950
|
-
"
|
|
5951
|
-
"
|
|
5974
|
+
"env",
|
|
5975
|
+
"get",
|
|
5952
5976
|
"index.js"
|
|
5953
5977
|
]
|
|
5954
5978
|
},
|
|
5955
|
-
"tenant:env:
|
|
5979
|
+
"tenant:env:get_all": {
|
|
5956
5980
|
"aliases": [],
|
|
5957
5981
|
"args": {
|
|
5958
5982
|
"tenant_name": {
|
|
@@ -5961,11 +5985,12 @@
|
|
|
5961
5985
|
"required": true
|
|
5962
5986
|
}
|
|
5963
5987
|
},
|
|
5964
|
-
"description": "
|
|
5988
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
5965
5989
|
"examples": [
|
|
5966
|
-
"$ xano tenant env
|
|
5967
|
-
"$ xano tenant env
|
|
5968
|
-
"$ xano tenant env
|
|
5990
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
5991
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
5992
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
5993
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
5969
5994
|
],
|
|
5970
5995
|
"flags": {
|
|
5971
5996
|
"profile": {
|
|
@@ -5987,19 +6012,11 @@
|
|
|
5987
6012
|
"allowNo": false,
|
|
5988
6013
|
"type": "boolean"
|
|
5989
6014
|
},
|
|
5990
|
-
"
|
|
6015
|
+
"file": {
|
|
5991
6016
|
"char": "f",
|
|
5992
|
-
"description": "
|
|
5993
|
-
"name": "
|
|
6017
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6018
|
+
"name": "file",
|
|
5994
6019
|
"required": false,
|
|
5995
|
-
"allowNo": false,
|
|
5996
|
-
"type": "boolean"
|
|
5997
|
-
},
|
|
5998
|
-
"name": {
|
|
5999
|
-
"char": "n",
|
|
6000
|
-
"description": "Environment variable name",
|
|
6001
|
-
"name": "name",
|
|
6002
|
-
"required": true,
|
|
6003
6020
|
"hasDynamicHelp": false,
|
|
6004
6021
|
"multiple": false,
|
|
6005
6022
|
"type": "option"
|
|
@@ -6018,6 +6035,13 @@
|
|
|
6018
6035
|
],
|
|
6019
6036
|
"type": "option"
|
|
6020
6037
|
},
|
|
6038
|
+
"view": {
|
|
6039
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
6040
|
+
"name": "view",
|
|
6041
|
+
"required": false,
|
|
6042
|
+
"allowNo": false,
|
|
6043
|
+
"type": "boolean"
|
|
6044
|
+
},
|
|
6021
6045
|
"workspace": {
|
|
6022
6046
|
"char": "w",
|
|
6023
6047
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6030,7 +6054,7 @@
|
|
|
6030
6054
|
},
|
|
6031
6055
|
"hasDynamicHelp": false,
|
|
6032
6056
|
"hiddenAliases": [],
|
|
6033
|
-
"id": "tenant:env:
|
|
6057
|
+
"id": "tenant:env:get_all",
|
|
6034
6058
|
"pluginAlias": "@xano/cli",
|
|
6035
6059
|
"pluginName": "@xano/cli",
|
|
6036
6060
|
"pluginType": "core",
|
|
@@ -6042,23 +6066,17 @@
|
|
|
6042
6066
|
"commands",
|
|
6043
6067
|
"tenant",
|
|
6044
6068
|
"env",
|
|
6045
|
-
"
|
|
6069
|
+
"get_all",
|
|
6046
6070
|
"index.js"
|
|
6047
6071
|
]
|
|
6048
6072
|
},
|
|
6049
|
-
"tenant:
|
|
6073
|
+
"tenant:cluster:list": {
|
|
6050
6074
|
"aliases": [],
|
|
6051
|
-
"args": {
|
|
6052
|
-
|
|
6053
|
-
"description": "Tenant name",
|
|
6054
|
-
"name": "tenant_name",
|
|
6055
|
-
"required": true
|
|
6056
|
-
}
|
|
6057
|
-
},
|
|
6058
|
-
"description": "Get a single environment variable for a tenant",
|
|
6075
|
+
"args": {},
|
|
6076
|
+
"description": "List all tenant clusters",
|
|
6059
6077
|
"examples": [
|
|
6060
|
-
"$ xano tenant
|
|
6061
|
-
"$ xano tenant
|
|
6078
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
6079
|
+
"$ xano tenant cluster list --output json"
|
|
6062
6080
|
],
|
|
6063
6081
|
"flags": {
|
|
6064
6082
|
"profile": {
|
|
@@ -6080,15 +6098,6 @@
|
|
|
6080
6098
|
"allowNo": false,
|
|
6081
6099
|
"type": "boolean"
|
|
6082
6100
|
},
|
|
6083
|
-
"name": {
|
|
6084
|
-
"char": "n",
|
|
6085
|
-
"description": "Environment variable name",
|
|
6086
|
-
"name": "name",
|
|
6087
|
-
"required": true,
|
|
6088
|
-
"hasDynamicHelp": false,
|
|
6089
|
-
"multiple": false,
|
|
6090
|
-
"type": "option"
|
|
6091
|
-
},
|
|
6092
6101
|
"output": {
|
|
6093
6102
|
"char": "o",
|
|
6094
6103
|
"description": "Output format",
|
|
@@ -6102,20 +6111,11 @@
|
|
|
6102
6111
|
"json"
|
|
6103
6112
|
],
|
|
6104
6113
|
"type": "option"
|
|
6105
|
-
},
|
|
6106
|
-
"workspace": {
|
|
6107
|
-
"char": "w",
|
|
6108
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6109
|
-
"name": "workspace",
|
|
6110
|
-
"required": false,
|
|
6111
|
-
"hasDynamicHelp": false,
|
|
6112
|
-
"multiple": false,
|
|
6113
|
-
"type": "option"
|
|
6114
6114
|
}
|
|
6115
6115
|
},
|
|
6116
6116
|
"hasDynamicHelp": false,
|
|
6117
6117
|
"hiddenAliases": [],
|
|
6118
|
-
"id": "tenant:
|
|
6118
|
+
"id": "tenant:cluster:list",
|
|
6119
6119
|
"pluginAlias": "@xano/cli",
|
|
6120
6120
|
"pluginName": "@xano/cli",
|
|
6121
6121
|
"pluginType": "core",
|
|
@@ -6126,12 +6126,12 @@
|
|
|
6126
6126
|
"dist",
|
|
6127
6127
|
"commands",
|
|
6128
6128
|
"tenant",
|
|
6129
|
-
"
|
|
6130
|
-
"
|
|
6129
|
+
"cluster",
|
|
6130
|
+
"list",
|
|
6131
6131
|
"index.js"
|
|
6132
6132
|
]
|
|
6133
6133
|
},
|
|
6134
|
-
"tenant:env:
|
|
6134
|
+
"tenant:env:delete": {
|
|
6135
6135
|
"aliases": [],
|
|
6136
6136
|
"args": {
|
|
6137
6137
|
"tenant_name": {
|
|
@@ -6140,12 +6140,11 @@
|
|
|
6140
6140
|
"required": true
|
|
6141
6141
|
}
|
|
6142
6142
|
},
|
|
6143
|
-
"description": "
|
|
6143
|
+
"description": "Delete an environment variable from a tenant",
|
|
6144
6144
|
"examples": [
|
|
6145
|
-
"$ xano tenant env
|
|
6146
|
-
"$ xano tenant env
|
|
6147
|
-
"$ xano tenant env
|
|
6148
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
6145
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL' from tenant my-tenant? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6146
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6147
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6149
6148
|
],
|
|
6150
6149
|
"flags": {
|
|
6151
6150
|
"profile": {
|
|
@@ -6167,11 +6166,19 @@
|
|
|
6167
6166
|
"allowNo": false,
|
|
6168
6167
|
"type": "boolean"
|
|
6169
6168
|
},
|
|
6170
|
-
"
|
|
6169
|
+
"force": {
|
|
6171
6170
|
"char": "f",
|
|
6172
|
-
"description": "
|
|
6173
|
-
"name": "
|
|
6171
|
+
"description": "Skip confirmation prompt",
|
|
6172
|
+
"name": "force",
|
|
6174
6173
|
"required": false,
|
|
6174
|
+
"allowNo": false,
|
|
6175
|
+
"type": "boolean"
|
|
6176
|
+
},
|
|
6177
|
+
"name": {
|
|
6178
|
+
"char": "n",
|
|
6179
|
+
"description": "Environment variable name",
|
|
6180
|
+
"name": "name",
|
|
6181
|
+
"required": true,
|
|
6175
6182
|
"hasDynamicHelp": false,
|
|
6176
6183
|
"multiple": false,
|
|
6177
6184
|
"type": "option"
|
|
@@ -6190,13 +6197,6 @@
|
|
|
6190
6197
|
],
|
|
6191
6198
|
"type": "option"
|
|
6192
6199
|
},
|
|
6193
|
-
"view": {
|
|
6194
|
-
"description": "Print environment variables to stdout instead of saving to file",
|
|
6195
|
-
"name": "view",
|
|
6196
|
-
"required": false,
|
|
6197
|
-
"allowNo": false,
|
|
6198
|
-
"type": "boolean"
|
|
6199
|
-
},
|
|
6200
6200
|
"workspace": {
|
|
6201
6201
|
"char": "w",
|
|
6202
6202
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6209,7 +6209,7 @@
|
|
|
6209
6209
|
},
|
|
6210
6210
|
"hasDynamicHelp": false,
|
|
6211
6211
|
"hiddenAliases": [],
|
|
6212
|
-
"id": "tenant:env:
|
|
6212
|
+
"id": "tenant:env:delete",
|
|
6213
6213
|
"pluginAlias": "@xano/cli",
|
|
6214
6214
|
"pluginName": "@xano/cli",
|
|
6215
6215
|
"pluginType": "core",
|
|
@@ -6221,7 +6221,7 @@
|
|
|
6221
6221
|
"commands",
|
|
6222
6222
|
"tenant",
|
|
6223
6223
|
"env",
|
|
6224
|
-
"
|
|
6224
|
+
"delete",
|
|
6225
6225
|
"index.js"
|
|
6226
6226
|
]
|
|
6227
6227
|
},
|
|
@@ -6884,5 +6884,5 @@
|
|
|
6884
6884
|
]
|
|
6885
6885
|
}
|
|
6886
6886
|
},
|
|
6887
|
-
"version": "0.0.
|
|
6887
|
+
"version": "0.0.43"
|
|
6888
6888
|
}
|