@xano/cli 0.0.95-beta.12 → 0.0.95-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/sandbox/push/index.d.ts +1 -0
- package/dist/commands/sandbox/push/index.js +19 -1
- package/dist/commands/workspace/push/index.d.ts +1 -0
- package/dist/commands/workspace/push/index.js +19 -1
- package/dist/utils/reference-checker.d.ts +12 -0
- package/dist/utils/reference-checker.js +87 -0
- package/oclif.manifest.json +1427 -1427
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -394,20 +394,20 @@
|
|
|
394
394
|
"index.js"
|
|
395
395
|
]
|
|
396
396
|
},
|
|
397
|
-
"branch:
|
|
397
|
+
"branch:list": {
|
|
398
398
|
"aliases": [],
|
|
399
399
|
"args": {
|
|
400
|
-
"
|
|
401
|
-
"description": "
|
|
402
|
-
"name": "
|
|
403
|
-
"required":
|
|
400
|
+
"workspace_id": {
|
|
401
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
402
|
+
"name": "workspace_id",
|
|
403
|
+
"required": false
|
|
404
404
|
}
|
|
405
405
|
},
|
|
406
|
-
"description": "
|
|
406
|
+
"description": "List all branches in a workspace",
|
|
407
407
|
"examples": [
|
|
408
|
-
"$ xano branch
|
|
409
|
-
"$ xano branch
|
|
410
|
-
"$ xano branch
|
|
408
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
409
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
410
|
+
"$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
|
|
411
411
|
],
|
|
412
412
|
"flags": {
|
|
413
413
|
"profile": {
|
|
@@ -442,20 +442,11 @@
|
|
|
442
442
|
"json"
|
|
443
443
|
],
|
|
444
444
|
"type": "option"
|
|
445
|
-
},
|
|
446
|
-
"workspace": {
|
|
447
|
-
"char": "w",
|
|
448
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
449
|
-
"name": "workspace",
|
|
450
|
-
"required": false,
|
|
451
|
-
"hasDynamicHelp": false,
|
|
452
|
-
"multiple": false,
|
|
453
|
-
"type": "option"
|
|
454
445
|
}
|
|
455
446
|
},
|
|
456
447
|
"hasDynamicHelp": false,
|
|
457
448
|
"hiddenAliases": [],
|
|
458
|
-
"id": "branch:
|
|
449
|
+
"id": "branch:list",
|
|
459
450
|
"pluginAlias": "@xano/cli",
|
|
460
451
|
"pluginName": "@xano/cli",
|
|
461
452
|
"pluginType": "core",
|
|
@@ -466,7 +457,7 @@
|
|
|
466
457
|
"dist",
|
|
467
458
|
"commands",
|
|
468
459
|
"branch",
|
|
469
|
-
"
|
|
460
|
+
"list",
|
|
470
461
|
"index.js"
|
|
471
462
|
]
|
|
472
463
|
},
|
|
@@ -1220,6 +1211,82 @@
|
|
|
1220
1211
|
"index.js"
|
|
1221
1212
|
]
|
|
1222
1213
|
},
|
|
1214
|
+
"branch:get": {
|
|
1215
|
+
"aliases": [],
|
|
1216
|
+
"args": {
|
|
1217
|
+
"branch_label": {
|
|
1218
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
1219
|
+
"name": "branch_label",
|
|
1220
|
+
"required": true
|
|
1221
|
+
}
|
|
1222
|
+
},
|
|
1223
|
+
"description": "Get details for a specific branch",
|
|
1224
|
+
"examples": [
|
|
1225
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
1226
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
1227
|
+
"$ xano branch get staging --output json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
1228
|
+
],
|
|
1229
|
+
"flags": {
|
|
1230
|
+
"profile": {
|
|
1231
|
+
"char": "p",
|
|
1232
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1233
|
+
"env": "XANO_PROFILE",
|
|
1234
|
+
"name": "profile",
|
|
1235
|
+
"required": false,
|
|
1236
|
+
"hasDynamicHelp": false,
|
|
1237
|
+
"multiple": false,
|
|
1238
|
+
"type": "option"
|
|
1239
|
+
},
|
|
1240
|
+
"verbose": {
|
|
1241
|
+
"char": "v",
|
|
1242
|
+
"description": "Show detailed request/response information",
|
|
1243
|
+
"env": "XANO_VERBOSE",
|
|
1244
|
+
"name": "verbose",
|
|
1245
|
+
"required": false,
|
|
1246
|
+
"allowNo": false,
|
|
1247
|
+
"type": "boolean"
|
|
1248
|
+
},
|
|
1249
|
+
"output": {
|
|
1250
|
+
"char": "o",
|
|
1251
|
+
"description": "Output format",
|
|
1252
|
+
"name": "output",
|
|
1253
|
+
"required": false,
|
|
1254
|
+
"default": "summary",
|
|
1255
|
+
"hasDynamicHelp": false,
|
|
1256
|
+
"multiple": false,
|
|
1257
|
+
"options": [
|
|
1258
|
+
"summary",
|
|
1259
|
+
"json"
|
|
1260
|
+
],
|
|
1261
|
+
"type": "option"
|
|
1262
|
+
},
|
|
1263
|
+
"workspace": {
|
|
1264
|
+
"char": "w",
|
|
1265
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1266
|
+
"name": "workspace",
|
|
1267
|
+
"required": false,
|
|
1268
|
+
"hasDynamicHelp": false,
|
|
1269
|
+
"multiple": false,
|
|
1270
|
+
"type": "option"
|
|
1271
|
+
}
|
|
1272
|
+
},
|
|
1273
|
+
"hasDynamicHelp": false,
|
|
1274
|
+
"hiddenAliases": [],
|
|
1275
|
+
"id": "branch:get",
|
|
1276
|
+
"pluginAlias": "@xano/cli",
|
|
1277
|
+
"pluginName": "@xano/cli",
|
|
1278
|
+
"pluginType": "core",
|
|
1279
|
+
"strict": true,
|
|
1280
|
+
"enableJsonFlag": false,
|
|
1281
|
+
"isESM": true,
|
|
1282
|
+
"relativePath": [
|
|
1283
|
+
"dist",
|
|
1284
|
+
"commands",
|
|
1285
|
+
"branch",
|
|
1286
|
+
"get",
|
|
1287
|
+
"index.js"
|
|
1288
|
+
]
|
|
1289
|
+
},
|
|
1223
1290
|
"profile:delete": {
|
|
1224
1291
|
"aliases": [],
|
|
1225
1292
|
"args": {
|
|
@@ -1417,42 +1484,6 @@
|
|
|
1417
1484
|
"index.js"
|
|
1418
1485
|
]
|
|
1419
1486
|
},
|
|
1420
|
-
"profile:list": {
|
|
1421
|
-
"aliases": [],
|
|
1422
|
-
"args": {},
|
|
1423
|
-
"description": "List all available profile configurations",
|
|
1424
|
-
"examples": [
|
|
1425
|
-
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1426
|
-
"$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
1427
|
-
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
1428
|
-
],
|
|
1429
|
-
"flags": {
|
|
1430
|
-
"details": {
|
|
1431
|
-
"char": "d",
|
|
1432
|
-
"description": "Show detailed information for each profile",
|
|
1433
|
-
"name": "details",
|
|
1434
|
-
"required": false,
|
|
1435
|
-
"allowNo": false,
|
|
1436
|
-
"type": "boolean"
|
|
1437
|
-
}
|
|
1438
|
-
},
|
|
1439
|
-
"hasDynamicHelp": false,
|
|
1440
|
-
"hiddenAliases": [],
|
|
1441
|
-
"id": "profile:list",
|
|
1442
|
-
"pluginAlias": "@xano/cli",
|
|
1443
|
-
"pluginName": "@xano/cli",
|
|
1444
|
-
"pluginType": "core",
|
|
1445
|
-
"strict": true,
|
|
1446
|
-
"enableJsonFlag": false,
|
|
1447
|
-
"isESM": true,
|
|
1448
|
-
"relativePath": [
|
|
1449
|
-
"dist",
|
|
1450
|
-
"commands",
|
|
1451
|
-
"profile",
|
|
1452
|
-
"list",
|
|
1453
|
-
"index.js"
|
|
1454
|
-
]
|
|
1455
|
-
},
|
|
1456
1487
|
"profile:me": {
|
|
1457
1488
|
"aliases": [],
|
|
1458
1489
|
"args": {},
|
|
@@ -1571,59 +1602,6 @@
|
|
|
1571
1602
|
"index.js"
|
|
1572
1603
|
]
|
|
1573
1604
|
},
|
|
1574
|
-
"profile:wizard": {
|
|
1575
|
-
"aliases": [],
|
|
1576
|
-
"args": {},
|
|
1577
|
-
"description": "Create a new profile configuration using an interactive wizard",
|
|
1578
|
-
"examples": [
|
|
1579
|
-
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
1580
|
-
],
|
|
1581
|
-
"flags": {
|
|
1582
|
-
"insecure": {
|
|
1583
|
-
"char": "k",
|
|
1584
|
-
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1585
|
-
"name": "insecure",
|
|
1586
|
-
"required": false,
|
|
1587
|
-
"allowNo": false,
|
|
1588
|
-
"type": "boolean"
|
|
1589
|
-
},
|
|
1590
|
-
"name": {
|
|
1591
|
-
"char": "n",
|
|
1592
|
-
"description": "Profile name (skip prompt if provided)",
|
|
1593
|
-
"name": "name",
|
|
1594
|
-
"required": false,
|
|
1595
|
-
"hasDynamicHelp": false,
|
|
1596
|
-
"multiple": false,
|
|
1597
|
-
"type": "option"
|
|
1598
|
-
},
|
|
1599
|
-
"origin": {
|
|
1600
|
-
"char": "o",
|
|
1601
|
-
"description": "Xano instance origin URL",
|
|
1602
|
-
"name": "origin",
|
|
1603
|
-
"required": false,
|
|
1604
|
-
"default": "https://app.xano.com",
|
|
1605
|
-
"hasDynamicHelp": false,
|
|
1606
|
-
"multiple": false,
|
|
1607
|
-
"type": "option"
|
|
1608
|
-
}
|
|
1609
|
-
},
|
|
1610
|
-
"hasDynamicHelp": false,
|
|
1611
|
-
"hiddenAliases": [],
|
|
1612
|
-
"id": "profile:wizard",
|
|
1613
|
-
"pluginAlias": "@xano/cli",
|
|
1614
|
-
"pluginName": "@xano/cli",
|
|
1615
|
-
"pluginType": "core",
|
|
1616
|
-
"strict": true,
|
|
1617
|
-
"enableJsonFlag": false,
|
|
1618
|
-
"isESM": true,
|
|
1619
|
-
"relativePath": [
|
|
1620
|
-
"dist",
|
|
1621
|
-
"commands",
|
|
1622
|
-
"profile",
|
|
1623
|
-
"wizard",
|
|
1624
|
-
"index.js"
|
|
1625
|
-
]
|
|
1626
|
-
},
|
|
1627
1605
|
"release:create": {
|
|
1628
1606
|
"aliases": [],
|
|
1629
1607
|
"args": {},
|
|
@@ -1761,61 +1739,150 @@
|
|
|
1761
1739
|
"index.js"
|
|
1762
1740
|
]
|
|
1763
1741
|
},
|
|
1764
|
-
"
|
|
1742
|
+
"profile:wizard": {
|
|
1765
1743
|
"aliases": [],
|
|
1766
|
-
"args": {
|
|
1767
|
-
|
|
1768
|
-
"description": "Release name to delete",
|
|
1769
|
-
"name": "release_name",
|
|
1770
|
-
"required": true
|
|
1771
|
-
}
|
|
1772
|
-
},
|
|
1773
|
-
"description": "Delete a release permanently. This action cannot be undone.",
|
|
1744
|
+
"args": {},
|
|
1745
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
1774
1746
|
"examples": [
|
|
1775
|
-
"$ xano
|
|
1776
|
-
"$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
|
|
1777
|
-
"$ xano release delete v1.0 -f -o json"
|
|
1747
|
+
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
1778
1748
|
],
|
|
1779
1749
|
"flags": {
|
|
1780
|
-
"
|
|
1781
|
-
"char": "
|
|
1782
|
-
"description": "
|
|
1783
|
-
"
|
|
1784
|
-
"name": "profile",
|
|
1785
|
-
"required": false,
|
|
1786
|
-
"hasDynamicHelp": false,
|
|
1787
|
-
"multiple": false,
|
|
1788
|
-
"type": "option"
|
|
1789
|
-
},
|
|
1790
|
-
"verbose": {
|
|
1791
|
-
"char": "v",
|
|
1792
|
-
"description": "Show detailed request/response information",
|
|
1793
|
-
"env": "XANO_VERBOSE",
|
|
1794
|
-
"name": "verbose",
|
|
1750
|
+
"insecure": {
|
|
1751
|
+
"char": "k",
|
|
1752
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1753
|
+
"name": "insecure",
|
|
1795
1754
|
"required": false,
|
|
1796
1755
|
"allowNo": false,
|
|
1797
1756
|
"type": "boolean"
|
|
1798
1757
|
},
|
|
1799
|
-
"
|
|
1800
|
-
"char": "
|
|
1801
|
-
"description": "
|
|
1802
|
-
"name": "
|
|
1758
|
+
"name": {
|
|
1759
|
+
"char": "n",
|
|
1760
|
+
"description": "Profile name (skip prompt if provided)",
|
|
1761
|
+
"name": "name",
|
|
1803
1762
|
"required": false,
|
|
1804
|
-
"
|
|
1805
|
-
"
|
|
1763
|
+
"hasDynamicHelp": false,
|
|
1764
|
+
"multiple": false,
|
|
1765
|
+
"type": "option"
|
|
1806
1766
|
},
|
|
1807
|
-
"
|
|
1767
|
+
"origin": {
|
|
1808
1768
|
"char": "o",
|
|
1809
|
-
"description": "
|
|
1810
|
-
"name": "
|
|
1769
|
+
"description": "Xano instance origin URL",
|
|
1770
|
+
"name": "origin",
|
|
1811
1771
|
"required": false,
|
|
1812
|
-
"default": "
|
|
1772
|
+
"default": "https://app.xano.com",
|
|
1813
1773
|
"hasDynamicHelp": false,
|
|
1814
1774
|
"multiple": false,
|
|
1815
|
-
"
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1775
|
+
"type": "option"
|
|
1776
|
+
}
|
|
1777
|
+
},
|
|
1778
|
+
"hasDynamicHelp": false,
|
|
1779
|
+
"hiddenAliases": [],
|
|
1780
|
+
"id": "profile:wizard",
|
|
1781
|
+
"pluginAlias": "@xano/cli",
|
|
1782
|
+
"pluginName": "@xano/cli",
|
|
1783
|
+
"pluginType": "core",
|
|
1784
|
+
"strict": true,
|
|
1785
|
+
"enableJsonFlag": false,
|
|
1786
|
+
"isESM": true,
|
|
1787
|
+
"relativePath": [
|
|
1788
|
+
"dist",
|
|
1789
|
+
"commands",
|
|
1790
|
+
"profile",
|
|
1791
|
+
"wizard",
|
|
1792
|
+
"index.js"
|
|
1793
|
+
]
|
|
1794
|
+
},
|
|
1795
|
+
"profile:list": {
|
|
1796
|
+
"aliases": [],
|
|
1797
|
+
"args": {},
|
|
1798
|
+
"description": "List all available profile configurations",
|
|
1799
|
+
"examples": [
|
|
1800
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1801
|
+
"$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
1802
|
+
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
1803
|
+
],
|
|
1804
|
+
"flags": {
|
|
1805
|
+
"details": {
|
|
1806
|
+
"char": "d",
|
|
1807
|
+
"description": "Show detailed information for each profile",
|
|
1808
|
+
"name": "details",
|
|
1809
|
+
"required": false,
|
|
1810
|
+
"allowNo": false,
|
|
1811
|
+
"type": "boolean"
|
|
1812
|
+
}
|
|
1813
|
+
},
|
|
1814
|
+
"hasDynamicHelp": false,
|
|
1815
|
+
"hiddenAliases": [],
|
|
1816
|
+
"id": "profile:list",
|
|
1817
|
+
"pluginAlias": "@xano/cli",
|
|
1818
|
+
"pluginName": "@xano/cli",
|
|
1819
|
+
"pluginType": "core",
|
|
1820
|
+
"strict": true,
|
|
1821
|
+
"enableJsonFlag": false,
|
|
1822
|
+
"isESM": true,
|
|
1823
|
+
"relativePath": [
|
|
1824
|
+
"dist",
|
|
1825
|
+
"commands",
|
|
1826
|
+
"profile",
|
|
1827
|
+
"list",
|
|
1828
|
+
"index.js"
|
|
1829
|
+
]
|
|
1830
|
+
},
|
|
1831
|
+
"release:delete": {
|
|
1832
|
+
"aliases": [],
|
|
1833
|
+
"args": {
|
|
1834
|
+
"release_name": {
|
|
1835
|
+
"description": "Release name to delete",
|
|
1836
|
+
"name": "release_name",
|
|
1837
|
+
"required": true
|
|
1838
|
+
}
|
|
1839
|
+
},
|
|
1840
|
+
"description": "Delete a release permanently. This action cannot be undone.",
|
|
1841
|
+
"examples": [
|
|
1842
|
+
"$ xano release delete v1.0\nAre you sure you want to delete release 'v1.0'? This action cannot be undone. (y/N) y\nDeleted release 'v1.0'\n",
|
|
1843
|
+
"$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
|
|
1844
|
+
"$ xano release delete v1.0 -f -o json"
|
|
1845
|
+
],
|
|
1846
|
+
"flags": {
|
|
1847
|
+
"profile": {
|
|
1848
|
+
"char": "p",
|
|
1849
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1850
|
+
"env": "XANO_PROFILE",
|
|
1851
|
+
"name": "profile",
|
|
1852
|
+
"required": false,
|
|
1853
|
+
"hasDynamicHelp": false,
|
|
1854
|
+
"multiple": false,
|
|
1855
|
+
"type": "option"
|
|
1856
|
+
},
|
|
1857
|
+
"verbose": {
|
|
1858
|
+
"char": "v",
|
|
1859
|
+
"description": "Show detailed request/response information",
|
|
1860
|
+
"env": "XANO_VERBOSE",
|
|
1861
|
+
"name": "verbose",
|
|
1862
|
+
"required": false,
|
|
1863
|
+
"allowNo": false,
|
|
1864
|
+
"type": "boolean"
|
|
1865
|
+
},
|
|
1866
|
+
"force": {
|
|
1867
|
+
"char": "f",
|
|
1868
|
+
"description": "Skip confirmation prompt",
|
|
1869
|
+
"name": "force",
|
|
1870
|
+
"required": false,
|
|
1871
|
+
"allowNo": false,
|
|
1872
|
+
"type": "boolean"
|
|
1873
|
+
},
|
|
1874
|
+
"output": {
|
|
1875
|
+
"char": "o",
|
|
1876
|
+
"description": "Output format",
|
|
1877
|
+
"name": "output",
|
|
1878
|
+
"required": false,
|
|
1879
|
+
"default": "summary",
|
|
1880
|
+
"hasDynamicHelp": false,
|
|
1881
|
+
"multiple": false,
|
|
1882
|
+
"options": [
|
|
1883
|
+
"summary",
|
|
1884
|
+
"json"
|
|
1885
|
+
],
|
|
1819
1886
|
"type": "option"
|
|
1820
1887
|
},
|
|
1821
1888
|
"workspace": {
|
|
@@ -2030,20 +2097,19 @@
|
|
|
2030
2097
|
"index.js"
|
|
2031
2098
|
]
|
|
2032
2099
|
},
|
|
2033
|
-
"release:
|
|
2100
|
+
"release:get": {
|
|
2034
2101
|
"aliases": [],
|
|
2035
2102
|
"args": {
|
|
2036
2103
|
"release_name": {
|
|
2037
|
-
"description": "Release name to
|
|
2104
|
+
"description": "Release name to retrieve",
|
|
2038
2105
|
"name": "release_name",
|
|
2039
2106
|
"required": true
|
|
2040
2107
|
}
|
|
2041
2108
|
},
|
|
2042
|
-
"description": "
|
|
2109
|
+
"description": "Get details of a specific release",
|
|
2043
2110
|
"examples": [
|
|
2044
|
-
"$ xano release
|
|
2045
|
-
"$ xano release
|
|
2046
|
-
"$ xano release export v1.0 -o json"
|
|
2111
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2112
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
2047
2113
|
],
|
|
2048
2114
|
"flags": {
|
|
2049
2115
|
"profile": {
|
|
@@ -2065,10 +2131,10 @@
|
|
|
2065
2131
|
"allowNo": false,
|
|
2066
2132
|
"type": "boolean"
|
|
2067
2133
|
},
|
|
2068
|
-
"
|
|
2134
|
+
"output": {
|
|
2069
2135
|
"char": "o",
|
|
2070
2136
|
"description": "Output format",
|
|
2071
|
-
"name": "
|
|
2137
|
+
"name": "output",
|
|
2072
2138
|
"required": false,
|
|
2073
2139
|
"default": "summary",
|
|
2074
2140
|
"hasDynamicHelp": false,
|
|
@@ -2079,14 +2145,6 @@
|
|
|
2079
2145
|
],
|
|
2080
2146
|
"type": "option"
|
|
2081
2147
|
},
|
|
2082
|
-
"output": {
|
|
2083
|
-
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
2084
|
-
"name": "output",
|
|
2085
|
-
"required": false,
|
|
2086
|
-
"hasDynamicHelp": false,
|
|
2087
|
-
"multiple": false,
|
|
2088
|
-
"type": "option"
|
|
2089
|
-
},
|
|
2090
2148
|
"workspace": {
|
|
2091
2149
|
"char": "w",
|
|
2092
2150
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2099,7 +2157,7 @@
|
|
|
2099
2157
|
},
|
|
2100
2158
|
"hasDynamicHelp": false,
|
|
2101
2159
|
"hiddenAliases": [],
|
|
2102
|
-
"id": "release:
|
|
2160
|
+
"id": "release:get",
|
|
2103
2161
|
"pluginAlias": "@xano/cli",
|
|
2104
2162
|
"pluginName": "@xano/cli",
|
|
2105
2163
|
"pluginType": "core",
|
|
@@ -2110,23 +2168,17 @@
|
|
|
2110
2168
|
"dist",
|
|
2111
2169
|
"commands",
|
|
2112
2170
|
"release",
|
|
2113
|
-
"
|
|
2171
|
+
"get",
|
|
2114
2172
|
"index.js"
|
|
2115
2173
|
]
|
|
2116
2174
|
},
|
|
2117
|
-
"release:
|
|
2175
|
+
"release:list": {
|
|
2118
2176
|
"aliases": [],
|
|
2119
|
-
"args": {
|
|
2120
|
-
|
|
2121
|
-
"description": "Release name to retrieve",
|
|
2122
|
-
"name": "release_name",
|
|
2123
|
-
"required": true
|
|
2124
|
-
}
|
|
2125
|
-
},
|
|
2126
|
-
"description": "Get details of a specific release",
|
|
2177
|
+
"args": {},
|
|
2178
|
+
"description": "List all releases in a workspace",
|
|
2127
2179
|
"examples": [
|
|
2128
|
-
"$ xano release
|
|
2129
|
-
"$ xano release
|
|
2180
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2181
|
+
"$ xano release list -w 5 --output json"
|
|
2130
2182
|
],
|
|
2131
2183
|
"flags": {
|
|
2132
2184
|
"profile": {
|
|
@@ -2174,7 +2226,7 @@
|
|
|
2174
2226
|
},
|
|
2175
2227
|
"hasDynamicHelp": false,
|
|
2176
2228
|
"hiddenAliases": [],
|
|
2177
|
-
"id": "release:
|
|
2229
|
+
"id": "release:list",
|
|
2178
2230
|
"pluginAlias": "@xano/cli",
|
|
2179
2231
|
"pluginName": "@xano/cli",
|
|
2180
2232
|
"pluginType": "core",
|
|
@@ -2185,7 +2237,7 @@
|
|
|
2185
2237
|
"dist",
|
|
2186
2238
|
"commands",
|
|
2187
2239
|
"release",
|
|
2188
|
-
"
|
|
2240
|
+
"list",
|
|
2189
2241
|
"index.js"
|
|
2190
2242
|
]
|
|
2191
2243
|
},
|
|
@@ -2267,13 +2319,20 @@
|
|
|
2267
2319
|
"index.js"
|
|
2268
2320
|
]
|
|
2269
2321
|
},
|
|
2270
|
-
"release:
|
|
2322
|
+
"release:export": {
|
|
2271
2323
|
"aliases": [],
|
|
2272
|
-
"args": {
|
|
2273
|
-
|
|
2324
|
+
"args": {
|
|
2325
|
+
"release_name": {
|
|
2326
|
+
"description": "Release name to export",
|
|
2327
|
+
"name": "release_name",
|
|
2328
|
+
"required": true
|
|
2329
|
+
}
|
|
2330
|
+
},
|
|
2331
|
+
"description": "Export (download) a release to a local file",
|
|
2274
2332
|
"examples": [
|
|
2275
|
-
"$ xano release
|
|
2276
|
-
"$ xano release
|
|
2333
|
+
"$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
|
|
2334
|
+
"$ xano release export v1.0 --output ./backups/my-release.tar.gz",
|
|
2335
|
+
"$ xano release export v1.0 -o json"
|
|
2277
2336
|
],
|
|
2278
2337
|
"flags": {
|
|
2279
2338
|
"profile": {
|
|
@@ -2295,10 +2354,10 @@
|
|
|
2295
2354
|
"allowNo": false,
|
|
2296
2355
|
"type": "boolean"
|
|
2297
2356
|
},
|
|
2298
|
-
"
|
|
2357
|
+
"format": {
|
|
2299
2358
|
"char": "o",
|
|
2300
2359
|
"description": "Output format",
|
|
2301
|
-
"name": "
|
|
2360
|
+
"name": "format",
|
|
2302
2361
|
"required": false,
|
|
2303
2362
|
"default": "summary",
|
|
2304
2363
|
"hasDynamicHelp": false,
|
|
@@ -2309,6 +2368,14 @@
|
|
|
2309
2368
|
],
|
|
2310
2369
|
"type": "option"
|
|
2311
2370
|
},
|
|
2371
|
+
"output": {
|
|
2372
|
+
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
2373
|
+
"name": "output",
|
|
2374
|
+
"required": false,
|
|
2375
|
+
"hasDynamicHelp": false,
|
|
2376
|
+
"multiple": false,
|
|
2377
|
+
"type": "option"
|
|
2378
|
+
},
|
|
2312
2379
|
"workspace": {
|
|
2313
2380
|
"char": "w",
|
|
2314
2381
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2321,7 +2388,7 @@
|
|
|
2321
2388
|
},
|
|
2322
2389
|
"hasDynamicHelp": false,
|
|
2323
2390
|
"hiddenAliases": [],
|
|
2324
|
-
"id": "release:
|
|
2391
|
+
"id": "release:export",
|
|
2325
2392
|
"pluginAlias": "@xano/cli",
|
|
2326
2393
|
"pluginName": "@xano/cli",
|
|
2327
2394
|
"pluginType": "core",
|
|
@@ -2332,7 +2399,7 @@
|
|
|
2332
2399
|
"dist",
|
|
2333
2400
|
"commands",
|
|
2334
2401
|
"release",
|
|
2335
|
-
"
|
|
2402
|
+
"export",
|
|
2336
2403
|
"index.js"
|
|
2337
2404
|
]
|
|
2338
2405
|
},
|
|
@@ -2421,6 +2488,60 @@
|
|
|
2421
2488
|
"index.js"
|
|
2422
2489
|
]
|
|
2423
2490
|
},
|
|
2491
|
+
"sandbox:delete": {
|
|
2492
|
+
"aliases": [],
|
|
2493
|
+
"args": {},
|
|
2494
|
+
"description": "Delete your sandbox environment completely (debugging only — it will be re-created on next access)",
|
|
2495
|
+
"examples": [
|
|
2496
|
+
"$ xano sandbox delete\nAre you sure you want to DELETE your sandbox environment? This destroys all data. (y/N) y\nSandbox environment deleted.\n",
|
|
2497
|
+
"$ xano sandbox delete --force"
|
|
2498
|
+
],
|
|
2499
|
+
"flags": {
|
|
2500
|
+
"profile": {
|
|
2501
|
+
"char": "p",
|
|
2502
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2503
|
+
"env": "XANO_PROFILE",
|
|
2504
|
+
"name": "profile",
|
|
2505
|
+
"required": false,
|
|
2506
|
+
"hasDynamicHelp": false,
|
|
2507
|
+
"multiple": false,
|
|
2508
|
+
"type": "option"
|
|
2509
|
+
},
|
|
2510
|
+
"verbose": {
|
|
2511
|
+
"char": "v",
|
|
2512
|
+
"description": "Show detailed request/response information",
|
|
2513
|
+
"env": "XANO_VERBOSE",
|
|
2514
|
+
"name": "verbose",
|
|
2515
|
+
"required": false,
|
|
2516
|
+
"allowNo": false,
|
|
2517
|
+
"type": "boolean"
|
|
2518
|
+
},
|
|
2519
|
+
"force": {
|
|
2520
|
+
"char": "f",
|
|
2521
|
+
"description": "Skip confirmation prompt",
|
|
2522
|
+
"name": "force",
|
|
2523
|
+
"required": false,
|
|
2524
|
+
"allowNo": false,
|
|
2525
|
+
"type": "boolean"
|
|
2526
|
+
}
|
|
2527
|
+
},
|
|
2528
|
+
"hasDynamicHelp": false,
|
|
2529
|
+
"hiddenAliases": [],
|
|
2530
|
+
"id": "sandbox:delete",
|
|
2531
|
+
"pluginAlias": "@xano/cli",
|
|
2532
|
+
"pluginName": "@xano/cli",
|
|
2533
|
+
"pluginType": "core",
|
|
2534
|
+
"strict": true,
|
|
2535
|
+
"enableJsonFlag": false,
|
|
2536
|
+
"isESM": true,
|
|
2537
|
+
"relativePath": [
|
|
2538
|
+
"dist",
|
|
2539
|
+
"commands",
|
|
2540
|
+
"sandbox",
|
|
2541
|
+
"delete",
|
|
2542
|
+
"index.js"
|
|
2543
|
+
]
|
|
2544
|
+
},
|
|
2424
2545
|
"release:push": {
|
|
2425
2546
|
"aliases": [],
|
|
2426
2547
|
"args": {
|
|
@@ -2539,13 +2660,13 @@
|
|
|
2539
2660
|
"index.js"
|
|
2540
2661
|
]
|
|
2541
2662
|
},
|
|
2542
|
-
"sandbox:
|
|
2663
|
+
"sandbox:get": {
|
|
2543
2664
|
"aliases": [],
|
|
2544
2665
|
"args": {},
|
|
2545
|
-
"description": "
|
|
2666
|
+
"description": "Get your sandbox environment (creates one if it does not exist)",
|
|
2546
2667
|
"examples": [
|
|
2547
|
-
"$ xano sandbox
|
|
2548
|
-
"$ xano sandbox
|
|
2668
|
+
"$ xano sandbox get\nSandbox Environment: (tc24-abcd-x1y2)\n State: ok\n License: tier1\n",
|
|
2669
|
+
"$ xano sandbox get -o json"
|
|
2549
2670
|
],
|
|
2550
2671
|
"flags": {
|
|
2551
2672
|
"profile": {
|
|
@@ -2567,18 +2688,24 @@
|
|
|
2567
2688
|
"allowNo": false,
|
|
2568
2689
|
"type": "boolean"
|
|
2569
2690
|
},
|
|
2570
|
-
"
|
|
2571
|
-
"char": "
|
|
2572
|
-
"description": "
|
|
2573
|
-
"name": "
|
|
2691
|
+
"output": {
|
|
2692
|
+
"char": "o",
|
|
2693
|
+
"description": "Output format",
|
|
2694
|
+
"name": "output",
|
|
2574
2695
|
"required": false,
|
|
2575
|
-
"
|
|
2576
|
-
"
|
|
2696
|
+
"default": "summary",
|
|
2697
|
+
"hasDynamicHelp": false,
|
|
2698
|
+
"multiple": false,
|
|
2699
|
+
"options": [
|
|
2700
|
+
"summary",
|
|
2701
|
+
"json"
|
|
2702
|
+
],
|
|
2703
|
+
"type": "option"
|
|
2577
2704
|
}
|
|
2578
2705
|
},
|
|
2579
2706
|
"hasDynamicHelp": false,
|
|
2580
2707
|
"hiddenAliases": [],
|
|
2581
|
-
"id": "sandbox:
|
|
2708
|
+
"id": "sandbox:get",
|
|
2582
2709
|
"pluginAlias": "@xano/cli",
|
|
2583
2710
|
"pluginName": "@xano/cli",
|
|
2584
2711
|
"pluginType": "core",
|
|
@@ -2589,17 +2716,18 @@
|
|
|
2589
2716
|
"dist",
|
|
2590
2717
|
"commands",
|
|
2591
2718
|
"sandbox",
|
|
2592
|
-
"
|
|
2719
|
+
"get",
|
|
2593
2720
|
"index.js"
|
|
2594
2721
|
]
|
|
2595
2722
|
},
|
|
2596
|
-
"sandbox:
|
|
2723
|
+
"sandbox:impersonate": {
|
|
2597
2724
|
"aliases": [],
|
|
2598
2725
|
"args": {},
|
|
2599
|
-
"description": "
|
|
2726
|
+
"description": "Alias for \"sandbox review\"",
|
|
2600
2727
|
"examples": [
|
|
2601
|
-
"$ xano sandbox
|
|
2602
|
-
"$ xano sandbox
|
|
2728
|
+
"$ xano sandbox review\nOpening browser...\nReview session started!\n",
|
|
2729
|
+
"$ xano sandbox review -u",
|
|
2730
|
+
"$ xano sandbox review -o json"
|
|
2603
2731
|
],
|
|
2604
2732
|
"flags": {
|
|
2605
2733
|
"profile": {
|
|
@@ -2634,11 +2762,20 @@
|
|
|
2634
2762
|
"json"
|
|
2635
2763
|
],
|
|
2636
2764
|
"type": "option"
|
|
2765
|
+
},
|
|
2766
|
+
"url-only": {
|
|
2767
|
+
"char": "u",
|
|
2768
|
+
"description": "Print the URL without opening the browser",
|
|
2769
|
+
"name": "url-only",
|
|
2770
|
+
"required": false,
|
|
2771
|
+
"allowNo": false,
|
|
2772
|
+
"type": "boolean"
|
|
2637
2773
|
}
|
|
2638
2774
|
},
|
|
2639
2775
|
"hasDynamicHelp": false,
|
|
2776
|
+
"hidden": true,
|
|
2640
2777
|
"hiddenAliases": [],
|
|
2641
|
-
"id": "sandbox:
|
|
2778
|
+
"id": "sandbox:impersonate",
|
|
2642
2779
|
"pluginAlias": "@xano/cli",
|
|
2643
2780
|
"pluginName": "@xano/cli",
|
|
2644
2781
|
"pluginType": "core",
|
|
@@ -2649,18 +2786,17 @@
|
|
|
2649
2786
|
"dist",
|
|
2650
2787
|
"commands",
|
|
2651
2788
|
"sandbox",
|
|
2652
|
-
"
|
|
2789
|
+
"impersonate",
|
|
2653
2790
|
"index.js"
|
|
2654
2791
|
]
|
|
2655
2792
|
},
|
|
2656
|
-
"sandbox:
|
|
2793
|
+
"sandbox:reset": {
|
|
2657
2794
|
"aliases": [],
|
|
2658
2795
|
"args": {},
|
|
2659
|
-
"description": "
|
|
2796
|
+
"description": "Reset your sandbox environment (clears all workspace data and drafts)",
|
|
2660
2797
|
"examples": [
|
|
2661
|
-
"$ xano sandbox
|
|
2662
|
-
"$ xano sandbox
|
|
2663
|
-
"$ xano sandbox review -o json"
|
|
2798
|
+
"$ xano sandbox reset\nAre you sure you want to reset your sandbox environment? All workspace data and drafts will be cleared. (y/N) y\nSandbox environment has been reset.\n",
|
|
2799
|
+
"$ xano sandbox reset --force"
|
|
2664
2800
|
],
|
|
2665
2801
|
"flags": {
|
|
2666
2802
|
"profile": {
|
|
@@ -2682,33 +2818,18 @@
|
|
|
2682
2818
|
"allowNo": false,
|
|
2683
2819
|
"type": "boolean"
|
|
2684
2820
|
},
|
|
2685
|
-
"
|
|
2686
|
-
"char": "
|
|
2687
|
-
"description": "
|
|
2688
|
-
"name": "
|
|
2689
|
-
"required": false,
|
|
2690
|
-
"default": "summary",
|
|
2691
|
-
"hasDynamicHelp": false,
|
|
2692
|
-
"multiple": false,
|
|
2693
|
-
"options": [
|
|
2694
|
-
"summary",
|
|
2695
|
-
"json"
|
|
2696
|
-
],
|
|
2697
|
-
"type": "option"
|
|
2698
|
-
},
|
|
2699
|
-
"url-only": {
|
|
2700
|
-
"char": "u",
|
|
2701
|
-
"description": "Print the URL without opening the browser",
|
|
2702
|
-
"name": "url-only",
|
|
2821
|
+
"force": {
|
|
2822
|
+
"char": "f",
|
|
2823
|
+
"description": "Skip confirmation prompt",
|
|
2824
|
+
"name": "force",
|
|
2703
2825
|
"required": false,
|
|
2704
2826
|
"allowNo": false,
|
|
2705
2827
|
"type": "boolean"
|
|
2706
2828
|
}
|
|
2707
2829
|
},
|
|
2708
2830
|
"hasDynamicHelp": false,
|
|
2709
|
-
"hidden": true,
|
|
2710
2831
|
"hiddenAliases": [],
|
|
2711
|
-
"id": "sandbox:
|
|
2832
|
+
"id": "sandbox:reset",
|
|
2712
2833
|
"pluginAlias": "@xano/cli",
|
|
2713
2834
|
"pluginName": "@xano/cli",
|
|
2714
2835
|
"pluginType": "core",
|
|
@@ -2719,7 +2840,7 @@
|
|
|
2719
2840
|
"dist",
|
|
2720
2841
|
"commands",
|
|
2721
2842
|
"sandbox",
|
|
2722
|
-
"
|
|
2843
|
+
"reset",
|
|
2723
2844
|
"index.js"
|
|
2724
2845
|
]
|
|
2725
2846
|
},
|
|
@@ -2877,60 +2998,6 @@
|
|
|
2877
2998
|
"index.js"
|
|
2878
2999
|
]
|
|
2879
3000
|
},
|
|
2880
|
-
"sandbox:reset": {
|
|
2881
|
-
"aliases": [],
|
|
2882
|
-
"args": {},
|
|
2883
|
-
"description": "Reset your sandbox environment (clears all workspace data and drafts)",
|
|
2884
|
-
"examples": [
|
|
2885
|
-
"$ xano sandbox reset\nAre you sure you want to reset your sandbox environment? All workspace data and drafts will be cleared. (y/N) y\nSandbox environment has been reset.\n",
|
|
2886
|
-
"$ xano sandbox reset --force"
|
|
2887
|
-
],
|
|
2888
|
-
"flags": {
|
|
2889
|
-
"profile": {
|
|
2890
|
-
"char": "p",
|
|
2891
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2892
|
-
"env": "XANO_PROFILE",
|
|
2893
|
-
"name": "profile",
|
|
2894
|
-
"required": false,
|
|
2895
|
-
"hasDynamicHelp": false,
|
|
2896
|
-
"multiple": false,
|
|
2897
|
-
"type": "option"
|
|
2898
|
-
},
|
|
2899
|
-
"verbose": {
|
|
2900
|
-
"char": "v",
|
|
2901
|
-
"description": "Show detailed request/response information",
|
|
2902
|
-
"env": "XANO_VERBOSE",
|
|
2903
|
-
"name": "verbose",
|
|
2904
|
-
"required": false,
|
|
2905
|
-
"allowNo": false,
|
|
2906
|
-
"type": "boolean"
|
|
2907
|
-
},
|
|
2908
|
-
"force": {
|
|
2909
|
-
"char": "f",
|
|
2910
|
-
"description": "Skip confirmation prompt",
|
|
2911
|
-
"name": "force",
|
|
2912
|
-
"required": false,
|
|
2913
|
-
"allowNo": false,
|
|
2914
|
-
"type": "boolean"
|
|
2915
|
-
}
|
|
2916
|
-
},
|
|
2917
|
-
"hasDynamicHelp": false,
|
|
2918
|
-
"hiddenAliases": [],
|
|
2919
|
-
"id": "sandbox:reset",
|
|
2920
|
-
"pluginAlias": "@xano/cli",
|
|
2921
|
-
"pluginName": "@xano/cli",
|
|
2922
|
-
"pluginType": "core",
|
|
2923
|
-
"strict": true,
|
|
2924
|
-
"enableJsonFlag": false,
|
|
2925
|
-
"isESM": true,
|
|
2926
|
-
"relativePath": [
|
|
2927
|
-
"dist",
|
|
2928
|
-
"commands",
|
|
2929
|
-
"sandbox",
|
|
2930
|
-
"reset",
|
|
2931
|
-
"index.js"
|
|
2932
|
-
]
|
|
2933
|
-
},
|
|
2934
3001
|
"sandbox:review": {
|
|
2935
3002
|
"aliases": [],
|
|
2936
3003
|
"args": {},
|
|
@@ -3233,20 +3300,20 @@
|
|
|
3233
3300
|
"index.js"
|
|
3234
3301
|
]
|
|
3235
3302
|
},
|
|
3236
|
-
"tenant:
|
|
3303
|
+
"tenant:delete": {
|
|
3237
3304
|
"aliases": [],
|
|
3238
3305
|
"args": {
|
|
3239
3306
|
"tenant_name": {
|
|
3240
|
-
"description": "Tenant name to
|
|
3307
|
+
"description": "Tenant name to delete",
|
|
3241
3308
|
"name": "tenant_name",
|
|
3242
3309
|
"required": true
|
|
3243
3310
|
}
|
|
3244
3311
|
},
|
|
3245
|
-
"description": "
|
|
3312
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
3246
3313
|
"examples": [
|
|
3247
|
-
"$ xano tenant
|
|
3248
|
-
"$ xano tenant
|
|
3249
|
-
"$ xano tenant
|
|
3314
|
+
"$ 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",
|
|
3315
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
3316
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
3250
3317
|
],
|
|
3251
3318
|
"flags": {
|
|
3252
3319
|
"profile": {
|
|
@@ -3268,14 +3335,13 @@
|
|
|
3268
3335
|
"allowNo": false,
|
|
3269
3336
|
"type": "boolean"
|
|
3270
3337
|
},
|
|
3271
|
-
"
|
|
3272
|
-
"char": "
|
|
3273
|
-
"description": "
|
|
3274
|
-
"name": "
|
|
3338
|
+
"force": {
|
|
3339
|
+
"char": "f",
|
|
3340
|
+
"description": "Skip confirmation prompt",
|
|
3341
|
+
"name": "force",
|
|
3275
3342
|
"required": false,
|
|
3276
|
-
"
|
|
3277
|
-
"
|
|
3278
|
-
"type": "option"
|
|
3343
|
+
"allowNo": false,
|
|
3344
|
+
"type": "boolean"
|
|
3279
3345
|
},
|
|
3280
3346
|
"output": {
|
|
3281
3347
|
"char": "o",
|
|
@@ -3291,14 +3357,6 @@
|
|
|
3291
3357
|
],
|
|
3292
3358
|
"type": "option"
|
|
3293
3359
|
},
|
|
3294
|
-
"platform_id": {
|
|
3295
|
-
"description": "Platform ID to deploy",
|
|
3296
|
-
"name": "platform_id",
|
|
3297
|
-
"required": true,
|
|
3298
|
-
"hasDynamicHelp": false,
|
|
3299
|
-
"multiple": false,
|
|
3300
|
-
"type": "option"
|
|
3301
|
-
},
|
|
3302
3360
|
"workspace": {
|
|
3303
3361
|
"char": "w",
|
|
3304
3362
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3311,7 +3369,7 @@
|
|
|
3311
3369
|
},
|
|
3312
3370
|
"hasDynamicHelp": false,
|
|
3313
3371
|
"hiddenAliases": [],
|
|
3314
|
-
"id": "tenant:
|
|
3372
|
+
"id": "tenant:delete",
|
|
3315
3373
|
"pluginAlias": "@xano/cli",
|
|
3316
3374
|
"pluginName": "@xano/cli",
|
|
3317
3375
|
"pluginType": "core",
|
|
@@ -3322,24 +3380,23 @@
|
|
|
3322
3380
|
"dist",
|
|
3323
3381
|
"commands",
|
|
3324
3382
|
"tenant",
|
|
3325
|
-
"
|
|
3383
|
+
"delete",
|
|
3326
3384
|
"index.js"
|
|
3327
3385
|
]
|
|
3328
3386
|
},
|
|
3329
|
-
"tenant:
|
|
3387
|
+
"tenant:edit": {
|
|
3330
3388
|
"aliases": [],
|
|
3331
3389
|
"args": {
|
|
3332
3390
|
"tenant_name": {
|
|
3333
|
-
"description": "Tenant name to
|
|
3391
|
+
"description": "Tenant name to edit",
|
|
3334
3392
|
"name": "tenant_name",
|
|
3335
3393
|
"required": true
|
|
3336
3394
|
}
|
|
3337
3395
|
},
|
|
3338
|
-
"description": "
|
|
3396
|
+
"description": "Edit an existing tenant",
|
|
3339
3397
|
"examples": [
|
|
3340
|
-
"$ xano tenant
|
|
3341
|
-
"$ xano tenant
|
|
3342
|
-
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
3398
|
+
"$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
|
|
3399
|
+
"$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
|
|
3343
3400
|
],
|
|
3344
3401
|
"flags": {
|
|
3345
3402
|
"profile": {
|
|
@@ -3361,12 +3418,36 @@
|
|
|
3361
3418
|
"allowNo": false,
|
|
3362
3419
|
"type": "boolean"
|
|
3363
3420
|
},
|
|
3364
|
-
"
|
|
3365
|
-
"char": "
|
|
3366
|
-
"description": "
|
|
3367
|
-
"name": "
|
|
3421
|
+
"description": {
|
|
3422
|
+
"char": "d",
|
|
3423
|
+
"description": "New description",
|
|
3424
|
+
"name": "description",
|
|
3368
3425
|
"required": false,
|
|
3369
|
-
"
|
|
3426
|
+
"hasDynamicHelp": false,
|
|
3427
|
+
"multiple": false,
|
|
3428
|
+
"type": "option"
|
|
3429
|
+
},
|
|
3430
|
+
"display": {
|
|
3431
|
+
"description": "New display name",
|
|
3432
|
+
"name": "display",
|
|
3433
|
+
"required": false,
|
|
3434
|
+
"hasDynamicHelp": false,
|
|
3435
|
+
"multiple": false,
|
|
3436
|
+
"type": "option"
|
|
3437
|
+
},
|
|
3438
|
+
"domain": {
|
|
3439
|
+
"description": "Custom domain",
|
|
3440
|
+
"name": "domain",
|
|
3441
|
+
"required": false,
|
|
3442
|
+
"hasDynamicHelp": false,
|
|
3443
|
+
"multiple": false,
|
|
3444
|
+
"type": "option"
|
|
3445
|
+
},
|
|
3446
|
+
"ingress": {
|
|
3447
|
+
"description": "Enable/disable ingress",
|
|
3448
|
+
"name": "ingress",
|
|
3449
|
+
"required": false,
|
|
3450
|
+
"allowNo": true,
|
|
3370
3451
|
"type": "boolean"
|
|
3371
3452
|
},
|
|
3372
3453
|
"output": {
|
|
@@ -3383,6 +3464,28 @@
|
|
|
3383
3464
|
],
|
|
3384
3465
|
"type": "option"
|
|
3385
3466
|
},
|
|
3467
|
+
"proxy": {
|
|
3468
|
+
"description": "Proxy URL",
|
|
3469
|
+
"name": "proxy",
|
|
3470
|
+
"required": false,
|
|
3471
|
+
"hasDynamicHelp": false,
|
|
3472
|
+
"multiple": false,
|
|
3473
|
+
"type": "option"
|
|
3474
|
+
},
|
|
3475
|
+
"rbac": {
|
|
3476
|
+
"description": "Enable/disable RBAC",
|
|
3477
|
+
"name": "rbac",
|
|
3478
|
+
"required": false,
|
|
3479
|
+
"allowNo": true,
|
|
3480
|
+
"type": "boolean"
|
|
3481
|
+
},
|
|
3482
|
+
"tasks": {
|
|
3483
|
+
"description": "Enable/disable background tasks",
|
|
3484
|
+
"name": "tasks",
|
|
3485
|
+
"required": false,
|
|
3486
|
+
"allowNo": true,
|
|
3487
|
+
"type": "boolean"
|
|
3488
|
+
},
|
|
3386
3489
|
"workspace": {
|
|
3387
3490
|
"char": "w",
|
|
3388
3491
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3395,7 +3498,7 @@
|
|
|
3395
3498
|
},
|
|
3396
3499
|
"hasDynamicHelp": false,
|
|
3397
3500
|
"hiddenAliases": [],
|
|
3398
|
-
"id": "tenant:
|
|
3501
|
+
"id": "tenant:edit",
|
|
3399
3502
|
"pluginAlias": "@xano/cli",
|
|
3400
3503
|
"pluginName": "@xano/cli",
|
|
3401
3504
|
"pluginType": "core",
|
|
@@ -3406,7 +3509,7 @@
|
|
|
3406
3509
|
"dist",
|
|
3407
3510
|
"commands",
|
|
3408
3511
|
"tenant",
|
|
3409
|
-
"
|
|
3512
|
+
"edit",
|
|
3410
3513
|
"index.js"
|
|
3411
3514
|
]
|
|
3412
3515
|
},
|
|
@@ -3494,19 +3597,20 @@
|
|
|
3494
3597
|
"index.js"
|
|
3495
3598
|
]
|
|
3496
3599
|
},
|
|
3497
|
-
"tenant:
|
|
3600
|
+
"tenant:deploy_platform": {
|
|
3498
3601
|
"aliases": [],
|
|
3499
3602
|
"args": {
|
|
3500
3603
|
"tenant_name": {
|
|
3501
|
-
"description": "Tenant name to
|
|
3604
|
+
"description": "Tenant name to deploy to",
|
|
3502
3605
|
"name": "tenant_name",
|
|
3503
3606
|
"required": true
|
|
3504
3607
|
}
|
|
3505
3608
|
},
|
|
3506
|
-
"description": "
|
|
3609
|
+
"description": "Deploy a platform version to a tenant",
|
|
3507
3610
|
"examples": [
|
|
3508
|
-
"$ xano tenant
|
|
3509
|
-
"$ xano tenant
|
|
3611
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
3612
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json",
|
|
3613
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
|
|
3510
3614
|
],
|
|
3511
3615
|
"flags": {
|
|
3512
3616
|
"profile": {
|
|
@@ -3528,38 +3632,15 @@
|
|
|
3528
3632
|
"allowNo": false,
|
|
3529
3633
|
"type": "boolean"
|
|
3530
3634
|
},
|
|
3531
|
-
"
|
|
3532
|
-
"char": "
|
|
3533
|
-
"description": "
|
|
3534
|
-
"name": "
|
|
3535
|
-
"required": false,
|
|
3536
|
-
"hasDynamicHelp": false,
|
|
3537
|
-
"multiple": false,
|
|
3538
|
-
"type": "option"
|
|
3539
|
-
},
|
|
3540
|
-
"display": {
|
|
3541
|
-
"description": "New display name",
|
|
3542
|
-
"name": "display",
|
|
3543
|
-
"required": false,
|
|
3544
|
-
"hasDynamicHelp": false,
|
|
3545
|
-
"multiple": false,
|
|
3546
|
-
"type": "option"
|
|
3547
|
-
},
|
|
3548
|
-
"domain": {
|
|
3549
|
-
"description": "Custom domain",
|
|
3550
|
-
"name": "domain",
|
|
3635
|
+
"license": {
|
|
3636
|
+
"char": "l",
|
|
3637
|
+
"description": "Path to a license override file to apply after deploy",
|
|
3638
|
+
"name": "license",
|
|
3551
3639
|
"required": false,
|
|
3552
3640
|
"hasDynamicHelp": false,
|
|
3553
3641
|
"multiple": false,
|
|
3554
3642
|
"type": "option"
|
|
3555
3643
|
},
|
|
3556
|
-
"ingress": {
|
|
3557
|
-
"description": "Enable/disable ingress",
|
|
3558
|
-
"name": "ingress",
|
|
3559
|
-
"required": false,
|
|
3560
|
-
"allowNo": true,
|
|
3561
|
-
"type": "boolean"
|
|
3562
|
-
},
|
|
3563
3644
|
"output": {
|
|
3564
3645
|
"char": "o",
|
|
3565
3646
|
"description": "Output format",
|
|
@@ -3574,28 +3655,14 @@
|
|
|
3574
3655
|
],
|
|
3575
3656
|
"type": "option"
|
|
3576
3657
|
},
|
|
3577
|
-
"
|
|
3578
|
-
"description": "
|
|
3579
|
-
"name": "
|
|
3580
|
-
"required":
|
|
3658
|
+
"platform_id": {
|
|
3659
|
+
"description": "Platform ID to deploy",
|
|
3660
|
+
"name": "platform_id",
|
|
3661
|
+
"required": true,
|
|
3581
3662
|
"hasDynamicHelp": false,
|
|
3582
3663
|
"multiple": false,
|
|
3583
3664
|
"type": "option"
|
|
3584
3665
|
},
|
|
3585
|
-
"rbac": {
|
|
3586
|
-
"description": "Enable/disable RBAC",
|
|
3587
|
-
"name": "rbac",
|
|
3588
|
-
"required": false,
|
|
3589
|
-
"allowNo": true,
|
|
3590
|
-
"type": "boolean"
|
|
3591
|
-
},
|
|
3592
|
-
"tasks": {
|
|
3593
|
-
"description": "Enable/disable background tasks",
|
|
3594
|
-
"name": "tasks",
|
|
3595
|
-
"required": false,
|
|
3596
|
-
"allowNo": true,
|
|
3597
|
-
"type": "boolean"
|
|
3598
|
-
},
|
|
3599
3666
|
"workspace": {
|
|
3600
3667
|
"char": "w",
|
|
3601
3668
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3608,7 +3675,7 @@
|
|
|
3608
3675
|
},
|
|
3609
3676
|
"hasDynamicHelp": false,
|
|
3610
3677
|
"hiddenAliases": [],
|
|
3611
|
-
"id": "tenant:
|
|
3678
|
+
"id": "tenant:deploy_platform",
|
|
3612
3679
|
"pluginAlias": "@xano/cli",
|
|
3613
3680
|
"pluginName": "@xano/cli",
|
|
3614
3681
|
"pluginType": "core",
|
|
@@ -3619,7 +3686,7 @@
|
|
|
3619
3686
|
"dist",
|
|
3620
3687
|
"commands",
|
|
3621
3688
|
"tenant",
|
|
3622
|
-
"
|
|
3689
|
+
"deploy_platform",
|
|
3623
3690
|
"index.js"
|
|
3624
3691
|
]
|
|
3625
3692
|
},
|
|
@@ -3781,20 +3848,21 @@
|
|
|
3781
3848
|
"index.js"
|
|
3782
3849
|
]
|
|
3783
3850
|
},
|
|
3784
|
-
"
|
|
3851
|
+
"tenant:pull": {
|
|
3785
3852
|
"aliases": [],
|
|
3786
3853
|
"args": {
|
|
3787
|
-
"
|
|
3788
|
-
"description": "
|
|
3789
|
-
"name": "
|
|
3790
|
-
"required":
|
|
3854
|
+
"directory": {
|
|
3855
|
+
"description": "Output directory for pulled documents",
|
|
3856
|
+
"name": "directory",
|
|
3857
|
+
"required": true
|
|
3791
3858
|
}
|
|
3792
3859
|
},
|
|
3793
|
-
"description": "
|
|
3860
|
+
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3794
3861
|
"examples": [
|
|
3795
|
-
"$ xano
|
|
3796
|
-
"$ xano
|
|
3797
|
-
"$ xano
|
|
3862
|
+
"$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
|
|
3863
|
+
"$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
|
|
3864
|
+
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3865
|
+
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3798
3866
|
],
|
|
3799
3867
|
"flags": {
|
|
3800
3868
|
"profile": {
|
|
@@ -3816,83 +3884,39 @@
|
|
|
3816
3884
|
"allowNo": false,
|
|
3817
3885
|
"type": "boolean"
|
|
3818
3886
|
},
|
|
3819
|
-
"
|
|
3820
|
-
"
|
|
3821
|
-
"
|
|
3822
|
-
"name": "output",
|
|
3823
|
-
"required": false,
|
|
3824
|
-
"default": "summary",
|
|
3825
|
-
"hasDynamicHelp": false,
|
|
3826
|
-
"multiple": false,
|
|
3827
|
-
"options": [
|
|
3828
|
-
"summary",
|
|
3829
|
-
"json"
|
|
3830
|
-
],
|
|
3831
|
-
"type": "option"
|
|
3832
|
-
}
|
|
3833
|
-
},
|
|
3834
|
-
"hasDynamicHelp": false,
|
|
3835
|
-
"hiddenAliases": [],
|
|
3836
|
-
"id": "branch:list",
|
|
3837
|
-
"pluginAlias": "@xano/cli",
|
|
3838
|
-
"pluginName": "@xano/cli",
|
|
3839
|
-
"pluginType": "core",
|
|
3840
|
-
"strict": true,
|
|
3841
|
-
"enableJsonFlag": false,
|
|
3842
|
-
"isESM": true,
|
|
3843
|
-
"relativePath": [
|
|
3844
|
-
"dist",
|
|
3845
|
-
"commands",
|
|
3846
|
-
"branch",
|
|
3847
|
-
"list",
|
|
3848
|
-
"index.js"
|
|
3849
|
-
]
|
|
3850
|
-
},
|
|
3851
|
-
"tenant:list": {
|
|
3852
|
-
"aliases": [],
|
|
3853
|
-
"args": {},
|
|
3854
|
-
"description": "List all tenants in a workspace",
|
|
3855
|
-
"examples": [
|
|
3856
|
-
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n Cluster: us-central\n Release: r1\n Platform: default\n - Staging (staging) [ok] - tier1\n Cluster: us-central\n Release: r1\n",
|
|
3857
|
-
"$ xano tenant list -w 5 --output json"
|
|
3858
|
-
],
|
|
3859
|
-
"flags": {
|
|
3860
|
-
"profile": {
|
|
3861
|
-
"char": "p",
|
|
3862
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3863
|
-
"env": "XANO_PROFILE",
|
|
3864
|
-
"name": "profile",
|
|
3887
|
+
"draft": {
|
|
3888
|
+
"description": "Include draft versions",
|
|
3889
|
+
"name": "draft",
|
|
3865
3890
|
"required": false,
|
|
3866
|
-
"
|
|
3867
|
-
"
|
|
3868
|
-
"type": "option"
|
|
3891
|
+
"allowNo": false,
|
|
3892
|
+
"type": "boolean"
|
|
3869
3893
|
},
|
|
3870
|
-
"
|
|
3871
|
-
"
|
|
3872
|
-
"
|
|
3873
|
-
"env": "XANO_VERBOSE",
|
|
3874
|
-
"name": "verbose",
|
|
3894
|
+
"env": {
|
|
3895
|
+
"description": "Include environment variables",
|
|
3896
|
+
"name": "env",
|
|
3875
3897
|
"required": false,
|
|
3876
3898
|
"allowNo": false,
|
|
3877
3899
|
"type": "boolean"
|
|
3878
3900
|
},
|
|
3879
|
-
"
|
|
3880
|
-
"
|
|
3881
|
-
"
|
|
3882
|
-
"name": "output",
|
|
3901
|
+
"records": {
|
|
3902
|
+
"description": "Include records",
|
|
3903
|
+
"name": "records",
|
|
3883
3904
|
"required": false,
|
|
3884
|
-
"
|
|
3905
|
+
"allowNo": false,
|
|
3906
|
+
"type": "boolean"
|
|
3907
|
+
},
|
|
3908
|
+
"tenant": {
|
|
3909
|
+
"char": "t",
|
|
3910
|
+
"description": "Tenant name to pull from",
|
|
3911
|
+
"name": "tenant",
|
|
3912
|
+
"required": true,
|
|
3885
3913
|
"hasDynamicHelp": false,
|
|
3886
3914
|
"multiple": false,
|
|
3887
|
-
"options": [
|
|
3888
|
-
"summary",
|
|
3889
|
-
"json"
|
|
3890
|
-
],
|
|
3891
3915
|
"type": "option"
|
|
3892
3916
|
},
|
|
3893
3917
|
"workspace": {
|
|
3894
3918
|
"char": "w",
|
|
3895
|
-
"description": "Workspace ID (
|
|
3919
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3896
3920
|
"name": "workspace",
|
|
3897
3921
|
"required": false,
|
|
3898
3922
|
"hasDynamicHelp": false,
|
|
@@ -3902,7 +3926,7 @@
|
|
|
3902
3926
|
},
|
|
3903
3927
|
"hasDynamicHelp": false,
|
|
3904
3928
|
"hiddenAliases": [],
|
|
3905
|
-
"id": "tenant:
|
|
3929
|
+
"id": "tenant:pull",
|
|
3906
3930
|
"pluginAlias": "@xano/cli",
|
|
3907
3931
|
"pluginName": "@xano/cli",
|
|
3908
3932
|
"pluginType": "core",
|
|
@@ -3913,25 +3937,27 @@
|
|
|
3913
3937
|
"dist",
|
|
3914
3938
|
"commands",
|
|
3915
3939
|
"tenant",
|
|
3916
|
-
"
|
|
3940
|
+
"pull",
|
|
3917
3941
|
"index.js"
|
|
3918
3942
|
]
|
|
3919
3943
|
},
|
|
3920
|
-
"tenant:
|
|
3944
|
+
"tenant:push": {
|
|
3921
3945
|
"aliases": [],
|
|
3922
3946
|
"args": {
|
|
3923
3947
|
"directory": {
|
|
3924
|
-
"description": "
|
|
3948
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3925
3949
|
"name": "directory",
|
|
3926
3950
|
"required": true
|
|
3927
3951
|
}
|
|
3928
3952
|
},
|
|
3929
|
-
"description": "
|
|
3953
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3930
3954
|
"examples": [
|
|
3931
|
-
"$ xano tenant
|
|
3932
|
-
"$ xano tenant
|
|
3933
|
-
"$ xano tenant
|
|
3934
|
-
"$ xano tenant
|
|
3955
|
+
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3956
|
+
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
3957
|
+
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3958
|
+
"$ xano tenant push ./my-workspace -t my-tenant --records\nInclude table records in import\n",
|
|
3959
|
+
"$ xano tenant push ./my-workspace -t my-tenant --env\nInclude environment variables in import\n",
|
|
3960
|
+
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3935
3961
|
],
|
|
3936
3962
|
"flags": {
|
|
3937
3963
|
"profile": {
|
|
@@ -3953,22 +3979,15 @@
|
|
|
3953
3979
|
"allowNo": false,
|
|
3954
3980
|
"type": "boolean"
|
|
3955
3981
|
},
|
|
3956
|
-
"draft": {
|
|
3957
|
-
"description": "Include draft versions",
|
|
3958
|
-
"name": "draft",
|
|
3959
|
-
"required": false,
|
|
3960
|
-
"allowNo": false,
|
|
3961
|
-
"type": "boolean"
|
|
3962
|
-
},
|
|
3963
3982
|
"env": {
|
|
3964
|
-
"description": "Include environment variables",
|
|
3983
|
+
"description": "Include environment variables in import",
|
|
3965
3984
|
"name": "env",
|
|
3966
3985
|
"required": false,
|
|
3967
3986
|
"allowNo": false,
|
|
3968
3987
|
"type": "boolean"
|
|
3969
3988
|
},
|
|
3970
3989
|
"records": {
|
|
3971
|
-
"description": "Include records",
|
|
3990
|
+
"description": "Include records in import",
|
|
3972
3991
|
"name": "records",
|
|
3973
3992
|
"required": false,
|
|
3974
3993
|
"allowNo": false,
|
|
@@ -3976,13 +3995,27 @@
|
|
|
3976
3995
|
},
|
|
3977
3996
|
"tenant": {
|
|
3978
3997
|
"char": "t",
|
|
3979
|
-
"description": "Tenant name to
|
|
3998
|
+
"description": "Tenant name to push to",
|
|
3980
3999
|
"name": "tenant",
|
|
3981
4000
|
"required": true,
|
|
3982
4001
|
"hasDynamicHelp": false,
|
|
3983
4002
|
"multiple": false,
|
|
3984
4003
|
"type": "option"
|
|
3985
4004
|
},
|
|
4005
|
+
"transaction": {
|
|
4006
|
+
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
4007
|
+
"name": "transaction",
|
|
4008
|
+
"required": false,
|
|
4009
|
+
"allowNo": true,
|
|
4010
|
+
"type": "boolean"
|
|
4011
|
+
},
|
|
4012
|
+
"truncate": {
|
|
4013
|
+
"description": "Truncate all table records before importing",
|
|
4014
|
+
"name": "truncate",
|
|
4015
|
+
"required": false,
|
|
4016
|
+
"allowNo": false,
|
|
4017
|
+
"type": "boolean"
|
|
4018
|
+
},
|
|
3986
4019
|
"workspace": {
|
|
3987
4020
|
"char": "w",
|
|
3988
4021
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -3995,7 +4028,7 @@
|
|
|
3995
4028
|
},
|
|
3996
4029
|
"hasDynamicHelp": false,
|
|
3997
4030
|
"hiddenAliases": [],
|
|
3998
|
-
"id": "tenant:
|
|
4031
|
+
"id": "tenant:push",
|
|
3999
4032
|
"pluginAlias": "@xano/cli",
|
|
4000
4033
|
"pluginName": "@xano/cli",
|
|
4001
4034
|
"pluginType": "core",
|
|
@@ -4006,18 +4039,17 @@
|
|
|
4006
4039
|
"dist",
|
|
4007
4040
|
"commands",
|
|
4008
4041
|
"tenant",
|
|
4009
|
-
"
|
|
4042
|
+
"push",
|
|
4010
4043
|
"index.js"
|
|
4011
4044
|
]
|
|
4012
4045
|
},
|
|
4013
|
-
"
|
|
4046
|
+
"tenant:list": {
|
|
4014
4047
|
"aliases": [],
|
|
4015
4048
|
"args": {},
|
|
4016
|
-
"description": "List all
|
|
4049
|
+
"description": "List all tenants in a workspace",
|
|
4017
4050
|
"examples": [
|
|
4018
|
-
"$ xano
|
|
4019
|
-
"$ xano
|
|
4020
|
-
"$ xano unit-test list --obj-type function"
|
|
4051
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n Cluster: us-central\n Release: r1\n Platform: default\n - Staging (staging) [ok] - tier1\n Cluster: us-central\n Release: r1\n",
|
|
4052
|
+
"$ xano tenant list -w 5 --output json"
|
|
4021
4053
|
],
|
|
4022
4054
|
"flags": {
|
|
4023
4055
|
"profile": {
|
|
@@ -4039,28 +4071,6 @@
|
|
|
4039
4071
|
"allowNo": false,
|
|
4040
4072
|
"type": "boolean"
|
|
4041
4073
|
},
|
|
4042
|
-
"branch": {
|
|
4043
|
-
"char": "b",
|
|
4044
|
-
"description": "Filter by branch name",
|
|
4045
|
-
"name": "branch",
|
|
4046
|
-
"required": false,
|
|
4047
|
-
"hasDynamicHelp": false,
|
|
4048
|
-
"multiple": false,
|
|
4049
|
-
"type": "option"
|
|
4050
|
-
},
|
|
4051
|
-
"obj-type": {
|
|
4052
|
-
"description": "Filter by object type",
|
|
4053
|
-
"name": "obj-type",
|
|
4054
|
-
"required": false,
|
|
4055
|
-
"hasDynamicHelp": false,
|
|
4056
|
-
"multiple": false,
|
|
4057
|
-
"options": [
|
|
4058
|
-
"function",
|
|
4059
|
-
"query",
|
|
4060
|
-
"middleware"
|
|
4061
|
-
],
|
|
4062
|
-
"type": "option"
|
|
4063
|
-
},
|
|
4064
4074
|
"output": {
|
|
4065
4075
|
"char": "o",
|
|
4066
4076
|
"description": "Output format",
|
|
@@ -4087,7 +4097,7 @@
|
|
|
4087
4097
|
},
|
|
4088
4098
|
"hasDynamicHelp": false,
|
|
4089
4099
|
"hiddenAliases": [],
|
|
4090
|
-
"id": "
|
|
4100
|
+
"id": "tenant:list",
|
|
4091
4101
|
"pluginAlias": "@xano/cli",
|
|
4092
4102
|
"pluginName": "@xano/cli",
|
|
4093
4103
|
"pluginType": "core",
|
|
@@ -4097,18 +4107,19 @@
|
|
|
4097
4107
|
"relativePath": [
|
|
4098
4108
|
"dist",
|
|
4099
4109
|
"commands",
|
|
4100
|
-
"
|
|
4110
|
+
"tenant",
|
|
4101
4111
|
"list",
|
|
4102
4112
|
"index.js"
|
|
4103
4113
|
]
|
|
4104
4114
|
},
|
|
4105
|
-
"unit_test:
|
|
4115
|
+
"unit_test:list": {
|
|
4106
4116
|
"aliases": [],
|
|
4107
4117
|
"args": {},
|
|
4108
|
-
"description": "
|
|
4118
|
+
"description": "List all unit tests in a workspace",
|
|
4109
4119
|
"examples": [
|
|
4110
|
-
"$ xano unit-test
|
|
4111
|
-
"$ xano unit-test
|
|
4120
|
+
"$ 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",
|
|
4121
|
+
"$ xano unit-test list -w 5 --output json",
|
|
4122
|
+
"$ xano unit-test list --obj-type function"
|
|
4112
4123
|
],
|
|
4113
4124
|
"flags": {
|
|
4114
4125
|
"profile": {
|
|
@@ -4178,7 +4189,7 @@
|
|
|
4178
4189
|
},
|
|
4179
4190
|
"hasDynamicHelp": false,
|
|
4180
4191
|
"hiddenAliases": [],
|
|
4181
|
-
"id": "unit_test:
|
|
4192
|
+
"id": "unit_test:list",
|
|
4182
4193
|
"pluginAlias": "@xano/cli",
|
|
4183
4194
|
"pluginName": "@xano/cli",
|
|
4184
4195
|
"pluginType": "core",
|
|
@@ -4189,7 +4200,7 @@
|
|
|
4189
4200
|
"dist",
|
|
4190
4201
|
"commands",
|
|
4191
4202
|
"unit_test",
|
|
4192
|
-
"
|
|
4203
|
+
"list",
|
|
4193
4204
|
"index.js"
|
|
4194
4205
|
]
|
|
4195
4206
|
},
|
|
@@ -4268,19 +4279,13 @@
|
|
|
4268
4279
|
"index.js"
|
|
4269
4280
|
]
|
|
4270
4281
|
},
|
|
4271
|
-
"
|
|
4282
|
+
"unit_test:run_all": {
|
|
4272
4283
|
"aliases": [],
|
|
4273
|
-
"args": {
|
|
4274
|
-
|
|
4275
|
-
"description": "ID of the workflow test to delete",
|
|
4276
|
-
"name": "workflow_test_id",
|
|
4277
|
-
"required": true
|
|
4278
|
-
}
|
|
4279
|
-
},
|
|
4280
|
-
"description": "Delete a workflow test",
|
|
4284
|
+
"args": {},
|
|
4285
|
+
"description": "Run all unit tests in a workspace",
|
|
4281
4286
|
"examples": [
|
|
4282
|
-
"$ xano
|
|
4283
|
-
"$ xano
|
|
4287
|
+
"$ 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",
|
|
4288
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
4284
4289
|
],
|
|
4285
4290
|
"flags": {
|
|
4286
4291
|
"profile": {
|
|
@@ -4302,13 +4307,27 @@
|
|
|
4302
4307
|
"allowNo": false,
|
|
4303
4308
|
"type": "boolean"
|
|
4304
4309
|
},
|
|
4305
|
-
"
|
|
4306
|
-
"char": "
|
|
4307
|
-
"description": "
|
|
4308
|
-
"name": "
|
|
4310
|
+
"branch": {
|
|
4311
|
+
"char": "b",
|
|
4312
|
+
"description": "Filter by branch name",
|
|
4313
|
+
"name": "branch",
|
|
4309
4314
|
"required": false,
|
|
4310
|
-
"
|
|
4311
|
-
"
|
|
4315
|
+
"hasDynamicHelp": false,
|
|
4316
|
+
"multiple": false,
|
|
4317
|
+
"type": "option"
|
|
4318
|
+
},
|
|
4319
|
+
"obj-type": {
|
|
4320
|
+
"description": "Filter by object type",
|
|
4321
|
+
"name": "obj-type",
|
|
4322
|
+
"required": false,
|
|
4323
|
+
"hasDynamicHelp": false,
|
|
4324
|
+
"multiple": false,
|
|
4325
|
+
"options": [
|
|
4326
|
+
"function",
|
|
4327
|
+
"query",
|
|
4328
|
+
"middleware"
|
|
4329
|
+
],
|
|
4330
|
+
"type": "option"
|
|
4312
4331
|
},
|
|
4313
4332
|
"output": {
|
|
4314
4333
|
"char": "o",
|
|
@@ -4336,7 +4355,7 @@
|
|
|
4336
4355
|
},
|
|
4337
4356
|
"hasDynamicHelp": false,
|
|
4338
4357
|
"hiddenAliases": [],
|
|
4339
|
-
"id": "
|
|
4358
|
+
"id": "unit_test:run_all",
|
|
4340
4359
|
"pluginAlias": "@xano/cli",
|
|
4341
4360
|
"pluginName": "@xano/cli",
|
|
4342
4361
|
"pluginType": "core",
|
|
@@ -4346,19 +4365,24 @@
|
|
|
4346
4365
|
"relativePath": [
|
|
4347
4366
|
"dist",
|
|
4348
4367
|
"commands",
|
|
4349
|
-
"
|
|
4350
|
-
"
|
|
4368
|
+
"unit_test",
|
|
4369
|
+
"run_all",
|
|
4351
4370
|
"index.js"
|
|
4352
4371
|
]
|
|
4353
4372
|
},
|
|
4354
|
-
"workflow_test:
|
|
4373
|
+
"workflow_test:delete": {
|
|
4355
4374
|
"aliases": [],
|
|
4356
|
-
"args": {
|
|
4357
|
-
|
|
4375
|
+
"args": {
|
|
4376
|
+
"workflow_test_id": {
|
|
4377
|
+
"description": "ID of the workflow test to delete",
|
|
4378
|
+
"name": "workflow_test_id",
|
|
4379
|
+
"required": true
|
|
4380
|
+
}
|
|
4381
|
+
},
|
|
4382
|
+
"description": "Delete a workflow test",
|
|
4358
4383
|
"examples": [
|
|
4359
|
-
"$ xano workflow-test
|
|
4360
|
-
"$ xano workflow-test
|
|
4361
|
-
"$ xano workflow-test list --branch main"
|
|
4384
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
4385
|
+
"$ xano workflow-test delete 1 --force"
|
|
4362
4386
|
],
|
|
4363
4387
|
"flags": {
|
|
4364
4388
|
"profile": {
|
|
@@ -4380,14 +4404,13 @@
|
|
|
4380
4404
|
"allowNo": false,
|
|
4381
4405
|
"type": "boolean"
|
|
4382
4406
|
},
|
|
4383
|
-
"
|
|
4384
|
-
"char": "
|
|
4385
|
-
"description": "
|
|
4386
|
-
"name": "
|
|
4407
|
+
"force": {
|
|
4408
|
+
"char": "f",
|
|
4409
|
+
"description": "Skip confirmation prompt",
|
|
4410
|
+
"name": "force",
|
|
4387
4411
|
"required": false,
|
|
4388
|
-
"
|
|
4389
|
-
"
|
|
4390
|
-
"type": "option"
|
|
4412
|
+
"allowNo": false,
|
|
4413
|
+
"type": "boolean"
|
|
4391
4414
|
},
|
|
4392
4415
|
"output": {
|
|
4393
4416
|
"char": "o",
|
|
@@ -4415,7 +4438,7 @@
|
|
|
4415
4438
|
},
|
|
4416
4439
|
"hasDynamicHelp": false,
|
|
4417
4440
|
"hiddenAliases": [],
|
|
4418
|
-
"id": "workflow_test:
|
|
4441
|
+
"id": "workflow_test:delete",
|
|
4419
4442
|
"pluginAlias": "@xano/cli",
|
|
4420
4443
|
"pluginName": "@xano/cli",
|
|
4421
4444
|
"pluginType": "core",
|
|
@@ -4426,7 +4449,7 @@
|
|
|
4426
4449
|
"dist",
|
|
4427
4450
|
"commands",
|
|
4428
4451
|
"workflow_test",
|
|
4429
|
-
"
|
|
4452
|
+
"delete",
|
|
4430
4453
|
"index.js"
|
|
4431
4454
|
]
|
|
4432
4455
|
},
|
|
@@ -4514,19 +4537,14 @@
|
|
|
4514
4537
|
"index.js"
|
|
4515
4538
|
]
|
|
4516
4539
|
},
|
|
4517
|
-
"workflow_test:
|
|
4540
|
+
"workflow_test:list": {
|
|
4518
4541
|
"aliases": [],
|
|
4519
|
-
"args": {
|
|
4520
|
-
|
|
4521
|
-
"description": "ID of the workflow test to run",
|
|
4522
|
-
"name": "workflow_test_id",
|
|
4523
|
-
"required": true
|
|
4524
|
-
}
|
|
4525
|
-
},
|
|
4526
|
-
"description": "Run a workflow test",
|
|
4542
|
+
"args": {},
|
|
4543
|
+
"description": "List all workflow tests in a workspace",
|
|
4527
4544
|
"examples": [
|
|
4528
|
-
"$ xano workflow-test
|
|
4529
|
-
"$ xano workflow-test
|
|
4545
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
4546
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
4547
|
+
"$ xano workflow-test list --branch main"
|
|
4530
4548
|
],
|
|
4531
4549
|
"flags": {
|
|
4532
4550
|
"profile": {
|
|
@@ -4548,6 +4566,15 @@
|
|
|
4548
4566
|
"allowNo": false,
|
|
4549
4567
|
"type": "boolean"
|
|
4550
4568
|
},
|
|
4569
|
+
"branch": {
|
|
4570
|
+
"char": "b",
|
|
4571
|
+
"description": "Filter by branch name",
|
|
4572
|
+
"name": "branch",
|
|
4573
|
+
"required": false,
|
|
4574
|
+
"hasDynamicHelp": false,
|
|
4575
|
+
"multiple": false,
|
|
4576
|
+
"type": "option"
|
|
4577
|
+
},
|
|
4551
4578
|
"output": {
|
|
4552
4579
|
"char": "o",
|
|
4553
4580
|
"description": "Output format",
|
|
@@ -4574,7 +4601,7 @@
|
|
|
4574
4601
|
},
|
|
4575
4602
|
"hasDynamicHelp": false,
|
|
4576
4603
|
"hiddenAliases": [],
|
|
4577
|
-
"id": "workflow_test:
|
|
4604
|
+
"id": "workflow_test:list",
|
|
4578
4605
|
"pluginAlias": "@xano/cli",
|
|
4579
4606
|
"pluginName": "@xano/cli",
|
|
4580
4607
|
"pluginType": "core",
|
|
@@ -4585,7 +4612,7 @@
|
|
|
4585
4612
|
"dist",
|
|
4586
4613
|
"commands",
|
|
4587
4614
|
"workflow_test",
|
|
4588
|
-
"
|
|
4615
|
+
"list",
|
|
4589
4616
|
"index.js"
|
|
4590
4617
|
]
|
|
4591
4618
|
},
|
|
@@ -4992,6 +5019,81 @@
|
|
|
4992
5019
|
"index.js"
|
|
4993
5020
|
]
|
|
4994
5021
|
},
|
|
5022
|
+
"workflow_test:run": {
|
|
5023
|
+
"aliases": [],
|
|
5024
|
+
"args": {
|
|
5025
|
+
"workflow_test_id": {
|
|
5026
|
+
"description": "ID of the workflow test to run",
|
|
5027
|
+
"name": "workflow_test_id",
|
|
5028
|
+
"required": true
|
|
5029
|
+
}
|
|
5030
|
+
},
|
|
5031
|
+
"description": "Run a workflow test",
|
|
5032
|
+
"examples": [
|
|
5033
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
5034
|
+
"$ xano workflow-test run 1 -o json"
|
|
5035
|
+
],
|
|
5036
|
+
"flags": {
|
|
5037
|
+
"profile": {
|
|
5038
|
+
"char": "p",
|
|
5039
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5040
|
+
"env": "XANO_PROFILE",
|
|
5041
|
+
"name": "profile",
|
|
5042
|
+
"required": false,
|
|
5043
|
+
"hasDynamicHelp": false,
|
|
5044
|
+
"multiple": false,
|
|
5045
|
+
"type": "option"
|
|
5046
|
+
},
|
|
5047
|
+
"verbose": {
|
|
5048
|
+
"char": "v",
|
|
5049
|
+
"description": "Show detailed request/response information",
|
|
5050
|
+
"env": "XANO_VERBOSE",
|
|
5051
|
+
"name": "verbose",
|
|
5052
|
+
"required": false,
|
|
5053
|
+
"allowNo": false,
|
|
5054
|
+
"type": "boolean"
|
|
5055
|
+
},
|
|
5056
|
+
"output": {
|
|
5057
|
+
"char": "o",
|
|
5058
|
+
"description": "Output format",
|
|
5059
|
+
"name": "output",
|
|
5060
|
+
"required": false,
|
|
5061
|
+
"default": "summary",
|
|
5062
|
+
"hasDynamicHelp": false,
|
|
5063
|
+
"multiple": false,
|
|
5064
|
+
"options": [
|
|
5065
|
+
"summary",
|
|
5066
|
+
"json"
|
|
5067
|
+
],
|
|
5068
|
+
"type": "option"
|
|
5069
|
+
},
|
|
5070
|
+
"workspace": {
|
|
5071
|
+
"char": "w",
|
|
5072
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5073
|
+
"name": "workspace",
|
|
5074
|
+
"required": false,
|
|
5075
|
+
"hasDynamicHelp": false,
|
|
5076
|
+
"multiple": false,
|
|
5077
|
+
"type": "option"
|
|
5078
|
+
}
|
|
5079
|
+
},
|
|
5080
|
+
"hasDynamicHelp": false,
|
|
5081
|
+
"hiddenAliases": [],
|
|
5082
|
+
"id": "workflow_test:run",
|
|
5083
|
+
"pluginAlias": "@xano/cli",
|
|
5084
|
+
"pluginName": "@xano/cli",
|
|
5085
|
+
"pluginType": "core",
|
|
5086
|
+
"strict": true,
|
|
5087
|
+
"enableJsonFlag": false,
|
|
5088
|
+
"isESM": true,
|
|
5089
|
+
"relativePath": [
|
|
5090
|
+
"dist",
|
|
5091
|
+
"commands",
|
|
5092
|
+
"workflow_test",
|
|
5093
|
+
"run",
|
|
5094
|
+
"index.js"
|
|
5095
|
+
]
|
|
5096
|
+
},
|
|
4995
5097
|
"workspace:list": {
|
|
4996
5098
|
"aliases": [],
|
|
4997
5099
|
"args": {},
|
|
@@ -5060,32 +5162,22 @@
|
|
|
5060
5162
|
"index.js"
|
|
5061
5163
|
]
|
|
5062
5164
|
},
|
|
5063
|
-
"workspace:
|
|
5165
|
+
"workspace:pull": {
|
|
5064
5166
|
"aliases": [],
|
|
5065
5167
|
"args": {
|
|
5066
5168
|
"directory": {
|
|
5067
|
-
"description": "
|
|
5169
|
+
"description": "Output directory for pulled documents",
|
|
5068
5170
|
"name": "directory",
|
|
5069
5171
|
"required": true
|
|
5070
5172
|
}
|
|
5071
5173
|
},
|
|
5072
|
-
"description": "
|
|
5174
|
+
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
5073
5175
|
"examples": [
|
|
5074
|
-
"$ xano workspace
|
|
5075
|
-
"$ xano workspace
|
|
5076
|
-
"$ xano workspace
|
|
5077
|
-
"$ xano workspace
|
|
5078
|
-
"$ xano workspace
|
|
5079
|
-
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
5080
|
-
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
5081
|
-
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
5082
|
-
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
5083
|
-
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
5084
|
-
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
5085
|
-
"$ xano workspace push ./my-workspace -i \"**/func*\"\nPush only files matching the glob pattern\n",
|
|
5086
|
-
"$ xano workspace push ./my-workspace -i \"function/*\" -i \"table/*\"\nPush files matching multiple patterns\n",
|
|
5087
|
-
"$ xano workspace push ./my-workspace -e \"table/*\"\nPush all files except tables\n",
|
|
5088
|
-
"$ xano workspace push ./my-workspace -i \"function/*\" -e \"**/test*\"\nPush functions but exclude test files\n"
|
|
5176
|
+
"$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
5177
|
+
"$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
|
|
5178
|
+
"$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
|
|
5179
|
+
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
5180
|
+
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
5089
5181
|
],
|
|
5090
5182
|
"flags": {
|
|
5091
5183
|
"profile": {
|
|
@@ -5116,62 +5208,27 @@
|
|
|
5116
5208
|
"multiple": false,
|
|
5117
5209
|
"type": "option"
|
|
5118
5210
|
},
|
|
5119
|
-
"delete": {
|
|
5120
|
-
"description": "Delete workspace objects not included in the push (requires --sync)",
|
|
5121
|
-
"name": "delete",
|
|
5122
|
-
"required": false,
|
|
5123
|
-
"allowNo": false,
|
|
5124
|
-
"type": "boolean"
|
|
5125
|
-
},
|
|
5126
|
-
"dry-run": {
|
|
5127
|
-
"description": "Show preview of changes without pushing (exit after preview)",
|
|
5128
|
-
"name": "dry-run",
|
|
5129
|
-
"required": false,
|
|
5130
|
-
"allowNo": false,
|
|
5131
|
-
"type": "boolean"
|
|
5132
|
-
},
|
|
5133
5211
|
"env": {
|
|
5134
|
-
"description": "Include environment variables
|
|
5212
|
+
"description": "Include environment variables",
|
|
5135
5213
|
"name": "env",
|
|
5136
5214
|
"required": false,
|
|
5137
5215
|
"allowNo": false,
|
|
5138
5216
|
"type": "boolean"
|
|
5139
5217
|
},
|
|
5140
|
-
"
|
|
5141
|
-
"description": "
|
|
5142
|
-
"name": "
|
|
5218
|
+
"draft": {
|
|
5219
|
+
"description": "Include draft versions",
|
|
5220
|
+
"name": "draft",
|
|
5143
5221
|
"required": false,
|
|
5144
5222
|
"allowNo": false,
|
|
5145
5223
|
"type": "boolean"
|
|
5146
5224
|
},
|
|
5147
5225
|
"records": {
|
|
5148
|
-
"description": "Include records
|
|
5226
|
+
"description": "Include records",
|
|
5149
5227
|
"name": "records",
|
|
5150
5228
|
"required": false,
|
|
5151
5229
|
"allowNo": false,
|
|
5152
5230
|
"type": "boolean"
|
|
5153
5231
|
},
|
|
5154
|
-
"guids": {
|
|
5155
|
-
"description": "Write server-assigned GUIDs back to local files (use --no-guids to skip)",
|
|
5156
|
-
"name": "guids",
|
|
5157
|
-
"required": false,
|
|
5158
|
-
"allowNo": true,
|
|
5159
|
-
"type": "boolean"
|
|
5160
|
-
},
|
|
5161
|
-
"transaction": {
|
|
5162
|
-
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
5163
|
-
"name": "transaction",
|
|
5164
|
-
"required": false,
|
|
5165
|
-
"allowNo": true,
|
|
5166
|
-
"type": "boolean"
|
|
5167
|
-
},
|
|
5168
|
-
"truncate": {
|
|
5169
|
-
"description": "Truncate all table records before importing",
|
|
5170
|
-
"name": "truncate",
|
|
5171
|
-
"required": false,
|
|
5172
|
-
"allowNo": false,
|
|
5173
|
-
"type": "boolean"
|
|
5174
|
-
},
|
|
5175
5232
|
"workspace": {
|
|
5176
5233
|
"char": "w",
|
|
5177
5234
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -5180,36 +5237,11 @@
|
|
|
5180
5237
|
"hasDynamicHelp": false,
|
|
5181
5238
|
"multiple": false,
|
|
5182
5239
|
"type": "option"
|
|
5183
|
-
},
|
|
5184
|
-
"exclude": {
|
|
5185
|
-
"char": "e",
|
|
5186
|
-
"description": "Glob pattern to exclude files (e.g. \"table/*\", \"**/test*\"). Matched against relative paths from the push directory.",
|
|
5187
|
-
"name": "exclude",
|
|
5188
|
-
"required": false,
|
|
5189
|
-
"hasDynamicHelp": false,
|
|
5190
|
-
"multiple": true,
|
|
5191
|
-
"type": "option"
|
|
5192
|
-
},
|
|
5193
|
-
"include": {
|
|
5194
|
-
"char": "i",
|
|
5195
|
-
"description": "Glob pattern to include files (e.g. \"**/func*\", \"table/*.xs\"). Matched against relative paths from the push directory.",
|
|
5196
|
-
"name": "include",
|
|
5197
|
-
"required": false,
|
|
5198
|
-
"hasDynamicHelp": false,
|
|
5199
|
-
"multiple": true,
|
|
5200
|
-
"type": "option"
|
|
5201
|
-
},
|
|
5202
|
-
"force": {
|
|
5203
|
-
"description": "Skip preview and confirmation prompt (for CI/CD pipelines)",
|
|
5204
|
-
"name": "force",
|
|
5205
|
-
"required": false,
|
|
5206
|
-
"allowNo": false,
|
|
5207
|
-
"type": "boolean"
|
|
5208
5240
|
}
|
|
5209
5241
|
},
|
|
5210
5242
|
"hasDynamicHelp": false,
|
|
5211
5243
|
"hiddenAliases": [],
|
|
5212
|
-
"id": "workspace:
|
|
5244
|
+
"id": "workspace:pull",
|
|
5213
5245
|
"pluginAlias": "@xano/cli",
|
|
5214
5246
|
"pluginName": "@xano/cli",
|
|
5215
5247
|
"pluginType": "core",
|
|
@@ -5220,26 +5252,36 @@
|
|
|
5220
5252
|
"dist",
|
|
5221
5253
|
"commands",
|
|
5222
5254
|
"workspace",
|
|
5223
|
-
"
|
|
5255
|
+
"pull",
|
|
5224
5256
|
"index.js"
|
|
5225
5257
|
]
|
|
5226
5258
|
},
|
|
5227
|
-
"workspace:
|
|
5259
|
+
"workspace:push": {
|
|
5228
5260
|
"aliases": [],
|
|
5229
5261
|
"args": {
|
|
5230
5262
|
"directory": {
|
|
5231
|
-
"description": "
|
|
5263
|
+
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
5232
5264
|
"name": "directory",
|
|
5233
5265
|
"required": true
|
|
5234
5266
|
}
|
|
5235
5267
|
},
|
|
5236
|
-
"description": "
|
|
5268
|
+
"description": "Push local documents to a workspace. By default, only changed files are pushed (partial mode). Use --sync to push all files. Shows a preview of changes before pushing unless --force is specified. Use --dry-run to preview only.",
|
|
5237
5269
|
"examples": [
|
|
5238
|
-
"$ xano workspace
|
|
5239
|
-
"$ xano workspace
|
|
5240
|
-
"$ xano workspace
|
|
5241
|
-
"$ xano workspace
|
|
5242
|
-
"$ xano workspace
|
|
5270
|
+
"$ xano workspace push ./my-workspace\nPush only changed files (default partial mode)\n",
|
|
5271
|
+
"$ xano workspace push ./my-workspace --sync\nPush all files to the workspace\n",
|
|
5272
|
+
"$ xano workspace push ./my-workspace --sync --delete\nPush all files and delete remote objects not included\n",
|
|
5273
|
+
"$ xano workspace push ./my-workspace --dry-run\nPreview changes without pushing\n",
|
|
5274
|
+
"$ xano workspace push ./my-workspace --force\nSkip preview and push immediately (for CI/CD)\n",
|
|
5275
|
+
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
5276
|
+
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
5277
|
+
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
5278
|
+
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
5279
|
+
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
5280
|
+
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
5281
|
+
"$ xano workspace push ./my-workspace -i \"**/func*\"\nPush only files matching the glob pattern\n",
|
|
5282
|
+
"$ xano workspace push ./my-workspace -i \"function/*\" -i \"table/*\"\nPush files matching multiple patterns\n",
|
|
5283
|
+
"$ xano workspace push ./my-workspace -e \"table/*\"\nPush all files except tables\n",
|
|
5284
|
+
"$ xano workspace push ./my-workspace -i \"function/*\" -e \"**/test*\"\nPush functions but exclude test files\n"
|
|
5243
5285
|
],
|
|
5244
5286
|
"flags": {
|
|
5245
5287
|
"profile": {
|
|
@@ -5270,27 +5312,62 @@
|
|
|
5270
5312
|
"multiple": false,
|
|
5271
5313
|
"type": "option"
|
|
5272
5314
|
},
|
|
5315
|
+
"delete": {
|
|
5316
|
+
"description": "Delete workspace objects not included in the push (requires --sync)",
|
|
5317
|
+
"name": "delete",
|
|
5318
|
+
"required": false,
|
|
5319
|
+
"allowNo": false,
|
|
5320
|
+
"type": "boolean"
|
|
5321
|
+
},
|
|
5322
|
+
"dry-run": {
|
|
5323
|
+
"description": "Show preview of changes without pushing (exit after preview)",
|
|
5324
|
+
"name": "dry-run",
|
|
5325
|
+
"required": false,
|
|
5326
|
+
"allowNo": false,
|
|
5327
|
+
"type": "boolean"
|
|
5328
|
+
},
|
|
5273
5329
|
"env": {
|
|
5274
|
-
"description": "Include environment variables",
|
|
5330
|
+
"description": "Include environment variables in import",
|
|
5275
5331
|
"name": "env",
|
|
5276
5332
|
"required": false,
|
|
5277
5333
|
"allowNo": false,
|
|
5278
5334
|
"type": "boolean"
|
|
5279
5335
|
},
|
|
5280
|
-
"
|
|
5281
|
-
"description": "
|
|
5282
|
-
"name": "
|
|
5336
|
+
"sync": {
|
|
5337
|
+
"description": "Full push — send all files, not just changed ones. Required for --delete.",
|
|
5338
|
+
"name": "sync",
|
|
5283
5339
|
"required": false,
|
|
5284
5340
|
"allowNo": false,
|
|
5285
5341
|
"type": "boolean"
|
|
5286
5342
|
},
|
|
5287
5343
|
"records": {
|
|
5288
|
-
"description": "Include records",
|
|
5344
|
+
"description": "Include records in import",
|
|
5289
5345
|
"name": "records",
|
|
5290
5346
|
"required": false,
|
|
5291
5347
|
"allowNo": false,
|
|
5292
5348
|
"type": "boolean"
|
|
5293
5349
|
},
|
|
5350
|
+
"guids": {
|
|
5351
|
+
"description": "Write server-assigned GUIDs back to local files (use --no-guids to skip)",
|
|
5352
|
+
"name": "guids",
|
|
5353
|
+
"required": false,
|
|
5354
|
+
"allowNo": true,
|
|
5355
|
+
"type": "boolean"
|
|
5356
|
+
},
|
|
5357
|
+
"transaction": {
|
|
5358
|
+
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
5359
|
+
"name": "transaction",
|
|
5360
|
+
"required": false,
|
|
5361
|
+
"allowNo": true,
|
|
5362
|
+
"type": "boolean"
|
|
5363
|
+
},
|
|
5364
|
+
"truncate": {
|
|
5365
|
+
"description": "Truncate all table records before importing",
|
|
5366
|
+
"name": "truncate",
|
|
5367
|
+
"required": false,
|
|
5368
|
+
"allowNo": false,
|
|
5369
|
+
"type": "boolean"
|
|
5370
|
+
},
|
|
5294
5371
|
"workspace": {
|
|
5295
5372
|
"char": "w",
|
|
5296
5373
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -5299,49 +5376,28 @@
|
|
|
5299
5376
|
"hasDynamicHelp": false,
|
|
5300
5377
|
"multiple": false,
|
|
5301
5378
|
"type": "option"
|
|
5302
|
-
}
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
"pluginAlias": "@xano/cli",
|
|
5308
|
-
"pluginName": "@xano/cli",
|
|
5309
|
-
"pluginType": "core",
|
|
5310
|
-
"strict": true,
|
|
5311
|
-
"enableJsonFlag": false,
|
|
5312
|
-
"isESM": true,
|
|
5313
|
-
"relativePath": [
|
|
5314
|
-
"dist",
|
|
5315
|
-
"commands",
|
|
5316
|
-
"workspace",
|
|
5317
|
-
"pull",
|
|
5318
|
-
"index.js"
|
|
5319
|
-
]
|
|
5320
|
-
},
|
|
5321
|
-
"profile:workspace:set": {
|
|
5322
|
-
"aliases": [],
|
|
5323
|
-
"args": {},
|
|
5324
|
-
"description": "Interactively select a workspace for a profile",
|
|
5325
|
-
"examples": [
|
|
5326
|
-
"$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
|
|
5327
|
-
"$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
|
|
5328
|
-
],
|
|
5329
|
-
"flags": {
|
|
5330
|
-
"profile": {
|
|
5331
|
-
"char": "p",
|
|
5332
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5333
|
-
"env": "XANO_PROFILE",
|
|
5334
|
-
"name": "profile",
|
|
5379
|
+
},
|
|
5380
|
+
"exclude": {
|
|
5381
|
+
"char": "e",
|
|
5382
|
+
"description": "Glob pattern to exclude files (e.g. \"table/*\", \"**/test*\"). Matched against relative paths from the push directory.",
|
|
5383
|
+
"name": "exclude",
|
|
5335
5384
|
"required": false,
|
|
5336
5385
|
"hasDynamicHelp": false,
|
|
5337
|
-
"multiple":
|
|
5386
|
+
"multiple": true,
|
|
5338
5387
|
"type": "option"
|
|
5339
5388
|
},
|
|
5340
|
-
"
|
|
5341
|
-
"char": "
|
|
5342
|
-
"description": "
|
|
5343
|
-
"
|
|
5344
|
-
"
|
|
5389
|
+
"include": {
|
|
5390
|
+
"char": "i",
|
|
5391
|
+
"description": "Glob pattern to include files (e.g. \"**/func*\", \"table/*.xs\"). Matched against relative paths from the push directory.",
|
|
5392
|
+
"name": "include",
|
|
5393
|
+
"required": false,
|
|
5394
|
+
"hasDynamicHelp": false,
|
|
5395
|
+
"multiple": true,
|
|
5396
|
+
"type": "option"
|
|
5397
|
+
},
|
|
5398
|
+
"force": {
|
|
5399
|
+
"description": "Skip preview and confirmation prompt (for CI/CD pipelines)",
|
|
5400
|
+
"name": "force",
|
|
5345
5401
|
"required": false,
|
|
5346
5402
|
"allowNo": false,
|
|
5347
5403
|
"type": "boolean"
|
|
@@ -5349,7 +5405,7 @@
|
|
|
5349
5405
|
},
|
|
5350
5406
|
"hasDynamicHelp": false,
|
|
5351
5407
|
"hiddenAliases": [],
|
|
5352
|
-
"id": "
|
|
5408
|
+
"id": "workspace:push",
|
|
5353
5409
|
"pluginAlias": "@xano/cli",
|
|
5354
5410
|
"pluginName": "@xano/cli",
|
|
5355
5411
|
"pluginType": "core",
|
|
@@ -5359,20 +5415,20 @@
|
|
|
5359
5415
|
"relativePath": [
|
|
5360
5416
|
"dist",
|
|
5361
5417
|
"commands",
|
|
5362
|
-
"profile",
|
|
5363
5418
|
"workspace",
|
|
5364
|
-
"
|
|
5419
|
+
"push",
|
|
5365
5420
|
"index.js"
|
|
5366
5421
|
]
|
|
5367
5422
|
},
|
|
5368
|
-
"sandbox:
|
|
5423
|
+
"sandbox:license:get": {
|
|
5369
5424
|
"aliases": [],
|
|
5370
5425
|
"args": {},
|
|
5371
|
-
"description": "
|
|
5426
|
+
"description": "Get the license for a sandbox environment",
|
|
5372
5427
|
"examples": [
|
|
5373
|
-
"$ xano sandbox
|
|
5374
|
-
"$ xano sandbox
|
|
5375
|
-
"$ xano sandbox
|
|
5428
|
+
"$ xano sandbox license get\nLicense saved to license_<tenant>.yaml\n",
|
|
5429
|
+
"$ xano sandbox license get --file ./my-license.yaml",
|
|
5430
|
+
"$ xano sandbox license get --view",
|
|
5431
|
+
"$ xano sandbox license get -o json"
|
|
5376
5432
|
],
|
|
5377
5433
|
"flags": {
|
|
5378
5434
|
"profile": {
|
|
@@ -5394,19 +5450,11 @@
|
|
|
5394
5450
|
"allowNo": false,
|
|
5395
5451
|
"type": "boolean"
|
|
5396
5452
|
},
|
|
5397
|
-
"
|
|
5453
|
+
"file": {
|
|
5398
5454
|
"char": "f",
|
|
5399
|
-
"description": "
|
|
5400
|
-
"name": "
|
|
5455
|
+
"description": "Output file path (default: license_<sandbox_name>.yaml)",
|
|
5456
|
+
"name": "file",
|
|
5401
5457
|
"required": false,
|
|
5402
|
-
"allowNo": false,
|
|
5403
|
-
"type": "boolean"
|
|
5404
|
-
},
|
|
5405
|
-
"name": {
|
|
5406
|
-
"char": "n",
|
|
5407
|
-
"description": "Environment variable name",
|
|
5408
|
-
"name": "name",
|
|
5409
|
-
"required": true,
|
|
5410
5458
|
"hasDynamicHelp": false,
|
|
5411
5459
|
"multiple": false,
|
|
5412
5460
|
"type": "option"
|
|
@@ -5424,11 +5472,18 @@
|
|
|
5424
5472
|
"json"
|
|
5425
5473
|
],
|
|
5426
5474
|
"type": "option"
|
|
5475
|
+
},
|
|
5476
|
+
"view": {
|
|
5477
|
+
"description": "Print license to stdout instead of saving to file",
|
|
5478
|
+
"name": "view",
|
|
5479
|
+
"required": false,
|
|
5480
|
+
"allowNo": false,
|
|
5481
|
+
"type": "boolean"
|
|
5427
5482
|
}
|
|
5428
5483
|
},
|
|
5429
5484
|
"hasDynamicHelp": false,
|
|
5430
5485
|
"hiddenAliases": [],
|
|
5431
|
-
"id": "sandbox:
|
|
5486
|
+
"id": "sandbox:license:get",
|
|
5432
5487
|
"pluginAlias": "@xano/cli",
|
|
5433
5488
|
"pluginName": "@xano/cli",
|
|
5434
5489
|
"pluginType": "core",
|
|
@@ -5439,18 +5494,20 @@
|
|
|
5439
5494
|
"dist",
|
|
5440
5495
|
"commands",
|
|
5441
5496
|
"sandbox",
|
|
5442
|
-
"
|
|
5443
|
-
"
|
|
5497
|
+
"license",
|
|
5498
|
+
"get",
|
|
5444
5499
|
"index.js"
|
|
5445
5500
|
]
|
|
5446
5501
|
},
|
|
5447
|
-
"sandbox:
|
|
5502
|
+
"sandbox:license:set": {
|
|
5448
5503
|
"aliases": [],
|
|
5449
5504
|
"args": {},
|
|
5450
|
-
"description": "
|
|
5505
|
+
"description": "Set/update the license for a sandbox environment",
|
|
5451
5506
|
"examples": [
|
|
5452
|
-
"$ xano sandbox
|
|
5453
|
-
"$ xano sandbox
|
|
5507
|
+
"$ xano sandbox license set\nReads from license_<tenant>.yaml\n",
|
|
5508
|
+
"$ xano sandbox license set --file ./license.yaml",
|
|
5509
|
+
"$ xano sandbox license set --value 'key: value'",
|
|
5510
|
+
"$ xano sandbox license set -o json"
|
|
5454
5511
|
],
|
|
5455
5512
|
"flags": {
|
|
5456
5513
|
"profile": {
|
|
@@ -5472,11 +5529,24 @@
|
|
|
5472
5529
|
"allowNo": false,
|
|
5473
5530
|
"type": "boolean"
|
|
5474
5531
|
},
|
|
5475
|
-
"
|
|
5476
|
-
"
|
|
5477
|
-
"
|
|
5478
|
-
|
|
5479
|
-
|
|
5532
|
+
"clean": {
|
|
5533
|
+
"description": "Remove the source file after successful upload",
|
|
5534
|
+
"exclusive": [
|
|
5535
|
+
"value"
|
|
5536
|
+
],
|
|
5537
|
+
"name": "clean",
|
|
5538
|
+
"required": false,
|
|
5539
|
+
"allowNo": false,
|
|
5540
|
+
"type": "boolean"
|
|
5541
|
+
},
|
|
5542
|
+
"file": {
|
|
5543
|
+
"char": "f",
|
|
5544
|
+
"description": "Path to license file (default: license_<sandbox_name>.yaml)",
|
|
5545
|
+
"exclusive": [
|
|
5546
|
+
"value"
|
|
5547
|
+
],
|
|
5548
|
+
"name": "file",
|
|
5549
|
+
"required": false,
|
|
5480
5550
|
"hasDynamicHelp": false,
|
|
5481
5551
|
"multiple": false,
|
|
5482
5552
|
"type": "option"
|
|
@@ -5494,11 +5564,23 @@
|
|
|
5494
5564
|
"json"
|
|
5495
5565
|
],
|
|
5496
5566
|
"type": "option"
|
|
5567
|
+
},
|
|
5568
|
+
"value": {
|
|
5569
|
+
"description": "Inline license value",
|
|
5570
|
+
"exclusive": [
|
|
5571
|
+
"file",
|
|
5572
|
+
"clean"
|
|
5573
|
+
],
|
|
5574
|
+
"name": "value",
|
|
5575
|
+
"required": false,
|
|
5576
|
+
"hasDynamicHelp": false,
|
|
5577
|
+
"multiple": false,
|
|
5578
|
+
"type": "option"
|
|
5497
5579
|
}
|
|
5498
5580
|
},
|
|
5499
5581
|
"hasDynamicHelp": false,
|
|
5500
5582
|
"hiddenAliases": [],
|
|
5501
|
-
"id": "sandbox:
|
|
5583
|
+
"id": "sandbox:license:set",
|
|
5502
5584
|
"pluginAlias": "@xano/cli",
|
|
5503
5585
|
"pluginName": "@xano/cli",
|
|
5504
5586
|
"pluginType": "core",
|
|
@@ -5509,67 +5591,35 @@
|
|
|
5509
5591
|
"dist",
|
|
5510
5592
|
"commands",
|
|
5511
5593
|
"sandbox",
|
|
5512
|
-
"
|
|
5513
|
-
"
|
|
5594
|
+
"license",
|
|
5595
|
+
"set",
|
|
5514
5596
|
"index.js"
|
|
5515
5597
|
]
|
|
5516
5598
|
},
|
|
5517
|
-
"
|
|
5599
|
+
"profile:workspace:set": {
|
|
5518
5600
|
"aliases": [],
|
|
5519
5601
|
"args": {},
|
|
5520
|
-
"description": "
|
|
5602
|
+
"description": "Interactively select a workspace for a profile",
|
|
5521
5603
|
"examples": [
|
|
5522
|
-
"$ xano
|
|
5523
|
-
"$ xano
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
"
|
|
5530
|
-
"
|
|
5531
|
-
"env": "XANO_PROFILE",
|
|
5532
|
-
"name": "profile",
|
|
5533
|
-
"required": false,
|
|
5534
|
-
"hasDynamicHelp": false,
|
|
5535
|
-
"multiple": false,
|
|
5536
|
-
"type": "option"
|
|
5537
|
-
},
|
|
5538
|
-
"verbose": {
|
|
5539
|
-
"char": "v",
|
|
5540
|
-
"description": "Show detailed request/response information",
|
|
5541
|
-
"env": "XANO_VERBOSE",
|
|
5542
|
-
"name": "verbose",
|
|
5543
|
-
"required": false,
|
|
5544
|
-
"allowNo": false,
|
|
5545
|
-
"type": "boolean"
|
|
5546
|
-
},
|
|
5547
|
-
"file": {
|
|
5548
|
-
"char": "f",
|
|
5549
|
-
"description": "Output file path (default: env_<sandbox_name>.yaml)",
|
|
5550
|
-
"name": "file",
|
|
5551
|
-
"required": false,
|
|
5552
|
-
"hasDynamicHelp": false,
|
|
5553
|
-
"multiple": false,
|
|
5554
|
-
"type": "option"
|
|
5555
|
-
},
|
|
5556
|
-
"output": {
|
|
5557
|
-
"char": "o",
|
|
5558
|
-
"description": "Output format",
|
|
5559
|
-
"name": "output",
|
|
5604
|
+
"$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
|
|
5605
|
+
"$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
|
|
5606
|
+
],
|
|
5607
|
+
"flags": {
|
|
5608
|
+
"profile": {
|
|
5609
|
+
"char": "p",
|
|
5610
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5611
|
+
"env": "XANO_PROFILE",
|
|
5612
|
+
"name": "profile",
|
|
5560
5613
|
"required": false,
|
|
5561
|
-
"default": "summary",
|
|
5562
5614
|
"hasDynamicHelp": false,
|
|
5563
5615
|
"multiple": false,
|
|
5564
|
-
"options": [
|
|
5565
|
-
"summary",
|
|
5566
|
-
"json"
|
|
5567
|
-
],
|
|
5568
5616
|
"type": "option"
|
|
5569
5617
|
},
|
|
5570
|
-
"
|
|
5571
|
-
"
|
|
5572
|
-
"
|
|
5618
|
+
"verbose": {
|
|
5619
|
+
"char": "v",
|
|
5620
|
+
"description": "Show detailed request/response information",
|
|
5621
|
+
"env": "XANO_VERBOSE",
|
|
5622
|
+
"name": "verbose",
|
|
5573
5623
|
"required": false,
|
|
5574
5624
|
"allowNo": false,
|
|
5575
5625
|
"type": "boolean"
|
|
@@ -5577,7 +5627,7 @@
|
|
|
5577
5627
|
},
|
|
5578
5628
|
"hasDynamicHelp": false,
|
|
5579
5629
|
"hiddenAliases": [],
|
|
5580
|
-
"id": "
|
|
5630
|
+
"id": "profile:workspace:set",
|
|
5581
5631
|
"pluginAlias": "@xano/cli",
|
|
5582
5632
|
"pluginName": "@xano/cli",
|
|
5583
5633
|
"pluginType": "core",
|
|
@@ -5587,19 +5637,25 @@
|
|
|
5587
5637
|
"relativePath": [
|
|
5588
5638
|
"dist",
|
|
5589
5639
|
"commands",
|
|
5590
|
-
"
|
|
5591
|
-
"
|
|
5592
|
-
"
|
|
5640
|
+
"profile",
|
|
5641
|
+
"workspace",
|
|
5642
|
+
"set",
|
|
5593
5643
|
"index.js"
|
|
5594
5644
|
]
|
|
5595
5645
|
},
|
|
5596
|
-
"sandbox:
|
|
5646
|
+
"sandbox:workflow_test:delete": {
|
|
5597
5647
|
"aliases": [],
|
|
5598
|
-
"args": {
|
|
5599
|
-
|
|
5648
|
+
"args": {
|
|
5649
|
+
"workflow_test_id": {
|
|
5650
|
+
"description": "ID of the workflow test to delete",
|
|
5651
|
+
"name": "workflow_test_id",
|
|
5652
|
+
"required": true
|
|
5653
|
+
}
|
|
5654
|
+
},
|
|
5655
|
+
"description": "Delete a workflow test for a sandbox environment",
|
|
5600
5656
|
"examples": [
|
|
5601
|
-
"$ xano sandbox
|
|
5602
|
-
"$ xano sandbox
|
|
5657
|
+
"$ xano sandbox workflow-test delete 42\nDeleted workflow test 42\n",
|
|
5658
|
+
"$ xano sandbox workflow-test delete 42 -o json"
|
|
5603
5659
|
],
|
|
5604
5660
|
"flags": {
|
|
5605
5661
|
"profile": {
|
|
@@ -5638,7 +5694,7 @@
|
|
|
5638
5694
|
},
|
|
5639
5695
|
"hasDynamicHelp": false,
|
|
5640
5696
|
"hiddenAliases": [],
|
|
5641
|
-
"id": "sandbox:
|
|
5697
|
+
"id": "sandbox:workflow_test:delete",
|
|
5642
5698
|
"pluginAlias": "@xano/cli",
|
|
5643
5699
|
"pluginName": "@xano/cli",
|
|
5644
5700
|
"pluginType": "core",
|
|
@@ -5649,18 +5705,24 @@
|
|
|
5649
5705
|
"dist",
|
|
5650
5706
|
"commands",
|
|
5651
5707
|
"sandbox",
|
|
5652
|
-
"
|
|
5653
|
-
"
|
|
5708
|
+
"workflow_test",
|
|
5709
|
+
"delete",
|
|
5654
5710
|
"index.js"
|
|
5655
5711
|
]
|
|
5656
5712
|
},
|
|
5657
|
-
"sandbox:
|
|
5713
|
+
"sandbox:workflow_test:get": {
|
|
5658
5714
|
"aliases": [],
|
|
5659
|
-
"args": {
|
|
5660
|
-
|
|
5715
|
+
"args": {
|
|
5716
|
+
"workflow_test_id": {
|
|
5717
|
+
"description": "ID of the workflow test",
|
|
5718
|
+
"name": "workflow_test_id",
|
|
5719
|
+
"required": true
|
|
5720
|
+
}
|
|
5721
|
+
},
|
|
5722
|
+
"description": "Get a workflow test for a sandbox environment",
|
|
5661
5723
|
"examples": [
|
|
5662
|
-
"$ xano sandbox
|
|
5663
|
-
"$ xano sandbox
|
|
5724
|
+
"$ xano sandbox workflow-test get 42",
|
|
5725
|
+
"$ xano sandbox workflow-test get 42 -o json"
|
|
5664
5726
|
],
|
|
5665
5727
|
"flags": {
|
|
5666
5728
|
"profile": {
|
|
@@ -5682,15 +5744,6 @@
|
|
|
5682
5744
|
"allowNo": false,
|
|
5683
5745
|
"type": "boolean"
|
|
5684
5746
|
},
|
|
5685
|
-
"name": {
|
|
5686
|
-
"char": "n",
|
|
5687
|
-
"description": "Environment variable name",
|
|
5688
|
-
"name": "name",
|
|
5689
|
-
"required": true,
|
|
5690
|
-
"hasDynamicHelp": false,
|
|
5691
|
-
"multiple": false,
|
|
5692
|
-
"type": "option"
|
|
5693
|
-
},
|
|
5694
5747
|
"output": {
|
|
5695
5748
|
"char": "o",
|
|
5696
5749
|
"description": "Output format",
|
|
@@ -5704,19 +5757,11 @@
|
|
|
5704
5757
|
"json"
|
|
5705
5758
|
],
|
|
5706
5759
|
"type": "option"
|
|
5707
|
-
},
|
|
5708
|
-
"value": {
|
|
5709
|
-
"description": "Environment variable value",
|
|
5710
|
-
"name": "value",
|
|
5711
|
-
"required": true,
|
|
5712
|
-
"hasDynamicHelp": false,
|
|
5713
|
-
"multiple": false,
|
|
5714
|
-
"type": "option"
|
|
5715
5760
|
}
|
|
5716
5761
|
},
|
|
5717
5762
|
"hasDynamicHelp": false,
|
|
5718
5763
|
"hiddenAliases": [],
|
|
5719
|
-
"id": "sandbox:
|
|
5764
|
+
"id": "sandbox:workflow_test:get",
|
|
5720
5765
|
"pluginAlias": "@xano/cli",
|
|
5721
5766
|
"pluginName": "@xano/cli",
|
|
5722
5767
|
"pluginType": "core",
|
|
@@ -5727,19 +5772,18 @@
|
|
|
5727
5772
|
"dist",
|
|
5728
5773
|
"commands",
|
|
5729
5774
|
"sandbox",
|
|
5730
|
-
"
|
|
5731
|
-
"
|
|
5775
|
+
"workflow_test",
|
|
5776
|
+
"get",
|
|
5732
5777
|
"index.js"
|
|
5733
5778
|
]
|
|
5734
5779
|
},
|
|
5735
|
-
"sandbox:
|
|
5780
|
+
"sandbox:workflow_test:list": {
|
|
5736
5781
|
"aliases": [],
|
|
5737
5782
|
"args": {},
|
|
5738
|
-
"description": "
|
|
5783
|
+
"description": "List workflow tests for a sandbox environment",
|
|
5739
5784
|
"examples": [
|
|
5740
|
-
"$ xano sandbox
|
|
5741
|
-
"$ xano sandbox
|
|
5742
|
-
"$ xano sandbox env set_all -o json"
|
|
5785
|
+
"$ xano sandbox workflow-test list\nWorkflow tests:\n - my-test (ID: 1)\n",
|
|
5786
|
+
"$ xano sandbox workflow-test list -o json"
|
|
5743
5787
|
],
|
|
5744
5788
|
"flags": {
|
|
5745
5789
|
"profile": {
|
|
@@ -5761,17 +5805,10 @@
|
|
|
5761
5805
|
"allowNo": false,
|
|
5762
5806
|
"type": "boolean"
|
|
5763
5807
|
},
|
|
5764
|
-
"
|
|
5765
|
-
"
|
|
5766
|
-
"
|
|
5767
|
-
"
|
|
5768
|
-
"allowNo": false,
|
|
5769
|
-
"type": "boolean"
|
|
5770
|
-
},
|
|
5771
|
-
"file": {
|
|
5772
|
-
"char": "f",
|
|
5773
|
-
"description": "Path to env file (default: env_<sandbox_name>.yaml)",
|
|
5774
|
-
"name": "file",
|
|
5808
|
+
"branch": {
|
|
5809
|
+
"char": "b",
|
|
5810
|
+
"description": "Filter by branch name",
|
|
5811
|
+
"name": "branch",
|
|
5775
5812
|
"required": false,
|
|
5776
5813
|
"hasDynamicHelp": false,
|
|
5777
5814
|
"multiple": false,
|
|
@@ -5794,7 +5831,7 @@
|
|
|
5794
5831
|
},
|
|
5795
5832
|
"hasDynamicHelp": false,
|
|
5796
5833
|
"hiddenAliases": [],
|
|
5797
|
-
"id": "sandbox:
|
|
5834
|
+
"id": "sandbox:workflow_test:list",
|
|
5798
5835
|
"pluginAlias": "@xano/cli",
|
|
5799
5836
|
"pluginName": "@xano/cli",
|
|
5800
5837
|
"pluginType": "core",
|
|
@@ -5805,20 +5842,24 @@
|
|
|
5805
5842
|
"dist",
|
|
5806
5843
|
"commands",
|
|
5807
5844
|
"sandbox",
|
|
5808
|
-
"
|
|
5809
|
-
"
|
|
5845
|
+
"workflow_test",
|
|
5846
|
+
"list",
|
|
5810
5847
|
"index.js"
|
|
5811
5848
|
]
|
|
5812
5849
|
},
|
|
5813
|
-
"sandbox:
|
|
5850
|
+
"sandbox:workflow_test:run": {
|
|
5814
5851
|
"aliases": [],
|
|
5815
|
-
"args": {
|
|
5816
|
-
|
|
5852
|
+
"args": {
|
|
5853
|
+
"workflow_test_id": {
|
|
5854
|
+
"description": "ID of the workflow test to run",
|
|
5855
|
+
"name": "workflow_test_id",
|
|
5856
|
+
"required": true
|
|
5857
|
+
}
|
|
5858
|
+
},
|
|
5859
|
+
"description": "Run a workflow test for a sandbox environment",
|
|
5817
5860
|
"examples": [
|
|
5818
|
-
"$ xano sandbox
|
|
5819
|
-
"$ xano sandbox
|
|
5820
|
-
"$ xano sandbox license get --view",
|
|
5821
|
-
"$ xano sandbox license get -o json"
|
|
5861
|
+
"$ xano sandbox workflow-test run 42\nRunning workflow test 42...\nResult: PASS (0.25s)\n",
|
|
5862
|
+
"$ xano sandbox workflow-test run 42 -o json"
|
|
5822
5863
|
],
|
|
5823
5864
|
"flags": {
|
|
5824
5865
|
"profile": {
|
|
@@ -5840,15 +5881,6 @@
|
|
|
5840
5881
|
"allowNo": false,
|
|
5841
5882
|
"type": "boolean"
|
|
5842
5883
|
},
|
|
5843
|
-
"file": {
|
|
5844
|
-
"char": "f",
|
|
5845
|
-
"description": "Output file path (default: license_<sandbox_name>.yaml)",
|
|
5846
|
-
"name": "file",
|
|
5847
|
-
"required": false,
|
|
5848
|
-
"hasDynamicHelp": false,
|
|
5849
|
-
"multiple": false,
|
|
5850
|
-
"type": "option"
|
|
5851
|
-
},
|
|
5852
5884
|
"output": {
|
|
5853
5885
|
"char": "o",
|
|
5854
5886
|
"description": "Output format",
|
|
@@ -5862,18 +5894,11 @@
|
|
|
5862
5894
|
"json"
|
|
5863
5895
|
],
|
|
5864
5896
|
"type": "option"
|
|
5865
|
-
},
|
|
5866
|
-
"view": {
|
|
5867
|
-
"description": "Print license to stdout instead of saving to file",
|
|
5868
|
-
"name": "view",
|
|
5869
|
-
"required": false,
|
|
5870
|
-
"allowNo": false,
|
|
5871
|
-
"type": "boolean"
|
|
5872
5897
|
}
|
|
5873
5898
|
},
|
|
5874
5899
|
"hasDynamicHelp": false,
|
|
5875
5900
|
"hiddenAliases": [],
|
|
5876
|
-
"id": "sandbox:
|
|
5901
|
+
"id": "sandbox:workflow_test:run",
|
|
5877
5902
|
"pluginAlias": "@xano/cli",
|
|
5878
5903
|
"pluginName": "@xano/cli",
|
|
5879
5904
|
"pluginType": "core",
|
|
@@ -5884,20 +5909,18 @@
|
|
|
5884
5909
|
"dist",
|
|
5885
5910
|
"commands",
|
|
5886
5911
|
"sandbox",
|
|
5887
|
-
"
|
|
5888
|
-
"
|
|
5912
|
+
"workflow_test",
|
|
5913
|
+
"run",
|
|
5889
5914
|
"index.js"
|
|
5890
5915
|
]
|
|
5891
5916
|
},
|
|
5892
|
-
"sandbox:
|
|
5917
|
+
"sandbox:workflow_test:run_all": {
|
|
5893
5918
|
"aliases": [],
|
|
5894
5919
|
"args": {},
|
|
5895
|
-
"description": "
|
|
5920
|
+
"description": "Run all workflow tests for a sandbox environment",
|
|
5896
5921
|
"examples": [
|
|
5897
|
-
"$ xano sandbox
|
|
5898
|
-
"$ xano sandbox
|
|
5899
|
-
"$ xano sandbox license set --value 'key: value'",
|
|
5900
|
-
"$ xano sandbox license set -o json"
|
|
5922
|
+
"$ xano sandbox workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (0.25s)\nFAIL data-check (0.10s)\n Error: assertion failed\n\nResults: 2 passed, 1 failed\n",
|
|
5923
|
+
"$ xano sandbox workflow-test run-all -o json"
|
|
5901
5924
|
],
|
|
5902
5925
|
"flags": {
|
|
5903
5926
|
"profile": {
|
|
@@ -5919,23 +5942,10 @@
|
|
|
5919
5942
|
"allowNo": false,
|
|
5920
5943
|
"type": "boolean"
|
|
5921
5944
|
},
|
|
5922
|
-
"
|
|
5923
|
-
"
|
|
5924
|
-
"
|
|
5925
|
-
|
|
5926
|
-
],
|
|
5927
|
-
"name": "clean",
|
|
5928
|
-
"required": false,
|
|
5929
|
-
"allowNo": false,
|
|
5930
|
-
"type": "boolean"
|
|
5931
|
-
},
|
|
5932
|
-
"file": {
|
|
5933
|
-
"char": "f",
|
|
5934
|
-
"description": "Path to license file (default: license_<sandbox_name>.yaml)",
|
|
5935
|
-
"exclusive": [
|
|
5936
|
-
"value"
|
|
5937
|
-
],
|
|
5938
|
-
"name": "file",
|
|
5945
|
+
"branch": {
|
|
5946
|
+
"char": "b",
|
|
5947
|
+
"description": "Filter by branch name",
|
|
5948
|
+
"name": "branch",
|
|
5939
5949
|
"required": false,
|
|
5940
5950
|
"hasDynamicHelp": false,
|
|
5941
5951
|
"multiple": false,
|
|
@@ -5954,23 +5964,11 @@
|
|
|
5954
5964
|
"json"
|
|
5955
5965
|
],
|
|
5956
5966
|
"type": "option"
|
|
5957
|
-
},
|
|
5958
|
-
"value": {
|
|
5959
|
-
"description": "Inline license value",
|
|
5960
|
-
"exclusive": [
|
|
5961
|
-
"file",
|
|
5962
|
-
"clean"
|
|
5963
|
-
],
|
|
5964
|
-
"name": "value",
|
|
5965
|
-
"required": false,
|
|
5966
|
-
"hasDynamicHelp": false,
|
|
5967
|
-
"multiple": false,
|
|
5968
|
-
"type": "option"
|
|
5969
5967
|
}
|
|
5970
5968
|
},
|
|
5971
5969
|
"hasDynamicHelp": false,
|
|
5972
5970
|
"hiddenAliases": [],
|
|
5973
|
-
"id": "sandbox:
|
|
5971
|
+
"id": "sandbox:workflow_test:run_all",
|
|
5974
5972
|
"pluginAlias": "@xano/cli",
|
|
5975
5973
|
"pluginName": "@xano/cli",
|
|
5976
5974
|
"pluginType": "core",
|
|
@@ -5981,18 +5979,24 @@
|
|
|
5981
5979
|
"dist",
|
|
5982
5980
|
"commands",
|
|
5983
5981
|
"sandbox",
|
|
5984
|
-
"
|
|
5985
|
-
"
|
|
5982
|
+
"workflow_test",
|
|
5983
|
+
"run_all",
|
|
5986
5984
|
"index.js"
|
|
5987
5985
|
]
|
|
5988
5986
|
},
|
|
5989
|
-
"sandbox:unit_test:
|
|
5987
|
+
"sandbox:unit_test:run": {
|
|
5990
5988
|
"aliases": [],
|
|
5991
|
-
"args": {
|
|
5992
|
-
|
|
5989
|
+
"args": {
|
|
5990
|
+
"unit_test_id": {
|
|
5991
|
+
"description": "ID of the unit test to run",
|
|
5992
|
+
"name": "unit_test_id",
|
|
5993
|
+
"required": true
|
|
5994
|
+
}
|
|
5995
|
+
},
|
|
5996
|
+
"description": "Run a unit test for a sandbox environment",
|
|
5993
5997
|
"examples": [
|
|
5994
|
-
"$ xano sandbox unit-test
|
|
5995
|
-
"$ xano sandbox unit-test
|
|
5998
|
+
"$ xano sandbox unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
5999
|
+
"$ xano sandbox unit-test run abc-123 -o json"
|
|
5996
6000
|
],
|
|
5997
6001
|
"flags": {
|
|
5998
6002
|
"profile": {
|
|
@@ -6005,36 +6009,14 @@
|
|
|
6005
6009
|
"multiple": false,
|
|
6006
6010
|
"type": "option"
|
|
6007
6011
|
},
|
|
6008
|
-
"verbose": {
|
|
6009
|
-
"char": "v",
|
|
6010
|
-
"description": "Show detailed request/response information",
|
|
6011
|
-
"env": "XANO_VERBOSE",
|
|
6012
|
-
"name": "verbose",
|
|
6013
|
-
"required": false,
|
|
6014
|
-
"allowNo": false,
|
|
6015
|
-
"type": "boolean"
|
|
6016
|
-
},
|
|
6017
|
-
"branch": {
|
|
6018
|
-
"char": "b",
|
|
6019
|
-
"description": "Filter by branch name",
|
|
6020
|
-
"name": "branch",
|
|
6021
|
-
"required": false,
|
|
6022
|
-
"hasDynamicHelp": false,
|
|
6023
|
-
"multiple": false,
|
|
6024
|
-
"type": "option"
|
|
6025
|
-
},
|
|
6026
|
-
"obj-type": {
|
|
6027
|
-
"description": "Filter by object type",
|
|
6028
|
-
"name": "obj-type",
|
|
6029
|
-
"required": false,
|
|
6030
|
-
"hasDynamicHelp": false,
|
|
6031
|
-
"multiple": false,
|
|
6032
|
-
"options": [
|
|
6033
|
-
"function",
|
|
6034
|
-
"query",
|
|
6035
|
-
"middleware"
|
|
6036
|
-
],
|
|
6037
|
-
"type": "option"
|
|
6012
|
+
"verbose": {
|
|
6013
|
+
"char": "v",
|
|
6014
|
+
"description": "Show detailed request/response information",
|
|
6015
|
+
"env": "XANO_VERBOSE",
|
|
6016
|
+
"name": "verbose",
|
|
6017
|
+
"required": false,
|
|
6018
|
+
"allowNo": false,
|
|
6019
|
+
"type": "boolean"
|
|
6038
6020
|
},
|
|
6039
6021
|
"output": {
|
|
6040
6022
|
"char": "o",
|
|
@@ -6053,7 +6035,7 @@
|
|
|
6053
6035
|
},
|
|
6054
6036
|
"hasDynamicHelp": false,
|
|
6055
6037
|
"hiddenAliases": [],
|
|
6056
|
-
"id": "sandbox:unit_test:
|
|
6038
|
+
"id": "sandbox:unit_test:run",
|
|
6057
6039
|
"pluginAlias": "@xano/cli",
|
|
6058
6040
|
"pluginName": "@xano/cli",
|
|
6059
6041
|
"pluginType": "core",
|
|
@@ -6065,23 +6047,17 @@
|
|
|
6065
6047
|
"commands",
|
|
6066
6048
|
"sandbox",
|
|
6067
6049
|
"unit_test",
|
|
6068
|
-
"
|
|
6050
|
+
"run",
|
|
6069
6051
|
"index.js"
|
|
6070
6052
|
]
|
|
6071
6053
|
},
|
|
6072
|
-
"sandbox:unit_test:
|
|
6054
|
+
"sandbox:unit_test:list": {
|
|
6073
6055
|
"aliases": [],
|
|
6074
|
-
"args": {
|
|
6075
|
-
|
|
6076
|
-
"description": "ID of the unit test to run",
|
|
6077
|
-
"name": "unit_test_id",
|
|
6078
|
-
"required": true
|
|
6079
|
-
}
|
|
6080
|
-
},
|
|
6081
|
-
"description": "Run a unit test for a sandbox environment",
|
|
6056
|
+
"args": {},
|
|
6057
|
+
"description": "List all unit tests for a sandbox environment",
|
|
6082
6058
|
"examples": [
|
|
6083
|
-
"$ xano sandbox unit-test
|
|
6084
|
-
"$ xano sandbox unit-test
|
|
6059
|
+
"$ xano sandbox unit-test list\nUnit tests:\n - my-test (ID: abc-123) [function: math]\n",
|
|
6060
|
+
"$ xano sandbox unit-test list -o json"
|
|
6085
6061
|
],
|
|
6086
6062
|
"flags": {
|
|
6087
6063
|
"profile": {
|
|
@@ -6103,6 +6079,28 @@
|
|
|
6103
6079
|
"allowNo": false,
|
|
6104
6080
|
"type": "boolean"
|
|
6105
6081
|
},
|
|
6082
|
+
"branch": {
|
|
6083
|
+
"char": "b",
|
|
6084
|
+
"description": "Filter by branch name",
|
|
6085
|
+
"name": "branch",
|
|
6086
|
+
"required": false,
|
|
6087
|
+
"hasDynamicHelp": false,
|
|
6088
|
+
"multiple": false,
|
|
6089
|
+
"type": "option"
|
|
6090
|
+
},
|
|
6091
|
+
"obj-type": {
|
|
6092
|
+
"description": "Filter by object type",
|
|
6093
|
+
"name": "obj-type",
|
|
6094
|
+
"required": false,
|
|
6095
|
+
"hasDynamicHelp": false,
|
|
6096
|
+
"multiple": false,
|
|
6097
|
+
"options": [
|
|
6098
|
+
"function",
|
|
6099
|
+
"query",
|
|
6100
|
+
"middleware"
|
|
6101
|
+
],
|
|
6102
|
+
"type": "option"
|
|
6103
|
+
},
|
|
6106
6104
|
"output": {
|
|
6107
6105
|
"char": "o",
|
|
6108
6106
|
"description": "Output format",
|
|
@@ -6120,7 +6118,7 @@
|
|
|
6120
6118
|
},
|
|
6121
6119
|
"hasDynamicHelp": false,
|
|
6122
6120
|
"hiddenAliases": [],
|
|
6123
|
-
"id": "sandbox:unit_test:
|
|
6121
|
+
"id": "sandbox:unit_test:list",
|
|
6124
6122
|
"pluginAlias": "@xano/cli",
|
|
6125
6123
|
"pluginName": "@xano/cli",
|
|
6126
6124
|
"pluginType": "core",
|
|
@@ -6132,7 +6130,7 @@
|
|
|
6132
6130
|
"commands",
|
|
6133
6131
|
"sandbox",
|
|
6134
6132
|
"unit_test",
|
|
6135
|
-
"
|
|
6133
|
+
"list",
|
|
6136
6134
|
"index.js"
|
|
6137
6135
|
]
|
|
6138
6136
|
},
|
|
@@ -6219,19 +6217,20 @@
|
|
|
6219
6217
|
"index.js"
|
|
6220
6218
|
]
|
|
6221
6219
|
},
|
|
6222
|
-
"
|
|
6220
|
+
"static_host:build:create": {
|
|
6223
6221
|
"aliases": [],
|
|
6224
6222
|
"args": {
|
|
6225
|
-
"
|
|
6226
|
-
"description": "
|
|
6227
|
-
"name": "
|
|
6223
|
+
"static_host": {
|
|
6224
|
+
"description": "Static Host name",
|
|
6225
|
+
"name": "static_host",
|
|
6228
6226
|
"required": true
|
|
6229
6227
|
}
|
|
6230
6228
|
},
|
|
6231
|
-
"description": "
|
|
6229
|
+
"description": "Create a new build for a static host",
|
|
6232
6230
|
"examples": [
|
|
6233
|
-
"$ xano
|
|
6234
|
-
"$ xano
|
|
6231
|
+
"$ 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",
|
|
6232
|
+
"$ 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",
|
|
6233
|
+
"$ 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"
|
|
6235
6234
|
],
|
|
6236
6235
|
"flags": {
|
|
6237
6236
|
"profile": {
|
|
@@ -6253,6 +6252,33 @@
|
|
|
6253
6252
|
"allowNo": false,
|
|
6254
6253
|
"type": "boolean"
|
|
6255
6254
|
},
|
|
6255
|
+
"description": {
|
|
6256
|
+
"char": "d",
|
|
6257
|
+
"description": "Build description",
|
|
6258
|
+
"name": "description",
|
|
6259
|
+
"required": false,
|
|
6260
|
+
"hasDynamicHelp": false,
|
|
6261
|
+
"multiple": false,
|
|
6262
|
+
"type": "option"
|
|
6263
|
+
},
|
|
6264
|
+
"file": {
|
|
6265
|
+
"char": "f",
|
|
6266
|
+
"description": "Path to zip file to upload",
|
|
6267
|
+
"name": "file",
|
|
6268
|
+
"required": true,
|
|
6269
|
+
"hasDynamicHelp": false,
|
|
6270
|
+
"multiple": false,
|
|
6271
|
+
"type": "option"
|
|
6272
|
+
},
|
|
6273
|
+
"name": {
|
|
6274
|
+
"char": "n",
|
|
6275
|
+
"description": "Build name",
|
|
6276
|
+
"name": "name",
|
|
6277
|
+
"required": true,
|
|
6278
|
+
"hasDynamicHelp": false,
|
|
6279
|
+
"multiple": false,
|
|
6280
|
+
"type": "option"
|
|
6281
|
+
},
|
|
6256
6282
|
"output": {
|
|
6257
6283
|
"char": "o",
|
|
6258
6284
|
"description": "Output format",
|
|
@@ -6266,11 +6292,20 @@
|
|
|
6266
6292
|
"json"
|
|
6267
6293
|
],
|
|
6268
6294
|
"type": "option"
|
|
6295
|
+
},
|
|
6296
|
+
"workspace": {
|
|
6297
|
+
"char": "w",
|
|
6298
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
6299
|
+
"name": "workspace",
|
|
6300
|
+
"required": false,
|
|
6301
|
+
"hasDynamicHelp": false,
|
|
6302
|
+
"multiple": false,
|
|
6303
|
+
"type": "option"
|
|
6269
6304
|
}
|
|
6270
6305
|
},
|
|
6271
6306
|
"hasDynamicHelp": false,
|
|
6272
6307
|
"hiddenAliases": [],
|
|
6273
|
-
"id": "
|
|
6308
|
+
"id": "static_host:build:create",
|
|
6274
6309
|
"pluginAlias": "@xano/cli",
|
|
6275
6310
|
"pluginName": "@xano/cli",
|
|
6276
6311
|
"pluginType": "core",
|
|
@@ -6280,25 +6315,27 @@
|
|
|
6280
6315
|
"relativePath": [
|
|
6281
6316
|
"dist",
|
|
6282
6317
|
"commands",
|
|
6283
|
-
"
|
|
6284
|
-
"
|
|
6285
|
-
"
|
|
6318
|
+
"static_host",
|
|
6319
|
+
"build",
|
|
6320
|
+
"create",
|
|
6286
6321
|
"index.js"
|
|
6287
6322
|
]
|
|
6288
6323
|
},
|
|
6289
|
-
"
|
|
6324
|
+
"static_host:build:list": {
|
|
6290
6325
|
"aliases": [],
|
|
6291
6326
|
"args": {
|
|
6292
|
-
"
|
|
6293
|
-
"description": "
|
|
6294
|
-
"name": "
|
|
6327
|
+
"static_host": {
|
|
6328
|
+
"description": "Static Host name",
|
|
6329
|
+
"name": "static_host",
|
|
6295
6330
|
"required": true
|
|
6296
6331
|
}
|
|
6297
6332
|
},
|
|
6298
|
-
"description": "
|
|
6333
|
+
"description": "List all builds for a static host",
|
|
6299
6334
|
"examples": [
|
|
6300
|
-
"$ xano
|
|
6301
|
-
"$ xano
|
|
6335
|
+
"$ 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",
|
|
6336
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
6337
|
+
"$ 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",
|
|
6338
|
+
"$ 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"
|
|
6302
6339
|
],
|
|
6303
6340
|
"flags": {
|
|
6304
6341
|
"profile": {
|
|
@@ -6333,11 +6370,38 @@
|
|
|
6333
6370
|
"json"
|
|
6334
6371
|
],
|
|
6335
6372
|
"type": "option"
|
|
6373
|
+
},
|
|
6374
|
+
"page": {
|
|
6375
|
+
"description": "Page number for pagination",
|
|
6376
|
+
"name": "page",
|
|
6377
|
+
"required": false,
|
|
6378
|
+
"default": 1,
|
|
6379
|
+
"hasDynamicHelp": false,
|
|
6380
|
+
"multiple": false,
|
|
6381
|
+
"type": "option"
|
|
6382
|
+
},
|
|
6383
|
+
"per_page": {
|
|
6384
|
+
"description": "Number of results per page",
|
|
6385
|
+
"name": "per_page",
|
|
6386
|
+
"required": false,
|
|
6387
|
+
"default": 50,
|
|
6388
|
+
"hasDynamicHelp": false,
|
|
6389
|
+
"multiple": false,
|
|
6390
|
+
"type": "option"
|
|
6391
|
+
},
|
|
6392
|
+
"workspace": {
|
|
6393
|
+
"char": "w",
|
|
6394
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
6395
|
+
"name": "workspace",
|
|
6396
|
+
"required": false,
|
|
6397
|
+
"hasDynamicHelp": false,
|
|
6398
|
+
"multiple": false,
|
|
6399
|
+
"type": "option"
|
|
6336
6400
|
}
|
|
6337
6401
|
},
|
|
6338
6402
|
"hasDynamicHelp": false,
|
|
6339
6403
|
"hiddenAliases": [],
|
|
6340
|
-
"id": "
|
|
6404
|
+
"id": "static_host:build:list",
|
|
6341
6405
|
"pluginAlias": "@xano/cli",
|
|
6342
6406
|
"pluginName": "@xano/cli",
|
|
6343
6407
|
"pluginType": "core",
|
|
@@ -6347,19 +6411,32 @@
|
|
|
6347
6411
|
"relativePath": [
|
|
6348
6412
|
"dist",
|
|
6349
6413
|
"commands",
|
|
6350
|
-
"
|
|
6351
|
-
"
|
|
6352
|
-
"
|
|
6414
|
+
"static_host",
|
|
6415
|
+
"build",
|
|
6416
|
+
"list",
|
|
6353
6417
|
"index.js"
|
|
6354
6418
|
]
|
|
6355
6419
|
},
|
|
6356
|
-
"
|
|
6420
|
+
"static_host:build:get": {
|
|
6357
6421
|
"aliases": [],
|
|
6358
|
-
"args": {
|
|
6359
|
-
|
|
6422
|
+
"args": {
|
|
6423
|
+
"build_id": {
|
|
6424
|
+
"description": "Build ID",
|
|
6425
|
+
"name": "build_id",
|
|
6426
|
+
"required": true
|
|
6427
|
+
},
|
|
6428
|
+
"static_host": {
|
|
6429
|
+
"description": "Static Host name",
|
|
6430
|
+
"name": "static_host",
|
|
6431
|
+
"required": true
|
|
6432
|
+
}
|
|
6433
|
+
},
|
|
6434
|
+
"description": "Get details of a specific build for a static host",
|
|
6360
6435
|
"examples": [
|
|
6361
|
-
"$ xano
|
|
6362
|
-
"$ xano
|
|
6436
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
6437
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
6438
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
6439
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
6363
6440
|
],
|
|
6364
6441
|
"flags": {
|
|
6365
6442
|
"profile": {
|
|
@@ -6381,15 +6458,6 @@
|
|
|
6381
6458
|
"allowNo": false,
|
|
6382
6459
|
"type": "boolean"
|
|
6383
6460
|
},
|
|
6384
|
-
"branch": {
|
|
6385
|
-
"char": "b",
|
|
6386
|
-
"description": "Filter by branch name",
|
|
6387
|
-
"name": "branch",
|
|
6388
|
-
"required": false,
|
|
6389
|
-
"hasDynamicHelp": false,
|
|
6390
|
-
"multiple": false,
|
|
6391
|
-
"type": "option"
|
|
6392
|
-
},
|
|
6393
6461
|
"output": {
|
|
6394
6462
|
"char": "o",
|
|
6395
6463
|
"description": "Output format",
|
|
@@ -6403,11 +6471,20 @@
|
|
|
6403
6471
|
"json"
|
|
6404
6472
|
],
|
|
6405
6473
|
"type": "option"
|
|
6474
|
+
},
|
|
6475
|
+
"workspace": {
|
|
6476
|
+
"char": "w",
|
|
6477
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
6478
|
+
"name": "workspace",
|
|
6479
|
+
"required": false,
|
|
6480
|
+
"hasDynamicHelp": false,
|
|
6481
|
+
"multiple": false,
|
|
6482
|
+
"type": "option"
|
|
6406
6483
|
}
|
|
6407
6484
|
},
|
|
6408
6485
|
"hasDynamicHelp": false,
|
|
6409
6486
|
"hiddenAliases": [],
|
|
6410
|
-
"id": "
|
|
6487
|
+
"id": "static_host:build:get",
|
|
6411
6488
|
"pluginAlias": "@xano/cli",
|
|
6412
6489
|
"pluginName": "@xano/cli",
|
|
6413
6490
|
"pluginType": "core",
|
|
@@ -6417,25 +6494,25 @@
|
|
|
6417
6494
|
"relativePath": [
|
|
6418
6495
|
"dist",
|
|
6419
6496
|
"commands",
|
|
6420
|
-
"
|
|
6421
|
-
"
|
|
6422
|
-
"
|
|
6497
|
+
"static_host",
|
|
6498
|
+
"build",
|
|
6499
|
+
"get",
|
|
6423
6500
|
"index.js"
|
|
6424
6501
|
]
|
|
6425
6502
|
},
|
|
6426
|
-
"
|
|
6503
|
+
"tenant:backup:create": {
|
|
6427
6504
|
"aliases": [],
|
|
6428
6505
|
"args": {
|
|
6429
|
-
"
|
|
6430
|
-
"description": "
|
|
6431
|
-
"name": "
|
|
6506
|
+
"tenant_name": {
|
|
6507
|
+
"description": "Tenant name to back up",
|
|
6508
|
+
"name": "tenant_name",
|
|
6432
6509
|
"required": true
|
|
6433
6510
|
}
|
|
6434
6511
|
},
|
|
6435
|
-
"description": "
|
|
6512
|
+
"description": "Create a backup for a tenant",
|
|
6436
6513
|
"examples": [
|
|
6437
|
-
"$ xano
|
|
6438
|
-
"$ xano
|
|
6514
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
6515
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
6439
6516
|
],
|
|
6440
6517
|
"flags": {
|
|
6441
6518
|
"profile": {
|
|
@@ -6457,6 +6534,16 @@
|
|
|
6457
6534
|
"allowNo": false,
|
|
6458
6535
|
"type": "boolean"
|
|
6459
6536
|
},
|
|
6537
|
+
"description": {
|
|
6538
|
+
"char": "d",
|
|
6539
|
+
"description": "Backup description",
|
|
6540
|
+
"name": "description",
|
|
6541
|
+
"required": false,
|
|
6542
|
+
"default": "",
|
|
6543
|
+
"hasDynamicHelp": false,
|
|
6544
|
+
"multiple": false,
|
|
6545
|
+
"type": "option"
|
|
6546
|
+
},
|
|
6460
6547
|
"output": {
|
|
6461
6548
|
"char": "o",
|
|
6462
6549
|
"description": "Output format",
|
|
@@ -6470,11 +6557,20 @@
|
|
|
6470
6557
|
"json"
|
|
6471
6558
|
],
|
|
6472
6559
|
"type": "option"
|
|
6560
|
+
},
|
|
6561
|
+
"workspace": {
|
|
6562
|
+
"char": "w",
|
|
6563
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6564
|
+
"name": "workspace",
|
|
6565
|
+
"required": false,
|
|
6566
|
+
"hasDynamicHelp": false,
|
|
6567
|
+
"multiple": false,
|
|
6568
|
+
"type": "option"
|
|
6473
6569
|
}
|
|
6474
6570
|
},
|
|
6475
6571
|
"hasDynamicHelp": false,
|
|
6476
6572
|
"hiddenAliases": [],
|
|
6477
|
-
"id": "
|
|
6573
|
+
"id": "tenant:backup:create",
|
|
6478
6574
|
"pluginAlias": "@xano/cli",
|
|
6479
6575
|
"pluginName": "@xano/cli",
|
|
6480
6576
|
"pluginType": "core",
|
|
@@ -6484,26 +6580,26 @@
|
|
|
6484
6580
|
"relativePath": [
|
|
6485
6581
|
"dist",
|
|
6486
6582
|
"commands",
|
|
6487
|
-
"
|
|
6488
|
-
"
|
|
6489
|
-
"
|
|
6583
|
+
"tenant",
|
|
6584
|
+
"backup",
|
|
6585
|
+
"create",
|
|
6490
6586
|
"index.js"
|
|
6491
6587
|
]
|
|
6492
6588
|
},
|
|
6493
|
-
"
|
|
6589
|
+
"tenant:backup:delete": {
|
|
6494
6590
|
"aliases": [],
|
|
6495
6591
|
"args": {
|
|
6496
|
-
"
|
|
6497
|
-
"description": "
|
|
6498
|
-
"name": "
|
|
6592
|
+
"tenant_name": {
|
|
6593
|
+
"description": "Tenant name that owns the backup",
|
|
6594
|
+
"name": "tenant_name",
|
|
6499
6595
|
"required": true
|
|
6500
6596
|
}
|
|
6501
6597
|
},
|
|
6502
|
-
"description": "
|
|
6598
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
6503
6599
|
"examples": [
|
|
6504
|
-
"$ xano
|
|
6505
|
-
"$ xano
|
|
6506
|
-
"$ xano
|
|
6600
|
+
"$ 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",
|
|
6601
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
6602
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
6507
6603
|
],
|
|
6508
6604
|
"flags": {
|
|
6509
6605
|
"profile": {
|
|
@@ -6525,32 +6621,21 @@
|
|
|
6525
6621
|
"allowNo": false,
|
|
6526
6622
|
"type": "boolean"
|
|
6527
6623
|
},
|
|
6528
|
-
"
|
|
6529
|
-
"
|
|
6530
|
-
"
|
|
6531
|
-
"name": "description",
|
|
6532
|
-
"required": false,
|
|
6533
|
-
"hasDynamicHelp": false,
|
|
6534
|
-
"multiple": false,
|
|
6535
|
-
"type": "option"
|
|
6536
|
-
},
|
|
6537
|
-
"file": {
|
|
6538
|
-
"char": "f",
|
|
6539
|
-
"description": "Path to zip file to upload",
|
|
6540
|
-
"name": "file",
|
|
6624
|
+
"backup_id": {
|
|
6625
|
+
"description": "Backup ID to delete",
|
|
6626
|
+
"name": "backup_id",
|
|
6541
6627
|
"required": true,
|
|
6542
6628
|
"hasDynamicHelp": false,
|
|
6543
6629
|
"multiple": false,
|
|
6544
6630
|
"type": "option"
|
|
6545
6631
|
},
|
|
6546
|
-
"
|
|
6547
|
-
"char": "
|
|
6548
|
-
"description": "
|
|
6549
|
-
"name": "
|
|
6550
|
-
"required":
|
|
6551
|
-
"
|
|
6552
|
-
"
|
|
6553
|
-
"type": "option"
|
|
6632
|
+
"force": {
|
|
6633
|
+
"char": "f",
|
|
6634
|
+
"description": "Skip confirmation prompt",
|
|
6635
|
+
"name": "force",
|
|
6636
|
+
"required": false,
|
|
6637
|
+
"allowNo": false,
|
|
6638
|
+
"type": "boolean"
|
|
6554
6639
|
},
|
|
6555
6640
|
"output": {
|
|
6556
6641
|
"char": "o",
|
|
@@ -6568,7 +6653,7 @@
|
|
|
6568
6653
|
},
|
|
6569
6654
|
"workspace": {
|
|
6570
6655
|
"char": "w",
|
|
6571
|
-
"description": "Workspace ID (
|
|
6656
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6572
6657
|
"name": "workspace",
|
|
6573
6658
|
"required": false,
|
|
6574
6659
|
"hasDynamicHelp": false,
|
|
@@ -6578,7 +6663,7 @@
|
|
|
6578
6663
|
},
|
|
6579
6664
|
"hasDynamicHelp": false,
|
|
6580
6665
|
"hiddenAliases": [],
|
|
6581
|
-
"id": "
|
|
6666
|
+
"id": "tenant:backup:delete",
|
|
6582
6667
|
"pluginAlias": "@xano/cli",
|
|
6583
6668
|
"pluginName": "@xano/cli",
|
|
6584
6669
|
"pluginType": "core",
|
|
@@ -6588,19 +6673,25 @@
|
|
|
6588
6673
|
"relativePath": [
|
|
6589
6674
|
"dist",
|
|
6590
6675
|
"commands",
|
|
6591
|
-
"
|
|
6592
|
-
"
|
|
6593
|
-
"
|
|
6676
|
+
"tenant",
|
|
6677
|
+
"backup",
|
|
6678
|
+
"delete",
|
|
6594
6679
|
"index.js"
|
|
6595
6680
|
]
|
|
6596
6681
|
},
|
|
6597
|
-
"
|
|
6682
|
+
"tenant:backup:import": {
|
|
6598
6683
|
"aliases": [],
|
|
6599
|
-
"args": {
|
|
6600
|
-
|
|
6684
|
+
"args": {
|
|
6685
|
+
"tenant_name": {
|
|
6686
|
+
"description": "Tenant name to import backup into",
|
|
6687
|
+
"name": "tenant_name",
|
|
6688
|
+
"required": true
|
|
6689
|
+
}
|
|
6690
|
+
},
|
|
6691
|
+
"description": "Import a backup file into a tenant",
|
|
6601
6692
|
"examples": [
|
|
6602
|
-
"$ xano
|
|
6603
|
-
"$ xano
|
|
6693
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
6694
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
6604
6695
|
],
|
|
6605
6696
|
"flags": {
|
|
6606
6697
|
"profile": {
|
|
@@ -6622,11 +6713,21 @@
|
|
|
6622
6713
|
"allowNo": false,
|
|
6623
6714
|
"type": "boolean"
|
|
6624
6715
|
},
|
|
6625
|
-
"
|
|
6626
|
-
"char": "
|
|
6627
|
-
"description": "
|
|
6628
|
-
"name": "
|
|
6716
|
+
"description": {
|
|
6717
|
+
"char": "d",
|
|
6718
|
+
"description": "Backup description",
|
|
6719
|
+
"name": "description",
|
|
6629
6720
|
"required": false,
|
|
6721
|
+
"default": "",
|
|
6722
|
+
"hasDynamicHelp": false,
|
|
6723
|
+
"multiple": false,
|
|
6724
|
+
"type": "option"
|
|
6725
|
+
},
|
|
6726
|
+
"file": {
|
|
6727
|
+
"char": "f",
|
|
6728
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
6729
|
+
"name": "file",
|
|
6730
|
+
"required": true,
|
|
6630
6731
|
"hasDynamicHelp": false,
|
|
6631
6732
|
"multiple": false,
|
|
6632
6733
|
"type": "option"
|
|
@@ -6644,11 +6745,20 @@
|
|
|
6644
6745
|
"json"
|
|
6645
6746
|
],
|
|
6646
6747
|
"type": "option"
|
|
6748
|
+
},
|
|
6749
|
+
"workspace": {
|
|
6750
|
+
"char": "w",
|
|
6751
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6752
|
+
"name": "workspace",
|
|
6753
|
+
"required": false,
|
|
6754
|
+
"hasDynamicHelp": false,
|
|
6755
|
+
"multiple": false,
|
|
6756
|
+
"type": "option"
|
|
6647
6757
|
}
|
|
6648
6758
|
},
|
|
6649
6759
|
"hasDynamicHelp": false,
|
|
6650
6760
|
"hiddenAliases": [],
|
|
6651
|
-
"id": "
|
|
6761
|
+
"id": "tenant:backup:import",
|
|
6652
6762
|
"pluginAlias": "@xano/cli",
|
|
6653
6763
|
"pluginName": "@xano/cli",
|
|
6654
6764
|
"pluginType": "core",
|
|
@@ -6658,32 +6768,26 @@
|
|
|
6658
6768
|
"relativePath": [
|
|
6659
6769
|
"dist",
|
|
6660
6770
|
"commands",
|
|
6661
|
-
"
|
|
6662
|
-
"
|
|
6663
|
-
"
|
|
6771
|
+
"tenant",
|
|
6772
|
+
"backup",
|
|
6773
|
+
"import",
|
|
6664
6774
|
"index.js"
|
|
6665
6775
|
]
|
|
6666
6776
|
},
|
|
6667
|
-
"
|
|
6777
|
+
"tenant:backup:export": {
|
|
6668
6778
|
"aliases": [],
|
|
6669
6779
|
"args": {
|
|
6670
|
-
"
|
|
6671
|
-
"description": "
|
|
6672
|
-
"name": "
|
|
6673
|
-
"required": true
|
|
6674
|
-
},
|
|
6675
|
-
"static_host": {
|
|
6676
|
-
"description": "Static Host name",
|
|
6677
|
-
"name": "static_host",
|
|
6780
|
+
"tenant_name": {
|
|
6781
|
+
"description": "Tenant name to export backup from",
|
|
6782
|
+
"name": "tenant_name",
|
|
6678
6783
|
"required": true
|
|
6679
6784
|
}
|
|
6680
6785
|
},
|
|
6681
|
-
"description": "
|
|
6786
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
6682
6787
|
"examples": [
|
|
6683
|
-
"$ xano
|
|
6684
|
-
"$ xano
|
|
6685
|
-
"$ xano
|
|
6686
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
6788
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
6789
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
6790
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
6687
6791
|
],
|
|
6688
6792
|
"flags": {
|
|
6689
6793
|
"profile": {
|
|
@@ -6705,10 +6809,18 @@
|
|
|
6705
6809
|
"allowNo": false,
|
|
6706
6810
|
"type": "boolean"
|
|
6707
6811
|
},
|
|
6708
|
-
"
|
|
6812
|
+
"backup_id": {
|
|
6813
|
+
"description": "Backup ID to export",
|
|
6814
|
+
"name": "backup_id",
|
|
6815
|
+
"required": true,
|
|
6816
|
+
"hasDynamicHelp": false,
|
|
6817
|
+
"multiple": false,
|
|
6818
|
+
"type": "option"
|
|
6819
|
+
},
|
|
6820
|
+
"format": {
|
|
6709
6821
|
"char": "o",
|
|
6710
6822
|
"description": "Output format",
|
|
6711
|
-
"name": "
|
|
6823
|
+
"name": "format",
|
|
6712
6824
|
"required": false,
|
|
6713
6825
|
"default": "summary",
|
|
6714
6826
|
"hasDynamicHelp": false,
|
|
@@ -6719,9 +6831,17 @@
|
|
|
6719
6831
|
],
|
|
6720
6832
|
"type": "option"
|
|
6721
6833
|
},
|
|
6834
|
+
"output": {
|
|
6835
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
6836
|
+
"name": "output",
|
|
6837
|
+
"required": false,
|
|
6838
|
+
"hasDynamicHelp": false,
|
|
6839
|
+
"multiple": false,
|
|
6840
|
+
"type": "option"
|
|
6841
|
+
},
|
|
6722
6842
|
"workspace": {
|
|
6723
6843
|
"char": "w",
|
|
6724
|
-
"description": "Workspace ID (
|
|
6844
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6725
6845
|
"name": "workspace",
|
|
6726
6846
|
"required": false,
|
|
6727
6847
|
"hasDynamicHelp": false,
|
|
@@ -6731,7 +6851,7 @@
|
|
|
6731
6851
|
},
|
|
6732
6852
|
"hasDynamicHelp": false,
|
|
6733
6853
|
"hiddenAliases": [],
|
|
6734
|
-
"id": "
|
|
6854
|
+
"id": "tenant:backup:export",
|
|
6735
6855
|
"pluginAlias": "@xano/cli",
|
|
6736
6856
|
"pluginName": "@xano/cli",
|
|
6737
6857
|
"pluginType": "core",
|
|
@@ -6741,27 +6861,25 @@
|
|
|
6741
6861
|
"relativePath": [
|
|
6742
6862
|
"dist",
|
|
6743
6863
|
"commands",
|
|
6744
|
-
"
|
|
6745
|
-
"
|
|
6746
|
-
"
|
|
6864
|
+
"tenant",
|
|
6865
|
+
"backup",
|
|
6866
|
+
"export",
|
|
6747
6867
|
"index.js"
|
|
6748
6868
|
]
|
|
6749
6869
|
},
|
|
6750
|
-
"
|
|
6870
|
+
"tenant:backup:restore": {
|
|
6751
6871
|
"aliases": [],
|
|
6752
6872
|
"args": {
|
|
6753
|
-
"
|
|
6754
|
-
"description": "
|
|
6755
|
-
"name": "
|
|
6873
|
+
"tenant_name": {
|
|
6874
|
+
"description": "Tenant name to restore",
|
|
6875
|
+
"name": "tenant_name",
|
|
6756
6876
|
"required": true
|
|
6757
6877
|
}
|
|
6758
6878
|
},
|
|
6759
|
-
"description": "
|
|
6879
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
6760
6880
|
"examples": [
|
|
6761
|
-
"$ xano
|
|
6762
|
-
"$ xano
|
|
6763
|
-
"$ 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",
|
|
6764
|
-
"$ 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"
|
|
6881
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to restore tenant t1234-abcd-xyz1 from backup 10? This will replace current data. (y/N) y\nRestored tenant t1234-abcd-xyz1 from backup #10\n",
|
|
6882
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
6765
6883
|
],
|
|
6766
6884
|
"flags": {
|
|
6767
6885
|
"profile": {
|
|
@@ -6783,6 +6901,22 @@
|
|
|
6783
6901
|
"allowNo": false,
|
|
6784
6902
|
"type": "boolean"
|
|
6785
6903
|
},
|
|
6904
|
+
"backup_id": {
|
|
6905
|
+
"description": "Backup ID to restore from",
|
|
6906
|
+
"name": "backup_id",
|
|
6907
|
+
"required": true,
|
|
6908
|
+
"hasDynamicHelp": false,
|
|
6909
|
+
"multiple": false,
|
|
6910
|
+
"type": "option"
|
|
6911
|
+
},
|
|
6912
|
+
"force": {
|
|
6913
|
+
"char": "f",
|
|
6914
|
+
"description": "Skip confirmation prompt",
|
|
6915
|
+
"name": "force",
|
|
6916
|
+
"required": false,
|
|
6917
|
+
"allowNo": false,
|
|
6918
|
+
"type": "boolean"
|
|
6919
|
+
},
|
|
6786
6920
|
"output": {
|
|
6787
6921
|
"char": "o",
|
|
6788
6922
|
"description": "Output format",
|
|
@@ -6797,27 +6931,9 @@
|
|
|
6797
6931
|
],
|
|
6798
6932
|
"type": "option"
|
|
6799
6933
|
},
|
|
6800
|
-
"page": {
|
|
6801
|
-
"description": "Page number for pagination",
|
|
6802
|
-
"name": "page",
|
|
6803
|
-
"required": false,
|
|
6804
|
-
"default": 1,
|
|
6805
|
-
"hasDynamicHelp": false,
|
|
6806
|
-
"multiple": false,
|
|
6807
|
-
"type": "option"
|
|
6808
|
-
},
|
|
6809
|
-
"per_page": {
|
|
6810
|
-
"description": "Number of results per page",
|
|
6811
|
-
"name": "per_page",
|
|
6812
|
-
"required": false,
|
|
6813
|
-
"default": 50,
|
|
6814
|
-
"hasDynamicHelp": false,
|
|
6815
|
-
"multiple": false,
|
|
6816
|
-
"type": "option"
|
|
6817
|
-
},
|
|
6818
6934
|
"workspace": {
|
|
6819
6935
|
"char": "w",
|
|
6820
|
-
"description": "Workspace ID (
|
|
6936
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6821
6937
|
"name": "workspace",
|
|
6822
6938
|
"required": false,
|
|
6823
6939
|
"hasDynamicHelp": false,
|
|
@@ -6827,7 +6943,7 @@
|
|
|
6827
6943
|
},
|
|
6828
6944
|
"hasDynamicHelp": false,
|
|
6829
6945
|
"hiddenAliases": [],
|
|
6830
|
-
"id": "
|
|
6946
|
+
"id": "tenant:backup:restore",
|
|
6831
6947
|
"pluginAlias": "@xano/cli",
|
|
6832
6948
|
"pluginName": "@xano/cli",
|
|
6833
6949
|
"pluginType": "core",
|
|
@@ -6837,26 +6953,25 @@
|
|
|
6837
6953
|
"relativePath": [
|
|
6838
6954
|
"dist",
|
|
6839
6955
|
"commands",
|
|
6840
|
-
"
|
|
6841
|
-
"
|
|
6842
|
-
"
|
|
6956
|
+
"tenant",
|
|
6957
|
+
"backup",
|
|
6958
|
+
"restore",
|
|
6843
6959
|
"index.js"
|
|
6844
6960
|
]
|
|
6845
6961
|
},
|
|
6846
|
-
"tenant:backup:
|
|
6962
|
+
"tenant:backup:list": {
|
|
6847
6963
|
"aliases": [],
|
|
6848
6964
|
"args": {
|
|
6849
6965
|
"tenant_name": {
|
|
6850
|
-
"description": "Tenant name
|
|
6966
|
+
"description": "Tenant name to list backups for",
|
|
6851
6967
|
"name": "tenant_name",
|
|
6852
6968
|
"required": true
|
|
6853
6969
|
}
|
|
6854
6970
|
},
|
|
6855
|
-
"description": "
|
|
6971
|
+
"description": "List backups for a tenant",
|
|
6856
6972
|
"examples": [
|
|
6857
|
-
"$ xano tenant backup
|
|
6858
|
-
"$ xano tenant backup
|
|
6859
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
6973
|
+
"$ xano tenant backup list t1234-abcd-xyz1\nBackups for tenant t1234-abcd-xyz1:\n - #1 - Pre-deploy backup (2024-01-15)\n - #2 - Daily backup (2024-01-16)\n",
|
|
6974
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
6860
6975
|
],
|
|
6861
6976
|
"flags": {
|
|
6862
6977
|
"profile": {
|
|
@@ -6878,34 +6993,27 @@
|
|
|
6878
6993
|
"allowNo": false,
|
|
6879
6994
|
"type": "boolean"
|
|
6880
6995
|
},
|
|
6881
|
-
"backup_id": {
|
|
6882
|
-
"description": "Backup ID to delete",
|
|
6883
|
-
"name": "backup_id",
|
|
6884
|
-
"required": true,
|
|
6885
|
-
"hasDynamicHelp": false,
|
|
6886
|
-
"multiple": false,
|
|
6887
|
-
"type": "option"
|
|
6888
|
-
},
|
|
6889
|
-
"force": {
|
|
6890
|
-
"char": "f",
|
|
6891
|
-
"description": "Skip confirmation prompt",
|
|
6892
|
-
"name": "force",
|
|
6893
|
-
"required": false,
|
|
6894
|
-
"allowNo": false,
|
|
6895
|
-
"type": "boolean"
|
|
6896
|
-
},
|
|
6897
6996
|
"output": {
|
|
6898
6997
|
"char": "o",
|
|
6899
6998
|
"description": "Output format",
|
|
6900
6999
|
"name": "output",
|
|
6901
7000
|
"required": false,
|
|
6902
|
-
"default": "summary",
|
|
7001
|
+
"default": "summary",
|
|
7002
|
+
"hasDynamicHelp": false,
|
|
7003
|
+
"multiple": false,
|
|
7004
|
+
"options": [
|
|
7005
|
+
"summary",
|
|
7006
|
+
"json"
|
|
7007
|
+
],
|
|
7008
|
+
"type": "option"
|
|
7009
|
+
},
|
|
7010
|
+
"page": {
|
|
7011
|
+
"description": "Page number for pagination",
|
|
7012
|
+
"name": "page",
|
|
7013
|
+
"required": false,
|
|
7014
|
+
"default": 1,
|
|
6903
7015
|
"hasDynamicHelp": false,
|
|
6904
7016
|
"multiple": false,
|
|
6905
|
-
"options": [
|
|
6906
|
-
"summary",
|
|
6907
|
-
"json"
|
|
6908
|
-
],
|
|
6909
7017
|
"type": "option"
|
|
6910
7018
|
},
|
|
6911
7019
|
"workspace": {
|
|
@@ -6920,7 +7028,7 @@
|
|
|
6920
7028
|
},
|
|
6921
7029
|
"hasDynamicHelp": false,
|
|
6922
7030
|
"hiddenAliases": [],
|
|
6923
|
-
"id": "tenant:backup:
|
|
7031
|
+
"id": "tenant:backup:list",
|
|
6924
7032
|
"pluginAlias": "@xano/cli",
|
|
6925
7033
|
"pluginName": "@xano/cli",
|
|
6926
7034
|
"pluginType": "core",
|
|
@@ -6932,23 +7040,17 @@
|
|
|
6932
7040
|
"commands",
|
|
6933
7041
|
"tenant",
|
|
6934
7042
|
"backup",
|
|
6935
|
-
"
|
|
7043
|
+
"list",
|
|
6936
7044
|
"index.js"
|
|
6937
7045
|
]
|
|
6938
7046
|
},
|
|
6939
|
-
"
|
|
7047
|
+
"sandbox:env:get": {
|
|
6940
7048
|
"aliases": [],
|
|
6941
|
-
"args": {
|
|
6942
|
-
|
|
6943
|
-
"description": "Tenant name to back up",
|
|
6944
|
-
"name": "tenant_name",
|
|
6945
|
-
"required": true
|
|
6946
|
-
}
|
|
6947
|
-
},
|
|
6948
|
-
"description": "Create a backup for a tenant",
|
|
7049
|
+
"args": {},
|
|
7050
|
+
"description": "Get a single environment variable for a sandbox environment",
|
|
6949
7051
|
"examples": [
|
|
6950
|
-
"$ xano
|
|
6951
|
-
"$ xano
|
|
7052
|
+
"$ xano sandbox env get --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
7053
|
+
"$ xano sandbox env get --name DATABASE_URL -o json"
|
|
6952
7054
|
],
|
|
6953
7055
|
"flags": {
|
|
6954
7056
|
"profile": {
|
|
@@ -6970,12 +7072,11 @@
|
|
|
6970
7072
|
"allowNo": false,
|
|
6971
7073
|
"type": "boolean"
|
|
6972
7074
|
},
|
|
6973
|
-
"
|
|
6974
|
-
"char": "
|
|
6975
|
-
"description": "
|
|
6976
|
-
"name": "
|
|
6977
|
-
"required":
|
|
6978
|
-
"default": "",
|
|
7075
|
+
"name": {
|
|
7076
|
+
"char": "n",
|
|
7077
|
+
"description": "Environment variable name",
|
|
7078
|
+
"name": "name",
|
|
7079
|
+
"required": true,
|
|
6979
7080
|
"hasDynamicHelp": false,
|
|
6980
7081
|
"multiple": false,
|
|
6981
7082
|
"type": "option"
|
|
@@ -6993,20 +7094,11 @@
|
|
|
6993
7094
|
"json"
|
|
6994
7095
|
],
|
|
6995
7096
|
"type": "option"
|
|
6996
|
-
},
|
|
6997
|
-
"workspace": {
|
|
6998
|
-
"char": "w",
|
|
6999
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
7000
|
-
"name": "workspace",
|
|
7001
|
-
"required": false,
|
|
7002
|
-
"hasDynamicHelp": false,
|
|
7003
|
-
"multiple": false,
|
|
7004
|
-
"type": "option"
|
|
7005
7097
|
}
|
|
7006
7098
|
},
|
|
7007
7099
|
"hasDynamicHelp": false,
|
|
7008
7100
|
"hiddenAliases": [],
|
|
7009
|
-
"id": "
|
|
7101
|
+
"id": "sandbox:env:get",
|
|
7010
7102
|
"pluginAlias": "@xano/cli",
|
|
7011
7103
|
"pluginName": "@xano/cli",
|
|
7012
7104
|
"pluginType": "core",
|
|
@@ -7016,26 +7108,20 @@
|
|
|
7016
7108
|
"relativePath": [
|
|
7017
7109
|
"dist",
|
|
7018
7110
|
"commands",
|
|
7019
|
-
"
|
|
7020
|
-
"
|
|
7021
|
-
"
|
|
7111
|
+
"sandbox",
|
|
7112
|
+
"env",
|
|
7113
|
+
"get",
|
|
7022
7114
|
"index.js"
|
|
7023
7115
|
]
|
|
7024
7116
|
},
|
|
7025
|
-
"
|
|
7117
|
+
"sandbox:env:delete": {
|
|
7026
7118
|
"aliases": [],
|
|
7027
|
-
"args": {
|
|
7028
|
-
|
|
7029
|
-
"description": "Tenant name to export backup from",
|
|
7030
|
-
"name": "tenant_name",
|
|
7031
|
-
"required": true
|
|
7032
|
-
}
|
|
7033
|
-
},
|
|
7034
|
-
"description": "Export (download) a tenant backup to a local file",
|
|
7119
|
+
"args": {},
|
|
7120
|
+
"description": "Delete an environment variable from a sandbox environment",
|
|
7035
7121
|
"examples": [
|
|
7036
|
-
"$ xano
|
|
7037
|
-
"$ xano
|
|
7038
|
-
"$ xano
|
|
7122
|
+
"$ xano sandbox env delete --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL'? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted\n",
|
|
7123
|
+
"$ xano sandbox env delete --name DATABASE_URL --force",
|
|
7124
|
+
"$ xano sandbox env delete --name DATABASE_URL -f -o json"
|
|
7039
7125
|
],
|
|
7040
7126
|
"flags": {
|
|
7041
7127
|
"profile": {
|
|
@@ -7057,18 +7143,27 @@
|
|
|
7057
7143
|
"allowNo": false,
|
|
7058
7144
|
"type": "boolean"
|
|
7059
7145
|
},
|
|
7060
|
-
"
|
|
7061
|
-
"
|
|
7062
|
-
"
|
|
7146
|
+
"force": {
|
|
7147
|
+
"char": "f",
|
|
7148
|
+
"description": "Skip confirmation prompt",
|
|
7149
|
+
"name": "force",
|
|
7150
|
+
"required": false,
|
|
7151
|
+
"allowNo": false,
|
|
7152
|
+
"type": "boolean"
|
|
7153
|
+
},
|
|
7154
|
+
"name": {
|
|
7155
|
+
"char": "n",
|
|
7156
|
+
"description": "Environment variable name",
|
|
7157
|
+
"name": "name",
|
|
7063
7158
|
"required": true,
|
|
7064
7159
|
"hasDynamicHelp": false,
|
|
7065
7160
|
"multiple": false,
|
|
7066
7161
|
"type": "option"
|
|
7067
7162
|
},
|
|
7068
|
-
"
|
|
7163
|
+
"output": {
|
|
7069
7164
|
"char": "o",
|
|
7070
7165
|
"description": "Output format",
|
|
7071
|
-
"name": "
|
|
7166
|
+
"name": "output",
|
|
7072
7167
|
"required": false,
|
|
7073
7168
|
"default": "summary",
|
|
7074
7169
|
"hasDynamicHelp": false,
|
|
@@ -7078,28 +7173,11 @@
|
|
|
7078
7173
|
"json"
|
|
7079
7174
|
],
|
|
7080
7175
|
"type": "option"
|
|
7081
|
-
},
|
|
7082
|
-
"output": {
|
|
7083
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
7084
|
-
"name": "output",
|
|
7085
|
-
"required": false,
|
|
7086
|
-
"hasDynamicHelp": false,
|
|
7087
|
-
"multiple": false,
|
|
7088
|
-
"type": "option"
|
|
7089
|
-
},
|
|
7090
|
-
"workspace": {
|
|
7091
|
-
"char": "w",
|
|
7092
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
7093
|
-
"name": "workspace",
|
|
7094
|
-
"required": false,
|
|
7095
|
-
"hasDynamicHelp": false,
|
|
7096
|
-
"multiple": false,
|
|
7097
|
-
"type": "option"
|
|
7098
7176
|
}
|
|
7099
7177
|
},
|
|
7100
7178
|
"hasDynamicHelp": false,
|
|
7101
7179
|
"hiddenAliases": [],
|
|
7102
|
-
"id": "
|
|
7180
|
+
"id": "sandbox:env:delete",
|
|
7103
7181
|
"pluginAlias": "@xano/cli",
|
|
7104
7182
|
"pluginName": "@xano/cli",
|
|
7105
7183
|
"pluginType": "core",
|
|
@@ -7109,25 +7187,21 @@
|
|
|
7109
7187
|
"relativePath": [
|
|
7110
7188
|
"dist",
|
|
7111
7189
|
"commands",
|
|
7112
|
-
"
|
|
7113
|
-
"
|
|
7114
|
-
"
|
|
7190
|
+
"sandbox",
|
|
7191
|
+
"env",
|
|
7192
|
+
"delete",
|
|
7115
7193
|
"index.js"
|
|
7116
7194
|
]
|
|
7117
7195
|
},
|
|
7118
|
-
"
|
|
7196
|
+
"sandbox:env:get_all": {
|
|
7119
7197
|
"aliases": [],
|
|
7120
|
-
"args": {
|
|
7121
|
-
|
|
7122
|
-
"description": "Tenant name to import backup into",
|
|
7123
|
-
"name": "tenant_name",
|
|
7124
|
-
"required": true
|
|
7125
|
-
}
|
|
7126
|
-
},
|
|
7127
|
-
"description": "Import a backup file into a tenant",
|
|
7198
|
+
"args": {},
|
|
7199
|
+
"description": "Get all environment variables for a sandbox environment and save to a YAML file",
|
|
7128
7200
|
"examples": [
|
|
7129
|
-
"$ xano
|
|
7130
|
-
"$ xano
|
|
7201
|
+
"$ xano sandbox env get_all\nEnvironment variables saved to env_<tenant>.yaml\n",
|
|
7202
|
+
"$ xano sandbox env get_all --file ./my-env.yaml",
|
|
7203
|
+
"$ xano sandbox env get_all --view",
|
|
7204
|
+
"$ xano sandbox env get_all -o json"
|
|
7131
7205
|
],
|
|
7132
7206
|
"flags": {
|
|
7133
7207
|
"profile": {
|
|
@@ -7149,21 +7223,11 @@
|
|
|
7149
7223
|
"allowNo": false,
|
|
7150
7224
|
"type": "boolean"
|
|
7151
7225
|
},
|
|
7152
|
-
"description": {
|
|
7153
|
-
"char": "d",
|
|
7154
|
-
"description": "Backup description",
|
|
7155
|
-
"name": "description",
|
|
7156
|
-
"required": false,
|
|
7157
|
-
"default": "",
|
|
7158
|
-
"hasDynamicHelp": false,
|
|
7159
|
-
"multiple": false,
|
|
7160
|
-
"type": "option"
|
|
7161
|
-
},
|
|
7162
7226
|
"file": {
|
|
7163
7227
|
"char": "f",
|
|
7164
|
-
"description": "
|
|
7228
|
+
"description": "Output file path (default: env_<sandbox_name>.yaml)",
|
|
7165
7229
|
"name": "file",
|
|
7166
|
-
"required":
|
|
7230
|
+
"required": false,
|
|
7167
7231
|
"hasDynamicHelp": false,
|
|
7168
7232
|
"multiple": false,
|
|
7169
7233
|
"type": "option"
|
|
@@ -7182,19 +7246,17 @@
|
|
|
7182
7246
|
],
|
|
7183
7247
|
"type": "option"
|
|
7184
7248
|
},
|
|
7185
|
-
"
|
|
7186
|
-
"
|
|
7187
|
-
"
|
|
7188
|
-
"name": "workspace",
|
|
7249
|
+
"view": {
|
|
7250
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
7251
|
+
"name": "view",
|
|
7189
7252
|
"required": false,
|
|
7190
|
-
"
|
|
7191
|
-
"
|
|
7192
|
-
"type": "option"
|
|
7253
|
+
"allowNo": false,
|
|
7254
|
+
"type": "boolean"
|
|
7193
7255
|
}
|
|
7194
7256
|
},
|
|
7195
7257
|
"hasDynamicHelp": false,
|
|
7196
7258
|
"hiddenAliases": [],
|
|
7197
|
-
"id": "
|
|
7259
|
+
"id": "sandbox:env:get_all",
|
|
7198
7260
|
"pluginAlias": "@xano/cli",
|
|
7199
7261
|
"pluginName": "@xano/cli",
|
|
7200
7262
|
"pluginType": "core",
|
|
@@ -7204,25 +7266,19 @@
|
|
|
7204
7266
|
"relativePath": [
|
|
7205
7267
|
"dist",
|
|
7206
7268
|
"commands",
|
|
7207
|
-
"
|
|
7208
|
-
"
|
|
7209
|
-
"
|
|
7269
|
+
"sandbox",
|
|
7270
|
+
"env",
|
|
7271
|
+
"get_all",
|
|
7210
7272
|
"index.js"
|
|
7211
7273
|
]
|
|
7212
7274
|
},
|
|
7213
|
-
"
|
|
7275
|
+
"sandbox:env:list": {
|
|
7214
7276
|
"aliases": [],
|
|
7215
|
-
"args": {
|
|
7216
|
-
|
|
7217
|
-
"description": "Tenant name to list backups for",
|
|
7218
|
-
"name": "tenant_name",
|
|
7219
|
-
"required": true
|
|
7220
|
-
}
|
|
7221
|
-
},
|
|
7222
|
-
"description": "List backups for a tenant",
|
|
7277
|
+
"args": {},
|
|
7278
|
+
"description": "List environment variable keys for a sandbox environment",
|
|
7223
7279
|
"examples": [
|
|
7224
|
-
"$ xano
|
|
7225
|
-
"$ xano
|
|
7280
|
+
"$ xano sandbox env list\nEnvironment variables for sandbox environment:\n - DATABASE_URL\n - API_KEY\n",
|
|
7281
|
+
"$ xano sandbox env list -o json"
|
|
7226
7282
|
],
|
|
7227
7283
|
"flags": {
|
|
7228
7284
|
"profile": {
|
|
@@ -7257,29 +7313,11 @@
|
|
|
7257
7313
|
"json"
|
|
7258
7314
|
],
|
|
7259
7315
|
"type": "option"
|
|
7260
|
-
},
|
|
7261
|
-
"page": {
|
|
7262
|
-
"description": "Page number for pagination",
|
|
7263
|
-
"name": "page",
|
|
7264
|
-
"required": false,
|
|
7265
|
-
"default": 1,
|
|
7266
|
-
"hasDynamicHelp": false,
|
|
7267
|
-
"multiple": false,
|
|
7268
|
-
"type": "option"
|
|
7269
|
-
},
|
|
7270
|
-
"workspace": {
|
|
7271
|
-
"char": "w",
|
|
7272
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
7273
|
-
"name": "workspace",
|
|
7274
|
-
"required": false,
|
|
7275
|
-
"hasDynamicHelp": false,
|
|
7276
|
-
"multiple": false,
|
|
7277
|
-
"type": "option"
|
|
7278
7316
|
}
|
|
7279
7317
|
},
|
|
7280
7318
|
"hasDynamicHelp": false,
|
|
7281
7319
|
"hiddenAliases": [],
|
|
7282
|
-
"id": "
|
|
7320
|
+
"id": "sandbox:env:list",
|
|
7283
7321
|
"pluginAlias": "@xano/cli",
|
|
7284
7322
|
"pluginName": "@xano/cli",
|
|
7285
7323
|
"pluginType": "core",
|
|
@@ -7289,25 +7327,19 @@
|
|
|
7289
7327
|
"relativePath": [
|
|
7290
7328
|
"dist",
|
|
7291
7329
|
"commands",
|
|
7292
|
-
"
|
|
7293
|
-
"
|
|
7330
|
+
"sandbox",
|
|
7331
|
+
"env",
|
|
7294
7332
|
"list",
|
|
7295
7333
|
"index.js"
|
|
7296
7334
|
]
|
|
7297
7335
|
},
|
|
7298
|
-
"
|
|
7336
|
+
"sandbox:env:set": {
|
|
7299
7337
|
"aliases": [],
|
|
7300
|
-
"args": {
|
|
7301
|
-
|
|
7302
|
-
"description": "Tenant name to restore",
|
|
7303
|
-
"name": "tenant_name",
|
|
7304
|
-
"required": true
|
|
7305
|
-
}
|
|
7306
|
-
},
|
|
7307
|
-
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
7338
|
+
"args": {},
|
|
7339
|
+
"description": "Set (create or update) an environment variable for a sandbox environment",
|
|
7308
7340
|
"examples": [
|
|
7309
|
-
"$ xano
|
|
7310
|
-
"$ xano
|
|
7341
|
+
"$ xano sandbox env set --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set\n",
|
|
7342
|
+
"$ xano sandbox env set --name DATABASE_URL --value postgres://localhost:5432/mydb -o json"
|
|
7311
7343
|
],
|
|
7312
7344
|
"flags": {
|
|
7313
7345
|
"profile": {
|
|
@@ -7329,22 +7361,15 @@
|
|
|
7329
7361
|
"allowNo": false,
|
|
7330
7362
|
"type": "boolean"
|
|
7331
7363
|
},
|
|
7332
|
-
"
|
|
7333
|
-
"
|
|
7334
|
-
"
|
|
7364
|
+
"name": {
|
|
7365
|
+
"char": "n",
|
|
7366
|
+
"description": "Environment variable name",
|
|
7367
|
+
"name": "name",
|
|
7335
7368
|
"required": true,
|
|
7336
7369
|
"hasDynamicHelp": false,
|
|
7337
7370
|
"multiple": false,
|
|
7338
7371
|
"type": "option"
|
|
7339
7372
|
},
|
|
7340
|
-
"force": {
|
|
7341
|
-
"char": "f",
|
|
7342
|
-
"description": "Skip confirmation prompt",
|
|
7343
|
-
"name": "force",
|
|
7344
|
-
"required": false,
|
|
7345
|
-
"allowNo": false,
|
|
7346
|
-
"type": "boolean"
|
|
7347
|
-
},
|
|
7348
7373
|
"output": {
|
|
7349
7374
|
"char": "o",
|
|
7350
7375
|
"description": "Output format",
|
|
@@ -7359,11 +7384,10 @@
|
|
|
7359
7384
|
],
|
|
7360
7385
|
"type": "option"
|
|
7361
7386
|
},
|
|
7362
|
-
"
|
|
7363
|
-
"
|
|
7364
|
-
"
|
|
7365
|
-
"
|
|
7366
|
-
"required": false,
|
|
7387
|
+
"value": {
|
|
7388
|
+
"description": "Environment variable value",
|
|
7389
|
+
"name": "value",
|
|
7390
|
+
"required": true,
|
|
7367
7391
|
"hasDynamicHelp": false,
|
|
7368
7392
|
"multiple": false,
|
|
7369
7393
|
"type": "option"
|
|
@@ -7371,7 +7395,7 @@
|
|
|
7371
7395
|
},
|
|
7372
7396
|
"hasDynamicHelp": false,
|
|
7373
7397
|
"hiddenAliases": [],
|
|
7374
|
-
"id": "
|
|
7398
|
+
"id": "sandbox:env:set",
|
|
7375
7399
|
"pluginAlias": "@xano/cli",
|
|
7376
7400
|
"pluginName": "@xano/cli",
|
|
7377
7401
|
"pluginType": "core",
|
|
@@ -7380,20 +7404,21 @@
|
|
|
7380
7404
|
"isESM": true,
|
|
7381
7405
|
"relativePath": [
|
|
7382
7406
|
"dist",
|
|
7383
|
-
"commands",
|
|
7384
|
-
"
|
|
7385
|
-
"
|
|
7386
|
-
"
|
|
7407
|
+
"commands",
|
|
7408
|
+
"sandbox",
|
|
7409
|
+
"env",
|
|
7410
|
+
"set",
|
|
7387
7411
|
"index.js"
|
|
7388
7412
|
]
|
|
7389
7413
|
},
|
|
7390
|
-
"
|
|
7414
|
+
"sandbox:env:set_all": {
|
|
7391
7415
|
"aliases": [],
|
|
7392
7416
|
"args": {},
|
|
7393
|
-
"description": "
|
|
7417
|
+
"description": "Set all environment variables for a sandbox environment from a YAML file (replaces all existing)",
|
|
7394
7418
|
"examples": [
|
|
7395
|
-
"$ xano
|
|
7396
|
-
"$ xano
|
|
7419
|
+
"$ xano sandbox env set_all\nReads from env_<tenant>.yaml\n",
|
|
7420
|
+
"$ xano sandbox env set_all --file ./my-env.yaml",
|
|
7421
|
+
"$ xano sandbox env set_all -o json"
|
|
7397
7422
|
],
|
|
7398
7423
|
"flags": {
|
|
7399
7424
|
"profile": {
|
|
@@ -7415,54 +7440,22 @@
|
|
|
7415
7440
|
"allowNo": false,
|
|
7416
7441
|
"type": "boolean"
|
|
7417
7442
|
},
|
|
7418
|
-
"
|
|
7419
|
-
"description": "
|
|
7420
|
-
"
|
|
7421
|
-
"credentials_file"
|
|
7422
|
-
],
|
|
7423
|
-
"name": "credentials",
|
|
7424
|
-
"required": false,
|
|
7425
|
-
"hasDynamicHelp": false,
|
|
7426
|
-
"multiple": false,
|
|
7427
|
-
"type": "option"
|
|
7428
|
-
},
|
|
7429
|
-
"credentials_file": {
|
|
7430
|
-
"description": "Path to kubeconfig credentials file",
|
|
7431
|
-
"exclusive": [
|
|
7432
|
-
"credentials"
|
|
7433
|
-
],
|
|
7434
|
-
"name": "credentials_file",
|
|
7435
|
-
"required": false,
|
|
7436
|
-
"hasDynamicHelp": false,
|
|
7437
|
-
"multiple": false,
|
|
7438
|
-
"type": "option"
|
|
7439
|
-
},
|
|
7440
|
-
"description": {
|
|
7441
|
-
"char": "d",
|
|
7442
|
-
"description": "Cluster description",
|
|
7443
|
-
"name": "description",
|
|
7443
|
+
"clean": {
|
|
7444
|
+
"description": "Remove the source file after successful upload",
|
|
7445
|
+
"name": "clean",
|
|
7444
7446
|
"required": false,
|
|
7445
|
-
"
|
|
7446
|
-
"
|
|
7447
|
-
"type": "option"
|
|
7447
|
+
"allowNo": false,
|
|
7448
|
+
"type": "boolean"
|
|
7448
7449
|
},
|
|
7449
|
-
"
|
|
7450
|
-
"
|
|
7451
|
-
"
|
|
7450
|
+
"file": {
|
|
7451
|
+
"char": "f",
|
|
7452
|
+
"description": "Path to env file (default: env_<sandbox_name>.yaml)",
|
|
7453
|
+
"name": "file",
|
|
7452
7454
|
"required": false,
|
|
7453
7455
|
"hasDynamicHelp": false,
|
|
7454
7456
|
"multiple": false,
|
|
7455
7457
|
"type": "option"
|
|
7456
7458
|
},
|
|
7457
|
-
"name": {
|
|
7458
|
-
"char": "n",
|
|
7459
|
-
"description": "Cluster name",
|
|
7460
|
-
"name": "name",
|
|
7461
|
-
"required": true,
|
|
7462
|
-
"hasDynamicHelp": false,
|
|
7463
|
-
"multiple": false,
|
|
7464
|
-
"type": "option"
|
|
7465
|
-
},
|
|
7466
7459
|
"output": {
|
|
7467
7460
|
"char": "o",
|
|
7468
7461
|
"description": "Output format",
|
|
@@ -7476,24 +7469,11 @@
|
|
|
7476
7469
|
"json"
|
|
7477
7470
|
],
|
|
7478
7471
|
"type": "option"
|
|
7479
|
-
},
|
|
7480
|
-
"type": {
|
|
7481
|
-
"description": "Cluster type",
|
|
7482
|
-
"name": "type",
|
|
7483
|
-
"required": false,
|
|
7484
|
-
"default": "standard",
|
|
7485
|
-
"hasDynamicHelp": false,
|
|
7486
|
-
"multiple": false,
|
|
7487
|
-
"options": [
|
|
7488
|
-
"standard",
|
|
7489
|
-
"run"
|
|
7490
|
-
],
|
|
7491
|
-
"type": "option"
|
|
7492
7472
|
}
|
|
7493
7473
|
},
|
|
7494
7474
|
"hasDynamicHelp": false,
|
|
7495
7475
|
"hiddenAliases": [],
|
|
7496
|
-
"id": "
|
|
7476
|
+
"id": "sandbox:env:set_all",
|
|
7497
7477
|
"pluginAlias": "@xano/cli",
|
|
7498
7478
|
"pluginName": "@xano/cli",
|
|
7499
7479
|
"pluginType": "core",
|
|
@@ -7503,9 +7483,9 @@
|
|
|
7503
7483
|
"relativePath": [
|
|
7504
7484
|
"dist",
|
|
7505
7485
|
"commands",
|
|
7506
|
-
"
|
|
7507
|
-
"
|
|
7508
|
-
"
|
|
7486
|
+
"sandbox",
|
|
7487
|
+
"env",
|
|
7488
|
+
"set_all",
|
|
7509
7489
|
"index.js"
|
|
7510
7490
|
]
|
|
7511
7491
|
},
|
|
@@ -7585,23 +7565,13 @@
|
|
|
7585
7565
|
"index.js"
|
|
7586
7566
|
]
|
|
7587
7567
|
},
|
|
7588
|
-
"tenant:
|
|
7568
|
+
"tenant:cluster:create": {
|
|
7589
7569
|
"aliases": [],
|
|
7590
|
-
"args": {
|
|
7591
|
-
|
|
7592
|
-
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
7593
|
-
"name": "directory",
|
|
7594
|
-
"required": true
|
|
7595
|
-
}
|
|
7596
|
-
},
|
|
7597
|
-
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
7570
|
+
"args": {},
|
|
7571
|
+
"description": "Create a new tenant cluster",
|
|
7598
7572
|
"examples": [
|
|
7599
|
-
"$ xano tenant
|
|
7600
|
-
"$ xano tenant
|
|
7601
|
-
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
7602
|
-
"$ xano tenant push ./my-workspace -t my-tenant --records\nInclude table records in import\n",
|
|
7603
|
-
"$ xano tenant push ./my-workspace -t my-tenant --env\nInclude environment variables in import\n",
|
|
7604
|
-
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
7573
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
7574
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
7605
7575
|
],
|
|
7606
7576
|
"flags": {
|
|
7607
7577
|
"profile": {
|
|
@@ -7623,56 +7593,85 @@
|
|
|
7623
7593
|
"allowNo": false,
|
|
7624
7594
|
"type": "boolean"
|
|
7625
7595
|
},
|
|
7626
|
-
"
|
|
7627
|
-
"description": "
|
|
7628
|
-
"
|
|
7596
|
+
"credentials": {
|
|
7597
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
7598
|
+
"exclusive": [
|
|
7599
|
+
"credentials_file"
|
|
7600
|
+
],
|
|
7601
|
+
"name": "credentials",
|
|
7629
7602
|
"required": false,
|
|
7630
|
-
"
|
|
7631
|
-
"
|
|
7603
|
+
"hasDynamicHelp": false,
|
|
7604
|
+
"multiple": false,
|
|
7605
|
+
"type": "option"
|
|
7632
7606
|
},
|
|
7633
|
-
"
|
|
7634
|
-
"description": "
|
|
7635
|
-
"
|
|
7607
|
+
"credentials_file": {
|
|
7608
|
+
"description": "Path to kubeconfig credentials file",
|
|
7609
|
+
"exclusive": [
|
|
7610
|
+
"credentials"
|
|
7611
|
+
],
|
|
7612
|
+
"name": "credentials_file",
|
|
7636
7613
|
"required": false,
|
|
7637
|
-
"
|
|
7638
|
-
"
|
|
7614
|
+
"hasDynamicHelp": false,
|
|
7615
|
+
"multiple": false,
|
|
7616
|
+
"type": "option"
|
|
7639
7617
|
},
|
|
7640
|
-
"
|
|
7641
|
-
"char": "
|
|
7642
|
-
"description": "
|
|
7643
|
-
"name": "
|
|
7644
|
-
"required":
|
|
7618
|
+
"description": {
|
|
7619
|
+
"char": "d",
|
|
7620
|
+
"description": "Cluster description",
|
|
7621
|
+
"name": "description",
|
|
7622
|
+
"required": false,
|
|
7645
7623
|
"hasDynamicHelp": false,
|
|
7646
7624
|
"multiple": false,
|
|
7647
7625
|
"type": "option"
|
|
7648
7626
|
},
|
|
7649
|
-
"
|
|
7650
|
-
"description": "
|
|
7651
|
-
"name": "
|
|
7627
|
+
"domain": {
|
|
7628
|
+
"description": "Custom domain for the cluster",
|
|
7629
|
+
"name": "domain",
|
|
7652
7630
|
"required": false,
|
|
7653
|
-
"
|
|
7654
|
-
"
|
|
7631
|
+
"hasDynamicHelp": false,
|
|
7632
|
+
"multiple": false,
|
|
7633
|
+
"type": "option"
|
|
7655
7634
|
},
|
|
7656
|
-
"
|
|
7657
|
-
"
|
|
7658
|
-
"
|
|
7635
|
+
"name": {
|
|
7636
|
+
"char": "n",
|
|
7637
|
+
"description": "Cluster name",
|
|
7638
|
+
"name": "name",
|
|
7639
|
+
"required": true,
|
|
7640
|
+
"hasDynamicHelp": false,
|
|
7641
|
+
"multiple": false,
|
|
7642
|
+
"type": "option"
|
|
7643
|
+
},
|
|
7644
|
+
"output": {
|
|
7645
|
+
"char": "o",
|
|
7646
|
+
"description": "Output format",
|
|
7647
|
+
"name": "output",
|
|
7659
7648
|
"required": false,
|
|
7660
|
-
"
|
|
7661
|
-
"
|
|
7649
|
+
"default": "summary",
|
|
7650
|
+
"hasDynamicHelp": false,
|
|
7651
|
+
"multiple": false,
|
|
7652
|
+
"options": [
|
|
7653
|
+
"summary",
|
|
7654
|
+
"json"
|
|
7655
|
+
],
|
|
7656
|
+
"type": "option"
|
|
7662
7657
|
},
|
|
7663
|
-
"
|
|
7664
|
-
"
|
|
7665
|
-
"
|
|
7666
|
-
"name": "workspace",
|
|
7658
|
+
"type": {
|
|
7659
|
+
"description": "Cluster type",
|
|
7660
|
+
"name": "type",
|
|
7667
7661
|
"required": false,
|
|
7662
|
+
"default": "standard",
|
|
7668
7663
|
"hasDynamicHelp": false,
|
|
7669
7664
|
"multiple": false,
|
|
7665
|
+
"options": [
|
|
7666
|
+
"standard",
|
|
7667
|
+
"run"
|
|
7668
|
+
],
|
|
7670
7669
|
"type": "option"
|
|
7671
7670
|
}
|
|
7672
7671
|
},
|
|
7673
7672
|
"hasDynamicHelp": false,
|
|
7674
7673
|
"hiddenAliases": [],
|
|
7675
|
-
"id": "tenant:
|
|
7674
|
+
"id": "tenant:cluster:create",
|
|
7676
7675
|
"pluginAlias": "@xano/cli",
|
|
7677
7676
|
"pluginName": "@xano/cli",
|
|
7678
7677
|
"pluginType": "core",
|
|
@@ -7683,7 +7682,8 @@
|
|
|
7683
7682
|
"dist",
|
|
7684
7683
|
"commands",
|
|
7685
7684
|
"tenant",
|
|
7686
|
-
"
|
|
7685
|
+
"cluster",
|
|
7686
|
+
"create",
|
|
7687
7687
|
"index.js"
|
|
7688
7688
|
]
|
|
7689
7689
|
},
|
|
@@ -8099,7 +8099,7 @@
|
|
|
8099
8099
|
"index.js"
|
|
8100
8100
|
]
|
|
8101
8101
|
},
|
|
8102
|
-
"tenant:env:
|
|
8102
|
+
"tenant:env:list": {
|
|
8103
8103
|
"aliases": [],
|
|
8104
8104
|
"args": {
|
|
8105
8105
|
"tenant_name": {
|
|
@@ -8108,12 +8108,10 @@
|
|
|
8108
8108
|
"required": true
|
|
8109
8109
|
}
|
|
8110
8110
|
},
|
|
8111
|
-
"description": "
|
|
8111
|
+
"description": "List environment variable keys for a tenant",
|
|
8112
8112
|
"examples": [
|
|
8113
|
-
"$ xano tenant env
|
|
8114
|
-
"$ xano tenant env
|
|
8115
|
-
"$ xano tenant env get_all my-tenant --view",
|
|
8116
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
8113
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
8114
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
8117
8115
|
],
|
|
8118
8116
|
"flags": {
|
|
8119
8117
|
"profile": {
|
|
@@ -8135,15 +8133,6 @@
|
|
|
8135
8133
|
"allowNo": false,
|
|
8136
8134
|
"type": "boolean"
|
|
8137
8135
|
},
|
|
8138
|
-
"file": {
|
|
8139
|
-
"char": "f",
|
|
8140
|
-
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
8141
|
-
"name": "file",
|
|
8142
|
-
"required": false,
|
|
8143
|
-
"hasDynamicHelp": false,
|
|
8144
|
-
"multiple": false,
|
|
8145
|
-
"type": "option"
|
|
8146
|
-
},
|
|
8147
8136
|
"output": {
|
|
8148
8137
|
"char": "o",
|
|
8149
8138
|
"description": "Output format",
|
|
@@ -8158,13 +8147,6 @@
|
|
|
8158
8147
|
],
|
|
8159
8148
|
"type": "option"
|
|
8160
8149
|
},
|
|
8161
|
-
"view": {
|
|
8162
|
-
"description": "Print environment variables to stdout instead of saving to file",
|
|
8163
|
-
"name": "view",
|
|
8164
|
-
"required": false,
|
|
8165
|
-
"allowNo": false,
|
|
8166
|
-
"type": "boolean"
|
|
8167
|
-
},
|
|
8168
8150
|
"workspace": {
|
|
8169
8151
|
"char": "w",
|
|
8170
8152
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -8177,7 +8159,7 @@
|
|
|
8177
8159
|
},
|
|
8178
8160
|
"hasDynamicHelp": false,
|
|
8179
8161
|
"hiddenAliases": [],
|
|
8180
|
-
"id": "tenant:env:
|
|
8162
|
+
"id": "tenant:env:list",
|
|
8181
8163
|
"pluginAlias": "@xano/cli",
|
|
8182
8164
|
"pluginName": "@xano/cli",
|
|
8183
8165
|
"pluginType": "core",
|
|
@@ -8189,11 +8171,11 @@
|
|
|
8189
8171
|
"commands",
|
|
8190
8172
|
"tenant",
|
|
8191
8173
|
"env",
|
|
8192
|
-
"
|
|
8174
|
+
"list",
|
|
8193
8175
|
"index.js"
|
|
8194
8176
|
]
|
|
8195
8177
|
},
|
|
8196
|
-
"tenant:env:
|
|
8178
|
+
"tenant:env:get_all": {
|
|
8197
8179
|
"aliases": [],
|
|
8198
8180
|
"args": {
|
|
8199
8181
|
"tenant_name": {
|
|
@@ -8202,10 +8184,12 @@
|
|
|
8202
8184
|
"required": true
|
|
8203
8185
|
}
|
|
8204
8186
|
},
|
|
8205
|
-
"description": "
|
|
8187
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
8206
8188
|
"examples": [
|
|
8207
|
-
"$ xano tenant env
|
|
8208
|
-
"$ xano tenant env
|
|
8189
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
8190
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
8191
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
8192
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
8209
8193
|
],
|
|
8210
8194
|
"flags": {
|
|
8211
8195
|
"profile": {
|
|
@@ -8227,6 +8211,15 @@
|
|
|
8227
8211
|
"allowNo": false,
|
|
8228
8212
|
"type": "boolean"
|
|
8229
8213
|
},
|
|
8214
|
+
"file": {
|
|
8215
|
+
"char": "f",
|
|
8216
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
8217
|
+
"name": "file",
|
|
8218
|
+
"required": false,
|
|
8219
|
+
"hasDynamicHelp": false,
|
|
8220
|
+
"multiple": false,
|
|
8221
|
+
"type": "option"
|
|
8222
|
+
},
|
|
8230
8223
|
"output": {
|
|
8231
8224
|
"char": "o",
|
|
8232
8225
|
"description": "Output format",
|
|
@@ -8241,6 +8234,13 @@
|
|
|
8241
8234
|
],
|
|
8242
8235
|
"type": "option"
|
|
8243
8236
|
},
|
|
8237
|
+
"view": {
|
|
8238
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
8239
|
+
"name": "view",
|
|
8240
|
+
"required": false,
|
|
8241
|
+
"allowNo": false,
|
|
8242
|
+
"type": "boolean"
|
|
8243
|
+
},
|
|
8244
8244
|
"workspace": {
|
|
8245
8245
|
"char": "w",
|
|
8246
8246
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -8253,7 +8253,7 @@
|
|
|
8253
8253
|
},
|
|
8254
8254
|
"hasDynamicHelp": false,
|
|
8255
8255
|
"hiddenAliases": [],
|
|
8256
|
-
"id": "tenant:env:
|
|
8256
|
+
"id": "tenant:env:get_all",
|
|
8257
8257
|
"pluginAlias": "@xano/cli",
|
|
8258
8258
|
"pluginName": "@xano/cli",
|
|
8259
8259
|
"pluginType": "core",
|
|
@@ -8265,7 +8265,7 @@
|
|
|
8265
8265
|
"commands",
|
|
8266
8266
|
"tenant",
|
|
8267
8267
|
"env",
|
|
8268
|
-
"
|
|
8268
|
+
"get_all",
|
|
8269
8269
|
"index.js"
|
|
8270
8270
|
]
|
|
8271
8271
|
},
|
|
@@ -9664,5 +9664,5 @@
|
|
|
9664
9664
|
]
|
|
9665
9665
|
}
|
|
9666
9666
|
},
|
|
9667
|
-
"version": "0.0.95-beta.
|
|
9667
|
+
"version": "0.0.95-beta.13"
|
|
9668
9668
|
}
|