@xano/cli 0.0.92 → 0.0.93

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.
@@ -291,123 +291,20 @@
291
291
  "index.js"
292
292
  ]
293
293
  },
294
- "branch:edit": {
294
+ "branch:list": {
295
295
  "aliases": [],
296
296
  "args": {
297
- "branch_label": {
298
- "description": "Branch label to edit (cannot edit \"v1\" label)",
299
- "name": "branch_label",
300
- "required": true
301
- }
302
- },
303
- "description": "Update an existing branch (cannot update \"v1\" label)",
304
- "examples": [
305
- "$ xano branch edit dev --label development\nUpdated branch: development\n",
306
- "$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
307
- "$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
308
- ],
309
- "flags": {
310
- "profile": {
311
- "char": "p",
312
- "description": "Profile to use (uses default profile if not specified)",
313
- "env": "XANO_PROFILE",
314
- "name": "profile",
315
- "required": false,
316
- "hasDynamicHelp": false,
317
- "multiple": false,
318
- "type": "option"
319
- },
320
- "verbose": {
321
- "char": "v",
322
- "description": "Show detailed request/response information",
323
- "env": "XANO_VERBOSE",
324
- "name": "verbose",
325
- "required": false,
326
- "allowNo": false,
327
- "type": "boolean"
328
- },
329
- "color": {
330
- "char": "c",
331
- "description": "New color hex code for the branch (e.g., \"#ff5733\")",
332
- "name": "color",
333
- "required": false,
334
- "hasDynamicHelp": false,
335
- "multiple": false,
336
- "type": "option"
337
- },
338
- "description": {
339
- "char": "d",
340
- "description": "New description for the branch",
341
- "name": "description",
342
- "required": false,
343
- "hasDynamicHelp": false,
344
- "multiple": false,
345
- "type": "option"
346
- },
347
- "label": {
348
- "char": "l",
349
- "description": "New label for the branch",
350
- "name": "label",
351
- "required": false,
352
- "hasDynamicHelp": false,
353
- "multiple": false,
354
- "type": "option"
355
- },
356
- "output": {
357
- "char": "o",
358
- "description": "Output format",
359
- "name": "output",
360
- "required": false,
361
- "default": "summary",
362
- "hasDynamicHelp": false,
363
- "multiple": false,
364
- "options": [
365
- "summary",
366
- "json"
367
- ],
368
- "type": "option"
369
- },
370
- "workspace": {
371
- "char": "w",
297
+ "workspace_id": {
372
298
  "description": "Workspace ID (uses profile workspace if not provided)",
373
- "name": "workspace",
374
- "required": false,
375
- "hasDynamicHelp": false,
376
- "multiple": false,
377
- "type": "option"
378
- }
379
- },
380
- "hasDynamicHelp": false,
381
- "hiddenAliases": [],
382
- "id": "branch:edit",
383
- "pluginAlias": "@xano/cli",
384
- "pluginName": "@xano/cli",
385
- "pluginType": "core",
386
- "strict": true,
387
- "enableJsonFlag": false,
388
- "isESM": true,
389
- "relativePath": [
390
- "dist",
391
- "commands",
392
- "branch",
393
- "edit",
394
- "index.js"
395
- ]
396
- },
397
- "branch:get": {
398
- "aliases": [],
399
- "args": {
400
- "branch_label": {
401
- "description": "Branch label (e.g., \"v1\", \"dev\")",
402
- "name": "branch_label",
403
- "required": true
299
+ "name": "workspace_id",
300
+ "required": false
404
301
  }
405
302
  },
406
- "description": "Get details for a specific branch",
303
+ "description": "List all branches in a workspace",
407
304
  "examples": [
408
- "$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
409
- "$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
410
- "$ 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"
305
+ "$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
306
+ "$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
307
+ "$ 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
308
  ],
412
309
  "flags": {
413
310
  "profile": {
@@ -442,20 +339,11 @@
442
339
  "json"
443
340
  ],
444
341
  "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
342
  }
455
343
  },
456
344
  "hasDynamicHelp": false,
457
345
  "hiddenAliases": [],
458
- "id": "branch:get",
346
+ "id": "branch:list",
459
347
  "pluginAlias": "@xano/cli",
460
348
  "pluginName": "@xano/cli",
461
349
  "pluginType": "core",
@@ -466,7 +354,7 @@
466
354
  "dist",
467
355
  "commands",
468
356
  "branch",
469
- "get",
357
+ "list",
470
358
  "index.js"
471
359
  ]
472
360
  },
@@ -1417,28 +1305,95 @@
1417
1305
  "index.js"
1418
1306
  ]
1419
1307
  },
1420
- "profile:list": {
1308
+ "branch:edit": {
1421
1309
  "aliases": [],
1422
- "args": {},
1423
- "description": "List all available profile configurations",
1310
+ "args": {
1311
+ "branch_label": {
1312
+ "description": "Branch label to edit (cannot edit \"v1\" label)",
1313
+ "name": "branch_label",
1314
+ "required": true
1315
+ }
1316
+ },
1317
+ "description": "Update an existing branch (cannot update \"v1\" label)",
1424
1318
  "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"
1319
+ "$ xano branch edit dev --label development\nUpdated branch: development\n",
1320
+ "$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
1321
+ "$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
1428
1322
  ],
1429
1323
  "flags": {
1430
- "details": {
1431
- "char": "d",
1432
- "description": "Show detailed information for each profile",
1433
- "name": "details",
1324
+ "profile": {
1325
+ "char": "p",
1326
+ "description": "Profile to use (uses default profile if not specified)",
1327
+ "env": "XANO_PROFILE",
1328
+ "name": "profile",
1329
+ "required": false,
1330
+ "hasDynamicHelp": false,
1331
+ "multiple": false,
1332
+ "type": "option"
1333
+ },
1334
+ "verbose": {
1335
+ "char": "v",
1336
+ "description": "Show detailed request/response information",
1337
+ "env": "XANO_VERBOSE",
1338
+ "name": "verbose",
1434
1339
  "required": false,
1435
1340
  "allowNo": false,
1436
1341
  "type": "boolean"
1342
+ },
1343
+ "color": {
1344
+ "char": "c",
1345
+ "description": "New color hex code for the branch (e.g., \"#ff5733\")",
1346
+ "name": "color",
1347
+ "required": false,
1348
+ "hasDynamicHelp": false,
1349
+ "multiple": false,
1350
+ "type": "option"
1351
+ },
1352
+ "description": {
1353
+ "char": "d",
1354
+ "description": "New description for the branch",
1355
+ "name": "description",
1356
+ "required": false,
1357
+ "hasDynamicHelp": false,
1358
+ "multiple": false,
1359
+ "type": "option"
1360
+ },
1361
+ "label": {
1362
+ "char": "l",
1363
+ "description": "New label for the branch",
1364
+ "name": "label",
1365
+ "required": false,
1366
+ "hasDynamicHelp": false,
1367
+ "multiple": false,
1368
+ "type": "option"
1369
+ },
1370
+ "output": {
1371
+ "char": "o",
1372
+ "description": "Output format",
1373
+ "name": "output",
1374
+ "required": false,
1375
+ "default": "summary",
1376
+ "hasDynamicHelp": false,
1377
+ "multiple": false,
1378
+ "options": [
1379
+ "summary",
1380
+ "json"
1381
+ ],
1382
+ "type": "option"
1383
+ },
1384
+ "workspace": {
1385
+ "char": "w",
1386
+ "description": "Workspace ID (uses profile workspace if not provided)",
1387
+ "name": "workspace",
1388
+ "required": false,
1389
+ "hasDynamicHelp": false,
1390
+ "multiple": false,
1391
+ "type": "option"
1437
1392
  }
1438
1393
  },
1439
1394
  "hasDynamicHelp": false,
1440
1395
  "hiddenAliases": [],
1441
- "id": "profile:list",
1396
+ "id": "branch:edit",
1442
1397
  "pluginAlias": "@xano/cli",
1443
1398
  "pluginName": "@xano/cli",
1444
1399
  "pluginType": "core",
@@ -1448,19 +1403,25 @@
1448
1403
  "relativePath": [
1449
1404
  "dist",
1450
1405
  "commands",
1451
- "profile",
1452
- "list",
1406
+ "branch",
1407
+ "edit",
1453
1408
  "index.js"
1454
1409
  ]
1455
1410
  },
1456
- "profile:me": {
1411
+ "branch:get": {
1457
1412
  "aliases": [],
1458
- "args": {},
1459
- "description": "Get information about the currently authenticated user",
1413
+ "args": {
1414
+ "branch_label": {
1415
+ "description": "Branch label (e.g., \"v1\", \"dev\")",
1416
+ "name": "branch_label",
1417
+ "required": true
1418
+ }
1419
+ },
1420
+ "description": "Get details for a specific branch",
1460
1421
  "examples": [
1461
- "$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
1462
- "$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
1463
- "$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
1422
+ "$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
1423
+ "$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
1424
+ "$ 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"
1464
1425
  ],
1465
1426
  "flags": {
1466
1427
  "profile": {
@@ -1495,11 +1456,20 @@
1495
1456
  "json"
1496
1457
  ],
1497
1458
  "type": "option"
1459
+ },
1460
+ "workspace": {
1461
+ "char": "w",
1462
+ "description": "Workspace ID (uses profile workspace if not provided)",
1463
+ "name": "workspace",
1464
+ "required": false,
1465
+ "hasDynamicHelp": false,
1466
+ "multiple": false,
1467
+ "type": "option"
1498
1468
  }
1499
1469
  },
1500
1470
  "hasDynamicHelp": false,
1501
1471
  "hiddenAliases": [],
1502
- "id": "profile:me",
1472
+ "id": "branch:get",
1503
1473
  "pluginAlias": "@xano/cli",
1504
1474
  "pluginName": "@xano/cli",
1505
1475
  "pluginType": "core",
@@ -1509,54 +1479,33 @@
1509
1479
  "relativePath": [
1510
1480
  "dist",
1511
1481
  "commands",
1512
- "profile",
1513
- "me",
1514
- "index.js"
1515
- ]
1516
- },
1517
- "profile:set": {
1518
- "aliases": [],
1519
- "args": {
1520
- "name": {
1521
- "description": "Profile name to set as default",
1522
- "name": "name",
1523
- "required": true
1524
- }
1525
- },
1526
- "description": "Set the default profile",
1527
- "examples": [
1528
- "$ xano profile set production\nDefault profile set to 'production'\n"
1529
- ],
1530
- "flags": {},
1531
- "hasDynamicHelp": false,
1532
- "hiddenAliases": [],
1533
- "id": "profile:set",
1534
- "pluginAlias": "@xano/cli",
1535
- "pluginName": "@xano/cli",
1536
- "pluginType": "core",
1537
- "strict": true,
1538
- "enableJsonFlag": false,
1539
- "isESM": true,
1540
- "relativePath": [
1541
- "dist",
1542
- "commands",
1543
- "profile",
1544
- "set",
1482
+ "branch",
1483
+ "get",
1545
1484
  "index.js"
1546
1485
  ]
1547
1486
  },
1548
- "profile:token": {
1487
+ "profile:list": {
1549
1488
  "aliases": [],
1550
1489
  "args": {},
1551
- "description": "Print the access token for the default profile",
1490
+ "description": "List all available profile configurations",
1552
1491
  "examples": [
1553
- "$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
1554
- "$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
1492
+ "$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
1493
+ "$ 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",
1494
+ "$ 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"
1555
1495
  ],
1556
- "flags": {},
1496
+ "flags": {
1497
+ "details": {
1498
+ "char": "d",
1499
+ "description": "Show detailed information for each profile",
1500
+ "name": "details",
1501
+ "required": false,
1502
+ "allowNo": false,
1503
+ "type": "boolean"
1504
+ }
1505
+ },
1557
1506
  "hasDynamicHelp": false,
1558
1507
  "hiddenAliases": [],
1559
- "id": "profile:token",
1508
+ "id": "profile:list",
1560
1509
  "pluginAlias": "@xano/cli",
1561
1510
  "pluginName": "@xano/cli",
1562
1511
  "pluginType": "core",
@@ -1567,17 +1516,18 @@
1567
1516
  "dist",
1568
1517
  "commands",
1569
1518
  "profile",
1570
- "token",
1519
+ "list",
1571
1520
  "index.js"
1572
1521
  ]
1573
1522
  },
1574
- "release:create": {
1523
+ "profile:me": {
1575
1524
  "aliases": [],
1576
1525
  "args": {},
1577
- "description": "Create a new release in a workspace",
1526
+ "description": "Get information about the currently authenticated user",
1578
1527
  "examples": [
1579
- "$ xano release create --name \"v1.0\" --branch main\nCreated release: v1.0 - ID: 10\n",
1580
- "$ xano release create --name \"v1.1-hotfix\" --branch main --hotfix --description \"Critical fix\" -o json"
1528
+ "$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
1529
+ "$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
1530
+ "$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
1581
1531
  ],
1582
1532
  "flags": {
1583
1533
  "profile": {
@@ -1599,40 +1549,6 @@
1599
1549
  "allowNo": false,
1600
1550
  "type": "boolean"
1601
1551
  },
1602
- "branch": {
1603
- "char": "b",
1604
- "description": "Branch to create the release from",
1605
- "name": "branch",
1606
- "required": true,
1607
- "hasDynamicHelp": false,
1608
- "multiple": false,
1609
- "type": "option"
1610
- },
1611
- "description": {
1612
- "char": "d",
1613
- "description": "Release description",
1614
- "name": "description",
1615
- "required": false,
1616
- "hasDynamicHelp": false,
1617
- "multiple": false,
1618
- "type": "option"
1619
- },
1620
- "hotfix": {
1621
- "description": "Mark as a hotfix release",
1622
- "name": "hotfix",
1623
- "required": false,
1624
- "allowNo": false,
1625
- "type": "boolean"
1626
- },
1627
- "name": {
1628
- "char": "n",
1629
- "description": "Name for the release",
1630
- "name": "name",
1631
- "required": true,
1632
- "hasDynamicHelp": false,
1633
- "multiple": false,
1634
- "type": "option"
1635
- },
1636
1552
  "output": {
1637
1553
  "char": "o",
1638
1554
  "description": "Output format",
@@ -1646,28 +1562,11 @@
1646
1562
  "json"
1647
1563
  ],
1648
1564
  "type": "option"
1649
- },
1650
- "table-ids": {
1651
- "description": "Comma-separated table IDs to include",
1652
- "name": "table-ids",
1653
- "required": false,
1654
- "hasDynamicHelp": false,
1655
- "multiple": false,
1656
- "type": "option"
1657
- },
1658
- "workspace": {
1659
- "char": "w",
1660
- "description": "Workspace ID (uses profile workspace if not provided)",
1661
- "name": "workspace",
1662
- "required": false,
1663
- "hasDynamicHelp": false,
1664
- "multiple": false,
1665
- "type": "option"
1666
1565
  }
1667
1566
  },
1668
1567
  "hasDynamicHelp": false,
1669
1568
  "hiddenAliases": [],
1670
- "id": "release:create",
1569
+ "id": "profile:me",
1671
1570
  "pluginAlias": "@xano/cli",
1672
1571
  "pluginName": "@xano/cli",
1673
1572
  "pluginType": "core",
@@ -1677,8 +1576,60 @@
1677
1576
  "relativePath": [
1678
1577
  "dist",
1679
1578
  "commands",
1680
- "release",
1681
- "create",
1579
+ "profile",
1580
+ "me",
1581
+ "index.js"
1582
+ ]
1583
+ },
1584
+ "profile:workspace": {
1585
+ "aliases": [],
1586
+ "args": {},
1587
+ "description": "Print the workspace ID for the default profile",
1588
+ "examples": [
1589
+ "$ xano profile:workspace\nabc123-workspace-id\n",
1590
+ "$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
1591
+ ],
1592
+ "flags": {},
1593
+ "hasDynamicHelp": false,
1594
+ "hiddenAliases": [],
1595
+ "id": "profile:workspace",
1596
+ "pluginAlias": "@xano/cli",
1597
+ "pluginName": "@xano/cli",
1598
+ "pluginType": "core",
1599
+ "strict": true,
1600
+ "enableJsonFlag": false,
1601
+ "isESM": true,
1602
+ "relativePath": [
1603
+ "dist",
1604
+ "commands",
1605
+ "profile",
1606
+ "workspace",
1607
+ "index.js"
1608
+ ]
1609
+ },
1610
+ "profile:token": {
1611
+ "aliases": [],
1612
+ "args": {},
1613
+ "description": "Print the access token for the default profile",
1614
+ "examples": [
1615
+ "$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
1616
+ "$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
1617
+ ],
1618
+ "flags": {},
1619
+ "hasDynamicHelp": false,
1620
+ "hiddenAliases": [],
1621
+ "id": "profile:token",
1622
+ "pluginAlias": "@xano/cli",
1623
+ "pluginName": "@xano/cli",
1624
+ "pluginType": "core",
1625
+ "strict": true,
1626
+ "enableJsonFlag": false,
1627
+ "isESM": true,
1628
+ "relativePath": [
1629
+ "dist",
1630
+ "commands",
1631
+ "profile",
1632
+ "token",
1682
1633
  "index.js"
1683
1634
  ]
1684
1635
  },
@@ -1735,46 +1686,13 @@
1735
1686
  "index.js"
1736
1687
  ]
1737
1688
  },
1738
- "profile:workspace": {
1689
+ "release:create": {
1739
1690
  "aliases": [],
1740
1691
  "args": {},
1741
- "description": "Print the workspace ID for the default profile",
1742
- "examples": [
1743
- "$ xano profile:workspace\nabc123-workspace-id\n",
1744
- "$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
1745
- ],
1746
- "flags": {},
1747
- "hasDynamicHelp": false,
1748
- "hiddenAliases": [],
1749
- "id": "profile:workspace",
1750
- "pluginAlias": "@xano/cli",
1751
- "pluginName": "@xano/cli",
1752
- "pluginType": "core",
1753
- "strict": true,
1754
- "enableJsonFlag": false,
1755
- "isESM": true,
1756
- "relativePath": [
1757
- "dist",
1758
- "commands",
1759
- "profile",
1760
- "workspace",
1761
- "index.js"
1762
- ]
1763
- },
1764
- "release:delete": {
1765
- "aliases": [],
1766
- "args": {
1767
- "release_name": {
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.",
1692
+ "description": "Create a new release in a workspace",
1774
1693
  "examples": [
1775
- "$ 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",
1776
- "$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
1777
- "$ xano release delete v1.0 -f -o json"
1694
+ "$ xano release create --name \"v1.0\" --branch main\nCreated release: v1.0 - ID: 10\n",
1695
+ "$ xano release create --name \"v1.1-hotfix\" --branch main --hotfix --description \"Critical fix\" -o json"
1778
1696
  ],
1779
1697
  "flags": {
1780
1698
  "profile": {
@@ -1796,14 +1714,40 @@
1796
1714
  "allowNo": false,
1797
1715
  "type": "boolean"
1798
1716
  },
1799
- "force": {
1800
- "char": "f",
1801
- "description": "Skip confirmation prompt",
1802
- "name": "force",
1717
+ "branch": {
1718
+ "char": "b",
1719
+ "description": "Branch to create the release from",
1720
+ "name": "branch",
1721
+ "required": true,
1722
+ "hasDynamicHelp": false,
1723
+ "multiple": false,
1724
+ "type": "option"
1725
+ },
1726
+ "description": {
1727
+ "char": "d",
1728
+ "description": "Release description",
1729
+ "name": "description",
1730
+ "required": false,
1731
+ "hasDynamicHelp": false,
1732
+ "multiple": false,
1733
+ "type": "option"
1734
+ },
1735
+ "hotfix": {
1736
+ "description": "Mark as a hotfix release",
1737
+ "name": "hotfix",
1803
1738
  "required": false,
1804
1739
  "allowNo": false,
1805
1740
  "type": "boolean"
1806
1741
  },
1742
+ "name": {
1743
+ "char": "n",
1744
+ "description": "Name for the release",
1745
+ "name": "name",
1746
+ "required": true,
1747
+ "hasDynamicHelp": false,
1748
+ "multiple": false,
1749
+ "type": "option"
1750
+ },
1807
1751
  "output": {
1808
1752
  "char": "o",
1809
1753
  "description": "Output format",
@@ -1818,6 +1762,14 @@
1818
1762
  ],
1819
1763
  "type": "option"
1820
1764
  },
1765
+ "table-ids": {
1766
+ "description": "Comma-separated table IDs to include",
1767
+ "name": "table-ids",
1768
+ "required": false,
1769
+ "hasDynamicHelp": false,
1770
+ "multiple": false,
1771
+ "type": "option"
1772
+ },
1821
1773
  "workspace": {
1822
1774
  "char": "w",
1823
1775
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -1830,7 +1782,7 @@
1830
1782
  },
1831
1783
  "hasDynamicHelp": false,
1832
1784
  "hiddenAliases": [],
1833
- "id": "release:delete",
1785
+ "id": "release:create",
1834
1786
  "pluginAlias": "@xano/cli",
1835
1787
  "pluginName": "@xano/cli",
1836
1788
  "pluginType": "core",
@@ -1841,23 +1793,24 @@
1841
1793
  "dist",
1842
1794
  "commands",
1843
1795
  "release",
1844
- "delete",
1796
+ "create",
1845
1797
  "index.js"
1846
1798
  ]
1847
1799
  },
1848
- "release:edit": {
1800
+ "release:delete": {
1849
1801
  "aliases": [],
1850
1802
  "args": {
1851
1803
  "release_name": {
1852
- "description": "Release name to edit",
1804
+ "description": "Release name to delete",
1853
1805
  "name": "release_name",
1854
1806
  "required": true
1855
1807
  }
1856
1808
  },
1857
- "description": "Edit an existing release",
1809
+ "description": "Delete a release permanently. This action cannot be undone.",
1858
1810
  "examples": [
1859
- "$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
1860
- "$ xano release edit v1.0 --description \"New description\" -o json"
1811
+ "$ 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",
1812
+ "$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
1813
+ "$ xano release delete v1.0 -f -o json"
1861
1814
  ],
1862
1815
  "flags": {
1863
1816
  "profile": {
@@ -1876,26 +1829,16 @@
1876
1829
  "env": "XANO_VERBOSE",
1877
1830
  "name": "verbose",
1878
1831
  "required": false,
1879
- "allowNo": false,
1880
- "type": "boolean"
1881
- },
1882
- "description": {
1883
- "char": "d",
1884
- "description": "New description",
1885
- "name": "description",
1886
- "required": false,
1887
- "hasDynamicHelp": false,
1888
- "multiple": false,
1889
- "type": "option"
1832
+ "allowNo": false,
1833
+ "type": "boolean"
1890
1834
  },
1891
- "name": {
1892
- "char": "n",
1893
- "description": "New name for the release",
1894
- "name": "name",
1835
+ "force": {
1836
+ "char": "f",
1837
+ "description": "Skip confirmation prompt",
1838
+ "name": "force",
1895
1839
  "required": false,
1896
- "hasDynamicHelp": false,
1897
- "multiple": false,
1898
- "type": "option"
1840
+ "allowNo": false,
1841
+ "type": "boolean"
1899
1842
  },
1900
1843
  "output": {
1901
1844
  "char": "o",
@@ -1923,7 +1866,7 @@
1923
1866
  },
1924
1867
  "hasDynamicHelp": false,
1925
1868
  "hiddenAliases": [],
1926
- "id": "release:edit",
1869
+ "id": "release:delete",
1927
1870
  "pluginAlias": "@xano/cli",
1928
1871
  "pluginName": "@xano/cli",
1929
1872
  "pluginType": "core",
@@ -1934,7 +1877,7 @@
1934
1877
  "dist",
1935
1878
  "commands",
1936
1879
  "release",
1937
- "edit",
1880
+ "delete",
1938
1881
  "index.js"
1939
1882
  ]
1940
1883
  },
@@ -2022,13 +1965,50 @@
2022
1965
  "index.js"
2023
1966
  ]
2024
1967
  },
2025
- "release:import": {
1968
+ "profile:set": {
2026
1969
  "aliases": [],
2027
- "args": {},
2028
- "description": "Import a release file into a workspace",
1970
+ "args": {
1971
+ "name": {
1972
+ "description": "Profile name to set as default",
1973
+ "name": "name",
1974
+ "required": true
1975
+ }
1976
+ },
1977
+ "description": "Set the default profile",
2029
1978
  "examples": [
2030
- "$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
2031
- "$ xano release import --file ./my-release.tar.gz -o json"
1979
+ "$ xano profile set production\nDefault profile set to 'production'\n"
1980
+ ],
1981
+ "flags": {},
1982
+ "hasDynamicHelp": false,
1983
+ "hiddenAliases": [],
1984
+ "id": "profile:set",
1985
+ "pluginAlias": "@xano/cli",
1986
+ "pluginName": "@xano/cli",
1987
+ "pluginType": "core",
1988
+ "strict": true,
1989
+ "enableJsonFlag": false,
1990
+ "isESM": true,
1991
+ "relativePath": [
1992
+ "dist",
1993
+ "commands",
1994
+ "profile",
1995
+ "set",
1996
+ "index.js"
1997
+ ]
1998
+ },
1999
+ "release:get": {
2000
+ "aliases": [],
2001
+ "args": {
2002
+ "release_name": {
2003
+ "description": "Release name to retrieve",
2004
+ "name": "release_name",
2005
+ "required": true
2006
+ }
2007
+ },
2008
+ "description": "Get details of a specific release",
2009
+ "examples": [
2010
+ "$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
2011
+ "$ xano release get v1.0 -w 5 -o json"
2032
2012
  ],
2033
2013
  "flags": {
2034
2014
  "profile": {
@@ -2050,15 +2030,6 @@
2050
2030
  "allowNo": false,
2051
2031
  "type": "boolean"
2052
2032
  },
2053
- "file": {
2054
- "char": "f",
2055
- "description": "Path to the release file (.tar.gz)",
2056
- "name": "file",
2057
- "required": true,
2058
- "hasDynamicHelp": false,
2059
- "multiple": false,
2060
- "type": "option"
2061
- },
2062
2033
  "output": {
2063
2034
  "char": "o",
2064
2035
  "description": "Output format",
@@ -2085,7 +2056,7 @@
2085
2056
  },
2086
2057
  "hasDynamicHelp": false,
2087
2058
  "hiddenAliases": [],
2088
- "id": "release:import",
2059
+ "id": "release:get",
2089
2060
  "pluginAlias": "@xano/cli",
2090
2061
  "pluginName": "@xano/cli",
2091
2062
  "pluginType": "core",
@@ -2096,17 +2067,17 @@
2096
2067
  "dist",
2097
2068
  "commands",
2098
2069
  "release",
2099
- "import",
2070
+ "get",
2100
2071
  "index.js"
2101
2072
  ]
2102
2073
  },
2103
- "release:list": {
2074
+ "release:import": {
2104
2075
  "aliases": [],
2105
2076
  "args": {},
2106
- "description": "List all releases in a workspace",
2077
+ "description": "Import a release file into a workspace",
2107
2078
  "examples": [
2108
- "$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
2109
- "$ xano release list -w 5 --output json"
2079
+ "$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
2080
+ "$ xano release import --file ./my-release.tar.gz -o json"
2110
2081
  ],
2111
2082
  "flags": {
2112
2083
  "profile": {
@@ -2128,6 +2099,15 @@
2128
2099
  "allowNo": false,
2129
2100
  "type": "boolean"
2130
2101
  },
2102
+ "file": {
2103
+ "char": "f",
2104
+ "description": "Path to the release file (.tar.gz)",
2105
+ "name": "file",
2106
+ "required": true,
2107
+ "hasDynamicHelp": false,
2108
+ "multiple": false,
2109
+ "type": "option"
2110
+ },
2131
2111
  "output": {
2132
2112
  "char": "o",
2133
2113
  "description": "Output format",
@@ -2154,7 +2134,7 @@
2154
2134
  },
2155
2135
  "hasDynamicHelp": false,
2156
2136
  "hiddenAliases": [],
2157
- "id": "release:list",
2137
+ "id": "release:import",
2158
2138
  "pluginAlias": "@xano/cli",
2159
2139
  "pluginName": "@xano/cli",
2160
2140
  "pluginType": "core",
@@ -2165,23 +2145,23 @@
2165
2145
  "dist",
2166
2146
  "commands",
2167
2147
  "release",
2168
- "list",
2148
+ "import",
2169
2149
  "index.js"
2170
2150
  ]
2171
2151
  },
2172
- "release:get": {
2152
+ "release:edit": {
2173
2153
  "aliases": [],
2174
2154
  "args": {
2175
2155
  "release_name": {
2176
- "description": "Release name to retrieve",
2156
+ "description": "Release name to edit",
2177
2157
  "name": "release_name",
2178
2158
  "required": true
2179
2159
  }
2180
2160
  },
2181
- "description": "Get details of a specific release",
2161
+ "description": "Edit an existing release",
2182
2162
  "examples": [
2183
- "$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
2184
- "$ xano release get v1.0 -w 5 -o json"
2163
+ "$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
2164
+ "$ xano release edit v1.0 --description \"New description\" -o json"
2185
2165
  ],
2186
2166
  "flags": {
2187
2167
  "profile": {
@@ -2203,6 +2183,24 @@
2203
2183
  "allowNo": false,
2204
2184
  "type": "boolean"
2205
2185
  },
2186
+ "description": {
2187
+ "char": "d",
2188
+ "description": "New description",
2189
+ "name": "description",
2190
+ "required": false,
2191
+ "hasDynamicHelp": false,
2192
+ "multiple": false,
2193
+ "type": "option"
2194
+ },
2195
+ "name": {
2196
+ "char": "n",
2197
+ "description": "New name for the release",
2198
+ "name": "name",
2199
+ "required": false,
2200
+ "hasDynamicHelp": false,
2201
+ "multiple": false,
2202
+ "type": "option"
2203
+ },
2206
2204
  "output": {
2207
2205
  "char": "o",
2208
2206
  "description": "Output format",
@@ -2229,7 +2227,7 @@
2229
2227
  },
2230
2228
  "hasDynamicHelp": false,
2231
2229
  "hiddenAliases": [],
2232
- "id": "release:get",
2230
+ "id": "release:edit",
2233
2231
  "pluginAlias": "@xano/cli",
2234
2232
  "pluginName": "@xano/cli",
2235
2233
  "pluginType": "core",
@@ -2240,24 +2238,17 @@
2240
2238
  "dist",
2241
2239
  "commands",
2242
2240
  "release",
2243
- "get",
2241
+ "edit",
2244
2242
  "index.js"
2245
2243
  ]
2246
2244
  },
2247
- "branch:list": {
2245
+ "release:list": {
2248
2246
  "aliases": [],
2249
- "args": {
2250
- "workspace_id": {
2251
- "description": "Workspace ID (uses profile workspace if not provided)",
2252
- "name": "workspace_id",
2253
- "required": false
2254
- }
2255
- },
2256
- "description": "List all branches in a workspace",
2247
+ "args": {},
2248
+ "description": "List all releases in a workspace",
2257
2249
  "examples": [
2258
- "$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
2259
- "$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
2260
- "$ 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"
2250
+ "$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
2251
+ "$ xano release list -w 5 --output json"
2261
2252
  ],
2262
2253
  "flags": {
2263
2254
  "profile": {
@@ -2292,86 +2283,10 @@
2292
2283
  "json"
2293
2284
  ],
2294
2285
  "type": "option"
2295
- }
2296
- },
2297
- "hasDynamicHelp": false,
2298
- "hiddenAliases": [],
2299
- "id": "branch:list",
2300
- "pluginAlias": "@xano/cli",
2301
- "pluginName": "@xano/cli",
2302
- "pluginType": "core",
2303
- "strict": true,
2304
- "enableJsonFlag": false,
2305
- "isESM": true,
2306
- "relativePath": [
2307
- "dist",
2308
- "commands",
2309
- "branch",
2310
- "list",
2311
- "index.js"
2312
- ]
2313
- },
2314
- "release:pull": {
2315
- "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",
2324
- "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"
2328
- ],
2329
- "flags": {
2330
- "profile": {
2331
- "char": "p",
2332
- "description": "Profile to use (uses default profile if not specified)",
2333
- "env": "XANO_PROFILE",
2334
- "name": "profile",
2335
- "required": false,
2336
- "hasDynamicHelp": false,
2337
- "multiple": false,
2338
- "type": "option"
2339
- },
2340
- "verbose": {
2341
- "char": "v",
2342
- "description": "Show detailed request/response information",
2343
- "env": "XANO_VERBOSE",
2344
- "name": "verbose",
2345
- "required": false,
2346
- "allowNo": false,
2347
- "type": "boolean"
2348
- },
2349
- "env": {
2350
- "description": "Include environment variables",
2351
- "name": "env",
2352
- "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,
2368
- "hasDynamicHelp": false,
2369
- "multiple": false,
2370
- "type": "option"
2371
2286
  },
2372
2287
  "workspace": {
2373
2288
  "char": "w",
2374
- "description": "Workspace ID (optional if set in profile)",
2289
+ "description": "Workspace ID (uses profile workspace if not provided)",
2375
2290
  "name": "workspace",
2376
2291
  "required": false,
2377
2292
  "hasDynamicHelp": false,
@@ -2381,7 +2296,7 @@
2381
2296
  },
2382
2297
  "hasDynamicHelp": false,
2383
2298
  "hiddenAliases": [],
2384
- "id": "release:pull",
2299
+ "id": "release:list",
2385
2300
  "pluginAlias": "@xano/cli",
2386
2301
  "pluginName": "@xano/cli",
2387
2302
  "pluginType": "core",
@@ -2392,26 +2307,24 @@
2392
2307
  "dist",
2393
2308
  "commands",
2394
2309
  "release",
2395
- "pull",
2310
+ "list",
2396
2311
  "index.js"
2397
2312
  ]
2398
2313
  },
2399
- "release:push": {
2314
+ "release:pull": {
2400
2315
  "aliases": [],
2401
2316
  "args": {
2402
2317
  "directory": {
2403
- "description": "Directory containing .xs documents to create the release from",
2318
+ "description": "Output directory for pulled documents",
2404
2319
  "name": "directory",
2405
2320
  "required": true
2406
2321
  }
2407
2322
  },
2408
- "description": "Create a new release from local XanoScript files via the multidoc endpoint",
2323
+ "description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
2409
2324
  "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"
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"
2415
2328
  ],
2416
2329
  "flags": {
2417
2330
  "profile": {
@@ -2433,60 +2346,29 @@
2433
2346
  "allowNo": false,
2434
2347
  "type": "boolean"
2435
2348
  },
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
2349
  "env": {
2447
- "description": "Include environment variables (default: true, use --no-env to exclude)",
2350
+ "description": "Include environment variables",
2448
2351
  "name": "env",
2449
2352
  "required": false,
2450
- "allowNo": true,
2353
+ "allowNo": false,
2451
2354
  "type": "boolean"
2452
2355
  },
2453
- "hotfix": {
2454
- "description": "Mark as a hotfix release",
2455
- "name": "hotfix",
2356
+ "records": {
2357
+ "description": "Include records",
2358
+ "name": "records",
2456
2359
  "required": false,
2457
2360
  "allowNo": false,
2458
2361
  "type": "boolean"
2459
2362
  },
2460
- "name": {
2461
- "char": "n",
2462
- "description": "Name for the release",
2463
- "name": "name",
2363
+ "release": {
2364
+ "char": "r",
2365
+ "description": "Release name to pull from",
2366
+ "name": "release",
2464
2367
  "required": true,
2465
2368
  "hasDynamicHelp": false,
2466
2369
  "multiple": false,
2467
2370
  "type": "option"
2468
2371
  },
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
2372
  "workspace": {
2491
2373
  "char": "w",
2492
2374
  "description": "Workspace ID (optional if set in profile)",
@@ -2499,7 +2381,7 @@
2499
2381
  },
2500
2382
  "hasDynamicHelp": false,
2501
2383
  "hiddenAliases": [],
2502
- "id": "release:push",
2384
+ "id": "release:pull",
2503
2385
  "pluginAlias": "@xano/cli",
2504
2386
  "pluginName": "@xano/cli",
2505
2387
  "pluginType": "core",
@@ -2510,7 +2392,7 @@
2510
2392
  "dist",
2511
2393
  "commands",
2512
2394
  "release",
2513
- "push",
2395
+ "pull",
2514
2396
  "index.js"
2515
2397
  ]
2516
2398
  },
@@ -2654,20 +2536,22 @@
2654
2536
  "index.js"
2655
2537
  ]
2656
2538
  },
2657
- "tenant:delete": {
2539
+ "release:push": {
2658
2540
  "aliases": [],
2659
2541
  "args": {
2660
- "tenant_name": {
2661
- "description": "Tenant name to delete",
2662
- "name": "tenant_name",
2542
+ "directory": {
2543
+ "description": "Directory containing .xs documents to create the release from",
2544
+ "name": "directory",
2663
2545
  "required": true
2664
2546
  }
2665
2547
  },
2666
- "description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
2548
+ "description": "Create a new release from local XanoScript files via the multidoc endpoint",
2667
2549
  "examples": [
2668
- "$ 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",
2669
- "$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
2670
- "$ xano tenant delete t1234-abcd-xyz1 -f -o json"
2550
+ "$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
2551
+ "$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
2552
+ "$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
2553
+ "$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
2554
+ "$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
2671
2555
  ],
2672
2556
  "flags": {
2673
2557
  "profile": {
@@ -2689,14 +2573,39 @@
2689
2573
  "allowNo": false,
2690
2574
  "type": "boolean"
2691
2575
  },
2692
- "force": {
2693
- "char": "f",
2694
- "description": "Skip confirmation prompt",
2695
- "name": "force",
2576
+ "description": {
2577
+ "char": "d",
2578
+ "description": "Release description",
2579
+ "name": "description",
2580
+ "required": false,
2581
+ "default": "",
2582
+ "hasDynamicHelp": false,
2583
+ "multiple": false,
2584
+ "type": "option"
2585
+ },
2586
+ "env": {
2587
+ "description": "Include environment variables (default: true, use --no-env to exclude)",
2588
+ "name": "env",
2589
+ "required": false,
2590
+ "allowNo": true,
2591
+ "type": "boolean"
2592
+ },
2593
+ "hotfix": {
2594
+ "description": "Mark as a hotfix release",
2595
+ "name": "hotfix",
2696
2596
  "required": false,
2697
2597
  "allowNo": false,
2698
2598
  "type": "boolean"
2699
2599
  },
2600
+ "name": {
2601
+ "char": "n",
2602
+ "description": "Name for the release",
2603
+ "name": "name",
2604
+ "required": true,
2605
+ "hasDynamicHelp": false,
2606
+ "multiple": false,
2607
+ "type": "option"
2608
+ },
2700
2609
  "output": {
2701
2610
  "char": "o",
2702
2611
  "description": "Output format",
@@ -2711,9 +2620,16 @@
2711
2620
  ],
2712
2621
  "type": "option"
2713
2622
  },
2623
+ "records": {
2624
+ "description": "Include records (default: true, use --no-records to exclude)",
2625
+ "name": "records",
2626
+ "required": false,
2627
+ "allowNo": true,
2628
+ "type": "boolean"
2629
+ },
2714
2630
  "workspace": {
2715
2631
  "char": "w",
2716
- "description": "Workspace ID (uses profile workspace if not provided)",
2632
+ "description": "Workspace ID (optional if set in profile)",
2717
2633
  "name": "workspace",
2718
2634
  "required": false,
2719
2635
  "hasDynamicHelp": false,
@@ -2723,7 +2639,7 @@
2723
2639
  },
2724
2640
  "hasDynamicHelp": false,
2725
2641
  "hiddenAliases": [],
2726
- "id": "tenant:delete",
2642
+ "id": "release:push",
2727
2643
  "pluginAlias": "@xano/cli",
2728
2644
  "pluginName": "@xano/cli",
2729
2645
  "pluginType": "core",
@@ -2733,25 +2649,25 @@
2733
2649
  "relativePath": [
2734
2650
  "dist",
2735
2651
  "commands",
2736
- "tenant",
2737
- "delete",
2652
+ "release",
2653
+ "push",
2738
2654
  "index.js"
2739
2655
  ]
2740
2656
  },
2741
- "tenant:deploy_platform": {
2657
+ "tenant:delete": {
2742
2658
  "aliases": [],
2743
2659
  "args": {
2744
2660
  "tenant_name": {
2745
- "description": "Tenant name to deploy to",
2661
+ "description": "Tenant name to delete",
2746
2662
  "name": "tenant_name",
2747
2663
  "required": true
2748
2664
  }
2749
2665
  },
2750
- "description": "Deploy a platform version to a tenant",
2666
+ "description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
2751
2667
  "examples": [
2752
- "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
2753
- "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json",
2754
- "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
2668
+ "$ 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",
2669
+ "$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
2670
+ "$ xano tenant delete t1234-abcd-xyz1 -f -o json"
2755
2671
  ],
2756
2672
  "flags": {
2757
2673
  "profile": {
@@ -2773,14 +2689,13 @@
2773
2689
  "allowNo": false,
2774
2690
  "type": "boolean"
2775
2691
  },
2776
- "license": {
2777
- "char": "l",
2778
- "description": "Path to a license override file to apply after deploy",
2779
- "name": "license",
2692
+ "force": {
2693
+ "char": "f",
2694
+ "description": "Skip confirmation prompt",
2695
+ "name": "force",
2780
2696
  "required": false,
2781
- "hasDynamicHelp": false,
2782
- "multiple": false,
2783
- "type": "option"
2697
+ "allowNo": false,
2698
+ "type": "boolean"
2784
2699
  },
2785
2700
  "output": {
2786
2701
  "char": "o",
@@ -2796,14 +2711,6 @@
2796
2711
  ],
2797
2712
  "type": "option"
2798
2713
  },
2799
- "platform_id": {
2800
- "description": "Platform ID to deploy",
2801
- "name": "platform_id",
2802
- "required": true,
2803
- "hasDynamicHelp": false,
2804
- "multiple": false,
2805
- "type": "option"
2806
- },
2807
2714
  "workspace": {
2808
2715
  "char": "w",
2809
2716
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -2816,7 +2723,7 @@
2816
2723
  },
2817
2724
  "hasDynamicHelp": false,
2818
2725
  "hiddenAliases": [],
2819
- "id": "tenant:deploy_platform",
2726
+ "id": "tenant:delete",
2820
2727
  "pluginAlias": "@xano/cli",
2821
2728
  "pluginName": "@xano/cli",
2822
2729
  "pluginType": "core",
@@ -2827,11 +2734,11 @@
2827
2734
  "dist",
2828
2735
  "commands",
2829
2736
  "tenant",
2830
- "deploy_platform",
2737
+ "delete",
2831
2738
  "index.js"
2832
2739
  ]
2833
2740
  },
2834
- "tenant:deploy_release": {
2741
+ "tenant:deploy_platform": {
2835
2742
  "aliases": [],
2836
2743
  "args": {
2837
2744
  "tenant_name": {
@@ -2840,10 +2747,11 @@
2840
2747
  "required": true
2841
2748
  }
2842
2749
  },
2843
- "description": "Deploy a release to a tenant",
2750
+ "description": "Deploy a platform version to a tenant",
2844
2751
  "examples": [
2845
- "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
2846
- "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
2752
+ "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
2753
+ "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json",
2754
+ "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
2847
2755
  ],
2848
2756
  "flags": {
2849
2757
  "profile": {
@@ -2865,6 +2773,15 @@
2865
2773
  "allowNo": false,
2866
2774
  "type": "boolean"
2867
2775
  },
2776
+ "license": {
2777
+ "char": "l",
2778
+ "description": "Path to a license override file to apply after deploy",
2779
+ "name": "license",
2780
+ "required": false,
2781
+ "hasDynamicHelp": false,
2782
+ "multiple": false,
2783
+ "type": "option"
2784
+ },
2868
2785
  "output": {
2869
2786
  "char": "o",
2870
2787
  "description": "Output format",
@@ -2879,10 +2796,9 @@
2879
2796
  ],
2880
2797
  "type": "option"
2881
2798
  },
2882
- "release": {
2883
- "char": "r",
2884
- "description": "Release name to deploy",
2885
- "name": "release",
2799
+ "platform_id": {
2800
+ "description": "Platform ID to deploy",
2801
+ "name": "platform_id",
2886
2802
  "required": true,
2887
2803
  "hasDynamicHelp": false,
2888
2804
  "multiple": false,
@@ -2900,7 +2816,7 @@
2900
2816
  },
2901
2817
  "hasDynamicHelp": false,
2902
2818
  "hiddenAliases": [],
2903
- "id": "tenant:deploy_release",
2819
+ "id": "tenant:deploy_platform",
2904
2820
  "pluginAlias": "@xano/cli",
2905
2821
  "pluginName": "@xano/cli",
2906
2822
  "pluginType": "core",
@@ -2911,7 +2827,7 @@
2911
2827
  "dist",
2912
2828
  "commands",
2913
2829
  "tenant",
2914
- "deploy_release",
2830
+ "deploy_platform",
2915
2831
  "index.js"
2916
2832
  ]
2917
2833
  },
@@ -2974,11 +2890,108 @@
2974
2890
  "multiple": false,
2975
2891
  "type": "option"
2976
2892
  },
2977
- "ingress": {
2978
- "description": "Enable/disable ingress",
2979
- "name": "ingress",
2893
+ "ingress": {
2894
+ "description": "Enable/disable ingress",
2895
+ "name": "ingress",
2896
+ "required": false,
2897
+ "allowNo": true,
2898
+ "type": "boolean"
2899
+ },
2900
+ "output": {
2901
+ "char": "o",
2902
+ "description": "Output format",
2903
+ "name": "output",
2904
+ "required": false,
2905
+ "default": "summary",
2906
+ "hasDynamicHelp": false,
2907
+ "multiple": false,
2908
+ "options": [
2909
+ "summary",
2910
+ "json"
2911
+ ],
2912
+ "type": "option"
2913
+ },
2914
+ "proxy": {
2915
+ "description": "Proxy URL",
2916
+ "name": "proxy",
2917
+ "required": false,
2918
+ "hasDynamicHelp": false,
2919
+ "multiple": false,
2920
+ "type": "option"
2921
+ },
2922
+ "rbac": {
2923
+ "description": "Enable/disable RBAC",
2924
+ "name": "rbac",
2925
+ "required": false,
2926
+ "allowNo": true,
2927
+ "type": "boolean"
2928
+ },
2929
+ "tasks": {
2930
+ "description": "Enable/disable background tasks",
2931
+ "name": "tasks",
2932
+ "required": false,
2933
+ "allowNo": true,
2934
+ "type": "boolean"
2935
+ },
2936
+ "workspace": {
2937
+ "char": "w",
2938
+ "description": "Workspace ID (uses profile workspace if not provided)",
2939
+ "name": "workspace",
2940
+ "required": false,
2941
+ "hasDynamicHelp": false,
2942
+ "multiple": false,
2943
+ "type": "option"
2944
+ }
2945
+ },
2946
+ "hasDynamicHelp": false,
2947
+ "hiddenAliases": [],
2948
+ "id": "tenant:edit",
2949
+ "pluginAlias": "@xano/cli",
2950
+ "pluginName": "@xano/cli",
2951
+ "pluginType": "core",
2952
+ "strict": true,
2953
+ "enableJsonFlag": false,
2954
+ "isESM": true,
2955
+ "relativePath": [
2956
+ "dist",
2957
+ "commands",
2958
+ "tenant",
2959
+ "edit",
2960
+ "index.js"
2961
+ ]
2962
+ },
2963
+ "tenant:impersonate": {
2964
+ "aliases": [],
2965
+ "args": {
2966
+ "tenant_name": {
2967
+ "description": "Tenant name to impersonate",
2968
+ "name": "tenant_name",
2969
+ "required": true
2970
+ }
2971
+ },
2972
+ "description": "Impersonate a tenant and open it in the browser",
2973
+ "examples": [
2974
+ "$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
2975
+ "$ xano tenant impersonate my-tenant -o json"
2976
+ ],
2977
+ "flags": {
2978
+ "profile": {
2979
+ "char": "p",
2980
+ "description": "Profile to use (uses default profile if not specified)",
2981
+ "env": "XANO_PROFILE",
2982
+ "name": "profile",
2983
+ "required": false,
2984
+ "hasDynamicHelp": false,
2985
+ "multiple": false,
2986
+ "type": "option"
2987
+ },
2988
+ "verbose": {
2989
+ "char": "v",
2990
+ "description": "Show detailed request/response information",
2991
+ "env": "XANO_VERBOSE",
2992
+ "name": "verbose",
2980
2993
  "required": false,
2981
- "allowNo": true,
2994
+ "allowNo": false,
2982
2995
  "type": "boolean"
2983
2996
  },
2984
2997
  "output": {
@@ -2995,26 +3008,12 @@
2995
3008
  ],
2996
3009
  "type": "option"
2997
3010
  },
2998
- "proxy": {
2999
- "description": "Proxy URL",
3000
- "name": "proxy",
3001
- "required": false,
3002
- "hasDynamicHelp": false,
3003
- "multiple": false,
3004
- "type": "option"
3005
- },
3006
- "rbac": {
3007
- "description": "Enable/disable RBAC",
3008
- "name": "rbac",
3009
- "required": false,
3010
- "allowNo": true,
3011
- "type": "boolean"
3012
- },
3013
- "tasks": {
3014
- "description": "Enable/disable background tasks",
3015
- "name": "tasks",
3011
+ "url-only": {
3012
+ "char": "u",
3013
+ "description": "Print the URL without opening the browser",
3014
+ "name": "url-only",
3016
3015
  "required": false,
3017
- "allowNo": true,
3016
+ "allowNo": false,
3018
3017
  "type": "boolean"
3019
3018
  },
3020
3019
  "workspace": {
@@ -3029,7 +3028,7 @@
3029
3028
  },
3030
3029
  "hasDynamicHelp": false,
3031
3030
  "hiddenAliases": [],
3032
- "id": "tenant:edit",
3031
+ "id": "tenant:impersonate",
3033
3032
  "pluginAlias": "@xano/cli",
3034
3033
  "pluginName": "@xano/cli",
3035
3034
  "pluginType": "core",
@@ -3040,23 +3039,23 @@
3040
3039
  "dist",
3041
3040
  "commands",
3042
3041
  "tenant",
3043
- "edit",
3042
+ "impersonate",
3044
3043
  "index.js"
3045
3044
  ]
3046
3045
  },
3047
- "tenant:get": {
3046
+ "tenant:deploy_release": {
3048
3047
  "aliases": [],
3049
3048
  "args": {
3050
3049
  "tenant_name": {
3051
- "description": "Tenant name to retrieve",
3050
+ "description": "Tenant name to deploy to",
3052
3051
  "name": "tenant_name",
3053
3052
  "required": true
3054
3053
  }
3055
3054
  },
3056
- "description": "Get details of a specific tenant",
3055
+ "description": "Deploy a release to a tenant",
3057
3056
  "examples": [
3058
- "$ 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",
3059
- "$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
3057
+ "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
3058
+ "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
3060
3059
  ],
3061
3060
  "flags": {
3062
3061
  "profile": {
@@ -3092,6 +3091,15 @@
3092
3091
  ],
3093
3092
  "type": "option"
3094
3093
  },
3094
+ "release": {
3095
+ "char": "r",
3096
+ "description": "Release name to deploy",
3097
+ "name": "release",
3098
+ "required": true,
3099
+ "hasDynamicHelp": false,
3100
+ "multiple": false,
3101
+ "type": "option"
3102
+ },
3095
3103
  "workspace": {
3096
3104
  "char": "w",
3097
3105
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -3104,7 +3112,7 @@
3104
3112
  },
3105
3113
  "hasDynamicHelp": false,
3106
3114
  "hiddenAliases": [],
3107
- "id": "tenant:get",
3115
+ "id": "tenant:deploy_release",
3108
3116
  "pluginAlias": "@xano/cli",
3109
3117
  "pluginName": "@xano/cli",
3110
3118
  "pluginType": "core",
@@ -3115,19 +3123,17 @@
3115
3123
  "dist",
3116
3124
  "commands",
3117
3125
  "tenant",
3118
- "get",
3126
+ "deploy_release",
3119
3127
  "index.js"
3120
3128
  ]
3121
3129
  },
3122
- "static_host:list": {
3130
+ "tenant:list": {
3123
3131
  "aliases": [],
3124
3132
  "args": {},
3125
- "description": "List all static hosts in a workspace from the Xano Metadata API",
3133
+ "description": "List all tenants in a workspace",
3126
3134
  "examples": [
3127
- "$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
3128
- "$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
3129
- "$ 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",
3130
- "$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
3135
+ "$ 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",
3136
+ "$ xano tenant list -w 5 --output json"
3131
3137
  ],
3132
3138
  "flags": {
3133
3139
  "profile": {
@@ -3163,27 +3169,9 @@
3163
3169
  ],
3164
3170
  "type": "option"
3165
3171
  },
3166
- "page": {
3167
- "description": "Page number for pagination",
3168
- "name": "page",
3169
- "required": false,
3170
- "default": 1,
3171
- "hasDynamicHelp": false,
3172
- "multiple": false,
3173
- "type": "option"
3174
- },
3175
- "per_page": {
3176
- "description": "Number of results per page",
3177
- "name": "per_page",
3178
- "required": false,
3179
- "default": 50,
3180
- "hasDynamicHelp": false,
3181
- "multiple": false,
3182
- "type": "option"
3183
- },
3184
3172
  "workspace": {
3185
3173
  "char": "w",
3186
- "description": "Workspace ID (optional if set in profile)",
3174
+ "description": "Workspace ID (uses profile workspace if not provided)",
3187
3175
  "name": "workspace",
3188
3176
  "required": false,
3189
3177
  "hasDynamicHelp": false,
@@ -3193,7 +3181,7 @@
3193
3181
  },
3194
3182
  "hasDynamicHelp": false,
3195
3183
  "hiddenAliases": [],
3196
- "id": "static_host:list",
3184
+ "id": "tenant:list",
3197
3185
  "pluginAlias": "@xano/cli",
3198
3186
  "pluginName": "@xano/cli",
3199
3187
  "pluginType": "core",
@@ -3203,24 +3191,26 @@
3203
3191
  "relativePath": [
3204
3192
  "dist",
3205
3193
  "commands",
3206
- "static_host",
3194
+ "tenant",
3207
3195
  "list",
3208
3196
  "index.js"
3209
3197
  ]
3210
3198
  },
3211
- "tenant:impersonate": {
3199
+ "tenant:pull": {
3212
3200
  "aliases": [],
3213
3201
  "args": {
3214
- "tenant_name": {
3215
- "description": "Tenant name to impersonate",
3216
- "name": "tenant_name",
3202
+ "directory": {
3203
+ "description": "Output directory for pulled documents",
3204
+ "name": "directory",
3217
3205
  "required": true
3218
3206
  }
3219
3207
  },
3220
- "description": "Impersonate a tenant and open it in the browser",
3208
+ "description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
3221
3209
  "examples": [
3222
- "$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
3223
- "$ xano tenant impersonate my-tenant -o json"
3210
+ "$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
3211
+ "$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
3212
+ "$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
3213
+ "$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
3224
3214
  ],
3225
3215
  "flags": {
3226
3216
  "profile": {
@@ -3242,31 +3232,39 @@
3242
3232
  "allowNo": false,
3243
3233
  "type": "boolean"
3244
3234
  },
3245
- "output": {
3246
- "char": "o",
3247
- "description": "Output format",
3248
- "name": "output",
3235
+ "draft": {
3236
+ "description": "Include draft versions",
3237
+ "name": "draft",
3249
3238
  "required": false,
3250
- "default": "summary",
3251
- "hasDynamicHelp": false,
3252
- "multiple": false,
3253
- "options": [
3254
- "summary",
3255
- "json"
3256
- ],
3257
- "type": "option"
3239
+ "allowNo": false,
3240
+ "type": "boolean"
3258
3241
  },
3259
- "url-only": {
3260
- "char": "u",
3261
- "description": "Print the URL without opening the browser",
3262
- "name": "url-only",
3242
+ "env": {
3243
+ "description": "Include environment variables",
3244
+ "name": "env",
3245
+ "required": false,
3246
+ "allowNo": false,
3247
+ "type": "boolean"
3248
+ },
3249
+ "records": {
3250
+ "description": "Include records",
3251
+ "name": "records",
3263
3252
  "required": false,
3264
3253
  "allowNo": false,
3265
3254
  "type": "boolean"
3266
3255
  },
3256
+ "tenant": {
3257
+ "char": "t",
3258
+ "description": "Tenant name to pull from",
3259
+ "name": "tenant",
3260
+ "required": true,
3261
+ "hasDynamicHelp": false,
3262
+ "multiple": false,
3263
+ "type": "option"
3264
+ },
3267
3265
  "workspace": {
3268
3266
  "char": "w",
3269
- "description": "Workspace ID (uses profile workspace if not provided)",
3267
+ "description": "Workspace ID (optional if set in profile)",
3270
3268
  "name": "workspace",
3271
3269
  "required": false,
3272
3270
  "hasDynamicHelp": false,
@@ -3276,7 +3274,7 @@
3276
3274
  },
3277
3275
  "hasDynamicHelp": false,
3278
3276
  "hiddenAliases": [],
3279
- "id": "tenant:impersonate",
3277
+ "id": "tenant:pull",
3280
3278
  "pluginAlias": "@xano/cli",
3281
3279
  "pluginName": "@xano/cli",
3282
3280
  "pluginType": "core",
@@ -3287,17 +3285,23 @@
3287
3285
  "dist",
3288
3286
  "commands",
3289
3287
  "tenant",
3290
- "impersonate",
3288
+ "pull",
3291
3289
  "index.js"
3292
3290
  ]
3293
3291
  },
3294
- "tenant:list": {
3292
+ "tenant:get": {
3295
3293
  "aliases": [],
3296
- "args": {},
3297
- "description": "List all tenants in a workspace",
3294
+ "args": {
3295
+ "tenant_name": {
3296
+ "description": "Tenant name to retrieve",
3297
+ "name": "tenant_name",
3298
+ "required": true
3299
+ }
3300
+ },
3301
+ "description": "Get details of a specific tenant",
3298
3302
  "examples": [
3299
- "$ 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",
3300
- "$ xano tenant list -w 5 --output json"
3303
+ "$ 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",
3304
+ "$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
3301
3305
  ],
3302
3306
  "flags": {
3303
3307
  "profile": {
@@ -3345,7 +3349,7 @@
3345
3349
  },
3346
3350
  "hasDynamicHelp": false,
3347
3351
  "hiddenAliases": [],
3348
- "id": "tenant:list",
3352
+ "id": "tenant:get",
3349
3353
  "pluginAlias": "@xano/cli",
3350
3354
  "pluginName": "@xano/cli",
3351
3355
  "pluginType": "core",
@@ -3356,27 +3360,23 @@
3356
3360
  "dist",
3357
3361
  "commands",
3358
3362
  "tenant",
3359
- "list",
3363
+ "get",
3360
3364
  "index.js"
3361
3365
  ]
3362
3366
  },
3363
- "tenant:push": {
3367
+ "unit_test:run": {
3364
3368
  "aliases": [],
3365
3369
  "args": {
3366
- "directory": {
3367
- "description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
3368
- "name": "directory",
3370
+ "unit_test_id": {
3371
+ "description": "ID of the unit test to run",
3372
+ "name": "unit_test_id",
3369
3373
  "required": true
3370
3374
  }
3371
3375
  },
3372
- "description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
3376
+ "description": "Run a unit test",
3373
3377
  "examples": [
3374
- "$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
3375
- "$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
3376
- "$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
3377
- "$ xano tenant push ./my-workspace -t my-tenant --records\nInclude table records in import\n",
3378
- "$ xano tenant push ./my-workspace -t my-tenant --env\nInclude environment variables in import\n",
3379
- "$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
3378
+ "$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
3379
+ "$ xano unit-test run abc-123 -o json"
3380
3380
  ],
3381
3381
  "flags": {
3382
3382
  "profile": {
@@ -3398,46 +3398,23 @@
3398
3398
  "allowNo": false,
3399
3399
  "type": "boolean"
3400
3400
  },
3401
- "env": {
3402
- "description": "Include environment variables in import",
3403
- "name": "env",
3404
- "required": false,
3405
- "allowNo": false,
3406
- "type": "boolean"
3407
- },
3408
- "records": {
3409
- "description": "Include records in import",
3410
- "name": "records",
3401
+ "output": {
3402
+ "char": "o",
3403
+ "description": "Output format",
3404
+ "name": "output",
3411
3405
  "required": false,
3412
- "allowNo": false,
3413
- "type": "boolean"
3414
- },
3415
- "tenant": {
3416
- "char": "t",
3417
- "description": "Tenant name to push to",
3418
- "name": "tenant",
3419
- "required": true,
3406
+ "default": "summary",
3420
3407
  "hasDynamicHelp": false,
3421
3408
  "multiple": false,
3409
+ "options": [
3410
+ "summary",
3411
+ "json"
3412
+ ],
3422
3413
  "type": "option"
3423
3414
  },
3424
- "transaction": {
3425
- "description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
3426
- "name": "transaction",
3427
- "required": false,
3428
- "allowNo": true,
3429
- "type": "boolean"
3430
- },
3431
- "truncate": {
3432
- "description": "Truncate all table records before importing",
3433
- "name": "truncate",
3434
- "required": false,
3435
- "allowNo": false,
3436
- "type": "boolean"
3437
- },
3438
3415
  "workspace": {
3439
3416
  "char": "w",
3440
- "description": "Workspace ID (optional if set in profile)",
3417
+ "description": "Workspace ID (uses profile workspace if not provided)",
3441
3418
  "name": "workspace",
3442
3419
  "required": false,
3443
3420
  "hasDynamicHelp": false,
@@ -3447,7 +3424,7 @@
3447
3424
  },
3448
3425
  "hasDynamicHelp": false,
3449
3426
  "hiddenAliases": [],
3450
- "id": "tenant:push",
3427
+ "id": "unit_test:run",
3451
3428
  "pluginAlias": "@xano/cli",
3452
3429
  "pluginName": "@xano/cli",
3453
3430
  "pluginType": "core",
@@ -3456,9 +3433,9 @@
3456
3433
  "isESM": true,
3457
3434
  "relativePath": [
3458
3435
  "dist",
3459
- "commands",
3460
- "tenant",
3461
- "push",
3436
+ "commands",
3437
+ "unit_test",
3438
+ "run",
3462
3439
  "index.js"
3463
3440
  ]
3464
3441
  },
@@ -3554,19 +3531,15 @@
3554
3531
  "index.js"
3555
3532
  ]
3556
3533
  },
3557
- "unit_test:run": {
3534
+ "static_host:list": {
3558
3535
  "aliases": [],
3559
- "args": {
3560
- "unit_test_id": {
3561
- "description": "ID of the unit test to run",
3562
- "name": "unit_test_id",
3563
- "required": true
3564
- }
3565
- },
3566
- "description": "Run a unit test",
3536
+ "args": {},
3537
+ "description": "List all static hosts in a workspace from the Xano Metadata API",
3567
3538
  "examples": [
3568
- "$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
3569
- "$ xano unit-test run abc-123 -o json"
3539
+ "$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
3540
+ "$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
3541
+ "$ 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",
3542
+ "$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
3570
3543
  ],
3571
3544
  "flags": {
3572
3545
  "profile": {
@@ -3602,9 +3575,27 @@
3602
3575
  ],
3603
3576
  "type": "option"
3604
3577
  },
3578
+ "page": {
3579
+ "description": "Page number for pagination",
3580
+ "name": "page",
3581
+ "required": false,
3582
+ "default": 1,
3583
+ "hasDynamicHelp": false,
3584
+ "multiple": false,
3585
+ "type": "option"
3586
+ },
3587
+ "per_page": {
3588
+ "description": "Number of results per page",
3589
+ "name": "per_page",
3590
+ "required": false,
3591
+ "default": 50,
3592
+ "hasDynamicHelp": false,
3593
+ "multiple": false,
3594
+ "type": "option"
3595
+ },
3605
3596
  "workspace": {
3606
3597
  "char": "w",
3607
- "description": "Workspace ID (uses profile workspace if not provided)",
3598
+ "description": "Workspace ID (optional if set in profile)",
3608
3599
  "name": "workspace",
3609
3600
  "required": false,
3610
3601
  "hasDynamicHelp": false,
@@ -3614,7 +3605,7 @@
3614
3605
  },
3615
3606
  "hasDynamicHelp": false,
3616
3607
  "hiddenAliases": [],
3617
- "id": "unit_test:run",
3608
+ "id": "static_host:list",
3618
3609
  "pluginAlias": "@xano/cli",
3619
3610
  "pluginName": "@xano/cli",
3620
3611
  "pluginType": "core",
@@ -3624,26 +3615,28 @@
3624
3615
  "relativePath": [
3625
3616
  "dist",
3626
3617
  "commands",
3627
- "unit_test",
3628
- "run",
3618
+ "static_host",
3619
+ "list",
3629
3620
  "index.js"
3630
3621
  ]
3631
3622
  },
3632
- "tenant:pull": {
3623
+ "tenant:push": {
3633
3624
  "aliases": [],
3634
3625
  "args": {
3635
3626
  "directory": {
3636
- "description": "Output directory for pulled documents",
3627
+ "description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
3637
3628
  "name": "directory",
3638
3629
  "required": true
3639
3630
  }
3640
3631
  },
3641
- "description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
3632
+ "description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
3642
3633
  "examples": [
3643
- "$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
3644
- "$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
3645
- "$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
3646
- "$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
3634
+ "$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
3635
+ "$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
3636
+ "$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
3637
+ "$ xano tenant push ./my-workspace -t my-tenant --records\nInclude table records in import\n",
3638
+ "$ xano tenant push ./my-workspace -t my-tenant --env\nInclude environment variables in import\n",
3639
+ "$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
3647
3640
  ],
3648
3641
  "flags": {
3649
3642
  "profile": {
@@ -3665,22 +3658,15 @@
3665
3658
  "allowNo": false,
3666
3659
  "type": "boolean"
3667
3660
  },
3668
- "draft": {
3669
- "description": "Include draft versions",
3670
- "name": "draft",
3671
- "required": false,
3672
- "allowNo": false,
3673
- "type": "boolean"
3674
- },
3675
3661
  "env": {
3676
- "description": "Include environment variables",
3662
+ "description": "Include environment variables in import",
3677
3663
  "name": "env",
3678
3664
  "required": false,
3679
3665
  "allowNo": false,
3680
3666
  "type": "boolean"
3681
3667
  },
3682
3668
  "records": {
3683
- "description": "Include records",
3669
+ "description": "Include records in import",
3684
3670
  "name": "records",
3685
3671
  "required": false,
3686
3672
  "allowNo": false,
@@ -3688,107 +3674,30 @@
3688
3674
  },
3689
3675
  "tenant": {
3690
3676
  "char": "t",
3691
- "description": "Tenant name to pull from",
3677
+ "description": "Tenant name to push to",
3692
3678
  "name": "tenant",
3693
3679
  "required": true,
3694
3680
  "hasDynamicHelp": false,
3695
3681
  "multiple": false,
3696
3682
  "type": "option"
3697
3683
  },
3698
- "workspace": {
3699
- "char": "w",
3700
- "description": "Workspace ID (optional if set in profile)",
3701
- "name": "workspace",
3702
- "required": false,
3703
- "hasDynamicHelp": false,
3704
- "multiple": false,
3705
- "type": "option"
3706
- }
3707
- },
3708
- "hasDynamicHelp": false,
3709
- "hiddenAliases": [],
3710
- "id": "tenant:pull",
3711
- "pluginAlias": "@xano/cli",
3712
- "pluginName": "@xano/cli",
3713
- "pluginType": "core",
3714
- "strict": true,
3715
- "enableJsonFlag": false,
3716
- "isESM": true,
3717
- "relativePath": [
3718
- "dist",
3719
- "commands",
3720
- "tenant",
3721
- "pull",
3722
- "index.js"
3723
- ]
3724
- },
3725
- "unit_test:run_all": {
3726
- "aliases": [],
3727
- "args": {},
3728
- "description": "Run all unit tests in a workspace",
3729
- "examples": [
3730
- "$ 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",
3731
- "$ xano unit-test run-all --obj-type function -o json"
3732
- ],
3733
- "flags": {
3734
- "profile": {
3735
- "char": "p",
3736
- "description": "Profile to use (uses default profile if not specified)",
3737
- "env": "XANO_PROFILE",
3738
- "name": "profile",
3684
+ "transaction": {
3685
+ "description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
3686
+ "name": "transaction",
3739
3687
  "required": false,
3740
- "hasDynamicHelp": false,
3741
- "multiple": false,
3742
- "type": "option"
3688
+ "allowNo": true,
3689
+ "type": "boolean"
3743
3690
  },
3744
- "verbose": {
3745
- "char": "v",
3746
- "description": "Show detailed request/response information",
3747
- "env": "XANO_VERBOSE",
3748
- "name": "verbose",
3691
+ "truncate": {
3692
+ "description": "Truncate all table records before importing",
3693
+ "name": "truncate",
3749
3694
  "required": false,
3750
3695
  "allowNo": false,
3751
3696
  "type": "boolean"
3752
3697
  },
3753
- "branch": {
3754
- "char": "b",
3755
- "description": "Filter by branch name",
3756
- "name": "branch",
3757
- "required": false,
3758
- "hasDynamicHelp": false,
3759
- "multiple": false,
3760
- "type": "option"
3761
- },
3762
- "obj-type": {
3763
- "description": "Filter by object type",
3764
- "name": "obj-type",
3765
- "required": false,
3766
- "hasDynamicHelp": false,
3767
- "multiple": false,
3768
- "options": [
3769
- "function",
3770
- "query",
3771
- "middleware"
3772
- ],
3773
- "type": "option"
3774
- },
3775
- "output": {
3776
- "char": "o",
3777
- "description": "Output format",
3778
- "name": "output",
3779
- "required": false,
3780
- "default": "summary",
3781
- "hasDynamicHelp": false,
3782
- "multiple": false,
3783
- "options": [
3784
- "summary",
3785
- "json"
3786
- ],
3787
- "type": "option"
3788
- },
3789
3698
  "workspace": {
3790
3699
  "char": "w",
3791
- "description": "Workspace ID (uses profile workspace if not provided)",
3700
+ "description": "Workspace ID (optional if set in profile)",
3792
3701
  "name": "workspace",
3793
3702
  "required": false,
3794
3703
  "hasDynamicHelp": false,
@@ -3798,7 +3707,7 @@
3798
3707
  },
3799
3708
  "hasDynamicHelp": false,
3800
3709
  "hiddenAliases": [],
3801
- "id": "unit_test:run_all",
3710
+ "id": "tenant:push",
3802
3711
  "pluginAlias": "@xano/cli",
3803
3712
  "pluginName": "@xano/cli",
3804
3713
  "pluginType": "core",
@@ -3808,8 +3717,8 @@
3808
3717
  "relativePath": [
3809
3718
  "dist",
3810
3719
  "commands",
3811
- "unit_test",
3812
- "run_all",
3720
+ "tenant",
3721
+ "push",
3813
3722
  "index.js"
3814
3723
  ]
3815
3724
  },
@@ -4118,86 +4027,7 @@
4118
4027
  },
4119
4028
  "hasDynamicHelp": false,
4120
4029
  "hiddenAliases": [],
4121
- "id": "workflow_test:run_all",
4122
- "pluginAlias": "@xano/cli",
4123
- "pluginName": "@xano/cli",
4124
- "pluginType": "core",
4125
- "strict": true,
4126
- "enableJsonFlag": false,
4127
- "isESM": true,
4128
- "relativePath": [
4129
- "dist",
4130
- "commands",
4131
- "workflow_test",
4132
- "run_all",
4133
- "index.js"
4134
- ]
4135
- },
4136
- "workflow_test:list": {
4137
- "aliases": [],
4138
- "args": {},
4139
- "description": "List all workflow tests in a workspace",
4140
- "examples": [
4141
- "$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
4142
- "$ xano workflow-test list -w 5 --output json",
4143
- "$ xano workflow-test list --branch main"
4144
- ],
4145
- "flags": {
4146
- "profile": {
4147
- "char": "p",
4148
- "description": "Profile to use (uses default profile if not specified)",
4149
- "env": "XANO_PROFILE",
4150
- "name": "profile",
4151
- "required": false,
4152
- "hasDynamicHelp": false,
4153
- "multiple": false,
4154
- "type": "option"
4155
- },
4156
- "verbose": {
4157
- "char": "v",
4158
- "description": "Show detailed request/response information",
4159
- "env": "XANO_VERBOSE",
4160
- "name": "verbose",
4161
- "required": false,
4162
- "allowNo": false,
4163
- "type": "boolean"
4164
- },
4165
- "branch": {
4166
- "char": "b",
4167
- "description": "Filter by branch name",
4168
- "name": "branch",
4169
- "required": false,
4170
- "hasDynamicHelp": false,
4171
- "multiple": false,
4172
- "type": "option"
4173
- },
4174
- "output": {
4175
- "char": "o",
4176
- "description": "Output format",
4177
- "name": "output",
4178
- "required": false,
4179
- "default": "summary",
4180
- "hasDynamicHelp": false,
4181
- "multiple": false,
4182
- "options": [
4183
- "summary",
4184
- "json"
4185
- ],
4186
- "type": "option"
4187
- },
4188
- "workspace": {
4189
- "char": "w",
4190
- "description": "Workspace ID (uses profile workspace if not provided)",
4191
- "name": "workspace",
4192
- "required": false,
4193
- "hasDynamicHelp": false,
4194
- "multiple": false,
4195
- "type": "option"
4196
- }
4197
- },
4198
- "hasDynamicHelp": false,
4199
- "hiddenAliases": [],
4200
- "id": "workflow_test:list",
4030
+ "id": "workflow_test:run_all",
4201
4031
  "pluginAlias": "@xano/cli",
4202
4032
  "pluginName": "@xano/cli",
4203
4033
  "pluginType": "core",
@@ -4208,24 +4038,24 @@
4208
4038
  "dist",
4209
4039
  "commands",
4210
4040
  "workflow_test",
4211
- "list",
4041
+ "run_all",
4212
4042
  "index.js"
4213
4043
  ]
4214
4044
  },
4215
- "workspace:get": {
4045
+ "workspace:create": {
4216
4046
  "aliases": [],
4217
4047
  "args": {
4218
- "workspace_id": {
4219
- "description": "Workspace ID to get details for (uses profile workspace if not provided)",
4220
- "name": "workspace_id",
4221
- "required": false
4048
+ "name": {
4049
+ "description": "Name of the workspace",
4050
+ "name": "name",
4051
+ "required": true
4222
4052
  }
4223
4053
  },
4224
- "description": "Get details of a specific workspace from the Xano Metadata API",
4054
+ "description": "Create a new workspace via the Xano Metadata API",
4225
4055
  "examples": [
4226
- "$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
4227
- "$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
4228
- "$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
4056
+ "$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
4057
+ "$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
4058
+ "$ 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"
4229
4059
  ],
4230
4060
  "flags": {
4231
4061
  "profile": {
@@ -4247,6 +4077,15 @@
4247
4077
  "allowNo": false,
4248
4078
  "type": "boolean"
4249
4079
  },
4080
+ "description": {
4081
+ "char": "d",
4082
+ "description": "Description for the workspace",
4083
+ "name": "description",
4084
+ "required": false,
4085
+ "hasDynamicHelp": false,
4086
+ "multiple": false,
4087
+ "type": "option"
4088
+ },
4250
4089
  "output": {
4251
4090
  "char": "o",
4252
4091
  "description": "Output format",
@@ -4264,7 +4103,7 @@
4264
4103
  },
4265
4104
  "hasDynamicHelp": false,
4266
4105
  "hiddenAliases": [],
4267
- "id": "workspace:get",
4106
+ "id": "workspace:create",
4268
4107
  "pluginAlias": "@xano/cli",
4269
4108
  "pluginName": "@xano/cli",
4270
4109
  "pluginType": "core",
@@ -4275,24 +4114,17 @@
4275
4114
  "dist",
4276
4115
  "commands",
4277
4116
  "workspace",
4278
- "get",
4117
+ "create",
4279
4118
  "index.js"
4280
4119
  ]
4281
4120
  },
4282
- "workspace:create": {
4121
+ "unit_test:run_all": {
4283
4122
  "aliases": [],
4284
- "args": {
4285
- "name": {
4286
- "description": "Name of the workspace",
4287
- "name": "name",
4288
- "required": true
4289
- }
4290
- },
4291
- "description": "Create a new workspace via the Xano Metadata API",
4123
+ "args": {},
4124
+ "description": "Run all unit tests in a workspace",
4292
4125
  "examples": [
4293
- "$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
4294
- "$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
4295
- "$ 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"
4126
+ "$ 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",
4127
+ "$ xano unit-test run-all --obj-type function -o json"
4296
4128
  ],
4297
4129
  "flags": {
4298
4130
  "profile": {
@@ -4314,13 +4146,26 @@
4314
4146
  "allowNo": false,
4315
4147
  "type": "boolean"
4316
4148
  },
4317
- "description": {
4318
- "char": "d",
4319
- "description": "Description for the workspace",
4320
- "name": "description",
4149
+ "branch": {
4150
+ "char": "b",
4151
+ "description": "Filter by branch name",
4152
+ "name": "branch",
4153
+ "required": false,
4154
+ "hasDynamicHelp": false,
4155
+ "multiple": false,
4156
+ "type": "option"
4157
+ },
4158
+ "obj-type": {
4159
+ "description": "Filter by object type",
4160
+ "name": "obj-type",
4321
4161
  "required": false,
4322
4162
  "hasDynamicHelp": false,
4323
4163
  "multiple": false,
4164
+ "options": [
4165
+ "function",
4166
+ "query",
4167
+ "middleware"
4168
+ ],
4324
4169
  "type": "option"
4325
4170
  },
4326
4171
  "output": {
@@ -4336,11 +4181,20 @@
4336
4181
  "json"
4337
4182
  ],
4338
4183
  "type": "option"
4184
+ },
4185
+ "workspace": {
4186
+ "char": "w",
4187
+ "description": "Workspace ID (uses profile workspace if not provided)",
4188
+ "name": "workspace",
4189
+ "required": false,
4190
+ "hasDynamicHelp": false,
4191
+ "multiple": false,
4192
+ "type": "option"
4339
4193
  }
4340
4194
  },
4341
4195
  "hasDynamicHelp": false,
4342
4196
  "hiddenAliases": [],
4343
- "id": "workspace:create",
4197
+ "id": "unit_test:run_all",
4344
4198
  "pluginAlias": "@xano/cli",
4345
4199
  "pluginName": "@xano/cli",
4346
4200
  "pluginType": "core",
@@ -4350,8 +4204,8 @@
4350
4204
  "relativePath": [
4351
4205
  "dist",
4352
4206
  "commands",
4353
- "workspace",
4354
- "create",
4207
+ "unit_test",
4208
+ "run_all",
4355
4209
  "index.js"
4356
4210
  ]
4357
4211
  },
@@ -4530,6 +4384,73 @@
4530
4384
  "index.js"
4531
4385
  ]
4532
4386
  },
4387
+ "workspace:get": {
4388
+ "aliases": [],
4389
+ "args": {
4390
+ "workspace_id": {
4391
+ "description": "Workspace ID to get details for (uses profile workspace if not provided)",
4392
+ "name": "workspace_id",
4393
+ "required": false
4394
+ }
4395
+ },
4396
+ "description": "Get details of a specific workspace from the Xano Metadata API",
4397
+ "examples": [
4398
+ "$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
4399
+ "$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
4400
+ "$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
4401
+ ],
4402
+ "flags": {
4403
+ "profile": {
4404
+ "char": "p",
4405
+ "description": "Profile to use (uses default profile if not specified)",
4406
+ "env": "XANO_PROFILE",
4407
+ "name": "profile",
4408
+ "required": false,
4409
+ "hasDynamicHelp": false,
4410
+ "multiple": false,
4411
+ "type": "option"
4412
+ },
4413
+ "verbose": {
4414
+ "char": "v",
4415
+ "description": "Show detailed request/response information",
4416
+ "env": "XANO_VERBOSE",
4417
+ "name": "verbose",
4418
+ "required": false,
4419
+ "allowNo": false,
4420
+ "type": "boolean"
4421
+ },
4422
+ "output": {
4423
+ "char": "o",
4424
+ "description": "Output format",
4425
+ "name": "output",
4426
+ "required": false,
4427
+ "default": "summary",
4428
+ "hasDynamicHelp": false,
4429
+ "multiple": false,
4430
+ "options": [
4431
+ "summary",
4432
+ "json"
4433
+ ],
4434
+ "type": "option"
4435
+ }
4436
+ },
4437
+ "hasDynamicHelp": false,
4438
+ "hiddenAliases": [],
4439
+ "id": "workspace:get",
4440
+ "pluginAlias": "@xano/cli",
4441
+ "pluginName": "@xano/cli",
4442
+ "pluginType": "core",
4443
+ "strict": true,
4444
+ "enableJsonFlag": false,
4445
+ "isESM": true,
4446
+ "relativePath": [
4447
+ "dist",
4448
+ "commands",
4449
+ "workspace",
4450
+ "get",
4451
+ "index.js"
4452
+ ]
4453
+ },
4533
4454
  "workspace:list": {
4534
4455
  "aliases": [],
4535
4456
  "args": {},
@@ -4897,20 +4818,14 @@
4897
4818
  "index.js"
4898
4819
  ]
4899
4820
  },
4900
- "static_host:build:create": {
4821
+ "workflow_test:list": {
4901
4822
  "aliases": [],
4902
- "args": {
4903
- "static_host": {
4904
- "description": "Static Host name",
4905
- "name": "static_host",
4906
- "required": true
4907
- }
4908
- },
4909
- "description": "Create a new build for a static host",
4823
+ "args": {},
4824
+ "description": "List all workflow tests in a workspace",
4910
4825
  "examples": [
4911
- "$ 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",
4912
- "$ 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",
4913
- "$ 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"
4826
+ "$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
4827
+ "$ xano workflow-test list -w 5 --output json",
4828
+ "$ xano workflow-test list --branch main"
4914
4829
  ],
4915
4830
  "flags": {
4916
4831
  "profile": {
@@ -4932,33 +4847,15 @@
4932
4847
  "allowNo": false,
4933
4848
  "type": "boolean"
4934
4849
  },
4935
- "description": {
4936
- "char": "d",
4937
- "description": "Build description",
4938
- "name": "description",
4850
+ "branch": {
4851
+ "char": "b",
4852
+ "description": "Filter by branch name",
4853
+ "name": "branch",
4939
4854
  "required": false,
4940
4855
  "hasDynamicHelp": false,
4941
4856
  "multiple": false,
4942
4857
  "type": "option"
4943
4858
  },
4944
- "file": {
4945
- "char": "f",
4946
- "description": "Path to zip file to upload",
4947
- "name": "file",
4948
- "required": true,
4949
- "hasDynamicHelp": false,
4950
- "multiple": false,
4951
- "type": "option"
4952
- },
4953
- "name": {
4954
- "char": "n",
4955
- "description": "Build name",
4956
- "name": "name",
4957
- "required": true,
4958
- "hasDynamicHelp": false,
4959
- "multiple": false,
4960
- "type": "option"
4961
- },
4962
4859
  "output": {
4963
4860
  "char": "o",
4964
4861
  "description": "Output format",
@@ -4975,7 +4872,7 @@
4975
4872
  },
4976
4873
  "workspace": {
4977
4874
  "char": "w",
4978
- "description": "Workspace ID (optional if set in profile)",
4875
+ "description": "Workspace ID (uses profile workspace if not provided)",
4979
4876
  "name": "workspace",
4980
4877
  "required": false,
4981
4878
  "hasDynamicHelp": false,
@@ -4985,7 +4882,7 @@
4985
4882
  },
4986
4883
  "hasDynamicHelp": false,
4987
4884
  "hiddenAliases": [],
4988
- "id": "static_host:build:create",
4885
+ "id": "workflow_test:list",
4989
4886
  "pluginAlias": "@xano/cli",
4990
4887
  "pluginName": "@xano/cli",
4991
4888
  "pluginType": "core",
@@ -4995,32 +4892,18 @@
4995
4892
  "relativePath": [
4996
4893
  "dist",
4997
4894
  "commands",
4998
- "static_host",
4999
- "build",
5000
- "create",
4895
+ "workflow_test",
4896
+ "list",
5001
4897
  "index.js"
5002
4898
  ]
5003
4899
  },
5004
- "static_host:build:get": {
4900
+ "tenant:cluster:create": {
5005
4901
  "aliases": [],
5006
- "args": {
5007
- "build_id": {
5008
- "description": "Build ID",
5009
- "name": "build_id",
5010
- "required": true
5011
- },
5012
- "static_host": {
5013
- "description": "Static Host name",
5014
- "name": "static_host",
5015
- "required": true
5016
- }
5017
- },
5018
- "description": "Get details of a specific build for a static host",
4902
+ "args": {},
4903
+ "description": "Create a new tenant cluster",
5019
4904
  "examples": [
5020
- "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
5021
- "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
5022
- "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
5023
- "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
4905
+ "$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
4906
+ "$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
5024
4907
  ],
5025
4908
  "flags": {
5026
4909
  "profile": {
@@ -5033,14 +4916,62 @@
5033
4916
  "multiple": false,
5034
4917
  "type": "option"
5035
4918
  },
5036
- "verbose": {
5037
- "char": "v",
5038
- "description": "Show detailed request/response information",
5039
- "env": "XANO_VERBOSE",
5040
- "name": "verbose",
4919
+ "verbose": {
4920
+ "char": "v",
4921
+ "description": "Show detailed request/response information",
4922
+ "env": "XANO_VERBOSE",
4923
+ "name": "verbose",
4924
+ "required": false,
4925
+ "allowNo": false,
4926
+ "type": "boolean"
4927
+ },
4928
+ "credentials": {
4929
+ "description": "Kubeconfig credentials (raw text)",
4930
+ "exclusive": [
4931
+ "credentials_file"
4932
+ ],
4933
+ "name": "credentials",
4934
+ "required": false,
4935
+ "hasDynamicHelp": false,
4936
+ "multiple": false,
4937
+ "type": "option"
4938
+ },
4939
+ "credentials_file": {
4940
+ "description": "Path to kubeconfig credentials file",
4941
+ "exclusive": [
4942
+ "credentials"
4943
+ ],
4944
+ "name": "credentials_file",
4945
+ "required": false,
4946
+ "hasDynamicHelp": false,
4947
+ "multiple": false,
4948
+ "type": "option"
4949
+ },
4950
+ "description": {
4951
+ "char": "d",
4952
+ "description": "Cluster description",
4953
+ "name": "description",
5041
4954
  "required": false,
5042
- "allowNo": false,
5043
- "type": "boolean"
4955
+ "hasDynamicHelp": false,
4956
+ "multiple": false,
4957
+ "type": "option"
4958
+ },
4959
+ "domain": {
4960
+ "description": "Custom domain for the cluster",
4961
+ "name": "domain",
4962
+ "required": false,
4963
+ "hasDynamicHelp": false,
4964
+ "multiple": false,
4965
+ "type": "option"
4966
+ },
4967
+ "name": {
4968
+ "char": "n",
4969
+ "description": "Cluster name",
4970
+ "name": "name",
4971
+ "required": true,
4972
+ "hasDynamicHelp": false,
4973
+ "multiple": false,
4974
+ "type": "option"
5044
4975
  },
5045
4976
  "output": {
5046
4977
  "char": "o",
@@ -5056,19 +4987,23 @@
5056
4987
  ],
5057
4988
  "type": "option"
5058
4989
  },
5059
- "workspace": {
5060
- "char": "w",
5061
- "description": "Workspace ID (optional if set in profile)",
5062
- "name": "workspace",
4990
+ "type": {
4991
+ "description": "Cluster type",
4992
+ "name": "type",
5063
4993
  "required": false,
4994
+ "default": "standard",
5064
4995
  "hasDynamicHelp": false,
5065
4996
  "multiple": false,
4997
+ "options": [
4998
+ "standard",
4999
+ "run"
5000
+ ],
5066
5001
  "type": "option"
5067
5002
  }
5068
5003
  },
5069
5004
  "hasDynamicHelp": false,
5070
5005
  "hiddenAliases": [],
5071
- "id": "static_host:build:get",
5006
+ "id": "tenant:cluster:create",
5072
5007
  "pluginAlias": "@xano/cli",
5073
5008
  "pluginName": "@xano/cli",
5074
5009
  "pluginType": "core",
@@ -5078,27 +5013,26 @@
5078
5013
  "relativePath": [
5079
5014
  "dist",
5080
5015
  "commands",
5081
- "static_host",
5082
- "build",
5083
- "get",
5016
+ "tenant",
5017
+ "cluster",
5018
+ "create",
5084
5019
  "index.js"
5085
5020
  ]
5086
5021
  },
5087
- "static_host:build:list": {
5022
+ "tenant:cluster:delete": {
5088
5023
  "aliases": [],
5089
5024
  "args": {
5090
- "static_host": {
5091
- "description": "Static Host name",
5092
- "name": "static_host",
5025
+ "cluster_id": {
5026
+ "description": "Cluster ID to delete",
5027
+ "name": "cluster_id",
5093
5028
  "required": true
5094
5029
  }
5095
5030
  },
5096
- "description": "List all builds for a static host",
5031
+ "description": "Delete a tenant cluster. This action cannot be undone.",
5097
5032
  "examples": [
5098
- "$ 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",
5099
- "$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
5100
- "$ 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",
5101
- "$ 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"
5033
+ "$ 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",
5034
+ "$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
5035
+ "$ xano tenant cluster delete 3 -f -o json"
5102
5036
  ],
5103
5037
  "flags": {
5104
5038
  "profile": {
@@ -5120,6 +5054,14 @@
5120
5054
  "allowNo": false,
5121
5055
  "type": "boolean"
5122
5056
  },
5057
+ "force": {
5058
+ "char": "f",
5059
+ "description": "Skip confirmation prompt",
5060
+ "name": "force",
5061
+ "required": false,
5062
+ "allowNo": false,
5063
+ "type": "boolean"
5064
+ },
5123
5065
  "output": {
5124
5066
  "char": "o",
5125
5067
  "description": "Output format",
@@ -5133,38 +5075,11 @@
5133
5075
  "json"
5134
5076
  ],
5135
5077
  "type": "option"
5136
- },
5137
- "page": {
5138
- "description": "Page number for pagination",
5139
- "name": "page",
5140
- "required": false,
5141
- "default": 1,
5142
- "hasDynamicHelp": false,
5143
- "multiple": false,
5144
- "type": "option"
5145
- },
5146
- "per_page": {
5147
- "description": "Number of results per page",
5148
- "name": "per_page",
5149
- "required": false,
5150
- "default": 50,
5151
- "hasDynamicHelp": false,
5152
- "multiple": false,
5153
- "type": "option"
5154
- },
5155
- "workspace": {
5156
- "char": "w",
5157
- "description": "Workspace ID (optional if set in profile)",
5158
- "name": "workspace",
5159
- "required": false,
5160
- "hasDynamicHelp": false,
5161
- "multiple": false,
5162
- "type": "option"
5163
5078
  }
5164
5079
  },
5165
5080
  "hasDynamicHelp": false,
5166
5081
  "hiddenAliases": [],
5167
- "id": "static_host:build:list",
5082
+ "id": "tenant:cluster:delete",
5168
5083
  "pluginAlias": "@xano/cli",
5169
5084
  "pluginName": "@xano/cli",
5170
5085
  "pluginType": "core",
@@ -5174,26 +5089,25 @@
5174
5089
  "relativePath": [
5175
5090
  "dist",
5176
5091
  "commands",
5177
- "static_host",
5178
- "build",
5179
- "list",
5092
+ "tenant",
5093
+ "cluster",
5094
+ "delete",
5180
5095
  "index.js"
5181
5096
  ]
5182
5097
  },
5183
- "tenant:backup:delete": {
5098
+ "tenant:cluster:edit": {
5184
5099
  "aliases": [],
5185
5100
  "args": {
5186
- "tenant_name": {
5187
- "description": "Tenant name that owns the backup",
5188
- "name": "tenant_name",
5101
+ "cluster_id": {
5102
+ "description": "Cluster ID to edit",
5103
+ "name": "cluster_id",
5189
5104
  "required": true
5190
5105
  }
5191
5106
  },
5192
- "description": "Delete a tenant backup permanently. This action cannot be undone.",
5107
+ "description": "Update an existing tenant cluster",
5193
5108
  "examples": [
5194
- "$ 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",
5195
- "$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
5196
- "$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
5109
+ "$ xano tenant cluster edit 1 --name \"us-east-1-updated\" --description \"Updated cluster\" --domain \"us-east.xano.io\" --type standard\nUpdated tenant cluster: us-east-1-updated (standard) - ID: 1\n",
5110
+ "$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
5197
5111
  ],
5198
5112
  "flags": {
5199
5113
  "profile": {
@@ -5215,21 +5129,31 @@
5215
5129
  "allowNo": false,
5216
5130
  "type": "boolean"
5217
5131
  },
5218
- "backup_id": {
5219
- "description": "Backup ID to delete",
5220
- "name": "backup_id",
5132
+ "description": {
5133
+ "char": "d",
5134
+ "description": "Cluster description",
5135
+ "name": "description",
5221
5136
  "required": true,
5222
5137
  "hasDynamicHelp": false,
5223
5138
  "multiple": false,
5224
5139
  "type": "option"
5225
5140
  },
5226
- "force": {
5227
- "char": "f",
5228
- "description": "Skip confirmation prompt",
5229
- "name": "force",
5230
- "required": false,
5231
- "allowNo": false,
5232
- "type": "boolean"
5141
+ "domain": {
5142
+ "description": "Custom domain for the cluster",
5143
+ "name": "domain",
5144
+ "required": true,
5145
+ "hasDynamicHelp": false,
5146
+ "multiple": false,
5147
+ "type": "option"
5148
+ },
5149
+ "name": {
5150
+ "char": "n",
5151
+ "description": "Cluster name",
5152
+ "name": "name",
5153
+ "required": true,
5154
+ "hasDynamicHelp": false,
5155
+ "multiple": false,
5156
+ "type": "option"
5233
5157
  },
5234
5158
  "output": {
5235
5159
  "char": "o",
@@ -5245,19 +5169,22 @@
5245
5169
  ],
5246
5170
  "type": "option"
5247
5171
  },
5248
- "workspace": {
5249
- "char": "w",
5250
- "description": "Workspace ID (uses profile workspace if not provided)",
5251
- "name": "workspace",
5252
- "required": false,
5172
+ "type": {
5173
+ "description": "Cluster type",
5174
+ "name": "type",
5175
+ "required": true,
5253
5176
  "hasDynamicHelp": false,
5254
5177
  "multiple": false,
5178
+ "options": [
5179
+ "standard",
5180
+ "run"
5181
+ ],
5255
5182
  "type": "option"
5256
5183
  }
5257
5184
  },
5258
5185
  "hasDynamicHelp": false,
5259
5186
  "hiddenAliases": [],
5260
- "id": "tenant:backup:delete",
5187
+ "id": "tenant:cluster:edit",
5261
5188
  "pluginAlias": "@xano/cli",
5262
5189
  "pluginName": "@xano/cli",
5263
5190
  "pluginType": "core",
@@ -5268,25 +5195,18 @@
5268
5195
  "dist",
5269
5196
  "commands",
5270
5197
  "tenant",
5271
- "backup",
5272
- "delete",
5198
+ "cluster",
5199
+ "edit",
5273
5200
  "index.js"
5274
5201
  ]
5275
5202
  },
5276
- "tenant:backup:export": {
5203
+ "tenant:cluster:list": {
5277
5204
  "aliases": [],
5278
- "args": {
5279
- "tenant_name": {
5280
- "description": "Tenant name to export backup from",
5281
- "name": "tenant_name",
5282
- "required": true
5283
- }
5284
- },
5285
- "description": "Export (download) a tenant backup to a local file",
5205
+ "args": {},
5206
+ "description": "List all tenant clusters",
5286
5207
  "examples": [
5287
- "$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
5288
- "$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
5289
- "$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
5208
+ "$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
5209
+ "$ xano tenant cluster list --output json"
5290
5210
  ],
5291
5211
  "flags": {
5292
5212
  "profile": {
@@ -5308,18 +5228,10 @@
5308
5228
  "allowNo": false,
5309
5229
  "type": "boolean"
5310
5230
  },
5311
- "backup_id": {
5312
- "description": "Backup ID to export",
5313
- "name": "backup_id",
5314
- "required": true,
5315
- "hasDynamicHelp": false,
5316
- "multiple": false,
5317
- "type": "option"
5318
- },
5319
- "format": {
5231
+ "output": {
5320
5232
  "char": "o",
5321
5233
  "description": "Output format",
5322
- "name": "format",
5234
+ "name": "output",
5323
5235
  "required": false,
5324
5236
  "default": "summary",
5325
5237
  "hasDynamicHelp": false,
@@ -5329,28 +5241,11 @@
5329
5241
  "json"
5330
5242
  ],
5331
5243
  "type": "option"
5332
- },
5333
- "output": {
5334
- "description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
5335
- "name": "output",
5336
- "required": false,
5337
- "hasDynamicHelp": false,
5338
- "multiple": false,
5339
- "type": "option"
5340
- },
5341
- "workspace": {
5342
- "char": "w",
5343
- "description": "Workspace ID (uses profile workspace if not provided)",
5344
- "name": "workspace",
5345
- "required": false,
5346
- "hasDynamicHelp": false,
5347
- "multiple": false,
5348
- "type": "option"
5349
5244
  }
5350
5245
  },
5351
5246
  "hasDynamicHelp": false,
5352
5247
  "hiddenAliases": [],
5353
- "id": "tenant:backup:export",
5248
+ "id": "tenant:cluster:list",
5354
5249
  "pluginAlias": "@xano/cli",
5355
5250
  "pluginName": "@xano/cli",
5356
5251
  "pluginType": "core",
@@ -5361,24 +5256,24 @@
5361
5256
  "dist",
5362
5257
  "commands",
5363
5258
  "tenant",
5364
- "backup",
5365
- "export",
5259
+ "cluster",
5260
+ "list",
5366
5261
  "index.js"
5367
5262
  ]
5368
5263
  },
5369
- "tenant:backup:import": {
5264
+ "tenant:backup:create": {
5370
5265
  "aliases": [],
5371
5266
  "args": {
5372
5267
  "tenant_name": {
5373
- "description": "Tenant name to import backup into",
5268
+ "description": "Tenant name to back up",
5374
5269
  "name": "tenant_name",
5375
5270
  "required": true
5376
5271
  }
5377
5272
  },
5378
- "description": "Import a backup file into a tenant",
5273
+ "description": "Create a backup for a tenant",
5379
5274
  "examples": [
5380
- "$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
5381
- "$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
5275
+ "$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
5276
+ "$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
5382
5277
  ],
5383
5278
  "flags": {
5384
5279
  "profile": {
@@ -5410,15 +5305,6 @@
5410
5305
  "multiple": false,
5411
5306
  "type": "option"
5412
5307
  },
5413
- "file": {
5414
- "char": "f",
5415
- "description": "Path to the backup file (.tar.gz)",
5416
- "name": "file",
5417
- "required": true,
5418
- "hasDynamicHelp": false,
5419
- "multiple": false,
5420
- "type": "option"
5421
- },
5422
5308
  "output": {
5423
5309
  "char": "o",
5424
5310
  "description": "Output format",
@@ -5445,7 +5331,7 @@
5445
5331
  },
5446
5332
  "hasDynamicHelp": false,
5447
5333
  "hiddenAliases": [],
5448
- "id": "tenant:backup:import",
5334
+ "id": "tenant:backup:create",
5449
5335
  "pluginAlias": "@xano/cli",
5450
5336
  "pluginName": "@xano/cli",
5451
5337
  "pluginType": "core",
@@ -5457,23 +5343,24 @@
5457
5343
  "commands",
5458
5344
  "tenant",
5459
5345
  "backup",
5460
- "import",
5346
+ "create",
5461
5347
  "index.js"
5462
5348
  ]
5463
5349
  },
5464
- "tenant:backup:restore": {
5350
+ "tenant:backup:export": {
5465
5351
  "aliases": [],
5466
5352
  "args": {
5467
5353
  "tenant_name": {
5468
- "description": "Tenant name to restore",
5354
+ "description": "Tenant name to export backup from",
5469
5355
  "name": "tenant_name",
5470
5356
  "required": true
5471
5357
  }
5472
5358
  },
5473
- "description": "Restore a tenant from a backup. This replaces the current tenant data.",
5359
+ "description": "Export (download) a tenant backup to a local file",
5474
5360
  "examples": [
5475
- "$ 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",
5476
- "$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
5361
+ "$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
5362
+ "$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
5363
+ "$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
5477
5364
  ],
5478
5365
  "flags": {
5479
5366
  "profile": {
@@ -5496,25 +5383,17 @@
5496
5383
  "type": "boolean"
5497
5384
  },
5498
5385
  "backup_id": {
5499
- "description": "Backup ID to restore from",
5386
+ "description": "Backup ID to export",
5500
5387
  "name": "backup_id",
5501
5388
  "required": true,
5502
5389
  "hasDynamicHelp": false,
5503
5390
  "multiple": false,
5504
5391
  "type": "option"
5505
5392
  },
5506
- "force": {
5507
- "char": "f",
5508
- "description": "Skip confirmation prompt",
5509
- "name": "force",
5510
- "required": false,
5511
- "allowNo": false,
5512
- "type": "boolean"
5513
- },
5514
- "output": {
5393
+ "format": {
5515
5394
  "char": "o",
5516
5395
  "description": "Output format",
5517
- "name": "output",
5396
+ "name": "format",
5518
5397
  "required": false,
5519
5398
  "default": "summary",
5520
5399
  "hasDynamicHelp": false,
@@ -5525,6 +5404,14 @@
5525
5404
  ],
5526
5405
  "type": "option"
5527
5406
  },
5407
+ "output": {
5408
+ "description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
5409
+ "name": "output",
5410
+ "required": false,
5411
+ "hasDynamicHelp": false,
5412
+ "multiple": false,
5413
+ "type": "option"
5414
+ },
5528
5415
  "workspace": {
5529
5416
  "char": "w",
5530
5417
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -5537,7 +5424,7 @@
5537
5424
  },
5538
5425
  "hasDynamicHelp": false,
5539
5426
  "hiddenAliases": [],
5540
- "id": "tenant:backup:restore",
5427
+ "id": "tenant:backup:export",
5541
5428
  "pluginAlias": "@xano/cli",
5542
5429
  "pluginName": "@xano/cli",
5543
5430
  "pluginType": "core",
@@ -5549,23 +5436,24 @@
5549
5436
  "commands",
5550
5437
  "tenant",
5551
5438
  "backup",
5552
- "restore",
5439
+ "export",
5553
5440
  "index.js"
5554
5441
  ]
5555
5442
  },
5556
- "tenant:backup:list": {
5443
+ "tenant:backup:delete": {
5557
5444
  "aliases": [],
5558
5445
  "args": {
5559
5446
  "tenant_name": {
5560
- "description": "Tenant name to list backups for",
5447
+ "description": "Tenant name that owns the backup",
5561
5448
  "name": "tenant_name",
5562
5449
  "required": true
5563
5450
  }
5564
5451
  },
5565
- "description": "List backups for a tenant",
5452
+ "description": "Delete a tenant backup permanently. This action cannot be undone.",
5566
5453
  "examples": [
5567
- "$ 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",
5568
- "$ xano tenant backup list t1234-abcd-xyz1 -o json"
5454
+ "$ 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",
5455
+ "$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
5456
+ "$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
5569
5457
  ],
5570
5458
  "flags": {
5571
5459
  "profile": {
@@ -5587,6 +5475,22 @@
5587
5475
  "allowNo": false,
5588
5476
  "type": "boolean"
5589
5477
  },
5478
+ "backup_id": {
5479
+ "description": "Backup ID to delete",
5480
+ "name": "backup_id",
5481
+ "required": true,
5482
+ "hasDynamicHelp": false,
5483
+ "multiple": false,
5484
+ "type": "option"
5485
+ },
5486
+ "force": {
5487
+ "char": "f",
5488
+ "description": "Skip confirmation prompt",
5489
+ "name": "force",
5490
+ "required": false,
5491
+ "allowNo": false,
5492
+ "type": "boolean"
5493
+ },
5590
5494
  "output": {
5591
5495
  "char": "o",
5592
5496
  "description": "Output format",
@@ -5601,15 +5505,6 @@
5601
5505
  ],
5602
5506
  "type": "option"
5603
5507
  },
5604
- "page": {
5605
- "description": "Page number for pagination",
5606
- "name": "page",
5607
- "required": false,
5608
- "default": 1,
5609
- "hasDynamicHelp": false,
5610
- "multiple": false,
5611
- "type": "option"
5612
- },
5613
5508
  "workspace": {
5614
5509
  "char": "w",
5615
5510
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -5622,7 +5517,7 @@
5622
5517
  },
5623
5518
  "hasDynamicHelp": false,
5624
5519
  "hiddenAliases": [],
5625
- "id": "tenant:backup:list",
5520
+ "id": "tenant:backup:delete",
5626
5521
  "pluginAlias": "@xano/cli",
5627
5522
  "pluginName": "@xano/cli",
5628
5523
  "pluginType": "core",
@@ -5634,17 +5529,23 @@
5634
5529
  "commands",
5635
5530
  "tenant",
5636
5531
  "backup",
5637
- "list",
5532
+ "delete",
5638
5533
  "index.js"
5639
5534
  ]
5640
5535
  },
5641
- "tenant:cluster:create": {
5536
+ "tenant:backup:import": {
5642
5537
  "aliases": [],
5643
- "args": {},
5644
- "description": "Create a new tenant cluster",
5538
+ "args": {
5539
+ "tenant_name": {
5540
+ "description": "Tenant name to import backup into",
5541
+ "name": "tenant_name",
5542
+ "required": true
5543
+ }
5544
+ },
5545
+ "description": "Import a backup file into a tenant",
5645
5546
  "examples": [
5646
- "$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
5647
- "$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
5547
+ "$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
5548
+ "$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
5648
5549
  ],
5649
5550
  "flags": {
5650
5551
  "profile": {
@@ -5666,49 +5567,20 @@
5666
5567
  "allowNo": false,
5667
5568
  "type": "boolean"
5668
5569
  },
5669
- "credentials": {
5670
- "description": "Kubeconfig credentials (raw text)",
5671
- "exclusive": [
5672
- "credentials_file"
5673
- ],
5674
- "name": "credentials",
5675
- "required": false,
5676
- "hasDynamicHelp": false,
5677
- "multiple": false,
5678
- "type": "option"
5679
- },
5680
- "credentials_file": {
5681
- "description": "Path to kubeconfig credentials file",
5682
- "exclusive": [
5683
- "credentials"
5684
- ],
5685
- "name": "credentials_file",
5686
- "required": false,
5687
- "hasDynamicHelp": false,
5688
- "multiple": false,
5689
- "type": "option"
5690
- },
5691
5570
  "description": {
5692
5571
  "char": "d",
5693
- "description": "Cluster description",
5572
+ "description": "Backup description",
5694
5573
  "name": "description",
5695
5574
  "required": false,
5575
+ "default": "",
5696
5576
  "hasDynamicHelp": false,
5697
5577
  "multiple": false,
5698
5578
  "type": "option"
5699
5579
  },
5700
- "domain": {
5701
- "description": "Custom domain for the cluster",
5702
- "name": "domain",
5703
- "required": false,
5704
- "hasDynamicHelp": false,
5705
- "multiple": false,
5706
- "type": "option"
5707
- },
5708
- "name": {
5709
- "char": "n",
5710
- "description": "Cluster name",
5711
- "name": "name",
5580
+ "file": {
5581
+ "char": "f",
5582
+ "description": "Path to the backup file (.tar.gz)",
5583
+ "name": "file",
5712
5584
  "required": true,
5713
5585
  "hasDynamicHelp": false,
5714
5586
  "multiple": false,
@@ -5728,23 +5600,19 @@
5728
5600
  ],
5729
5601
  "type": "option"
5730
5602
  },
5731
- "type": {
5732
- "description": "Cluster type",
5733
- "name": "type",
5603
+ "workspace": {
5604
+ "char": "w",
5605
+ "description": "Workspace ID (uses profile workspace if not provided)",
5606
+ "name": "workspace",
5734
5607
  "required": false,
5735
- "default": "standard",
5736
5608
  "hasDynamicHelp": false,
5737
5609
  "multiple": false,
5738
- "options": [
5739
- "standard",
5740
- "run"
5741
- ],
5742
5610
  "type": "option"
5743
5611
  }
5744
5612
  },
5745
5613
  "hasDynamicHelp": false,
5746
5614
  "hiddenAliases": [],
5747
- "id": "tenant:cluster:create",
5615
+ "id": "tenant:backup:import",
5748
5616
  "pluginAlias": "@xano/cli",
5749
5617
  "pluginName": "@xano/cli",
5750
5618
  "pluginType": "core",
@@ -5755,25 +5623,24 @@
5755
5623
  "dist",
5756
5624
  "commands",
5757
5625
  "tenant",
5758
- "cluster",
5759
- "create",
5626
+ "backup",
5627
+ "import",
5760
5628
  "index.js"
5761
5629
  ]
5762
5630
  },
5763
- "tenant:cluster:delete": {
5631
+ "tenant:backup:list": {
5764
5632
  "aliases": [],
5765
5633
  "args": {
5766
- "cluster_id": {
5767
- "description": "Cluster ID to delete",
5768
- "name": "cluster_id",
5634
+ "tenant_name": {
5635
+ "description": "Tenant name to list backups for",
5636
+ "name": "tenant_name",
5769
5637
  "required": true
5770
5638
  }
5771
5639
  },
5772
- "description": "Delete a tenant cluster. This action cannot be undone.",
5640
+ "description": "List backups for a tenant",
5773
5641
  "examples": [
5774
- "$ 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",
5775
- "$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
5776
- "$ xano tenant cluster delete 3 -f -o json"
5642
+ "$ 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",
5643
+ "$ xano tenant backup list t1234-abcd-xyz1 -o json"
5777
5644
  ],
5778
5645
  "flags": {
5779
5646
  "profile": {
@@ -5795,14 +5662,6 @@
5795
5662
  "allowNo": false,
5796
5663
  "type": "boolean"
5797
5664
  },
5798
- "force": {
5799
- "char": "f",
5800
- "description": "Skip confirmation prompt",
5801
- "name": "force",
5802
- "required": false,
5803
- "allowNo": false,
5804
- "type": "boolean"
5805
- },
5806
5665
  "output": {
5807
5666
  "char": "o",
5808
5667
  "description": "Output format",
@@ -5816,11 +5675,29 @@
5816
5675
  "json"
5817
5676
  ],
5818
5677
  "type": "option"
5678
+ },
5679
+ "page": {
5680
+ "description": "Page number for pagination",
5681
+ "name": "page",
5682
+ "required": false,
5683
+ "default": 1,
5684
+ "hasDynamicHelp": false,
5685
+ "multiple": false,
5686
+ "type": "option"
5687
+ },
5688
+ "workspace": {
5689
+ "char": "w",
5690
+ "description": "Workspace ID (uses profile workspace if not provided)",
5691
+ "name": "workspace",
5692
+ "required": false,
5693
+ "hasDynamicHelp": false,
5694
+ "multiple": false,
5695
+ "type": "option"
5819
5696
  }
5820
5697
  },
5821
5698
  "hasDynamicHelp": false,
5822
5699
  "hiddenAliases": [],
5823
- "id": "tenant:cluster:delete",
5700
+ "id": "tenant:backup:list",
5824
5701
  "pluginAlias": "@xano/cli",
5825
5702
  "pluginName": "@xano/cli",
5826
5703
  "pluginType": "core",
@@ -5831,24 +5708,24 @@
5831
5708
  "dist",
5832
5709
  "commands",
5833
5710
  "tenant",
5834
- "cluster",
5835
- "delete",
5711
+ "backup",
5712
+ "list",
5836
5713
  "index.js"
5837
5714
  ]
5838
5715
  },
5839
- "tenant:cluster:get": {
5716
+ "tenant:backup:restore": {
5840
5717
  "aliases": [],
5841
5718
  "args": {
5842
- "cluster_id": {
5843
- "description": "Cluster ID to retrieve",
5844
- "name": "cluster_id",
5719
+ "tenant_name": {
5720
+ "description": "Tenant name to restore",
5721
+ "name": "tenant_name",
5845
5722
  "required": true
5846
5723
  }
5847
5724
  },
5848
- "description": "Get details of a specific tenant cluster",
5725
+ "description": "Restore a tenant from a backup. This replaces the current tenant data.",
5849
5726
  "examples": [
5850
- "$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
5851
- "$ xano tenant cluster get 1 -o json"
5727
+ "$ 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",
5728
+ "$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
5852
5729
  ],
5853
5730
  "flags": {
5854
5731
  "profile": {
@@ -5870,6 +5747,22 @@
5870
5747
  "allowNo": false,
5871
5748
  "type": "boolean"
5872
5749
  },
5750
+ "backup_id": {
5751
+ "description": "Backup ID to restore from",
5752
+ "name": "backup_id",
5753
+ "required": true,
5754
+ "hasDynamicHelp": false,
5755
+ "multiple": false,
5756
+ "type": "option"
5757
+ },
5758
+ "force": {
5759
+ "char": "f",
5760
+ "description": "Skip confirmation prompt",
5761
+ "name": "force",
5762
+ "required": false,
5763
+ "allowNo": false,
5764
+ "type": "boolean"
5765
+ },
5873
5766
  "output": {
5874
5767
  "char": "o",
5875
5768
  "description": "Output format",
@@ -5883,11 +5776,20 @@
5883
5776
  "json"
5884
5777
  ],
5885
5778
  "type": "option"
5779
+ },
5780
+ "workspace": {
5781
+ "char": "w",
5782
+ "description": "Workspace ID (uses profile workspace if not provided)",
5783
+ "name": "workspace",
5784
+ "required": false,
5785
+ "hasDynamicHelp": false,
5786
+ "multiple": false,
5787
+ "type": "option"
5886
5788
  }
5887
5789
  },
5888
5790
  "hasDynamicHelp": false,
5889
5791
  "hiddenAliases": [],
5890
- "id": "tenant:cluster:get",
5792
+ "id": "tenant:backup:restore",
5891
5793
  "pluginAlias": "@xano/cli",
5892
5794
  "pluginName": "@xano/cli",
5893
5795
  "pluginType": "core",
@@ -5898,24 +5800,25 @@
5898
5800
  "dist",
5899
5801
  "commands",
5900
5802
  "tenant",
5901
- "cluster",
5902
- "get",
5803
+ "backup",
5804
+ "restore",
5903
5805
  "index.js"
5904
5806
  ]
5905
5807
  },
5906
- "tenant:cluster:edit": {
5808
+ "tenant:env:delete": {
5907
5809
  "aliases": [],
5908
5810
  "args": {
5909
- "cluster_id": {
5910
- "description": "Cluster ID to edit",
5911
- "name": "cluster_id",
5811
+ "tenant_name": {
5812
+ "description": "Tenant name",
5813
+ "name": "tenant_name",
5912
5814
  "required": true
5913
5815
  }
5914
5816
  },
5915
- "description": "Update an existing tenant cluster",
5817
+ "description": "Delete an environment variable from a tenant",
5916
5818
  "examples": [
5917
- "$ xano tenant cluster edit 1 --name \"us-east-1-updated\" --description \"Updated cluster\" --domain \"us-east.xano.io\" --type standard\nUpdated tenant cluster: us-east-1-updated (standard) - ID: 1\n",
5918
- "$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
5819
+ "$ xano tenant env delete my-tenant --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL' from tenant my-tenant? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
5820
+ "$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
5821
+ "$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
5919
5822
  ],
5920
5823
  "flags": {
5921
5824
  "profile": {
@@ -5937,26 +5840,17 @@
5937
5840
  "allowNo": false,
5938
5841
  "type": "boolean"
5939
5842
  },
5940
- "description": {
5941
- "char": "d",
5942
- "description": "Cluster description",
5943
- "name": "description",
5944
- "required": true,
5945
- "hasDynamicHelp": false,
5946
- "multiple": false,
5947
- "type": "option"
5948
- },
5949
- "domain": {
5950
- "description": "Custom domain for the cluster",
5951
- "name": "domain",
5952
- "required": true,
5953
- "hasDynamicHelp": false,
5954
- "multiple": false,
5955
- "type": "option"
5843
+ "force": {
5844
+ "char": "f",
5845
+ "description": "Skip confirmation prompt",
5846
+ "name": "force",
5847
+ "required": false,
5848
+ "allowNo": false,
5849
+ "type": "boolean"
5956
5850
  },
5957
5851
  "name": {
5958
5852
  "char": "n",
5959
- "description": "Cluster name",
5853
+ "description": "Environment variable name",
5960
5854
  "name": "name",
5961
5855
  "required": true,
5962
5856
  "hasDynamicHelp": false,
@@ -5977,22 +5871,19 @@
5977
5871
  ],
5978
5872
  "type": "option"
5979
5873
  },
5980
- "type": {
5981
- "description": "Cluster type",
5982
- "name": "type",
5983
- "required": true,
5874
+ "workspace": {
5875
+ "char": "w",
5876
+ "description": "Workspace ID (uses profile workspace if not provided)",
5877
+ "name": "workspace",
5878
+ "required": false,
5984
5879
  "hasDynamicHelp": false,
5985
5880
  "multiple": false,
5986
- "options": [
5987
- "standard",
5988
- "run"
5989
- ],
5990
5881
  "type": "option"
5991
5882
  }
5992
5883
  },
5993
5884
  "hasDynamicHelp": false,
5994
5885
  "hiddenAliases": [],
5995
- "id": "tenant:cluster:edit",
5886
+ "id": "tenant:env:delete",
5996
5887
  "pluginAlias": "@xano/cli",
5997
5888
  "pluginName": "@xano/cli",
5998
5889
  "pluginType": "core",
@@ -6003,24 +5894,24 @@
6003
5894
  "dist",
6004
5895
  "commands",
6005
5896
  "tenant",
6006
- "cluster",
6007
- "edit",
5897
+ "env",
5898
+ "delete",
6008
5899
  "index.js"
6009
5900
  ]
6010
5901
  },
6011
- "tenant:backup:create": {
5902
+ "tenant:env:list": {
6012
5903
  "aliases": [],
6013
5904
  "args": {
6014
5905
  "tenant_name": {
6015
- "description": "Tenant name to back up",
5906
+ "description": "Tenant name",
6016
5907
  "name": "tenant_name",
6017
5908
  "required": true
6018
5909
  }
6019
5910
  },
6020
- "description": "Create a backup for a tenant",
5911
+ "description": "List environment variable keys for a tenant",
6021
5912
  "examples": [
6022
- "$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
6023
- "$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
5913
+ "$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
5914
+ "$ xano tenant env list my-tenant -w 5 -o json"
6024
5915
  ],
6025
5916
  "flags": {
6026
5917
  "profile": {
@@ -6042,16 +5933,6 @@
6042
5933
  "allowNo": false,
6043
5934
  "type": "boolean"
6044
5935
  },
6045
- "description": {
6046
- "char": "d",
6047
- "description": "Backup description",
6048
- "name": "description",
6049
- "required": false,
6050
- "default": "",
6051
- "hasDynamicHelp": false,
6052
- "multiple": false,
6053
- "type": "option"
6054
- },
6055
5936
  "output": {
6056
5937
  "char": "o",
6057
5938
  "description": "Output format",
@@ -6078,7 +5959,7 @@
6078
5959
  },
6079
5960
  "hasDynamicHelp": false,
6080
5961
  "hiddenAliases": [],
6081
- "id": "tenant:backup:create",
5962
+ "id": "tenant:env:list",
6082
5963
  "pluginAlias": "@xano/cli",
6083
5964
  "pluginName": "@xano/cli",
6084
5965
  "pluginType": "core",
@@ -6089,18 +5970,24 @@
6089
5970
  "dist",
6090
5971
  "commands",
6091
5972
  "tenant",
6092
- "backup",
6093
- "create",
5973
+ "env",
5974
+ "list",
6094
5975
  "index.js"
6095
5976
  ]
6096
5977
  },
6097
- "tenant:cluster:list": {
5978
+ "tenant:env:get": {
6098
5979
  "aliases": [],
6099
- "args": {},
6100
- "description": "List all tenant clusters",
5980
+ "args": {
5981
+ "tenant_name": {
5982
+ "description": "Tenant name",
5983
+ "name": "tenant_name",
5984
+ "required": true
5985
+ }
5986
+ },
5987
+ "description": "Get a single environment variable for a tenant",
6101
5988
  "examples": [
6102
- "$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
6103
- "$ xano tenant cluster list --output json"
5989
+ "$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
5990
+ "$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
6104
5991
  ],
6105
5992
  "flags": {
6106
5993
  "profile": {
@@ -6122,6 +6009,15 @@
6122
6009
  "allowNo": false,
6123
6010
  "type": "boolean"
6124
6011
  },
6012
+ "name": {
6013
+ "char": "n",
6014
+ "description": "Environment variable name",
6015
+ "name": "name",
6016
+ "required": true,
6017
+ "hasDynamicHelp": false,
6018
+ "multiple": false,
6019
+ "type": "option"
6020
+ },
6125
6021
  "output": {
6126
6022
  "char": "o",
6127
6023
  "description": "Output format",
@@ -6135,11 +6031,20 @@
6135
6031
  "json"
6136
6032
  ],
6137
6033
  "type": "option"
6034
+ },
6035
+ "workspace": {
6036
+ "char": "w",
6037
+ "description": "Workspace ID (uses profile workspace if not provided)",
6038
+ "name": "workspace",
6039
+ "required": false,
6040
+ "hasDynamicHelp": false,
6041
+ "multiple": false,
6042
+ "type": "option"
6138
6043
  }
6139
6044
  },
6140
6045
  "hasDynamicHelp": false,
6141
6046
  "hiddenAliases": [],
6142
- "id": "tenant:cluster:list",
6047
+ "id": "tenant:env:get",
6143
6048
  "pluginAlias": "@xano/cli",
6144
6049
  "pluginName": "@xano/cli",
6145
6050
  "pluginType": "core",
@@ -6150,25 +6055,24 @@
6150
6055
  "dist",
6151
6056
  "commands",
6152
6057
  "tenant",
6153
- "cluster",
6154
- "list",
6058
+ "env",
6059
+ "get",
6155
6060
  "index.js"
6156
6061
  ]
6157
6062
  },
6158
- "tenant:env:delete": {
6063
+ "tenant:cluster:get": {
6159
6064
  "aliases": [],
6160
6065
  "args": {
6161
- "tenant_name": {
6162
- "description": "Tenant name",
6163
- "name": "tenant_name",
6066
+ "cluster_id": {
6067
+ "description": "Cluster ID to retrieve",
6068
+ "name": "cluster_id",
6164
6069
  "required": true
6165
6070
  }
6166
6071
  },
6167
- "description": "Delete an environment variable from a tenant",
6072
+ "description": "Get details of a specific tenant cluster",
6168
6073
  "examples": [
6169
- "$ xano tenant env delete my-tenant --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL' from tenant my-tenant? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
6170
- "$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
6171
- "$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
6074
+ "$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
6075
+ "$ xano tenant cluster get 1 -o json"
6172
6076
  ],
6173
6077
  "flags": {
6174
6078
  "profile": {
@@ -6190,23 +6094,6 @@
6190
6094
  "allowNo": false,
6191
6095
  "type": "boolean"
6192
6096
  },
6193
- "force": {
6194
- "char": "f",
6195
- "description": "Skip confirmation prompt",
6196
- "name": "force",
6197
- "required": false,
6198
- "allowNo": false,
6199
- "type": "boolean"
6200
- },
6201
- "name": {
6202
- "char": "n",
6203
- "description": "Environment variable name",
6204
- "name": "name",
6205
- "required": true,
6206
- "hasDynamicHelp": false,
6207
- "multiple": false,
6208
- "type": "option"
6209
- },
6210
6097
  "output": {
6211
6098
  "char": "o",
6212
6099
  "description": "Output format",
@@ -6220,20 +6107,11 @@
6220
6107
  "json"
6221
6108
  ],
6222
6109
  "type": "option"
6223
- },
6224
- "workspace": {
6225
- "char": "w",
6226
- "description": "Workspace ID (uses profile workspace if not provided)",
6227
- "name": "workspace",
6228
- "required": false,
6229
- "hasDynamicHelp": false,
6230
- "multiple": false,
6231
- "type": "option"
6232
6110
  }
6233
6111
  },
6234
6112
  "hasDynamicHelp": false,
6235
6113
  "hiddenAliases": [],
6236
- "id": "tenant:env:delete",
6114
+ "id": "tenant:cluster:get",
6237
6115
  "pluginAlias": "@xano/cli",
6238
6116
  "pluginName": "@xano/cli",
6239
6117
  "pluginType": "core",
@@ -6244,8 +6122,8 @@
6244
6122
  "dist",
6245
6123
  "commands",
6246
6124
  "tenant",
6247
- "env",
6248
- "delete",
6125
+ "cluster",
6126
+ "get",
6249
6127
  "index.js"
6250
6128
  ]
6251
6129
  },
@@ -6342,7 +6220,7 @@
6342
6220
  "index.js"
6343
6221
  ]
6344
6222
  },
6345
- "tenant:env:get_all": {
6223
+ "tenant:env:set_all": {
6346
6224
  "aliases": [],
6347
6225
  "args": {
6348
6226
  "tenant_name": {
@@ -6351,12 +6229,11 @@
6351
6229
  "required": true
6352
6230
  }
6353
6231
  },
6354
- "description": "Get all environment variables for a tenant and save to a YAML file",
6232
+ "description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
6355
6233
  "examples": [
6356
- "$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
6357
- "$ xano tenant env get_all my-tenant --file ./my-env.yaml",
6358
- "$ xano tenant env get_all my-tenant --view",
6359
- "$ xano tenant env get_all my-tenant -o json"
6234
+ "$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
6235
+ "$ xano tenant env set_all my-tenant --file ./my-env.yaml",
6236
+ "$ xano tenant env set_all my-tenant -o json"
6360
6237
  ],
6361
6238
  "flags": {
6362
6239
  "profile": {
@@ -6378,9 +6255,16 @@
6378
6255
  "allowNo": false,
6379
6256
  "type": "boolean"
6380
6257
  },
6258
+ "clean": {
6259
+ "description": "Remove the source file after successful upload",
6260
+ "name": "clean",
6261
+ "required": false,
6262
+ "allowNo": false,
6263
+ "type": "boolean"
6264
+ },
6381
6265
  "file": {
6382
6266
  "char": "f",
6383
- "description": "Output file path (default: env_<tenant_name>.yaml)",
6267
+ "description": "Path to env file (default: env_<tenant_name>.yaml)",
6384
6268
  "name": "file",
6385
6269
  "required": false,
6386
6270
  "hasDynamicHelp": false,
@@ -6401,13 +6285,6 @@
6401
6285
  ],
6402
6286
  "type": "option"
6403
6287
  },
6404
- "view": {
6405
- "description": "Print environment variables to stdout instead of saving to file",
6406
- "name": "view",
6407
- "required": false,
6408
- "allowNo": false,
6409
- "type": "boolean"
6410
- },
6411
6288
  "workspace": {
6412
6289
  "char": "w",
6413
6290
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -6420,7 +6297,7 @@
6420
6297
  },
6421
6298
  "hasDynamicHelp": false,
6422
6299
  "hiddenAliases": [],
6423
- "id": "tenant:env:get_all",
6300
+ "id": "tenant:env:set_all",
6424
6301
  "pluginAlias": "@xano/cli",
6425
6302
  "pluginName": "@xano/cli",
6426
6303
  "pluginType": "core",
@@ -6432,11 +6309,11 @@
6432
6309
  "commands",
6433
6310
  "tenant",
6434
6311
  "env",
6435
- "get_all",
6312
+ "set_all",
6436
6313
  "index.js"
6437
6314
  ]
6438
6315
  },
6439
- "tenant:env:list": {
6316
+ "tenant:license:get": {
6440
6317
  "aliases": [],
6441
6318
  "args": {
6442
6319
  "tenant_name": {
@@ -6445,10 +6322,12 @@
6445
6322
  "required": true
6446
6323
  }
6447
6324
  },
6448
- "description": "List environment variable keys for a tenant",
6325
+ "description": "Get the license for a tenant",
6449
6326
  "examples": [
6450
- "$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
6451
- "$ xano tenant env list my-tenant -w 5 -o json"
6327
+ "$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
6328
+ "$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
6329
+ "$ xano tenant license get my-tenant --view",
6330
+ "$ xano tenant license get my-tenant -o json"
6452
6331
  ],
6453
6332
  "flags": {
6454
6333
  "profile": {
@@ -6470,6 +6349,15 @@
6470
6349
  "allowNo": false,
6471
6350
  "type": "boolean"
6472
6351
  },
6352
+ "file": {
6353
+ "char": "f",
6354
+ "description": "Output file path (default: license_<tenant_name>.yaml)",
6355
+ "name": "file",
6356
+ "required": false,
6357
+ "hasDynamicHelp": false,
6358
+ "multiple": false,
6359
+ "type": "option"
6360
+ },
6473
6361
  "output": {
6474
6362
  "char": "o",
6475
6363
  "description": "Output format",
@@ -6484,6 +6372,13 @@
6484
6372
  ],
6485
6373
  "type": "option"
6486
6374
  },
6375
+ "view": {
6376
+ "description": "Print license to stdout instead of saving to file",
6377
+ "name": "view",
6378
+ "required": false,
6379
+ "allowNo": false,
6380
+ "type": "boolean"
6381
+ },
6487
6382
  "workspace": {
6488
6383
  "char": "w",
6489
6384
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -6496,7 +6391,7 @@
6496
6391
  },
6497
6392
  "hasDynamicHelp": false,
6498
6393
  "hiddenAliases": [],
6499
- "id": "tenant:env:list",
6394
+ "id": "tenant:license:get",
6500
6395
  "pluginAlias": "@xano/cli",
6501
6396
  "pluginName": "@xano/cli",
6502
6397
  "pluginType": "core",
@@ -6507,12 +6402,12 @@
6507
6402
  "dist",
6508
6403
  "commands",
6509
6404
  "tenant",
6510
- "env",
6511
- "list",
6405
+ "license",
6406
+ "get",
6512
6407
  "index.js"
6513
6408
  ]
6514
6409
  },
6515
- "tenant:env:get": {
6410
+ "tenant:license:set": {
6516
6411
  "aliases": [],
6517
6412
  "args": {
6518
6413
  "tenant_name": {
@@ -6521,10 +6416,12 @@
6521
6416
  "required": true
6522
6417
  }
6523
6418
  },
6524
- "description": "Get a single environment variable for a tenant",
6419
+ "description": "Set/update the license for a tenant",
6525
6420
  "examples": [
6526
- "$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
6527
- "$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
6421
+ "$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
6422
+ "$ xano tenant license set my-tenant --file ./license.yaml",
6423
+ "$ xano tenant license set my-tenant --value 'key: value'",
6424
+ "$ xano tenant license set my-tenant -o json"
6528
6425
  ],
6529
6426
  "flags": {
6530
6427
  "profile": {
@@ -6546,11 +6443,24 @@
6546
6443
  "allowNo": false,
6547
6444
  "type": "boolean"
6548
6445
  },
6549
- "name": {
6550
- "char": "n",
6551
- "description": "Environment variable name",
6552
- "name": "name",
6553
- "required": true,
6446
+ "clean": {
6447
+ "description": "Remove the source file after successful upload",
6448
+ "exclusive": [
6449
+ "value"
6450
+ ],
6451
+ "name": "clean",
6452
+ "required": false,
6453
+ "allowNo": false,
6454
+ "type": "boolean"
6455
+ },
6456
+ "file": {
6457
+ "char": "f",
6458
+ "description": "Path to license file (default: license_<tenant_name>.yaml)",
6459
+ "exclusive": [
6460
+ "value"
6461
+ ],
6462
+ "name": "file",
6463
+ "required": false,
6554
6464
  "hasDynamicHelp": false,
6555
6465
  "multiple": false,
6556
6466
  "type": "option"
@@ -6569,6 +6479,18 @@
6569
6479
  ],
6570
6480
  "type": "option"
6571
6481
  },
6482
+ "value": {
6483
+ "description": "Inline license value",
6484
+ "exclusive": [
6485
+ "file",
6486
+ "clean"
6487
+ ],
6488
+ "name": "value",
6489
+ "required": false,
6490
+ "hasDynamicHelp": false,
6491
+ "multiple": false,
6492
+ "type": "option"
6493
+ },
6572
6494
  "workspace": {
6573
6495
  "char": "w",
6574
6496
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -6581,7 +6503,7 @@
6581
6503
  },
6582
6504
  "hasDynamicHelp": false,
6583
6505
  "hiddenAliases": [],
6584
- "id": "tenant:env:get",
6506
+ "id": "tenant:license:set",
6585
6507
  "pluginAlias": "@xano/cli",
6586
6508
  "pluginName": "@xano/cli",
6587
6509
  "pluginType": "core",
@@ -6592,25 +6514,25 @@
6592
6514
  "dist",
6593
6515
  "commands",
6594
6516
  "tenant",
6595
- "env",
6596
- "get",
6517
+ "license",
6518
+ "set",
6597
6519
  "index.js"
6598
6520
  ]
6599
6521
  },
6600
- "tenant:env:set_all": {
6522
+ "static_host:build:create": {
6601
6523
  "aliases": [],
6602
6524
  "args": {
6603
- "tenant_name": {
6604
- "description": "Tenant name",
6605
- "name": "tenant_name",
6525
+ "static_host": {
6526
+ "description": "Static Host name",
6527
+ "name": "static_host",
6606
6528
  "required": true
6607
6529
  }
6608
6530
  },
6609
- "description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
6531
+ "description": "Create a new build for a static host",
6610
6532
  "examples": [
6611
- "$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
6612
- "$ xano tenant env set_all my-tenant --file ./my-env.yaml",
6613
- "$ xano tenant env set_all my-tenant -o json"
6533
+ "$ 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",
6534
+ "$ 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",
6535
+ "$ 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"
6614
6536
  ],
6615
6537
  "flags": {
6616
6538
  "profile": {
@@ -6632,18 +6554,29 @@
6632
6554
  "allowNo": false,
6633
6555
  "type": "boolean"
6634
6556
  },
6635
- "clean": {
6636
- "description": "Remove the source file after successful upload",
6637
- "name": "clean",
6557
+ "description": {
6558
+ "char": "d",
6559
+ "description": "Build description",
6560
+ "name": "description",
6638
6561
  "required": false,
6639
- "allowNo": false,
6640
- "type": "boolean"
6562
+ "hasDynamicHelp": false,
6563
+ "multiple": false,
6564
+ "type": "option"
6641
6565
  },
6642
6566
  "file": {
6643
6567
  "char": "f",
6644
- "description": "Path to env file (default: env_<tenant_name>.yaml)",
6568
+ "description": "Path to zip file to upload",
6645
6569
  "name": "file",
6646
- "required": false,
6570
+ "required": true,
6571
+ "hasDynamicHelp": false,
6572
+ "multiple": false,
6573
+ "type": "option"
6574
+ },
6575
+ "name": {
6576
+ "char": "n",
6577
+ "description": "Build name",
6578
+ "name": "name",
6579
+ "required": true,
6647
6580
  "hasDynamicHelp": false,
6648
6581
  "multiple": false,
6649
6582
  "type": "option"
@@ -6664,7 +6597,7 @@
6664
6597
  },
6665
6598
  "workspace": {
6666
6599
  "char": "w",
6667
- "description": "Workspace ID (uses profile workspace if not provided)",
6600
+ "description": "Workspace ID (optional if set in profile)",
6668
6601
  "name": "workspace",
6669
6602
  "required": false,
6670
6603
  "hasDynamicHelp": false,
@@ -6674,7 +6607,7 @@
6674
6607
  },
6675
6608
  "hasDynamicHelp": false,
6676
6609
  "hiddenAliases": [],
6677
- "id": "tenant:env:set_all",
6610
+ "id": "static_host:build:create",
6678
6611
  "pluginAlias": "@xano/cli",
6679
6612
  "pluginName": "@xano/cli",
6680
6613
  "pluginType": "core",
@@ -6684,27 +6617,32 @@
6684
6617
  "relativePath": [
6685
6618
  "dist",
6686
6619
  "commands",
6687
- "tenant",
6688
- "env",
6689
- "set_all",
6620
+ "static_host",
6621
+ "build",
6622
+ "create",
6690
6623
  "index.js"
6691
6624
  ]
6692
6625
  },
6693
- "tenant:license:get": {
6626
+ "static_host:build:get": {
6694
6627
  "aliases": [],
6695
6628
  "args": {
6696
- "tenant_name": {
6697
- "description": "Tenant name",
6698
- "name": "tenant_name",
6629
+ "build_id": {
6630
+ "description": "Build ID",
6631
+ "name": "build_id",
6632
+ "required": true
6633
+ },
6634
+ "static_host": {
6635
+ "description": "Static Host name",
6636
+ "name": "static_host",
6699
6637
  "required": true
6700
6638
  }
6701
6639
  },
6702
- "description": "Get the license for a tenant",
6640
+ "description": "Get details of a specific build for a static host",
6703
6641
  "examples": [
6704
- "$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
6705
- "$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
6706
- "$ xano tenant license get my-tenant --view",
6707
- "$ xano tenant license get my-tenant -o json"
6642
+ "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6643
+ "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6644
+ "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
6645
+ "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
6708
6646
  ],
6709
6647
  "flags": {
6710
6648
  "profile": {
@@ -6726,15 +6664,6 @@
6726
6664
  "allowNo": false,
6727
6665
  "type": "boolean"
6728
6666
  },
6729
- "file": {
6730
- "char": "f",
6731
- "description": "Output file path (default: license_<tenant_name>.yaml)",
6732
- "name": "file",
6733
- "required": false,
6734
- "hasDynamicHelp": false,
6735
- "multiple": false,
6736
- "type": "option"
6737
- },
6738
6667
  "output": {
6739
6668
  "char": "o",
6740
6669
  "description": "Output format",
@@ -6749,16 +6678,9 @@
6749
6678
  ],
6750
6679
  "type": "option"
6751
6680
  },
6752
- "view": {
6753
- "description": "Print license to stdout instead of saving to file",
6754
- "name": "view",
6755
- "required": false,
6756
- "allowNo": false,
6757
- "type": "boolean"
6758
- },
6759
6681
  "workspace": {
6760
6682
  "char": "w",
6761
- "description": "Workspace ID (uses profile workspace if not provided)",
6683
+ "description": "Workspace ID (optional if set in profile)",
6762
6684
  "name": "workspace",
6763
6685
  "required": false,
6764
6686
  "hasDynamicHelp": false,
@@ -6768,7 +6690,7 @@
6768
6690
  },
6769
6691
  "hasDynamicHelp": false,
6770
6692
  "hiddenAliases": [],
6771
- "id": "tenant:license:get",
6693
+ "id": "static_host:build:get",
6772
6694
  "pluginAlias": "@xano/cli",
6773
6695
  "pluginName": "@xano/cli",
6774
6696
  "pluginType": "core",
@@ -6778,8 +6700,8 @@
6778
6700
  "relativePath": [
6779
6701
  "dist",
6780
6702
  "commands",
6781
- "tenant",
6782
- "license",
6703
+ "static_host",
6704
+ "build",
6783
6705
  "get",
6784
6706
  "index.js"
6785
6707
  ]
@@ -6878,21 +6800,21 @@
6878
6800
  "index.js"
6879
6801
  ]
6880
6802
  },
6881
- "tenant:license:set": {
6803
+ "static_host:build:list": {
6882
6804
  "aliases": [],
6883
6805
  "args": {
6884
- "tenant_name": {
6885
- "description": "Tenant name",
6886
- "name": "tenant_name",
6806
+ "static_host": {
6807
+ "description": "Static Host name",
6808
+ "name": "static_host",
6887
6809
  "required": true
6888
6810
  }
6889
6811
  },
6890
- "description": "Set/update the license for a tenant",
6812
+ "description": "List all builds for a static host",
6891
6813
  "examples": [
6892
- "$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
6893
- "$ xano tenant license set my-tenant --file ./license.yaml",
6894
- "$ xano tenant license set my-tenant --value 'key: value'",
6895
- "$ xano tenant license set my-tenant -o json"
6814
+ "$ 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",
6815
+ "$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
6816
+ "$ 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",
6817
+ "$ 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"
6896
6818
  ],
6897
6819
  "flags": {
6898
6820
  "profile": {
@@ -6914,22 +6836,105 @@
6914
6836
  "allowNo": false,
6915
6837
  "type": "boolean"
6916
6838
  },
6917
- "clean": {
6918
- "description": "Remove the source file after successful upload",
6919
- "exclusive": [
6920
- "value"
6839
+ "output": {
6840
+ "char": "o",
6841
+ "description": "Output format",
6842
+ "name": "output",
6843
+ "required": false,
6844
+ "default": "summary",
6845
+ "hasDynamicHelp": false,
6846
+ "multiple": false,
6847
+ "options": [
6848
+ "summary",
6849
+ "json"
6921
6850
  ],
6922
- "name": "clean",
6851
+ "type": "option"
6852
+ },
6853
+ "page": {
6854
+ "description": "Page number for pagination",
6855
+ "name": "page",
6856
+ "required": false,
6857
+ "default": 1,
6858
+ "hasDynamicHelp": false,
6859
+ "multiple": false,
6860
+ "type": "option"
6861
+ },
6862
+ "per_page": {
6863
+ "description": "Number of results per page",
6864
+ "name": "per_page",
6865
+ "required": false,
6866
+ "default": 50,
6867
+ "hasDynamicHelp": false,
6868
+ "multiple": false,
6869
+ "type": "option"
6870
+ },
6871
+ "workspace": {
6872
+ "char": "w",
6873
+ "description": "Workspace ID (optional if set in profile)",
6874
+ "name": "workspace",
6875
+ "required": false,
6876
+ "hasDynamicHelp": false,
6877
+ "multiple": false,
6878
+ "type": "option"
6879
+ }
6880
+ },
6881
+ "hasDynamicHelp": false,
6882
+ "hiddenAliases": [],
6883
+ "id": "static_host:build:list",
6884
+ "pluginAlias": "@xano/cli",
6885
+ "pluginName": "@xano/cli",
6886
+ "pluginType": "core",
6887
+ "strict": true,
6888
+ "enableJsonFlag": false,
6889
+ "isESM": true,
6890
+ "relativePath": [
6891
+ "dist",
6892
+ "commands",
6893
+ "static_host",
6894
+ "build",
6895
+ "list",
6896
+ "index.js"
6897
+ ]
6898
+ },
6899
+ "tenant:env:get_all": {
6900
+ "aliases": [],
6901
+ "args": {
6902
+ "tenant_name": {
6903
+ "description": "Tenant name",
6904
+ "name": "tenant_name",
6905
+ "required": true
6906
+ }
6907
+ },
6908
+ "description": "Get all environment variables for a tenant and save to a YAML file",
6909
+ "examples": [
6910
+ "$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
6911
+ "$ xano tenant env get_all my-tenant --file ./my-env.yaml",
6912
+ "$ xano tenant env get_all my-tenant --view",
6913
+ "$ xano tenant env get_all my-tenant -o json"
6914
+ ],
6915
+ "flags": {
6916
+ "profile": {
6917
+ "char": "p",
6918
+ "description": "Profile to use (uses default profile if not specified)",
6919
+ "env": "XANO_PROFILE",
6920
+ "name": "profile",
6921
+ "required": false,
6922
+ "hasDynamicHelp": false,
6923
+ "multiple": false,
6924
+ "type": "option"
6925
+ },
6926
+ "verbose": {
6927
+ "char": "v",
6928
+ "description": "Show detailed request/response information",
6929
+ "env": "XANO_VERBOSE",
6930
+ "name": "verbose",
6923
6931
  "required": false,
6924
6932
  "allowNo": false,
6925
6933
  "type": "boolean"
6926
6934
  },
6927
6935
  "file": {
6928
6936
  "char": "f",
6929
- "description": "Path to license file (default: license_<tenant_name>.yaml)",
6930
- "exclusive": [
6931
- "value"
6932
- ],
6937
+ "description": "Output file path (default: env_<tenant_name>.yaml)",
6933
6938
  "name": "file",
6934
6939
  "required": false,
6935
6940
  "hasDynamicHelp": false,
@@ -6950,17 +6955,12 @@
6950
6955
  ],
6951
6956
  "type": "option"
6952
6957
  },
6953
- "value": {
6954
- "description": "Inline license value",
6955
- "exclusive": [
6956
- "file",
6957
- "clean"
6958
- ],
6959
- "name": "value",
6958
+ "view": {
6959
+ "description": "Print environment variables to stdout instead of saving to file",
6960
+ "name": "view",
6960
6961
  "required": false,
6961
- "hasDynamicHelp": false,
6962
- "multiple": false,
6963
- "type": "option"
6962
+ "allowNo": false,
6963
+ "type": "boolean"
6964
6964
  },
6965
6965
  "workspace": {
6966
6966
  "char": "w",
@@ -6974,7 +6974,7 @@
6974
6974
  },
6975
6975
  "hasDynamicHelp": false,
6976
6976
  "hiddenAliases": [],
6977
- "id": "tenant:license:set",
6977
+ "id": "tenant:env:get_all",
6978
6978
  "pluginAlias": "@xano/cli",
6979
6979
  "pluginName": "@xano/cli",
6980
6980
  "pluginType": "core",
@@ -6985,8 +6985,8 @@
6985
6985
  "dist",
6986
6986
  "commands",
6987
6987
  "tenant",
6988
- "license",
6989
- "set",
6988
+ "env",
6989
+ "get_all",
6990
6990
  "index.js"
6991
6991
  ]
6992
6992
  },
@@ -7181,5 +7181,5 @@
7181
7181
  ]
7182
7182
  }
7183
7183
  },
7184
- "version": "0.0.92"
7184
+ "version": "0.0.93"
7185
7185
  }