@xano/cli 0.0.78 → 0.0.79

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.
@@ -394,20 +394,20 @@
394
394
  "index.js"
395
395
  ]
396
396
  },
397
- "branch:set_live": {
397
+ "branch:list": {
398
398
  "aliases": [],
399
399
  "args": {
400
- "branch_label": {
401
- "description": "Branch label to set as live (use \"v1\" for default branch)",
402
- "name": "branch_label",
403
- "required": true
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": "Set a branch as the live (active) branch for API requests",
406
+ "description": "List all branches in a workspace",
407
407
  "examples": [
408
- "$ xano branch set-live staging\nAre you sure you want to set 'staging' as the live branch? (y/N) y\nBranch 'staging' is now live\n",
409
- "$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
410
- "$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
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": {
@@ -429,14 +429,6 @@
429
429
  "allowNo": false,
430
430
  "type": "boolean"
431
431
  },
432
- "force": {
433
- "char": "f",
434
- "description": "Skip confirmation prompt",
435
- "name": "force",
436
- "required": false,
437
- "allowNo": false,
438
- "type": "boolean"
439
- },
440
432
  "output": {
441
433
  "char": "o",
442
434
  "description": "Output format",
@@ -450,20 +442,11 @@
450
442
  "json"
451
443
  ],
452
444
  "type": "option"
453
- },
454
- "workspace": {
455
- "char": "w",
456
- "description": "Workspace ID (uses profile workspace if not provided)",
457
- "name": "workspace",
458
- "required": false,
459
- "hasDynamicHelp": false,
460
- "multiple": false,
461
- "type": "option"
462
445
  }
463
446
  },
464
447
  "hasDynamicHelp": false,
465
448
  "hiddenAliases": [],
466
- "id": "branch:set_live",
449
+ "id": "branch:list",
467
450
  "pluginAlias": "@xano/cli",
468
451
  "pluginName": "@xano/cli",
469
452
  "pluginType": "core",
@@ -474,24 +457,24 @@
474
457
  "dist",
475
458
  "commands",
476
459
  "branch",
477
- "set_live",
460
+ "list",
478
461
  "index.js"
479
462
  ]
480
463
  },
481
- "branch:list": {
464
+ "branch:set_live": {
482
465
  "aliases": [],
483
466
  "args": {
484
- "workspace_id": {
485
- "description": "Workspace ID (uses profile workspace if not provided)",
486
- "name": "workspace_id",
487
- "required": false
467
+ "branch_label": {
468
+ "description": "Branch label to set as live (use \"v1\" for default branch)",
469
+ "name": "branch_label",
470
+ "required": true
488
471
  }
489
472
  },
490
- "description": "List all branches in a workspace",
473
+ "description": "Set a branch as the live (active) branch for API requests",
491
474
  "examples": [
492
- "$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
493
- "$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
494
- "$ 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"
475
+ "$ xano branch set-live staging\nAre you sure you want to set 'staging' as the live branch? (y/N) y\nBranch 'staging' is now live\n",
476
+ "$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
477
+ "$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
495
478
  ],
496
479
  "flags": {
497
480
  "profile": {
@@ -513,6 +496,14 @@
513
496
  "allowNo": false,
514
497
  "type": "boolean"
515
498
  },
499
+ "force": {
500
+ "char": "f",
501
+ "description": "Skip confirmation prompt",
502
+ "name": "force",
503
+ "required": false,
504
+ "allowNo": false,
505
+ "type": "boolean"
506
+ },
516
507
  "output": {
517
508
  "char": "o",
518
509
  "description": "Output format",
@@ -526,11 +517,20 @@
526
517
  "json"
527
518
  ],
528
519
  "type": "option"
520
+ },
521
+ "workspace": {
522
+ "char": "w",
523
+ "description": "Workspace ID (uses profile workspace if not provided)",
524
+ "name": "workspace",
525
+ "required": false,
526
+ "hasDynamicHelp": false,
527
+ "multiple": false,
528
+ "type": "option"
529
529
  }
530
530
  },
531
531
  "hasDynamicHelp": false,
532
532
  "hiddenAliases": [],
533
- "id": "branch:list",
533
+ "id": "branch:set_live",
534
534
  "pluginAlias": "@xano/cli",
535
535
  "pluginName": "@xano/cli",
536
536
  "pluginType": "core",
@@ -541,7 +541,7 @@
541
541
  "dist",
542
542
  "commands",
543
543
  "branch",
544
- "list",
544
+ "set_live",
545
545
  "index.js"
546
546
  ]
547
547
  },
@@ -1253,6 +1253,31 @@
1253
1253
  "index.js"
1254
1254
  ]
1255
1255
  },
1256
+ "profile:get": {
1257
+ "aliases": [],
1258
+ "args": {},
1259
+ "description": "Get the current default profile name",
1260
+ "examples": [
1261
+ "$ xano profile get\nproduction\n"
1262
+ ],
1263
+ "flags": {},
1264
+ "hasDynamicHelp": false,
1265
+ "hiddenAliases": [],
1266
+ "id": "profile:get",
1267
+ "pluginAlias": "@xano/cli",
1268
+ "pluginName": "@xano/cli",
1269
+ "pluginType": "core",
1270
+ "strict": true,
1271
+ "enableJsonFlag": false,
1272
+ "isESM": true,
1273
+ "relativePath": [
1274
+ "dist",
1275
+ "commands",
1276
+ "profile",
1277
+ "get",
1278
+ "index.js"
1279
+ ]
1280
+ },
1256
1281
  "profile:edit": {
1257
1282
  "aliases": [],
1258
1283
  "args": {
@@ -1383,17 +1408,28 @@
1383
1408
  "index.js"
1384
1409
  ]
1385
1410
  },
1386
- "profile:get": {
1411
+ "profile:list": {
1387
1412
  "aliases": [],
1388
1413
  "args": {},
1389
- "description": "Get the current default profile name",
1414
+ "description": "List all available profile configurations",
1390
1415
  "examples": [
1391
- "$ xano profile get\nproduction\n"
1416
+ "$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
1417
+ "$ 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",
1418
+ "$ 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"
1392
1419
  ],
1393
- "flags": {},
1420
+ "flags": {
1421
+ "details": {
1422
+ "char": "d",
1423
+ "description": "Show detailed information for each profile",
1424
+ "name": "details",
1425
+ "required": false,
1426
+ "allowNo": false,
1427
+ "type": "boolean"
1428
+ }
1429
+ },
1394
1430
  "hasDynamicHelp": false,
1395
1431
  "hiddenAliases": [],
1396
- "id": "profile:get",
1432
+ "id": "profile:list",
1397
1433
  "pluginAlias": "@xano/cli",
1398
1434
  "pluginName": "@xano/cli",
1399
1435
  "pluginType": "core",
@@ -1404,32 +1440,27 @@
1404
1440
  "dist",
1405
1441
  "commands",
1406
1442
  "profile",
1407
- "get",
1443
+ "list",
1408
1444
  "index.js"
1409
1445
  ]
1410
1446
  },
1411
- "profile:list": {
1447
+ "profile:set": {
1412
1448
  "aliases": [],
1413
- "args": {},
1414
- "description": "List all available profile configurations",
1415
- "examples": [
1416
- "$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
1417
- "$ 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",
1418
- "$ 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"
1419
- ],
1420
- "flags": {
1421
- "details": {
1422
- "char": "d",
1423
- "description": "Show detailed information for each profile",
1424
- "name": "details",
1425
- "required": false,
1426
- "allowNo": false,
1427
- "type": "boolean"
1449
+ "args": {
1450
+ "name": {
1451
+ "description": "Profile name to set as default",
1452
+ "name": "name",
1453
+ "required": true
1428
1454
  }
1429
1455
  },
1456
+ "description": "Set the default profile",
1457
+ "examples": [
1458
+ "$ xano profile set production\nDefault profile set to 'production'\n"
1459
+ ],
1460
+ "flags": {},
1430
1461
  "hasDynamicHelp": false,
1431
1462
  "hiddenAliases": [],
1432
- "id": "profile:list",
1463
+ "id": "profile:set",
1433
1464
  "pluginAlias": "@xano/cli",
1434
1465
  "pluginName": "@xano/cli",
1435
1466
  "pluginType": "core",
@@ -1440,7 +1471,7 @@
1440
1471
  "dist",
1441
1472
  "commands",
1442
1473
  "profile",
1443
- "list",
1474
+ "set",
1444
1475
  "index.js"
1445
1476
  ]
1446
1477
  },
@@ -1505,37 +1536,6 @@
1505
1536
  "index.js"
1506
1537
  ]
1507
1538
  },
1508
- "profile:set": {
1509
- "aliases": [],
1510
- "args": {
1511
- "name": {
1512
- "description": "Profile name to set as default",
1513
- "name": "name",
1514
- "required": true
1515
- }
1516
- },
1517
- "description": "Set the default profile",
1518
- "examples": [
1519
- "$ xano profile set production\nDefault profile set to 'production'\n"
1520
- ],
1521
- "flags": {},
1522
- "hasDynamicHelp": false,
1523
- "hiddenAliases": [],
1524
- "id": "profile:set",
1525
- "pluginAlias": "@xano/cli",
1526
- "pluginName": "@xano/cli",
1527
- "pluginType": "core",
1528
- "strict": true,
1529
- "enableJsonFlag": false,
1530
- "isESM": true,
1531
- "relativePath": [
1532
- "dist",
1533
- "commands",
1534
- "profile",
1535
- "set",
1536
- "index.js"
1537
- ]
1538
- },
1539
1539
  "branch:get": {
1540
1540
  "aliases": [],
1541
1541
  "args": {
@@ -1717,20 +1717,15 @@
1717
1717
  "index.js"
1718
1718
  ]
1719
1719
  },
1720
- "release:delete": {
1720
+ "static_host:list": {
1721
1721
  "aliases": [],
1722
- "args": {
1723
- "release_name": {
1724
- "description": "Release name to delete",
1725
- "name": "release_name",
1726
- "required": true
1727
- }
1728
- },
1729
- "description": "Delete a release permanently. This action cannot be undone.",
1722
+ "args": {},
1723
+ "description": "List all static hosts in a workspace from the Xano Metadata API",
1730
1724
  "examples": [
1731
- "$ 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",
1732
- "$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
1733
- "$ xano release delete v1.0 -f -o json"
1725
+ "$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
1726
+ "$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
1727
+ "$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
1728
+ "$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
1734
1729
  ],
1735
1730
  "flags": {
1736
1731
  "profile": {
@@ -1752,14 +1747,6 @@
1752
1747
  "allowNo": false,
1753
1748
  "type": "boolean"
1754
1749
  },
1755
- "force": {
1756
- "char": "f",
1757
- "description": "Skip confirmation prompt",
1758
- "name": "force",
1759
- "required": false,
1760
- "allowNo": false,
1761
- "type": "boolean"
1762
- },
1763
1750
  "output": {
1764
1751
  "char": "o",
1765
1752
  "description": "Output format",
@@ -1774,9 +1761,27 @@
1774
1761
  ],
1775
1762
  "type": "option"
1776
1763
  },
1764
+ "page": {
1765
+ "description": "Page number for pagination",
1766
+ "name": "page",
1767
+ "required": false,
1768
+ "default": 1,
1769
+ "hasDynamicHelp": false,
1770
+ "multiple": false,
1771
+ "type": "option"
1772
+ },
1773
+ "per_page": {
1774
+ "description": "Number of results per page",
1775
+ "name": "per_page",
1776
+ "required": false,
1777
+ "default": 50,
1778
+ "hasDynamicHelp": false,
1779
+ "multiple": false,
1780
+ "type": "option"
1781
+ },
1777
1782
  "workspace": {
1778
1783
  "char": "w",
1779
- "description": "Workspace ID (uses profile workspace if not provided)",
1784
+ "description": "Workspace ID (optional if set in profile)",
1780
1785
  "name": "workspace",
1781
1786
  "required": false,
1782
1787
  "hasDynamicHelp": false,
@@ -1786,7 +1791,7 @@
1786
1791
  },
1787
1792
  "hasDynamicHelp": false,
1788
1793
  "hiddenAliases": [],
1789
- "id": "release:delete",
1794
+ "id": "static_host:list",
1790
1795
  "pluginAlias": "@xano/cli",
1791
1796
  "pluginName": "@xano/cli",
1792
1797
  "pluginType": "core",
@@ -1796,24 +1801,25 @@
1796
1801
  "relativePath": [
1797
1802
  "dist",
1798
1803
  "commands",
1799
- "release",
1800
- "delete",
1804
+ "static_host",
1805
+ "list",
1801
1806
  "index.js"
1802
1807
  ]
1803
1808
  },
1804
- "release:edit": {
1809
+ "release:delete": {
1805
1810
  "aliases": [],
1806
1811
  "args": {
1807
1812
  "release_name": {
1808
- "description": "Release name to edit",
1813
+ "description": "Release name to delete",
1809
1814
  "name": "release_name",
1810
1815
  "required": true
1811
1816
  }
1812
1817
  },
1813
- "description": "Edit an existing release",
1818
+ "description": "Delete a release permanently. This action cannot be undone.",
1814
1819
  "examples": [
1815
- "$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
1816
- "$ xano release edit v1.0 --description \"New description\" -o json"
1820
+ "$ 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",
1821
+ "$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
1822
+ "$ xano release delete v1.0 -f -o json"
1817
1823
  ],
1818
1824
  "flags": {
1819
1825
  "profile": {
@@ -1835,20 +1841,113 @@
1835
1841
  "allowNo": false,
1836
1842
  "type": "boolean"
1837
1843
  },
1838
- "description": {
1839
- "char": "d",
1840
- "description": "New description",
1841
- "name": "description",
1844
+ "force": {
1845
+ "char": "f",
1846
+ "description": "Skip confirmation prompt",
1847
+ "name": "force",
1848
+ "required": false,
1849
+ "allowNo": false,
1850
+ "type": "boolean"
1851
+ },
1852
+ "output": {
1853
+ "char": "o",
1854
+ "description": "Output format",
1855
+ "name": "output",
1856
+ "required": false,
1857
+ "default": "summary",
1858
+ "hasDynamicHelp": false,
1859
+ "multiple": false,
1860
+ "options": [
1861
+ "summary",
1862
+ "json"
1863
+ ],
1864
+ "type": "option"
1865
+ },
1866
+ "workspace": {
1867
+ "char": "w",
1868
+ "description": "Workspace ID (uses profile workspace if not provided)",
1869
+ "name": "workspace",
1870
+ "required": false,
1871
+ "hasDynamicHelp": false,
1872
+ "multiple": false,
1873
+ "type": "option"
1874
+ }
1875
+ },
1876
+ "hasDynamicHelp": false,
1877
+ "hiddenAliases": [],
1878
+ "id": "release:delete",
1879
+ "pluginAlias": "@xano/cli",
1880
+ "pluginName": "@xano/cli",
1881
+ "pluginType": "core",
1882
+ "strict": true,
1883
+ "enableJsonFlag": false,
1884
+ "isESM": true,
1885
+ "relativePath": [
1886
+ "dist",
1887
+ "commands",
1888
+ "release",
1889
+ "delete",
1890
+ "index.js"
1891
+ ]
1892
+ },
1893
+ "release:create": {
1894
+ "aliases": [],
1895
+ "args": {},
1896
+ "description": "Create a new release in a workspace",
1897
+ "examples": [
1898
+ "$ xano release create --name \"v1.0\" --branch main\nCreated release: v1.0 - ID: 10\n",
1899
+ "$ xano release create --name \"v1.1-hotfix\" --branch main --hotfix --description \"Critical fix\" -o json"
1900
+ ],
1901
+ "flags": {
1902
+ "profile": {
1903
+ "char": "p",
1904
+ "description": "Profile to use (uses default profile if not specified)",
1905
+ "env": "XANO_PROFILE",
1906
+ "name": "profile",
1907
+ "required": false,
1908
+ "hasDynamicHelp": false,
1909
+ "multiple": false,
1910
+ "type": "option"
1911
+ },
1912
+ "verbose": {
1913
+ "char": "v",
1914
+ "description": "Show detailed request/response information",
1915
+ "env": "XANO_VERBOSE",
1916
+ "name": "verbose",
1917
+ "required": false,
1918
+ "allowNo": false,
1919
+ "type": "boolean"
1920
+ },
1921
+ "branch": {
1922
+ "char": "b",
1923
+ "description": "Branch to create the release from",
1924
+ "name": "branch",
1925
+ "required": true,
1926
+ "hasDynamicHelp": false,
1927
+ "multiple": false,
1928
+ "type": "option"
1929
+ },
1930
+ "description": {
1931
+ "char": "d",
1932
+ "description": "Release description",
1933
+ "name": "description",
1842
1934
  "required": false,
1843
1935
  "hasDynamicHelp": false,
1844
1936
  "multiple": false,
1845
1937
  "type": "option"
1846
1938
  },
1939
+ "hotfix": {
1940
+ "description": "Mark as a hotfix release",
1941
+ "name": "hotfix",
1942
+ "required": false,
1943
+ "allowNo": false,
1944
+ "type": "boolean"
1945
+ },
1847
1946
  "name": {
1848
1947
  "char": "n",
1849
- "description": "New name for the release",
1948
+ "description": "Name for the release",
1850
1949
  "name": "name",
1851
- "required": false,
1950
+ "required": true,
1852
1951
  "hasDynamicHelp": false,
1853
1952
  "multiple": false,
1854
1953
  "type": "option"
@@ -1867,6 +1966,14 @@
1867
1966
  ],
1868
1967
  "type": "option"
1869
1968
  },
1969
+ "table-ids": {
1970
+ "description": "Comma-separated table IDs to include",
1971
+ "name": "table-ids",
1972
+ "required": false,
1973
+ "hasDynamicHelp": false,
1974
+ "multiple": false,
1975
+ "type": "option"
1976
+ },
1870
1977
  "workspace": {
1871
1978
  "char": "w",
1872
1979
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -1879,7 +1986,7 @@
1879
1986
  },
1880
1987
  "hasDynamicHelp": false,
1881
1988
  "hiddenAliases": [],
1882
- "id": "release:edit",
1989
+ "id": "release:create",
1883
1990
  "pluginAlias": "@xano/cli",
1884
1991
  "pluginName": "@xano/cli",
1885
1992
  "pluginType": "core",
@@ -1890,7 +1997,7 @@
1890
1997
  "dist",
1891
1998
  "commands",
1892
1999
  "release",
1893
- "edit",
2000
+ "create",
1894
2001
  "index.js"
1895
2002
  ]
1896
2003
  },
@@ -2053,13 +2160,19 @@
2053
2160
  "index.js"
2054
2161
  ]
2055
2162
  },
2056
- "release:import": {
2163
+ "release:edit": {
2057
2164
  "aliases": [],
2058
- "args": {},
2059
- "description": "Import a release file into a workspace",
2165
+ "args": {
2166
+ "release_name": {
2167
+ "description": "Release name to edit",
2168
+ "name": "release_name",
2169
+ "required": true
2170
+ }
2171
+ },
2172
+ "description": "Edit an existing release",
2060
2173
  "examples": [
2061
- "$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
2062
- "$ xano release import --file ./my-release.tar.gz -o json"
2174
+ "$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
2175
+ "$ xano release edit v1.0 --description \"New description\" -o json"
2063
2176
  ],
2064
2177
  "flags": {
2065
2178
  "profile": {
@@ -2081,11 +2194,20 @@
2081
2194
  "allowNo": false,
2082
2195
  "type": "boolean"
2083
2196
  },
2084
- "file": {
2085
- "char": "f",
2086
- "description": "Path to the release file (.tar.gz)",
2087
- "name": "file",
2088
- "required": true,
2197
+ "description": {
2198
+ "char": "d",
2199
+ "description": "New description",
2200
+ "name": "description",
2201
+ "required": false,
2202
+ "hasDynamicHelp": false,
2203
+ "multiple": false,
2204
+ "type": "option"
2205
+ },
2206
+ "name": {
2207
+ "char": "n",
2208
+ "description": "New name for the release",
2209
+ "name": "name",
2210
+ "required": false,
2089
2211
  "hasDynamicHelp": false,
2090
2212
  "multiple": false,
2091
2213
  "type": "option"
@@ -2116,7 +2238,7 @@
2116
2238
  },
2117
2239
  "hasDynamicHelp": false,
2118
2240
  "hiddenAliases": [],
2119
- "id": "release:import",
2241
+ "id": "release:edit",
2120
2242
  "pluginAlias": "@xano/cli",
2121
2243
  "pluginName": "@xano/cli",
2122
2244
  "pluginType": "core",
@@ -2127,17 +2249,17 @@
2127
2249
  "dist",
2128
2250
  "commands",
2129
2251
  "release",
2130
- "import",
2252
+ "edit",
2131
2253
  "index.js"
2132
2254
  ]
2133
2255
  },
2134
- "release:list": {
2256
+ "release:import": {
2135
2257
  "aliases": [],
2136
2258
  "args": {},
2137
- "description": "List all releases in a workspace",
2259
+ "description": "Import a release file into a workspace",
2138
2260
  "examples": [
2139
- "$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
2140
- "$ xano release list -w 5 --output json"
2261
+ "$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
2262
+ "$ xano release import --file ./my-release.tar.gz -o json"
2141
2263
  ],
2142
2264
  "flags": {
2143
2265
  "profile": {
@@ -2159,6 +2281,15 @@
2159
2281
  "allowNo": false,
2160
2282
  "type": "boolean"
2161
2283
  },
2284
+ "file": {
2285
+ "char": "f",
2286
+ "description": "Path to the release file (.tar.gz)",
2287
+ "name": "file",
2288
+ "required": true,
2289
+ "hasDynamicHelp": false,
2290
+ "multiple": false,
2291
+ "type": "option"
2292
+ },
2162
2293
  "output": {
2163
2294
  "char": "o",
2164
2295
  "description": "Output format",
@@ -2185,7 +2316,7 @@
2185
2316
  },
2186
2317
  "hasDynamicHelp": false,
2187
2318
  "hiddenAliases": [],
2188
- "id": "release:list",
2319
+ "id": "release:import",
2189
2320
  "pluginAlias": "@xano/cli",
2190
2321
  "pluginName": "@xano/cli",
2191
2322
  "pluginType": "core",
@@ -2196,17 +2327,26 @@
2196
2327
  "dist",
2197
2328
  "commands",
2198
2329
  "release",
2199
- "list",
2330
+ "import",
2200
2331
  "index.js"
2201
2332
  ]
2202
2333
  },
2203
- "release:create": {
2334
+ "release:push": {
2204
2335
  "aliases": [],
2205
- "args": {},
2206
- "description": "Create a new release in a workspace",
2336
+ "args": {
2337
+ "directory": {
2338
+ "description": "Directory containing .xs documents to create the release from",
2339
+ "name": "directory",
2340
+ "required": true
2341
+ }
2342
+ },
2343
+ "description": "Create a new release from local XanoScript files via the multidoc endpoint",
2207
2344
  "examples": [
2208
- "$ xano release create --name \"v1.0\" --branch main\nCreated release: v1.0 - ID: 10\n",
2209
- "$ xano release create --name \"v1.1-hotfix\" --branch main --hotfix --description \"Critical fix\" -o json"
2345
+ "$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
2346
+ "$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
2347
+ "$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
2348
+ "$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
2349
+ "$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
2210
2350
  ],
2211
2351
  "flags": {
2212
2352
  "profile": {
@@ -2228,24 +2368,23 @@
2228
2368
  "allowNo": false,
2229
2369
  "type": "boolean"
2230
2370
  },
2231
- "branch": {
2232
- "char": "b",
2233
- "description": "Branch to create the release from",
2234
- "name": "branch",
2235
- "required": true,
2236
- "hasDynamicHelp": false,
2237
- "multiple": false,
2238
- "type": "option"
2239
- },
2240
2371
  "description": {
2241
2372
  "char": "d",
2242
2373
  "description": "Release description",
2243
2374
  "name": "description",
2244
2375
  "required": false,
2376
+ "default": "",
2245
2377
  "hasDynamicHelp": false,
2246
2378
  "multiple": false,
2247
2379
  "type": "option"
2248
2380
  },
2381
+ "env": {
2382
+ "description": "Include environment variables (default: true, use --no-env to exclude)",
2383
+ "name": "env",
2384
+ "required": false,
2385
+ "allowNo": true,
2386
+ "type": "boolean"
2387
+ },
2249
2388
  "hotfix": {
2250
2389
  "description": "Mark as a hotfix release",
2251
2390
  "name": "hotfix",
@@ -2276,17 +2415,16 @@
2276
2415
  ],
2277
2416
  "type": "option"
2278
2417
  },
2279
- "table-ids": {
2280
- "description": "Comma-separated table IDs to include",
2281
- "name": "table-ids",
2418
+ "records": {
2419
+ "description": "Include records (default: true, use --no-records to exclude)",
2420
+ "name": "records",
2282
2421
  "required": false,
2283
- "hasDynamicHelp": false,
2284
- "multiple": false,
2285
- "type": "option"
2422
+ "allowNo": true,
2423
+ "type": "boolean"
2286
2424
  },
2287
2425
  "workspace": {
2288
2426
  "char": "w",
2289
- "description": "Workspace ID (uses profile workspace if not provided)",
2427
+ "description": "Workspace ID (optional if set in profile)",
2290
2428
  "name": "workspace",
2291
2429
  "required": false,
2292
2430
  "hasDynamicHelp": false,
@@ -2296,7 +2434,7 @@
2296
2434
  },
2297
2435
  "hasDynamicHelp": false,
2298
2436
  "hiddenAliases": [],
2299
- "id": "release:create",
2437
+ "id": "release:push",
2300
2438
  "pluginAlias": "@xano/cli",
2301
2439
  "pluginName": "@xano/cli",
2302
2440
  "pluginType": "core",
@@ -2307,24 +2445,17 @@
2307
2445
  "dist",
2308
2446
  "commands",
2309
2447
  "release",
2310
- "create",
2448
+ "push",
2311
2449
  "index.js"
2312
2450
  ]
2313
2451
  },
2314
- "release:pull": {
2452
+ "release:list": {
2315
2453
  "aliases": [],
2316
- "args": {
2317
- "directory": {
2318
- "description": "Output directory for pulled documents",
2319
- "name": "directory",
2320
- "required": true
2321
- }
2322
- },
2323
- "description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
2454
+ "args": {},
2455
+ "description": "List all releases in a workspace",
2324
2456
  "examples": [
2325
- "$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
2326
- "$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
2327
- "$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
2457
+ "$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
2458
+ "$ xano release list -w 5 --output json"
2328
2459
  ],
2329
2460
  "flags": {
2330
2461
  "profile": {
@@ -2346,32 +2477,23 @@
2346
2477
  "allowNo": false,
2347
2478
  "type": "boolean"
2348
2479
  },
2349
- "env": {
2350
- "description": "Include environment variables",
2351
- "name": "env",
2480
+ "output": {
2481
+ "char": "o",
2482
+ "description": "Output format",
2483
+ "name": "output",
2352
2484
  "required": false,
2353
- "allowNo": false,
2354
- "type": "boolean"
2355
- },
2356
- "records": {
2357
- "description": "Include records",
2358
- "name": "records",
2359
- "required": false,
2360
- "allowNo": false,
2361
- "type": "boolean"
2362
- },
2363
- "release": {
2364
- "char": "r",
2365
- "description": "Release name to pull from",
2366
- "name": "release",
2367
- "required": true,
2485
+ "default": "summary",
2368
2486
  "hasDynamicHelp": false,
2369
2487
  "multiple": false,
2488
+ "options": [
2489
+ "summary",
2490
+ "json"
2491
+ ],
2370
2492
  "type": "option"
2371
2493
  },
2372
2494
  "workspace": {
2373
2495
  "char": "w",
2374
- "description": "Workspace ID (optional if set in profile)",
2496
+ "description": "Workspace ID (uses profile workspace if not provided)",
2375
2497
  "name": "workspace",
2376
2498
  "required": false,
2377
2499
  "hasDynamicHelp": false,
@@ -2381,7 +2503,7 @@
2381
2503
  },
2382
2504
  "hasDynamicHelp": false,
2383
2505
  "hiddenAliases": [],
2384
- "id": "release:pull",
2506
+ "id": "release:list",
2385
2507
  "pluginAlias": "@xano/cli",
2386
2508
  "pluginName": "@xano/cli",
2387
2509
  "pluginType": "core",
@@ -2392,26 +2514,24 @@
2392
2514
  "dist",
2393
2515
  "commands",
2394
2516
  "release",
2395
- "pull",
2517
+ "list",
2396
2518
  "index.js"
2397
2519
  ]
2398
2520
  },
2399
- "release:push": {
2521
+ "release:pull": {
2400
2522
  "aliases": [],
2401
2523
  "args": {
2402
2524
  "directory": {
2403
- "description": "Directory containing .xs documents to create the release from",
2525
+ "description": "Output directory for pulled documents",
2404
2526
  "name": "directory",
2405
2527
  "required": true
2406
2528
  }
2407
2529
  },
2408
- "description": "Create a new release from local XanoScript files via the multidoc endpoint",
2530
+ "description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
2409
2531
  "examples": [
2410
- "$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
2411
- "$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
2412
- "$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
2413
- "$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
2414
- "$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
2532
+ "$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
2533
+ "$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
2534
+ "$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
2415
2535
  ],
2416
2536
  "flags": {
2417
2537
  "profile": {
@@ -2433,60 +2553,29 @@
2433
2553
  "allowNo": false,
2434
2554
  "type": "boolean"
2435
2555
  },
2436
- "description": {
2437
- "char": "d",
2438
- "description": "Release description",
2439
- "name": "description",
2440
- "required": false,
2441
- "default": "",
2442
- "hasDynamicHelp": false,
2443
- "multiple": false,
2444
- "type": "option"
2445
- },
2446
2556
  "env": {
2447
- "description": "Include environment variables (default: true, use --no-env to exclude)",
2557
+ "description": "Include environment variables",
2448
2558
  "name": "env",
2449
2559
  "required": false,
2450
- "allowNo": true,
2560
+ "allowNo": false,
2451
2561
  "type": "boolean"
2452
2562
  },
2453
- "hotfix": {
2454
- "description": "Mark as a hotfix release",
2455
- "name": "hotfix",
2563
+ "records": {
2564
+ "description": "Include records",
2565
+ "name": "records",
2456
2566
  "required": false,
2457
2567
  "allowNo": false,
2458
2568
  "type": "boolean"
2459
2569
  },
2460
- "name": {
2461
- "char": "n",
2462
- "description": "Name for the release",
2463
- "name": "name",
2570
+ "release": {
2571
+ "char": "r",
2572
+ "description": "Release name to pull from",
2573
+ "name": "release",
2464
2574
  "required": true,
2465
2575
  "hasDynamicHelp": false,
2466
2576
  "multiple": false,
2467
2577
  "type": "option"
2468
2578
  },
2469
- "output": {
2470
- "char": "o",
2471
- "description": "Output format",
2472
- "name": "output",
2473
- "required": false,
2474
- "default": "summary",
2475
- "hasDynamicHelp": false,
2476
- "multiple": false,
2477
- "options": [
2478
- "summary",
2479
- "json"
2480
- ],
2481
- "type": "option"
2482
- },
2483
- "records": {
2484
- "description": "Include records (default: true, use --no-records to exclude)",
2485
- "name": "records",
2486
- "required": false,
2487
- "allowNo": true,
2488
- "type": "boolean"
2489
- },
2490
2579
  "workspace": {
2491
2580
  "char": "w",
2492
2581
  "description": "Workspace ID (optional if set in profile)",
@@ -2499,7 +2588,7 @@
2499
2588
  },
2500
2589
  "hasDynamicHelp": false,
2501
2590
  "hiddenAliases": [],
2502
- "id": "release:push",
2591
+ "id": "release:pull",
2503
2592
  "pluginAlias": "@xano/cli",
2504
2593
  "pluginName": "@xano/cli",
2505
2594
  "pluginType": "core",
@@ -2510,19 +2599,24 @@
2510
2599
  "dist",
2511
2600
  "commands",
2512
2601
  "release",
2513
- "push",
2602
+ "pull",
2514
2603
  "index.js"
2515
2604
  ]
2516
2605
  },
2517
- "static_host:list": {
2606
+ "tenant:delete": {
2518
2607
  "aliases": [],
2519
- "args": {},
2520
- "description": "List all static hosts in a workspace from the Xano Metadata API",
2608
+ "args": {
2609
+ "tenant_name": {
2610
+ "description": "Tenant name to delete",
2611
+ "name": "tenant_name",
2612
+ "required": true
2613
+ }
2614
+ },
2615
+ "description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
2521
2616
  "examples": [
2522
- "$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
2523
- "$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
2524
- "$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
2525
- "$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
2617
+ "$ 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",
2618
+ "$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
2619
+ "$ xano tenant delete t1234-abcd-xyz1 -f -o json"
2526
2620
  ],
2527
2621
  "flags": {
2528
2622
  "profile": {
@@ -2544,6 +2638,14 @@
2544
2638
  "allowNo": false,
2545
2639
  "type": "boolean"
2546
2640
  },
2641
+ "force": {
2642
+ "char": "f",
2643
+ "description": "Skip confirmation prompt",
2644
+ "name": "force",
2645
+ "required": false,
2646
+ "allowNo": false,
2647
+ "type": "boolean"
2648
+ },
2547
2649
  "output": {
2548
2650
  "char": "o",
2549
2651
  "description": "Output format",
@@ -2558,27 +2660,9 @@
2558
2660
  ],
2559
2661
  "type": "option"
2560
2662
  },
2561
- "page": {
2562
- "description": "Page number for pagination",
2563
- "name": "page",
2564
- "required": false,
2565
- "default": 1,
2566
- "hasDynamicHelp": false,
2567
- "multiple": false,
2568
- "type": "option"
2569
- },
2570
- "per_page": {
2571
- "description": "Number of results per page",
2572
- "name": "per_page",
2573
- "required": false,
2574
- "default": 50,
2575
- "hasDynamicHelp": false,
2576
- "multiple": false,
2577
- "type": "option"
2578
- },
2579
2663
  "workspace": {
2580
2664
  "char": "w",
2581
- "description": "Workspace ID (optional if set in profile)",
2665
+ "description": "Workspace ID (uses profile workspace if not provided)",
2582
2666
  "name": "workspace",
2583
2667
  "required": false,
2584
2668
  "hasDynamicHelp": false,
@@ -2588,7 +2672,7 @@
2588
2672
  },
2589
2673
  "hasDynamicHelp": false,
2590
2674
  "hiddenAliases": [],
2591
- "id": "static_host:list",
2675
+ "id": "tenant:delete",
2592
2676
  "pluginAlias": "@xano/cli",
2593
2677
  "pluginName": "@xano/cli",
2594
2678
  "pluginType": "core",
@@ -2598,8 +2682,8 @@
2598
2682
  "relativePath": [
2599
2683
  "dist",
2600
2684
  "commands",
2601
- "static_host",
2602
- "list",
2685
+ "tenant",
2686
+ "delete",
2603
2687
  "index.js"
2604
2688
  ]
2605
2689
  },
@@ -2743,89 +2827,6 @@
2743
2827
  "index.js"
2744
2828
  ]
2745
2829
  },
2746
- "tenant:deploy_platform": {
2747
- "aliases": [],
2748
- "args": {
2749
- "tenant_name": {
2750
- "description": "Tenant name to deploy to",
2751
- "name": "tenant_name",
2752
- "required": true
2753
- }
2754
- },
2755
- "description": "Deploy a platform version to a tenant",
2756
- "examples": [
2757
- "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
2758
- "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
2759
- ],
2760
- "flags": {
2761
- "profile": {
2762
- "char": "p",
2763
- "description": "Profile to use (uses default profile if not specified)",
2764
- "env": "XANO_PROFILE",
2765
- "name": "profile",
2766
- "required": false,
2767
- "hasDynamicHelp": false,
2768
- "multiple": false,
2769
- "type": "option"
2770
- },
2771
- "verbose": {
2772
- "char": "v",
2773
- "description": "Show detailed request/response information",
2774
- "env": "XANO_VERBOSE",
2775
- "name": "verbose",
2776
- "required": false,
2777
- "allowNo": false,
2778
- "type": "boolean"
2779
- },
2780
- "output": {
2781
- "char": "o",
2782
- "description": "Output format",
2783
- "name": "output",
2784
- "required": false,
2785
- "default": "summary",
2786
- "hasDynamicHelp": false,
2787
- "multiple": false,
2788
- "options": [
2789
- "summary",
2790
- "json"
2791
- ],
2792
- "type": "option"
2793
- },
2794
- "platform_id": {
2795
- "description": "Platform ID to deploy",
2796
- "name": "platform_id",
2797
- "required": true,
2798
- "hasDynamicHelp": false,
2799
- "multiple": false,
2800
- "type": "option"
2801
- },
2802
- "workspace": {
2803
- "char": "w",
2804
- "description": "Workspace ID (uses profile workspace if not provided)",
2805
- "name": "workspace",
2806
- "required": false,
2807
- "hasDynamicHelp": false,
2808
- "multiple": false,
2809
- "type": "option"
2810
- }
2811
- },
2812
- "hasDynamicHelp": false,
2813
- "hiddenAliases": [],
2814
- "id": "tenant:deploy_platform",
2815
- "pluginAlias": "@xano/cli",
2816
- "pluginName": "@xano/cli",
2817
- "pluginType": "core",
2818
- "strict": true,
2819
- "enableJsonFlag": false,
2820
- "isESM": true,
2821
- "relativePath": [
2822
- "dist",
2823
- "commands",
2824
- "tenant",
2825
- "deploy_platform",
2826
- "index.js"
2827
- ]
2828
- },
2829
2830
  "tenant:deploy_release": {
2830
2831
  "aliases": [],
2831
2832
  "args": {
@@ -2910,20 +2911,19 @@
2910
2911
  "index.js"
2911
2912
  ]
2912
2913
  },
2913
- "tenant:delete": {
2914
+ "tenant:deploy_platform": {
2914
2915
  "aliases": [],
2915
2916
  "args": {
2916
2917
  "tenant_name": {
2917
- "description": "Tenant name to delete",
2918
+ "description": "Tenant name to deploy to",
2918
2919
  "name": "tenant_name",
2919
2920
  "required": true
2920
2921
  }
2921
2922
  },
2922
- "description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
2923
+ "description": "Deploy a platform version to a tenant",
2923
2924
  "examples": [
2924
- "$ 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",
2925
- "$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
2926
- "$ xano tenant delete t1234-abcd-xyz1 -f -o json"
2925
+ "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
2926
+ "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
2927
2927
  ],
2928
2928
  "flags": {
2929
2929
  "profile": {
@@ -2945,14 +2945,6 @@
2945
2945
  "allowNo": false,
2946
2946
  "type": "boolean"
2947
2947
  },
2948
- "force": {
2949
- "char": "f",
2950
- "description": "Skip confirmation prompt",
2951
- "name": "force",
2952
- "required": false,
2953
- "allowNo": false,
2954
- "type": "boolean"
2955
- },
2956
2948
  "output": {
2957
2949
  "char": "o",
2958
2950
  "description": "Output format",
@@ -2967,6 +2959,14 @@
2967
2959
  ],
2968
2960
  "type": "option"
2969
2961
  },
2962
+ "platform_id": {
2963
+ "description": "Platform ID to deploy",
2964
+ "name": "platform_id",
2965
+ "required": true,
2966
+ "hasDynamicHelp": false,
2967
+ "multiple": false,
2968
+ "type": "option"
2969
+ },
2970
2970
  "workspace": {
2971
2971
  "char": "w",
2972
2972
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -2979,7 +2979,7 @@
2979
2979
  },
2980
2980
  "hasDynamicHelp": false,
2981
2981
  "hiddenAliases": [],
2982
- "id": "tenant:delete",
2982
+ "id": "tenant:deploy_platform",
2983
2983
  "pluginAlias": "@xano/cli",
2984
2984
  "pluginName": "@xano/cli",
2985
2985
  "pluginType": "core",
@@ -2990,7 +2990,7 @@
2990
2990
  "dist",
2991
2991
  "commands",
2992
2992
  "tenant",
2993
- "delete",
2993
+ "deploy_platform",
2994
2994
  "index.js"
2995
2995
  ]
2996
2996
  },
@@ -3123,82 +3123,7 @@
3123
3123
  "index.js"
3124
3124
  ]
3125
3125
  },
3126
- "tenant:get": {
3127
- "aliases": [],
3128
- "args": {
3129
- "tenant_name": {
3130
- "description": "Tenant name to retrieve",
3131
- "name": "tenant_name",
3132
- "required": true
3133
- }
3134
- },
3135
- "description": "Get details of a specific tenant",
3136
- "examples": [
3137
- "$ xano tenant get t1234-abcd-xyz1\nTenant: My Tenant (my-tenant)\n State: ok\n License: tier1\n Domain: my-tenant.xano.io\n Cluster: default\n Release: v1.0\n",
3138
- "$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
3139
- ],
3140
- "flags": {
3141
- "profile": {
3142
- "char": "p",
3143
- "description": "Profile to use (uses default profile if not specified)",
3144
- "env": "XANO_PROFILE",
3145
- "name": "profile",
3146
- "required": false,
3147
- "hasDynamicHelp": false,
3148
- "multiple": false,
3149
- "type": "option"
3150
- },
3151
- "verbose": {
3152
- "char": "v",
3153
- "description": "Show detailed request/response information",
3154
- "env": "XANO_VERBOSE",
3155
- "name": "verbose",
3156
- "required": false,
3157
- "allowNo": false,
3158
- "type": "boolean"
3159
- },
3160
- "output": {
3161
- "char": "o",
3162
- "description": "Output format",
3163
- "name": "output",
3164
- "required": false,
3165
- "default": "summary",
3166
- "hasDynamicHelp": false,
3167
- "multiple": false,
3168
- "options": [
3169
- "summary",
3170
- "json"
3171
- ],
3172
- "type": "option"
3173
- },
3174
- "workspace": {
3175
- "char": "w",
3176
- "description": "Workspace ID (uses profile workspace if not provided)",
3177
- "name": "workspace",
3178
- "required": false,
3179
- "hasDynamicHelp": false,
3180
- "multiple": false,
3181
- "type": "option"
3182
- }
3183
- },
3184
- "hasDynamicHelp": false,
3185
- "hiddenAliases": [],
3186
- "id": "tenant:get",
3187
- "pluginAlias": "@xano/cli",
3188
- "pluginName": "@xano/cli",
3189
- "pluginType": "core",
3190
- "strict": true,
3191
- "enableJsonFlag": false,
3192
- "isESM": true,
3193
- "relativePath": [
3194
- "dist",
3195
- "commands",
3196
- "tenant",
3197
- "get",
3198
- "index.js"
3199
- ]
3200
- },
3201
- "tenant:impersonate": {
3126
+ "tenant:impersonate": {
3202
3127
  "aliases": [],
3203
3128
  "args": {
3204
3129
  "tenant_name": {
@@ -3281,13 +3206,19 @@
3281
3206
  "index.js"
3282
3207
  ]
3283
3208
  },
3284
- "tenant:list": {
3209
+ "tenant:get": {
3285
3210
  "aliases": [],
3286
- "args": {},
3287
- "description": "List all tenants in a workspace",
3211
+ "args": {
3212
+ "tenant_name": {
3213
+ "description": "Tenant name to retrieve",
3214
+ "name": "tenant_name",
3215
+ "required": true
3216
+ }
3217
+ },
3218
+ "description": "Get details of a specific tenant",
3288
3219
  "examples": [
3289
- "$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
3290
- "$ xano tenant list -w 5 --output json"
3220
+ "$ xano tenant get t1234-abcd-xyz1\nTenant: My Tenant (my-tenant)\n State: ok\n License: tier1\n Domain: my-tenant.xano.io\n Cluster: default\n Release: v1.0\n",
3221
+ "$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
3291
3222
  ],
3292
3223
  "flags": {
3293
3224
  "profile": {
@@ -3335,7 +3266,7 @@
3335
3266
  },
3336
3267
  "hasDynamicHelp": false,
3337
3268
  "hiddenAliases": [],
3338
- "id": "tenant:list",
3269
+ "id": "tenant:get",
3339
3270
  "pluginAlias": "@xano/cli",
3340
3271
  "pluginName": "@xano/cli",
3341
3272
  "pluginType": "core",
@@ -3346,7 +3277,7 @@
3346
3277
  "dist",
3347
3278
  "commands",
3348
3279
  "tenant",
3349
- "list",
3280
+ "get",
3350
3281
  "index.js"
3351
3282
  ]
3352
3283
  },
@@ -3538,6 +3469,75 @@
3538
3469
  "index.js"
3539
3470
  ]
3540
3471
  },
3472
+ "tenant:list": {
3473
+ "aliases": [],
3474
+ "args": {},
3475
+ "description": "List all tenants in a workspace",
3476
+ "examples": [
3477
+ "$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
3478
+ "$ xano tenant list -w 5 --output json"
3479
+ ],
3480
+ "flags": {
3481
+ "profile": {
3482
+ "char": "p",
3483
+ "description": "Profile to use (uses default profile if not specified)",
3484
+ "env": "XANO_PROFILE",
3485
+ "name": "profile",
3486
+ "required": false,
3487
+ "hasDynamicHelp": false,
3488
+ "multiple": false,
3489
+ "type": "option"
3490
+ },
3491
+ "verbose": {
3492
+ "char": "v",
3493
+ "description": "Show detailed request/response information",
3494
+ "env": "XANO_VERBOSE",
3495
+ "name": "verbose",
3496
+ "required": false,
3497
+ "allowNo": false,
3498
+ "type": "boolean"
3499
+ },
3500
+ "output": {
3501
+ "char": "o",
3502
+ "description": "Output format",
3503
+ "name": "output",
3504
+ "required": false,
3505
+ "default": "summary",
3506
+ "hasDynamicHelp": false,
3507
+ "multiple": false,
3508
+ "options": [
3509
+ "summary",
3510
+ "json"
3511
+ ],
3512
+ "type": "option"
3513
+ },
3514
+ "workspace": {
3515
+ "char": "w",
3516
+ "description": "Workspace ID (uses profile workspace if not provided)",
3517
+ "name": "workspace",
3518
+ "required": false,
3519
+ "hasDynamicHelp": false,
3520
+ "multiple": false,
3521
+ "type": "option"
3522
+ }
3523
+ },
3524
+ "hasDynamicHelp": false,
3525
+ "hiddenAliases": [],
3526
+ "id": "tenant:list",
3527
+ "pluginAlias": "@xano/cli",
3528
+ "pluginName": "@xano/cli",
3529
+ "pluginType": "core",
3530
+ "strict": true,
3531
+ "enableJsonFlag": false,
3532
+ "isESM": true,
3533
+ "relativePath": [
3534
+ "dist",
3535
+ "commands",
3536
+ "tenant",
3537
+ "list",
3538
+ "index.js"
3539
+ ]
3540
+ },
3541
3541
  "unit_test:list": {
3542
3542
  "aliases": [],
3543
3543
  "args": {},
@@ -3705,13 +3705,19 @@
3705
3705
  "index.js"
3706
3706
  ]
3707
3707
  },
3708
- "unit_test:run_all": {
3708
+ "workflow_test:delete": {
3709
3709
  "aliases": [],
3710
- "args": {},
3711
- "description": "Run all unit tests in a workspace",
3710
+ "args": {
3711
+ "workflow_test_id": {
3712
+ "description": "ID of the workflow test to delete",
3713
+ "name": "workflow_test_id",
3714
+ "required": true
3715
+ }
3716
+ },
3717
+ "description": "Delete a workflow test",
3712
3718
  "examples": [
3713
- "$ 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",
3714
- "$ xano unit-test run-all --obj-type function -o json"
3719
+ "$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
3720
+ "$ xano workflow-test delete 1 --force"
3715
3721
  ],
3716
3722
  "flags": {
3717
3723
  "profile": {
@@ -3733,27 +3739,13 @@
3733
3739
  "allowNo": false,
3734
3740
  "type": "boolean"
3735
3741
  },
3736
- "branch": {
3737
- "char": "b",
3738
- "description": "Filter by branch name",
3739
- "name": "branch",
3740
- "required": false,
3741
- "hasDynamicHelp": false,
3742
- "multiple": false,
3743
- "type": "option"
3744
- },
3745
- "obj-type": {
3746
- "description": "Filter by object type",
3747
- "name": "obj-type",
3742
+ "force": {
3743
+ "char": "f",
3744
+ "description": "Skip confirmation prompt",
3745
+ "name": "force",
3748
3746
  "required": false,
3749
- "hasDynamicHelp": false,
3750
- "multiple": false,
3751
- "options": [
3752
- "function",
3753
- "query",
3754
- "middleware"
3755
- ],
3756
- "type": "option"
3747
+ "allowNo": false,
3748
+ "type": "boolean"
3757
3749
  },
3758
3750
  "output": {
3759
3751
  "char": "o",
@@ -3781,7 +3773,7 @@
3781
3773
  },
3782
3774
  "hasDynamicHelp": false,
3783
3775
  "hiddenAliases": [],
3784
- "id": "unit_test:run_all",
3776
+ "id": "workflow_test:delete",
3785
3777
  "pluginAlias": "@xano/cli",
3786
3778
  "pluginName": "@xano/cli",
3787
3779
  "pluginType": "core",
@@ -3791,24 +3783,19 @@
3791
3783
  "relativePath": [
3792
3784
  "dist",
3793
3785
  "commands",
3794
- "unit_test",
3795
- "run_all",
3786
+ "workflow_test",
3787
+ "delete",
3796
3788
  "index.js"
3797
3789
  ]
3798
3790
  },
3799
- "workflow_test:delete": {
3791
+ "workflow_test:list": {
3800
3792
  "aliases": [],
3801
- "args": {
3802
- "workflow_test_id": {
3803
- "description": "ID of the workflow test to delete",
3804
- "name": "workflow_test_id",
3805
- "required": true
3806
- }
3807
- },
3808
- "description": "Delete a workflow test",
3793
+ "args": {},
3794
+ "description": "List all workflow tests in a workspace",
3809
3795
  "examples": [
3810
- "$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
3811
- "$ xano workflow-test delete 1 --force"
3796
+ "$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
3797
+ "$ xano workflow-test list -w 5 --output json",
3798
+ "$ xano workflow-test list --branch main"
3812
3799
  ],
3813
3800
  "flags": {
3814
3801
  "profile": {
@@ -3830,13 +3817,14 @@
3830
3817
  "allowNo": false,
3831
3818
  "type": "boolean"
3832
3819
  },
3833
- "force": {
3834
- "char": "f",
3835
- "description": "Skip confirmation prompt",
3836
- "name": "force",
3820
+ "branch": {
3821
+ "char": "b",
3822
+ "description": "Filter by branch name",
3823
+ "name": "branch",
3837
3824
  "required": false,
3838
- "allowNo": false,
3839
- "type": "boolean"
3825
+ "hasDynamicHelp": false,
3826
+ "multiple": false,
3827
+ "type": "option"
3840
3828
  },
3841
3829
  "output": {
3842
3830
  "char": "o",
@@ -3864,7 +3852,7 @@
3864
3852
  },
3865
3853
  "hasDynamicHelp": false,
3866
3854
  "hiddenAliases": [],
3867
- "id": "workflow_test:delete",
3855
+ "id": "workflow_test:list",
3868
3856
  "pluginAlias": "@xano/cli",
3869
3857
  "pluginName": "@xano/cli",
3870
3858
  "pluginType": "core",
@@ -3875,7 +3863,7 @@
3875
3863
  "dist",
3876
3864
  "commands",
3877
3865
  "workflow_test",
3878
- "delete",
3866
+ "list",
3879
3867
  "index.js"
3880
3868
  ]
3881
3869
  },
@@ -3963,86 +3951,7 @@
3963
3951
  "index.js"
3964
3952
  ]
3965
3953
  },
3966
- "workflow_test:list": {
3967
- "aliases": [],
3968
- "args": {},
3969
- "description": "List all workflow tests in a workspace",
3970
- "examples": [
3971
- "$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
3972
- "$ xano workflow-test list -w 5 --output json",
3973
- "$ xano workflow-test list --branch main"
3974
- ],
3975
- "flags": {
3976
- "profile": {
3977
- "char": "p",
3978
- "description": "Profile to use (uses default profile if not specified)",
3979
- "env": "XANO_PROFILE",
3980
- "name": "profile",
3981
- "required": false,
3982
- "hasDynamicHelp": false,
3983
- "multiple": false,
3984
- "type": "option"
3985
- },
3986
- "verbose": {
3987
- "char": "v",
3988
- "description": "Show detailed request/response information",
3989
- "env": "XANO_VERBOSE",
3990
- "name": "verbose",
3991
- "required": false,
3992
- "allowNo": false,
3993
- "type": "boolean"
3994
- },
3995
- "branch": {
3996
- "char": "b",
3997
- "description": "Filter by branch name",
3998
- "name": "branch",
3999
- "required": false,
4000
- "hasDynamicHelp": false,
4001
- "multiple": false,
4002
- "type": "option"
4003
- },
4004
- "output": {
4005
- "char": "o",
4006
- "description": "Output format",
4007
- "name": "output",
4008
- "required": false,
4009
- "default": "summary",
4010
- "hasDynamicHelp": false,
4011
- "multiple": false,
4012
- "options": [
4013
- "summary",
4014
- "json"
4015
- ],
4016
- "type": "option"
4017
- },
4018
- "workspace": {
4019
- "char": "w",
4020
- "description": "Workspace ID (uses profile workspace if not provided)",
4021
- "name": "workspace",
4022
- "required": false,
4023
- "hasDynamicHelp": false,
4024
- "multiple": false,
4025
- "type": "option"
4026
- }
4027
- },
4028
- "hasDynamicHelp": false,
4029
- "hiddenAliases": [],
4030
- "id": "workflow_test:list",
4031
- "pluginAlias": "@xano/cli",
4032
- "pluginName": "@xano/cli",
4033
- "pluginType": "core",
4034
- "strict": true,
4035
- "enableJsonFlag": false,
4036
- "isESM": true,
4037
- "relativePath": [
4038
- "dist",
4039
- "commands",
4040
- "workflow_test",
4041
- "list",
4042
- "index.js"
4043
- ]
4044
- },
4045
- "workflow_test:run": {
3954
+ "workflow_test:run": {
4046
3955
  "aliases": [],
4047
3956
  "args": {
4048
3957
  "workflow_test_id": {
@@ -4195,20 +4104,20 @@
4195
4104
  "index.js"
4196
4105
  ]
4197
4106
  },
4198
- "workspace:create": {
4107
+ "workspace:delete": {
4199
4108
  "aliases": [],
4200
4109
  "args": {
4201
- "name": {
4202
- "description": "Name of the workspace",
4203
- "name": "name",
4110
+ "workspace_id": {
4111
+ "description": "Workspace ID to delete",
4112
+ "name": "workspace_id",
4204
4113
  "required": true
4205
4114
  }
4206
4115
  },
4207
- "description": "Create a new workspace via the Xano Metadata API",
4116
+ "description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
4208
4117
  "examples": [
4209
- "$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
4210
- "$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
4211
- "$ xano workspace create new-project -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
4118
+ "$ xano workspace delete 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
4119
+ "$ xano workspace delete 123 --force\nDeleted workspace 123\n",
4120
+ "$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
4212
4121
  ],
4213
4122
  "flags": {
4214
4123
  "profile": {
@@ -4230,14 +4139,13 @@
4230
4139
  "allowNo": false,
4231
4140
  "type": "boolean"
4232
4141
  },
4233
- "description": {
4234
- "char": "d",
4235
- "description": "Description for the workspace",
4236
- "name": "description",
4142
+ "force": {
4143
+ "char": "f",
4144
+ "description": "Skip confirmation prompt",
4145
+ "name": "force",
4237
4146
  "required": false,
4238
- "hasDynamicHelp": false,
4239
- "multiple": false,
4240
- "type": "option"
4147
+ "allowNo": false,
4148
+ "type": "boolean"
4241
4149
  },
4242
4150
  "output": {
4243
4151
  "char": "o",
@@ -4256,7 +4164,7 @@
4256
4164
  },
4257
4165
  "hasDynamicHelp": false,
4258
4166
  "hiddenAliases": [],
4259
- "id": "workspace:create",
4167
+ "id": "workspace:delete",
4260
4168
  "pluginAlias": "@xano/cli",
4261
4169
  "pluginName": "@xano/cli",
4262
4170
  "pluginType": "core",
@@ -4267,24 +4175,24 @@
4267
4175
  "dist",
4268
4176
  "commands",
4269
4177
  "workspace",
4270
- "create",
4178
+ "delete",
4271
4179
  "index.js"
4272
4180
  ]
4273
4181
  },
4274
- "workspace:delete": {
4182
+ "workspace:create": {
4275
4183
  "aliases": [],
4276
4184
  "args": {
4277
- "workspace_id": {
4278
- "description": "Workspace ID to delete",
4279
- "name": "workspace_id",
4185
+ "name": {
4186
+ "description": "Name of the workspace",
4187
+ "name": "name",
4280
4188
  "required": true
4281
4189
  }
4282
4190
  },
4283
- "description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
4191
+ "description": "Create a new workspace via the Xano Metadata API",
4284
4192
  "examples": [
4285
- "$ xano workspace delete 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
4286
- "$ xano workspace delete 123 --force\nDeleted workspace 123\n",
4287
- "$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
4193
+ "$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
4194
+ "$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
4195
+ "$ xano workspace create new-project -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
4288
4196
  ],
4289
4197
  "flags": {
4290
4198
  "profile": {
@@ -4306,13 +4214,14 @@
4306
4214
  "allowNo": false,
4307
4215
  "type": "boolean"
4308
4216
  },
4309
- "force": {
4310
- "char": "f",
4311
- "description": "Skip confirmation prompt",
4312
- "name": "force",
4217
+ "description": {
4218
+ "char": "d",
4219
+ "description": "Description for the workspace",
4220
+ "name": "description",
4313
4221
  "required": false,
4314
- "allowNo": false,
4315
- "type": "boolean"
4222
+ "hasDynamicHelp": false,
4223
+ "multiple": false,
4224
+ "type": "option"
4316
4225
  },
4317
4226
  "output": {
4318
4227
  "char": "o",
@@ -4331,7 +4240,7 @@
4331
4240
  },
4332
4241
  "hasDynamicHelp": false,
4333
4242
  "hiddenAliases": [],
4334
- "id": "workspace:delete",
4243
+ "id": "workspace:create",
4335
4244
  "pluginAlias": "@xano/cli",
4336
4245
  "pluginName": "@xano/cli",
4337
4246
  "pluginType": "core",
@@ -4342,7 +4251,7 @@
4342
4251
  "dist",
4343
4252
  "commands",
4344
4253
  "workspace",
4345
- "delete",
4254
+ "create",
4346
4255
  "index.js"
4347
4256
  ]
4348
4257
  },
@@ -4513,15 +4422,13 @@
4513
4422
  "index.js"
4514
4423
  ]
4515
4424
  },
4516
- "workspace:list": {
4425
+ "unit_test:run_all": {
4517
4426
  "aliases": [],
4518
4427
  "args": {},
4519
- "description": "List all workspaces from the Xano Metadata API",
4428
+ "description": "Run all unit tests in a workspace",
4520
4429
  "examples": [
4521
- "$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
4522
- "$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
4523
- "$ xano workspace:list --output json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"workspace-1\"\n },\n {\n \"id\": 2,\n \"name\": \"workspace-2\"\n }\n ]\n}\n",
4524
- "$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
4430
+ "$ 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",
4431
+ "$ xano unit-test run-all --obj-type function -o json"
4525
4432
  ],
4526
4433
  "flags": {
4527
4434
  "profile": {
@@ -4543,6 +4450,28 @@
4543
4450
  "allowNo": false,
4544
4451
  "type": "boolean"
4545
4452
  },
4453
+ "branch": {
4454
+ "char": "b",
4455
+ "description": "Filter by branch name",
4456
+ "name": "branch",
4457
+ "required": false,
4458
+ "hasDynamicHelp": false,
4459
+ "multiple": false,
4460
+ "type": "option"
4461
+ },
4462
+ "obj-type": {
4463
+ "description": "Filter by object type",
4464
+ "name": "obj-type",
4465
+ "required": false,
4466
+ "hasDynamicHelp": false,
4467
+ "multiple": false,
4468
+ "options": [
4469
+ "function",
4470
+ "query",
4471
+ "middleware"
4472
+ ],
4473
+ "type": "option"
4474
+ },
4546
4475
  "output": {
4547
4476
  "char": "o",
4548
4477
  "description": "Output format",
@@ -4556,11 +4485,20 @@
4556
4485
  "json"
4557
4486
  ],
4558
4487
  "type": "option"
4488
+ },
4489
+ "workspace": {
4490
+ "char": "w",
4491
+ "description": "Workspace ID (uses profile workspace if not provided)",
4492
+ "name": "workspace",
4493
+ "required": false,
4494
+ "hasDynamicHelp": false,
4495
+ "multiple": false,
4496
+ "type": "option"
4559
4497
  }
4560
4498
  },
4561
4499
  "hasDynamicHelp": false,
4562
4500
  "hiddenAliases": [],
4563
- "id": "workspace:list",
4501
+ "id": "unit_test:run_all",
4564
4502
  "pluginAlias": "@xano/cli",
4565
4503
  "pluginName": "@xano/cli",
4566
4504
  "pluginType": "core",
@@ -4570,27 +4508,20 @@
4570
4508
  "relativePath": [
4571
4509
  "dist",
4572
4510
  "commands",
4573
- "workspace",
4574
- "list",
4511
+ "unit_test",
4512
+ "run_all",
4575
4513
  "index.js"
4576
4514
  ]
4577
4515
  },
4578
- "workspace:pull": {
4516
+ "workspace:list": {
4579
4517
  "aliases": [],
4580
- "args": {
4581
- "directory": {
4582
- "description": "Output directory for pulled documents",
4583
- "name": "directory",
4584
- "required": true
4585
- }
4586
- },
4587
- "description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
4518
+ "args": {},
4519
+ "description": "List all workspaces from the Xano Metadata API",
4588
4520
  "examples": [
4589
- "$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
4590
- "$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
4591
- "$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
4592
- "$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
4593
- "$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
4521
+ "$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
4522
+ "$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
4523
+ "$ xano workspace:list --output json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"workspace-1\"\n },\n {\n \"id\": 2,\n \"name\": \"workspace-2\"\n }\n ]\n}\n",
4524
+ "$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
4594
4525
  ],
4595
4526
  "flags": {
4596
4527
  "profile": {
@@ -4612,49 +4543,24 @@
4612
4543
  "allowNo": false,
4613
4544
  "type": "boolean"
4614
4545
  },
4615
- "branch": {
4616
- "char": "b",
4617
- "description": "Branch name (optional if set in profile, defaults to live)",
4618
- "name": "branch",
4619
- "required": false,
4620
- "hasDynamicHelp": false,
4621
- "multiple": false,
4622
- "type": "option"
4623
- },
4624
- "env": {
4625
- "description": "Include environment variables",
4626
- "name": "env",
4627
- "required": false,
4628
- "allowNo": false,
4629
- "type": "boolean"
4630
- },
4631
- "draft": {
4632
- "description": "Include draft versions",
4633
- "name": "draft",
4634
- "required": false,
4635
- "allowNo": false,
4636
- "type": "boolean"
4637
- },
4638
- "records": {
4639
- "description": "Include records",
4640
- "name": "records",
4641
- "required": false,
4642
- "allowNo": false,
4643
- "type": "boolean"
4644
- },
4645
- "workspace": {
4646
- "char": "w",
4647
- "description": "Workspace ID (optional if set in profile)",
4648
- "name": "workspace",
4546
+ "output": {
4547
+ "char": "o",
4548
+ "description": "Output format",
4549
+ "name": "output",
4649
4550
  "required": false,
4551
+ "default": "summary",
4650
4552
  "hasDynamicHelp": false,
4651
4553
  "multiple": false,
4554
+ "options": [
4555
+ "summary",
4556
+ "json"
4557
+ ],
4652
4558
  "type": "option"
4653
4559
  }
4654
4560
  },
4655
4561
  "hasDynamicHelp": false,
4656
4562
  "hiddenAliases": [],
4657
- "id": "workspace:pull",
4563
+ "id": "workspace:list",
4658
4564
  "pluginAlias": "@xano/cli",
4659
4565
  "pluginName": "@xano/cli",
4660
4566
  "pluginType": "core",
@@ -4665,7 +4571,7 @@
4665
4571
  "dist",
4666
4572
  "commands",
4667
4573
  "workspace",
4668
- "pull",
4574
+ "list",
4669
4575
  "index.js"
4670
4576
  ]
4671
4577
  },
@@ -4804,13 +4710,22 @@
4804
4710
  "index.js"
4805
4711
  ]
4806
4712
  },
4807
- "profile:workspace:set": {
4713
+ "workspace:pull": {
4808
4714
  "aliases": [],
4809
- "args": {},
4810
- "description": "Interactively select a workspace for a profile",
4715
+ "args": {
4716
+ "directory": {
4717
+ "description": "Output directory for pulled documents",
4718
+ "name": "directory",
4719
+ "required": true
4720
+ }
4721
+ },
4722
+ "description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
4811
4723
  "examples": [
4812
- "$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
4813
- "$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
4724
+ "$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
4725
+ "$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
4726
+ "$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
4727
+ "$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
4728
+ "$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
4814
4729
  ],
4815
4730
  "flags": {
4816
4731
  "profile": {
@@ -4831,11 +4746,50 @@
4831
4746
  "required": false,
4832
4747
  "allowNo": false,
4833
4748
  "type": "boolean"
4749
+ },
4750
+ "branch": {
4751
+ "char": "b",
4752
+ "description": "Branch name (optional if set in profile, defaults to live)",
4753
+ "name": "branch",
4754
+ "required": false,
4755
+ "hasDynamicHelp": false,
4756
+ "multiple": false,
4757
+ "type": "option"
4758
+ },
4759
+ "env": {
4760
+ "description": "Include environment variables",
4761
+ "name": "env",
4762
+ "required": false,
4763
+ "allowNo": false,
4764
+ "type": "boolean"
4765
+ },
4766
+ "draft": {
4767
+ "description": "Include draft versions",
4768
+ "name": "draft",
4769
+ "required": false,
4770
+ "allowNo": false,
4771
+ "type": "boolean"
4772
+ },
4773
+ "records": {
4774
+ "description": "Include records",
4775
+ "name": "records",
4776
+ "required": false,
4777
+ "allowNo": false,
4778
+ "type": "boolean"
4779
+ },
4780
+ "workspace": {
4781
+ "char": "w",
4782
+ "description": "Workspace ID (optional if set in profile)",
4783
+ "name": "workspace",
4784
+ "required": false,
4785
+ "hasDynamicHelp": false,
4786
+ "multiple": false,
4787
+ "type": "option"
4834
4788
  }
4835
4789
  },
4836
4790
  "hasDynamicHelp": false,
4837
4791
  "hiddenAliases": [],
4838
- "id": "profile:workspace:set",
4792
+ "id": "workspace:pull",
4839
4793
  "pluginAlias": "@xano/cli",
4840
4794
  "pluginName": "@xano/cli",
4841
4795
  "pluginType": "core",
@@ -4845,9 +4799,8 @@
4845
4799
  "relativePath": [
4846
4800
  "dist",
4847
4801
  "commands",
4848
- "profile",
4849
4802
  "workspace",
4850
- "set",
4803
+ "pull",
4851
4804
  "index.js"
4852
4805
  ]
4853
4806
  },
@@ -4955,89 +4908,6 @@
4955
4908
  "index.js"
4956
4909
  ]
4957
4910
  },
4958
- "static_host:build:get": {
4959
- "aliases": [],
4960
- "args": {
4961
- "build_id": {
4962
- "description": "Build ID",
4963
- "name": "build_id",
4964
- "required": true
4965
- },
4966
- "static_host": {
4967
- "description": "Static Host name",
4968
- "name": "static_host",
4969
- "required": true
4970
- }
4971
- },
4972
- "description": "Get details of a specific build for a static host",
4973
- "examples": [
4974
- "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
4975
- "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
4976
- "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
4977
- "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
4978
- ],
4979
- "flags": {
4980
- "profile": {
4981
- "char": "p",
4982
- "description": "Profile to use (uses default profile if not specified)",
4983
- "env": "XANO_PROFILE",
4984
- "name": "profile",
4985
- "required": false,
4986
- "hasDynamicHelp": false,
4987
- "multiple": false,
4988
- "type": "option"
4989
- },
4990
- "verbose": {
4991
- "char": "v",
4992
- "description": "Show detailed request/response information",
4993
- "env": "XANO_VERBOSE",
4994
- "name": "verbose",
4995
- "required": false,
4996
- "allowNo": false,
4997
- "type": "boolean"
4998
- },
4999
- "output": {
5000
- "char": "o",
5001
- "description": "Output format",
5002
- "name": "output",
5003
- "required": false,
5004
- "default": "summary",
5005
- "hasDynamicHelp": false,
5006
- "multiple": false,
5007
- "options": [
5008
- "summary",
5009
- "json"
5010
- ],
5011
- "type": "option"
5012
- },
5013
- "workspace": {
5014
- "char": "w",
5015
- "description": "Workspace ID (optional if set in profile)",
5016
- "name": "workspace",
5017
- "required": false,
5018
- "hasDynamicHelp": false,
5019
- "multiple": false,
5020
- "type": "option"
5021
- }
5022
- },
5023
- "hasDynamicHelp": false,
5024
- "hiddenAliases": [],
5025
- "id": "static_host:build:get",
5026
- "pluginAlias": "@xano/cli",
5027
- "pluginName": "@xano/cli",
5028
- "pluginType": "core",
5029
- "strict": true,
5030
- "enableJsonFlag": false,
5031
- "isESM": true,
5032
- "relativePath": [
5033
- "dist",
5034
- "commands",
5035
- "static_host",
5036
- "build",
5037
- "get",
5038
- "index.js"
5039
- ]
5040
- },
5041
4911
  "static_host:build:list": {
5042
4912
  "aliases": [],
5043
4913
  "args": {
@@ -5256,6 +5126,136 @@
5256
5126
  "index.js"
5257
5127
  ]
5258
5128
  },
5129
+ "profile:workspace:set": {
5130
+ "aliases": [],
5131
+ "args": {},
5132
+ "description": "Interactively select a workspace for a profile",
5133
+ "examples": [
5134
+ "$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
5135
+ "$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
5136
+ ],
5137
+ "flags": {
5138
+ "profile": {
5139
+ "char": "p",
5140
+ "description": "Profile to use (uses default profile if not specified)",
5141
+ "env": "XANO_PROFILE",
5142
+ "name": "profile",
5143
+ "required": false,
5144
+ "hasDynamicHelp": false,
5145
+ "multiple": false,
5146
+ "type": "option"
5147
+ },
5148
+ "verbose": {
5149
+ "char": "v",
5150
+ "description": "Show detailed request/response information",
5151
+ "env": "XANO_VERBOSE",
5152
+ "name": "verbose",
5153
+ "required": false,
5154
+ "allowNo": false,
5155
+ "type": "boolean"
5156
+ }
5157
+ },
5158
+ "hasDynamicHelp": false,
5159
+ "hiddenAliases": [],
5160
+ "id": "profile:workspace:set",
5161
+ "pluginAlias": "@xano/cli",
5162
+ "pluginName": "@xano/cli",
5163
+ "pluginType": "core",
5164
+ "strict": true,
5165
+ "enableJsonFlag": false,
5166
+ "isESM": true,
5167
+ "relativePath": [
5168
+ "dist",
5169
+ "commands",
5170
+ "profile",
5171
+ "workspace",
5172
+ "set",
5173
+ "index.js"
5174
+ ]
5175
+ },
5176
+ "static_host:build:get": {
5177
+ "aliases": [],
5178
+ "args": {
5179
+ "build_id": {
5180
+ "description": "Build ID",
5181
+ "name": "build_id",
5182
+ "required": true
5183
+ },
5184
+ "static_host": {
5185
+ "description": "Static Host name",
5186
+ "name": "static_host",
5187
+ "required": true
5188
+ }
5189
+ },
5190
+ "description": "Get details of a specific build for a static host",
5191
+ "examples": [
5192
+ "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
5193
+ "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
5194
+ "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
5195
+ "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
5196
+ ],
5197
+ "flags": {
5198
+ "profile": {
5199
+ "char": "p",
5200
+ "description": "Profile to use (uses default profile if not specified)",
5201
+ "env": "XANO_PROFILE",
5202
+ "name": "profile",
5203
+ "required": false,
5204
+ "hasDynamicHelp": false,
5205
+ "multiple": false,
5206
+ "type": "option"
5207
+ },
5208
+ "verbose": {
5209
+ "char": "v",
5210
+ "description": "Show detailed request/response information",
5211
+ "env": "XANO_VERBOSE",
5212
+ "name": "verbose",
5213
+ "required": false,
5214
+ "allowNo": false,
5215
+ "type": "boolean"
5216
+ },
5217
+ "output": {
5218
+ "char": "o",
5219
+ "description": "Output format",
5220
+ "name": "output",
5221
+ "required": false,
5222
+ "default": "summary",
5223
+ "hasDynamicHelp": false,
5224
+ "multiple": false,
5225
+ "options": [
5226
+ "summary",
5227
+ "json"
5228
+ ],
5229
+ "type": "option"
5230
+ },
5231
+ "workspace": {
5232
+ "char": "w",
5233
+ "description": "Workspace ID (optional if set in profile)",
5234
+ "name": "workspace",
5235
+ "required": false,
5236
+ "hasDynamicHelp": false,
5237
+ "multiple": false,
5238
+ "type": "option"
5239
+ }
5240
+ },
5241
+ "hasDynamicHelp": false,
5242
+ "hiddenAliases": [],
5243
+ "id": "static_host:build:get",
5244
+ "pluginAlias": "@xano/cli",
5245
+ "pluginName": "@xano/cli",
5246
+ "pluginType": "core",
5247
+ "strict": true,
5248
+ "enableJsonFlag": false,
5249
+ "isESM": true,
5250
+ "relativePath": [
5251
+ "dist",
5252
+ "commands",
5253
+ "static_host",
5254
+ "build",
5255
+ "get",
5256
+ "index.js"
5257
+ ]
5258
+ },
5259
5259
  "tenant:cluster:edit": {
5260
5260
  "aliases": [],
5261
5261
  "args": {
@@ -5329,23 +5329,166 @@
5329
5329
  "json"
5330
5330
  ],
5331
5331
  "type": "option"
5332
- },
5333
- "type": {
5334
- "description": "Cluster type",
5335
- "name": "type",
5336
- "required": true,
5337
- "hasDynamicHelp": false,
5338
- "multiple": false,
5339
- "options": [
5340
- "standard",
5341
- "run"
5342
- ],
5343
- "type": "option"
5332
+ },
5333
+ "type": {
5334
+ "description": "Cluster type",
5335
+ "name": "type",
5336
+ "required": true,
5337
+ "hasDynamicHelp": false,
5338
+ "multiple": false,
5339
+ "options": [
5340
+ "standard",
5341
+ "run"
5342
+ ],
5343
+ "type": "option"
5344
+ }
5345
+ },
5346
+ "hasDynamicHelp": false,
5347
+ "hiddenAliases": [],
5348
+ "id": "tenant:cluster:edit",
5349
+ "pluginAlias": "@xano/cli",
5350
+ "pluginName": "@xano/cli",
5351
+ "pluginType": "core",
5352
+ "strict": true,
5353
+ "enableJsonFlag": false,
5354
+ "isESM": true,
5355
+ "relativePath": [
5356
+ "dist",
5357
+ "commands",
5358
+ "tenant",
5359
+ "cluster",
5360
+ "edit",
5361
+ "index.js"
5362
+ ]
5363
+ },
5364
+ "tenant:cluster:get": {
5365
+ "aliases": [],
5366
+ "args": {
5367
+ "cluster_id": {
5368
+ "description": "Cluster ID to retrieve",
5369
+ "name": "cluster_id",
5370
+ "required": true
5371
+ }
5372
+ },
5373
+ "description": "Get details of a specific tenant cluster",
5374
+ "examples": [
5375
+ "$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
5376
+ "$ xano tenant cluster get 1 -o json"
5377
+ ],
5378
+ "flags": {
5379
+ "profile": {
5380
+ "char": "p",
5381
+ "description": "Profile to use (uses default profile if not specified)",
5382
+ "env": "XANO_PROFILE",
5383
+ "name": "profile",
5384
+ "required": false,
5385
+ "hasDynamicHelp": false,
5386
+ "multiple": false,
5387
+ "type": "option"
5388
+ },
5389
+ "verbose": {
5390
+ "char": "v",
5391
+ "description": "Show detailed request/response information",
5392
+ "env": "XANO_VERBOSE",
5393
+ "name": "verbose",
5394
+ "required": false,
5395
+ "allowNo": false,
5396
+ "type": "boolean"
5397
+ },
5398
+ "output": {
5399
+ "char": "o",
5400
+ "description": "Output format",
5401
+ "name": "output",
5402
+ "required": false,
5403
+ "default": "summary",
5404
+ "hasDynamicHelp": false,
5405
+ "multiple": false,
5406
+ "options": [
5407
+ "summary",
5408
+ "json"
5409
+ ],
5410
+ "type": "option"
5411
+ }
5412
+ },
5413
+ "hasDynamicHelp": false,
5414
+ "hiddenAliases": [],
5415
+ "id": "tenant:cluster:get",
5416
+ "pluginAlias": "@xano/cli",
5417
+ "pluginName": "@xano/cli",
5418
+ "pluginType": "core",
5419
+ "strict": true,
5420
+ "enableJsonFlag": false,
5421
+ "isESM": true,
5422
+ "relativePath": [
5423
+ "dist",
5424
+ "commands",
5425
+ "tenant",
5426
+ "cluster",
5427
+ "get",
5428
+ "index.js"
5429
+ ]
5430
+ },
5431
+ "tenant:cluster:delete": {
5432
+ "aliases": [],
5433
+ "args": {
5434
+ "cluster_id": {
5435
+ "description": "Cluster ID to delete",
5436
+ "name": "cluster_id",
5437
+ "required": true
5438
+ }
5439
+ },
5440
+ "description": "Delete a tenant cluster. This action cannot be undone.",
5441
+ "examples": [
5442
+ "$ xano tenant cluster delete 3\nAre you sure you want to delete tenant cluster 3? This action cannot be undone. (y/N) y\nTenant cluster 3 deleted successfully\n",
5443
+ "$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
5444
+ "$ xano tenant cluster delete 3 -f -o json"
5445
+ ],
5446
+ "flags": {
5447
+ "profile": {
5448
+ "char": "p",
5449
+ "description": "Profile to use (uses default profile if not specified)",
5450
+ "env": "XANO_PROFILE",
5451
+ "name": "profile",
5452
+ "required": false,
5453
+ "hasDynamicHelp": false,
5454
+ "multiple": false,
5455
+ "type": "option"
5456
+ },
5457
+ "verbose": {
5458
+ "char": "v",
5459
+ "description": "Show detailed request/response information",
5460
+ "env": "XANO_VERBOSE",
5461
+ "name": "verbose",
5462
+ "required": false,
5463
+ "allowNo": false,
5464
+ "type": "boolean"
5465
+ },
5466
+ "force": {
5467
+ "char": "f",
5468
+ "description": "Skip confirmation prompt",
5469
+ "name": "force",
5470
+ "required": false,
5471
+ "allowNo": false,
5472
+ "type": "boolean"
5473
+ },
5474
+ "output": {
5475
+ "char": "o",
5476
+ "description": "Output format",
5477
+ "name": "output",
5478
+ "required": false,
5479
+ "default": "summary",
5480
+ "hasDynamicHelp": false,
5481
+ "multiple": false,
5482
+ "options": [
5483
+ "summary",
5484
+ "json"
5485
+ ],
5486
+ "type": "option"
5344
5487
  }
5345
5488
  },
5346
5489
  "hasDynamicHelp": false,
5347
5490
  "hiddenAliases": [],
5348
- "id": "tenant:cluster:edit",
5491
+ "id": "tenant:cluster:delete",
5349
5492
  "pluginAlias": "@xano/cli",
5350
5493
  "pluginName": "@xano/cli",
5351
5494
  "pluginType": "core",
@@ -5357,23 +5500,17 @@
5357
5500
  "commands",
5358
5501
  "tenant",
5359
5502
  "cluster",
5360
- "edit",
5503
+ "delete",
5361
5504
  "index.js"
5362
5505
  ]
5363
5506
  },
5364
- "tenant:cluster:get": {
5507
+ "tenant:cluster:list": {
5365
5508
  "aliases": [],
5366
- "args": {
5367
- "cluster_id": {
5368
- "description": "Cluster ID to retrieve",
5369
- "name": "cluster_id",
5370
- "required": true
5371
- }
5372
- },
5373
- "description": "Get details of a specific tenant cluster",
5509
+ "args": {},
5510
+ "description": "List all tenant clusters",
5374
5511
  "examples": [
5375
- "$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
5376
- "$ xano tenant cluster get 1 -o json"
5512
+ "$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
5513
+ "$ xano tenant cluster list --output json"
5377
5514
  ],
5378
5515
  "flags": {
5379
5516
  "profile": {
@@ -5412,7 +5549,7 @@
5412
5549
  },
5413
5550
  "hasDynamicHelp": false,
5414
5551
  "hiddenAliases": [],
5415
- "id": "tenant:cluster:get",
5552
+ "id": "tenant:cluster:list",
5416
5553
  "pluginAlias": "@xano/cli",
5417
5554
  "pluginName": "@xano/cli",
5418
5555
  "pluginType": "core",
@@ -5424,7 +5561,7 @@
5424
5561
  "commands",
5425
5562
  "tenant",
5426
5563
  "cluster",
5427
- "get",
5564
+ "list",
5428
5565
  "index.js"
5429
5566
  ]
5430
5567
  },
@@ -5514,67 +5651,6 @@
5514
5651
  "index.js"
5515
5652
  ]
5516
5653
  },
5517
- "tenant:cluster:list": {
5518
- "aliases": [],
5519
- "args": {},
5520
- "description": "List all tenant clusters",
5521
- "examples": [
5522
- "$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
5523
- "$ xano tenant cluster list --output json"
5524
- ],
5525
- "flags": {
5526
- "profile": {
5527
- "char": "p",
5528
- "description": "Profile to use (uses default profile if not specified)",
5529
- "env": "XANO_PROFILE",
5530
- "name": "profile",
5531
- "required": false,
5532
- "hasDynamicHelp": false,
5533
- "multiple": false,
5534
- "type": "option"
5535
- },
5536
- "verbose": {
5537
- "char": "v",
5538
- "description": "Show detailed request/response information",
5539
- "env": "XANO_VERBOSE",
5540
- "name": "verbose",
5541
- "required": false,
5542
- "allowNo": false,
5543
- "type": "boolean"
5544
- },
5545
- "output": {
5546
- "char": "o",
5547
- "description": "Output format",
5548
- "name": "output",
5549
- "required": false,
5550
- "default": "summary",
5551
- "hasDynamicHelp": false,
5552
- "multiple": false,
5553
- "options": [
5554
- "summary",
5555
- "json"
5556
- ],
5557
- "type": "option"
5558
- }
5559
- },
5560
- "hasDynamicHelp": false,
5561
- "hiddenAliases": [],
5562
- "id": "tenant:cluster:list",
5563
- "pluginAlias": "@xano/cli",
5564
- "pluginName": "@xano/cli",
5565
- "pluginType": "core",
5566
- "strict": true,
5567
- "enableJsonFlag": false,
5568
- "isESM": true,
5569
- "relativePath": [
5570
- "dist",
5571
- "commands",
5572
- "tenant",
5573
- "cluster",
5574
- "list",
5575
- "index.js"
5576
- ]
5577
- },
5578
5654
  "tenant:backup:delete": {
5579
5655
  "aliases": [],
5580
5656
  "args": {
@@ -5856,19 +5932,19 @@
5856
5932
  "index.js"
5857
5933
  ]
5858
5934
  },
5859
- "tenant:backup:list": {
5935
+ "tenant:backup:restore": {
5860
5936
  "aliases": [],
5861
5937
  "args": {
5862
5938
  "tenant_name": {
5863
- "description": "Tenant name to list backups for",
5939
+ "description": "Tenant name to restore",
5864
5940
  "name": "tenant_name",
5865
5941
  "required": true
5866
5942
  }
5867
5943
  },
5868
- "description": "List backups for a tenant",
5944
+ "description": "Restore a tenant from a backup. This replaces the current tenant data.",
5869
5945
  "examples": [
5870
- "$ 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",
5871
- "$ xano tenant backup list t1234-abcd-xyz1 -o json"
5946
+ "$ 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",
5947
+ "$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
5872
5948
  ],
5873
5949
  "flags": {
5874
5950
  "profile": {
@@ -5890,6 +5966,22 @@
5890
5966
  "allowNo": false,
5891
5967
  "type": "boolean"
5892
5968
  },
5969
+ "backup_id": {
5970
+ "description": "Backup ID to restore from",
5971
+ "name": "backup_id",
5972
+ "required": true,
5973
+ "hasDynamicHelp": false,
5974
+ "multiple": false,
5975
+ "type": "option"
5976
+ },
5977
+ "force": {
5978
+ "char": "f",
5979
+ "description": "Skip confirmation prompt",
5980
+ "name": "force",
5981
+ "required": false,
5982
+ "allowNo": false,
5983
+ "type": "boolean"
5984
+ },
5893
5985
  "output": {
5894
5986
  "char": "o",
5895
5987
  "description": "Output format",
@@ -5904,15 +5996,6 @@
5904
5996
  ],
5905
5997
  "type": "option"
5906
5998
  },
5907
- "page": {
5908
- "description": "Page number for pagination",
5909
- "name": "page",
5910
- "required": false,
5911
- "default": 1,
5912
- "hasDynamicHelp": false,
5913
- "multiple": false,
5914
- "type": "option"
5915
- },
5916
5999
  "workspace": {
5917
6000
  "char": "w",
5918
6001
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -5925,7 +6008,7 @@
5925
6008
  },
5926
6009
  "hasDynamicHelp": false,
5927
6010
  "hiddenAliases": [],
5928
- "id": "tenant:backup:list",
6011
+ "id": "tenant:backup:restore",
5929
6012
  "pluginAlias": "@xano/cli",
5930
6013
  "pluginName": "@xano/cli",
5931
6014
  "pluginType": "core",
@@ -5937,23 +6020,23 @@
5937
6020
  "commands",
5938
6021
  "tenant",
5939
6022
  "backup",
5940
- "list",
6023
+ "restore",
5941
6024
  "index.js"
5942
6025
  ]
5943
6026
  },
5944
- "tenant:backup:restore": {
6027
+ "tenant:backup:list": {
5945
6028
  "aliases": [],
5946
6029
  "args": {
5947
6030
  "tenant_name": {
5948
- "description": "Tenant name to restore",
6031
+ "description": "Tenant name to list backups for",
5949
6032
  "name": "tenant_name",
5950
6033
  "required": true
5951
6034
  }
5952
6035
  },
5953
- "description": "Restore a tenant from a backup. This replaces the current tenant data.",
6036
+ "description": "List backups for a tenant",
5954
6037
  "examples": [
5955
- "$ 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",
5956
- "$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
6038
+ "$ 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",
6039
+ "$ xano tenant backup list t1234-abcd-xyz1 -o json"
5957
6040
  ],
5958
6041
  "flags": {
5959
6042
  "profile": {
@@ -5975,22 +6058,6 @@
5975
6058
  "allowNo": false,
5976
6059
  "type": "boolean"
5977
6060
  },
5978
- "backup_id": {
5979
- "description": "Backup ID to restore from",
5980
- "name": "backup_id",
5981
- "required": true,
5982
- "hasDynamicHelp": false,
5983
- "multiple": false,
5984
- "type": "option"
5985
- },
5986
- "force": {
5987
- "char": "f",
5988
- "description": "Skip confirmation prompt",
5989
- "name": "force",
5990
- "required": false,
5991
- "allowNo": false,
5992
- "type": "boolean"
5993
- },
5994
6061
  "output": {
5995
6062
  "char": "o",
5996
6063
  "description": "Output format",
@@ -6005,6 +6072,15 @@
6005
6072
  ],
6006
6073
  "type": "option"
6007
6074
  },
6075
+ "page": {
6076
+ "description": "Page number for pagination",
6077
+ "name": "page",
6078
+ "required": false,
6079
+ "default": 1,
6080
+ "hasDynamicHelp": false,
6081
+ "multiple": false,
6082
+ "type": "option"
6083
+ },
6008
6084
  "workspace": {
6009
6085
  "char": "w",
6010
6086
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -6017,7 +6093,7 @@
6017
6093
  },
6018
6094
  "hasDynamicHelp": false,
6019
6095
  "hiddenAliases": [],
6020
- "id": "tenant:backup:restore",
6096
+ "id": "tenant:backup:list",
6021
6097
  "pluginAlias": "@xano/cli",
6022
6098
  "pluginName": "@xano/cli",
6023
6099
  "pluginType": "core",
@@ -6029,7 +6105,7 @@
6029
6105
  "commands",
6030
6106
  "tenant",
6031
6107
  "backup",
6032
- "restore",
6108
+ "list",
6033
6109
  "index.js"
6034
6110
  ]
6035
6111
  },
@@ -6954,82 +7030,6 @@
6954
7030
  "index.js"
6955
7031
  ]
6956
7032
  },
6957
- "tenant:cluster:delete": {
6958
- "aliases": [],
6959
- "args": {
6960
- "cluster_id": {
6961
- "description": "Cluster ID to delete",
6962
- "name": "cluster_id",
6963
- "required": true
6964
- }
6965
- },
6966
- "description": "Delete a tenant cluster. This action cannot be undone.",
6967
- "examples": [
6968
- "$ xano tenant cluster delete 3\nAre you sure you want to delete tenant cluster 3? This action cannot be undone. (y/N) y\nTenant cluster 3 deleted successfully\n",
6969
- "$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
6970
- "$ xano tenant cluster delete 3 -f -o json"
6971
- ],
6972
- "flags": {
6973
- "profile": {
6974
- "char": "p",
6975
- "description": "Profile to use (uses default profile if not specified)",
6976
- "env": "XANO_PROFILE",
6977
- "name": "profile",
6978
- "required": false,
6979
- "hasDynamicHelp": false,
6980
- "multiple": false,
6981
- "type": "option"
6982
- },
6983
- "verbose": {
6984
- "char": "v",
6985
- "description": "Show detailed request/response information",
6986
- "env": "XANO_VERBOSE",
6987
- "name": "verbose",
6988
- "required": false,
6989
- "allowNo": false,
6990
- "type": "boolean"
6991
- },
6992
- "force": {
6993
- "char": "f",
6994
- "description": "Skip confirmation prompt",
6995
- "name": "force",
6996
- "required": false,
6997
- "allowNo": false,
6998
- "type": "boolean"
6999
- },
7000
- "output": {
7001
- "char": "o",
7002
- "description": "Output format",
7003
- "name": "output",
7004
- "required": false,
7005
- "default": "summary",
7006
- "hasDynamicHelp": false,
7007
- "multiple": false,
7008
- "options": [
7009
- "summary",
7010
- "json"
7011
- ],
7012
- "type": "option"
7013
- }
7014
- },
7015
- "hasDynamicHelp": false,
7016
- "hiddenAliases": [],
7017
- "id": "tenant:cluster:delete",
7018
- "pluginAlias": "@xano/cli",
7019
- "pluginName": "@xano/cli",
7020
- "pluginType": "core",
7021
- "strict": true,
7022
- "enableJsonFlag": false,
7023
- "isESM": true,
7024
- "relativePath": [
7025
- "dist",
7026
- "commands",
7027
- "tenant",
7028
- "cluster",
7029
- "delete",
7030
- "index.js"
7031
- ]
7032
- },
7033
7033
  "tenant:cluster:license:set": {
7034
7034
  "aliases": [],
7035
7035
  "args": {
@@ -7135,5 +7135,5 @@
7135
7135
  ]
7136
7136
  }
7137
7137
  },
7138
- "version": "0.0.78"
7138
+ "version": "0.0.79"
7139
7139
  }