@bussolabs/closeyourit-cli 0.0.14 → 0.0.15

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.
@@ -469,233 +469,6 @@
469
469
  "update.js"
470
470
  ]
471
471
  },
472
- "environments:create": {
473
- "aliases": [],
474
- "args": {
475
- "code": {
476
- "description": "Environment code (lowercase, e.g. production)",
477
- "name": "code",
478
- "required": true
479
- }
480
- },
481
- "description": "Create an environment (production, staging, …) in your organization",
482
- "examples": [
483
- "<%= config.bin %> environments create production --label Production",
484
- "<%= config.bin %> environments create staging --label Staging --color amber"
485
- ],
486
- "flags": {
487
- "json": {
488
- "description": "Format output as json.",
489
- "helpGroup": "GLOBAL",
490
- "name": "json",
491
- "allowNo": false,
492
- "type": "boolean"
493
- },
494
- "label": {
495
- "description": "Human-readable label",
496
- "name": "label",
497
- "required": true,
498
- "hasDynamicHelp": false,
499
- "multiple": false,
500
- "type": "option"
501
- },
502
- "color": {
503
- "description": "Color label",
504
- "name": "color",
505
- "default": "emerald",
506
- "hasDynamicHelp": false,
507
- "multiple": false,
508
- "type": "option"
509
- },
510
- "position": {
511
- "description": "Sort position",
512
- "name": "position",
513
- "hasDynamicHelp": false,
514
- "multiple": false,
515
- "type": "option"
516
- },
517
- "active": {
518
- "description": "Whether the environment is active",
519
- "name": "active",
520
- "allowNo": true,
521
- "type": "boolean"
522
- }
523
- },
524
- "hasDynamicHelp": false,
525
- "hiddenAliases": [],
526
- "id": "environments:create",
527
- "pluginAlias": "@bussolabs/closeyourit-cli",
528
- "pluginName": "@bussolabs/closeyourit-cli",
529
- "pluginType": "core",
530
- "strict": true,
531
- "enableJsonFlag": true,
532
- "isESM": false,
533
- "relativePath": [
534
- "dist",
535
- "commands",
536
- "environments",
537
- "create.js"
538
- ]
539
- },
540
- "environments:delete": {
541
- "aliases": [],
542
- "args": {
543
- "environment": {
544
- "description": "Environment id (UUID) or code",
545
- "name": "environment",
546
- "required": true
547
- }
548
- },
549
- "description": "Delete an environment (blocked while projects, tokens or monitors reference it)",
550
- "examples": [
551
- "<%= config.bin %> environments delete staging --confirm"
552
- ],
553
- "flags": {
554
- "json": {
555
- "description": "Format output as json.",
556
- "helpGroup": "GLOBAL",
557
- "name": "json",
558
- "allowNo": false,
559
- "type": "boolean"
560
- },
561
- "confirm": {
562
- "description": "Required: confirm the deletion",
563
- "name": "confirm",
564
- "allowNo": false,
565
- "type": "boolean"
566
- }
567
- },
568
- "hasDynamicHelp": false,
569
- "hiddenAliases": [],
570
- "id": "environments:delete",
571
- "pluginAlias": "@bussolabs/closeyourit-cli",
572
- "pluginName": "@bussolabs/closeyourit-cli",
573
- "pluginType": "core",
574
- "strict": true,
575
- "enableJsonFlag": true,
576
- "isESM": false,
577
- "relativePath": [
578
- "dist",
579
- "commands",
580
- "environments",
581
- "delete.js"
582
- ]
583
- },
584
- "environments:list": {
585
- "aliases": [],
586
- "args": {},
587
- "description": "List the environments (production, staging, …) in your organization",
588
- "examples": [
589
- "<%= config.bin %> environments list",
590
- "<%= config.bin %> environments list --page 2 --json"
591
- ],
592
- "flags": {
593
- "json": {
594
- "description": "Format output as json.",
595
- "helpGroup": "GLOBAL",
596
- "name": "json",
597
- "allowNo": false,
598
- "type": "boolean"
599
- },
600
- "page": {
601
- "description": "Page number",
602
- "name": "page",
603
- "default": 1,
604
- "hasDynamicHelp": false,
605
- "multiple": false,
606
- "type": "option"
607
- }
608
- },
609
- "hasDynamicHelp": false,
610
- "hiddenAliases": [],
611
- "id": "environments:list",
612
- "pluginAlias": "@bussolabs/closeyourit-cli",
613
- "pluginName": "@bussolabs/closeyourit-cli",
614
- "pluginType": "core",
615
- "strict": true,
616
- "enableJsonFlag": true,
617
- "isESM": false,
618
- "relativePath": [
619
- "dist",
620
- "commands",
621
- "environments",
622
- "list.js"
623
- ]
624
- },
625
- "environments:update": {
626
- "aliases": [],
627
- "args": {
628
- "environment": {
629
- "description": "Environment id (UUID) or code",
630
- "name": "environment",
631
- "required": true
632
- }
633
- },
634
- "description": "Update an environment (recode, relabel, recolor, reorder, activate/deactivate)",
635
- "examples": [
636
- "<%= config.bin %> environments update staging --label \"Staging env\"",
637
- "<%= config.bin %> environments update production --color indigo",
638
- "<%= config.bin %> environments update staging --no-active"
639
- ],
640
- "flags": {
641
- "json": {
642
- "description": "Format output as json.",
643
- "helpGroup": "GLOBAL",
644
- "name": "json",
645
- "allowNo": false,
646
- "type": "boolean"
647
- },
648
- "code": {
649
- "description": "New code (lowercase)",
650
- "name": "code",
651
- "hasDynamicHelp": false,
652
- "multiple": false,
653
- "type": "option"
654
- },
655
- "label": {
656
- "description": "New label",
657
- "name": "label",
658
- "hasDynamicHelp": false,
659
- "multiple": false,
660
- "type": "option"
661
- },
662
- "color": {
663
- "description": "Color label",
664
- "name": "color",
665
- "hasDynamicHelp": false,
666
- "multiple": false,
667
- "type": "option"
668
- },
669
- "position": {
670
- "description": "Sort position",
671
- "name": "position",
672
- "hasDynamicHelp": false,
673
- "multiple": false,
674
- "type": "option"
675
- },
676
- "active": {
677
- "description": "Whether the environment is active",
678
- "name": "active",
679
- "allowNo": true,
680
- "type": "boolean"
681
- }
682
- },
683
- "hasDynamicHelp": false,
684
- "hiddenAliases": [],
685
- "id": "environments:update",
686
- "pluginAlias": "@bussolabs/closeyourit-cli",
687
- "pluginName": "@bussolabs/closeyourit-cli",
688
- "pluginType": "core",
689
- "strict": true,
690
- "enableJsonFlag": true,
691
- "isESM": false,
692
- "relativePath": [
693
- "dist",
694
- "commands",
695
- "environments",
696
- "update.js"
697
- ]
698
- },
699
472
  "groups:create": {
700
473
  "aliases": [],
701
474
  "args": {
@@ -1132,7 +905,7 @@
1132
905
  "args": {},
1133
906
  "description": "Propose an idea for a project",
1134
907
  "examples": [
1135
- "<%= config.bin %> ideas create --project acme-api --title \"Dark mode\" --body \"Dark theme for the dashboard\""
908
+ "<%= config.bin %> ideas create --project acme-api --title \"Dark mode\" --problem \"The dashboard blinds users at night\" --solution \"System dark theme\" --stakeholders \"Mobile team\" --stakeholders \"Enterprise customers\""
1136
909
  ],
1137
910
  "flags": {
1138
911
  "json": {
@@ -1159,13 +932,27 @@
1159
932
  "multiple": false,
1160
933
  "type": "option"
1161
934
  },
1162
- "body": {
1163
- "description": "Idea proposal body",
1164
- "name": "body",
935
+ "problem": {
936
+ "description": "Problem or need the idea solves",
937
+ "name": "problem",
1165
938
  "required": true,
1166
939
  "hasDynamicHelp": false,
1167
940
  "multiple": false,
1168
941
  "type": "option"
942
+ },
943
+ "solution": {
944
+ "description": "Proposed solution (optional)",
945
+ "name": "solution",
946
+ "hasDynamicHelp": false,
947
+ "multiple": false,
948
+ "type": "option"
949
+ },
950
+ "stakeholders": {
951
+ "description": "Who it helps — repeatable (optional)",
952
+ "name": "stakeholders",
953
+ "hasDynamicHelp": false,
954
+ "multiple": true,
955
+ "type": "option"
1169
956
  }
1170
957
  },
1171
958
  "hasDynamicHelp": false,
@@ -1257,7 +1044,7 @@
1257
1044
  "required": true
1258
1045
  }
1259
1046
  },
1260
- "description": "Show an idea (fields + full proposal body)",
1047
+ "description": "Show an idea (fields + problem, solution, stakeholders)",
1261
1048
  "examples": [
1262
1049
  "<%= config.bin %> ideas show <idea-id> --project acme-api"
1263
1050
  ],
@@ -1558,13 +1345,19 @@
1558
1345
  "revoke.js"
1559
1346
  ]
1560
1347
  },
1561
- "errors:list": {
1348
+ "environments:create": {
1562
1349
  "aliases": [],
1563
- "args": {},
1564
- "description": "List error groups for a project",
1350
+ "args": {
1351
+ "code": {
1352
+ "description": "Environment code (lowercase, e.g. production)",
1353
+ "name": "code",
1354
+ "required": true
1355
+ }
1356
+ },
1357
+ "description": "Create an environment (production, staging, …) in your organization",
1565
1358
  "examples": [
1566
- "<%= config.bin %> errors list --project acme-api",
1567
- "<%= config.bin %> errors list -p acme-api --status unresolved --json"
1359
+ "<%= config.bin %> environments create production --label Production",
1360
+ "<%= config.bin %> environments create staging --label Staging --color amber"
1568
1361
  ],
1569
1362
  "flags": {
1570
1363
  "json": {
@@ -1574,34 +1367,39 @@
1574
1367
  "allowNo": false,
1575
1368
  "type": "boolean"
1576
1369
  },
1577
- "project": {
1578
- "char": "p",
1579
- "description": "Project id (UUID) or key",
1580
- "name": "project",
1370
+ "label": {
1371
+ "description": "Human-readable label",
1372
+ "name": "label",
1581
1373
  "required": true,
1582
1374
  "hasDynamicHelp": false,
1583
1375
  "multiple": false,
1584
1376
  "type": "option"
1585
1377
  },
1586
- "page": {
1587
- "description": "Page number",
1588
- "name": "page",
1589
- "default": 1,
1378
+ "color": {
1379
+ "description": "Color label",
1380
+ "name": "color",
1381
+ "default": "emerald",
1590
1382
  "hasDynamicHelp": false,
1591
1383
  "multiple": false,
1592
1384
  "type": "option"
1593
1385
  },
1594
- "status": {
1595
- "description": "Filter by status (e.g. unresolved, resolved, muted)",
1596
- "name": "status",
1386
+ "position": {
1387
+ "description": "Sort position",
1388
+ "name": "position",
1597
1389
  "hasDynamicHelp": false,
1598
1390
  "multiple": false,
1599
1391
  "type": "option"
1392
+ },
1393
+ "active": {
1394
+ "description": "Whether the environment is active",
1395
+ "name": "active",
1396
+ "allowNo": true,
1397
+ "type": "boolean"
1600
1398
  }
1601
1399
  },
1602
1400
  "hasDynamicHelp": false,
1603
1401
  "hiddenAliases": [],
1604
- "id": "errors:list",
1402
+ "id": "environments:create",
1605
1403
  "pluginAlias": "@bussolabs/closeyourit-cli",
1606
1404
  "pluginName": "@bussolabs/closeyourit-cli",
1607
1405
  "pluginType": "core",
@@ -1611,22 +1409,22 @@
1611
1409
  "relativePath": [
1612
1410
  "dist",
1613
1411
  "commands",
1614
- "errors",
1615
- "list.js"
1412
+ "environments",
1413
+ "create.js"
1616
1414
  ]
1617
1415
  },
1618
- "errors:mute": {
1416
+ "environments:delete": {
1619
1417
  "aliases": [],
1620
1418
  "args": {
1621
- "id": {
1622
- "description": "Error group id",
1623
- "name": "id",
1419
+ "environment": {
1420
+ "description": "Environment id (UUID) or code",
1421
+ "name": "environment",
1624
1422
  "required": true
1625
1423
  }
1626
1424
  },
1627
- "description": "Mute an error group",
1425
+ "description": "Delete an environment (blocked while projects, tokens or monitors reference it)",
1628
1426
  "examples": [
1629
- "<%= config.bin %> errors mute <group-id> --project acme-api"
1427
+ "<%= config.bin %> environments delete staging --confirm"
1630
1428
  ],
1631
1429
  "flags": {
1632
1430
  "json": {
@@ -1636,19 +1434,16 @@
1636
1434
  "allowNo": false,
1637
1435
  "type": "boolean"
1638
1436
  },
1639
- "project": {
1640
- "char": "p",
1641
- "description": "Project id (UUID) or key",
1642
- "name": "project",
1643
- "required": true,
1644
- "hasDynamicHelp": false,
1645
- "multiple": false,
1646
- "type": "option"
1437
+ "confirm": {
1438
+ "description": "Required: confirm the deletion",
1439
+ "name": "confirm",
1440
+ "allowNo": false,
1441
+ "type": "boolean"
1647
1442
  }
1648
1443
  },
1649
1444
  "hasDynamicHelp": false,
1650
1445
  "hiddenAliases": [],
1651
- "id": "errors:mute",
1446
+ "id": "environments:delete",
1652
1447
  "pluginAlias": "@bussolabs/closeyourit-cli",
1653
1448
  "pluginName": "@bussolabs/closeyourit-cli",
1654
1449
  "pluginType": "core",
@@ -1658,22 +1453,17 @@
1658
1453
  "relativePath": [
1659
1454
  "dist",
1660
1455
  "commands",
1661
- "errors",
1662
- "mute.js"
1456
+ "environments",
1457
+ "delete.js"
1663
1458
  ]
1664
1459
  },
1665
- "errors:promote": {
1460
+ "environments:list": {
1666
1461
  "aliases": [],
1667
- "args": {
1668
- "id": {
1669
- "description": "Error group id",
1670
- "name": "id",
1671
- "required": true
1672
- }
1673
- },
1674
- "description": "Promote an error group to a ticket",
1462
+ "args": {},
1463
+ "description": "List the environments (production, staging, …) in your organization",
1675
1464
  "examples": [
1676
- "<%= config.bin %> errors promote <group-id> --project acme-api"
1465
+ "<%= config.bin %> environments list",
1466
+ "<%= config.bin %> environments list --page 2 --json"
1677
1467
  ],
1678
1468
  "flags": {
1679
1469
  "json": {
@@ -1683,11 +1473,10 @@
1683
1473
  "allowNo": false,
1684
1474
  "type": "boolean"
1685
1475
  },
1686
- "project": {
1687
- "char": "p",
1688
- "description": "Project id (UUID) or key",
1689
- "name": "project",
1690
- "required": true,
1476
+ "page": {
1477
+ "description": "Page number",
1478
+ "name": "page",
1479
+ "default": 1,
1691
1480
  "hasDynamicHelp": false,
1692
1481
  "multiple": false,
1693
1482
  "type": "option"
@@ -1695,7 +1484,7 @@
1695
1484
  },
1696
1485
  "hasDynamicHelp": false,
1697
1486
  "hiddenAliases": [],
1698
- "id": "errors:promote",
1487
+ "id": "environments:list",
1699
1488
  "pluginAlias": "@bussolabs/closeyourit-cli",
1700
1489
  "pluginName": "@bussolabs/closeyourit-cli",
1701
1490
  "pluginType": "core",
@@ -1705,22 +1494,24 @@
1705
1494
  "relativePath": [
1706
1495
  "dist",
1707
1496
  "commands",
1708
- "errors",
1709
- "promote.js"
1497
+ "environments",
1498
+ "list.js"
1710
1499
  ]
1711
1500
  },
1712
- "errors:reopen": {
1501
+ "environments:update": {
1713
1502
  "aliases": [],
1714
1503
  "args": {
1715
- "id": {
1716
- "description": "Error group id",
1717
- "name": "id",
1504
+ "environment": {
1505
+ "description": "Environment id (UUID) or code",
1506
+ "name": "environment",
1718
1507
  "required": true
1719
1508
  }
1720
1509
  },
1721
- "description": "Reopen a resolved error group",
1510
+ "description": "Update an environment (recode, relabel, recolor, reorder, activate/deactivate)",
1722
1511
  "examples": [
1723
- "<%= config.bin %> errors reopen <group-id> --project acme-api"
1512
+ "<%= config.bin %> environments update staging --label \"Staging env\"",
1513
+ "<%= config.bin %> environments update production --color indigo",
1514
+ "<%= config.bin %> environments update staging --no-active"
1724
1515
  ],
1725
1516
  "flags": {
1726
1517
  "json": {
@@ -1730,160 +1521,44 @@
1730
1521
  "allowNo": false,
1731
1522
  "type": "boolean"
1732
1523
  },
1733
- "project": {
1734
- "char": "p",
1735
- "description": "Project id (UUID) or key",
1736
- "name": "project",
1737
- "required": true,
1524
+ "code": {
1525
+ "description": "New code (lowercase)",
1526
+ "name": "code",
1738
1527
  "hasDynamicHelp": false,
1739
1528
  "multiple": false,
1740
1529
  "type": "option"
1741
- }
1742
- },
1743
- "hasDynamicHelp": false,
1744
- "hiddenAliases": [],
1745
- "id": "errors:reopen",
1746
- "pluginAlias": "@bussolabs/closeyourit-cli",
1747
- "pluginName": "@bussolabs/closeyourit-cli",
1748
- "pluginType": "core",
1749
- "strict": true,
1750
- "enableJsonFlag": true,
1751
- "isESM": false,
1752
- "relativePath": [
1753
- "dist",
1754
- "commands",
1755
- "errors",
1756
- "reopen.js"
1757
- ]
1758
- },
1759
- "errors:resolve": {
1760
- "aliases": [],
1761
- "args": {
1762
- "id": {
1763
- "description": "Error group id",
1764
- "name": "id",
1765
- "required": true
1766
- }
1767
- },
1768
- "description": "Mark an error group as resolved",
1769
- "examples": [
1770
- "<%= config.bin %> errors resolve <group-id> --project acme-api"
1771
- ],
1772
- "flags": {
1773
- "json": {
1774
- "description": "Format output as json.",
1775
- "helpGroup": "GLOBAL",
1776
- "name": "json",
1777
- "allowNo": false,
1778
- "type": "boolean"
1779
1530
  },
1780
- "project": {
1781
- "char": "p",
1782
- "description": "Project id (UUID) or key",
1783
- "name": "project",
1784
- "required": true,
1531
+ "label": {
1532
+ "description": "New label",
1533
+ "name": "label",
1785
1534
  "hasDynamicHelp": false,
1786
1535
  "multiple": false,
1787
1536
  "type": "option"
1788
- }
1789
- },
1790
- "hasDynamicHelp": false,
1791
- "hiddenAliases": [],
1792
- "id": "errors:resolve",
1793
- "pluginAlias": "@bussolabs/closeyourit-cli",
1794
- "pluginName": "@bussolabs/closeyourit-cli",
1795
- "pluginType": "core",
1796
- "strict": true,
1797
- "enableJsonFlag": true,
1798
- "isESM": false,
1799
- "relativePath": [
1800
- "dist",
1801
- "commands",
1802
- "errors",
1803
- "resolve.js"
1804
- ]
1805
- },
1806
- "errors:show": {
1807
- "aliases": [],
1808
- "args": {
1809
- "id": {
1810
- "description": "Error group id",
1811
- "name": "id",
1812
- "required": true
1813
- }
1814
- },
1815
- "description": "Show a single error group",
1816
- "examples": [
1817
- "<%= config.bin %> errors show <group-id> --project acme-api"
1818
- ],
1819
- "flags": {
1820
- "json": {
1821
- "description": "Format output as json.",
1822
- "helpGroup": "GLOBAL",
1823
- "name": "json",
1824
- "allowNo": false,
1825
- "type": "boolean"
1826
1537
  },
1827
- "project": {
1828
- "char": "p",
1829
- "description": "Project id (UUID) or key",
1830
- "name": "project",
1831
- "required": true,
1538
+ "color": {
1539
+ "description": "Color label",
1540
+ "name": "color",
1832
1541
  "hasDynamicHelp": false,
1833
1542
  "multiple": false,
1834
1543
  "type": "option"
1835
- }
1836
- },
1837
- "hasDynamicHelp": false,
1838
- "hiddenAliases": [],
1839
- "id": "errors:show",
1840
- "pluginAlias": "@bussolabs/closeyourit-cli",
1841
- "pluginName": "@bussolabs/closeyourit-cli",
1842
- "pluginType": "core",
1843
- "strict": true,
1844
- "enableJsonFlag": true,
1845
- "isESM": false,
1846
- "relativePath": [
1847
- "dist",
1848
- "commands",
1849
- "errors",
1850
- "show.js"
1851
- ]
1852
- },
1853
- "errors:unmute": {
1854
- "aliases": [],
1855
- "args": {
1856
- "id": {
1857
- "description": "Error group id",
1858
- "name": "id",
1859
- "required": true
1860
- }
1861
- },
1862
- "description": "Unmute an error group",
1863
- "examples": [
1864
- "<%= config.bin %> errors unmute <group-id> --project acme-api"
1865
- ],
1866
- "flags": {
1867
- "json": {
1868
- "description": "Format output as json.",
1869
- "helpGroup": "GLOBAL",
1870
- "name": "json",
1871
- "allowNo": false,
1872
- "type": "boolean"
1873
1544
  },
1874
- "project": {
1875
- "char": "p",
1876
- "description": "Project id (UUID) or key",
1877
- "name": "project",
1878
- "required": true,
1545
+ "position": {
1546
+ "description": "Sort position",
1547
+ "name": "position",
1879
1548
  "hasDynamicHelp": false,
1880
1549
  "multiple": false,
1881
1550
  "type": "option"
1551
+ },
1552
+ "active": {
1553
+ "description": "Whether the environment is active",
1554
+ "name": "active",
1555
+ "allowNo": true,
1556
+ "type": "boolean"
1882
1557
  }
1883
1558
  },
1884
1559
  "hasDynamicHelp": false,
1885
1560
  "hiddenAliases": [],
1886
- "id": "errors:unmute",
1561
+ "id": "environments:update",
1887
1562
  "pluginAlias": "@bussolabs/closeyourit-cli",
1888
1563
  "pluginName": "@bussolabs/closeyourit-cli",
1889
1564
  "pluginType": "core",
@@ -1893,8 +1568,8 @@
1893
1568
  "relativePath": [
1894
1569
  "dist",
1895
1570
  "commands",
1896
- "errors",
1897
- "unmute.js"
1571
+ "environments",
1572
+ "update.js"
1898
1573
  ]
1899
1574
  },
1900
1575
  "kb:ask": {
@@ -2290,14 +1965,13 @@
2290
1965
  "update.js"
2291
1966
  ]
2292
1967
  },
2293
- "logs:list": {
1968
+ "errors:list": {
2294
1969
  "aliases": [],
2295
1970
  "args": {},
2296
- "description": "List structured log entries (cross-app stream)",
1971
+ "description": "List error groups for a project",
2297
1972
  "examples": [
2298
- "<%= config.bin %> logs list",
2299
- "<%= config.bin %> logs list --project acme-api --level error",
2300
- "<%= config.bin %> logs list --trace-id 7f3c… --json"
1973
+ "<%= config.bin %> errors list --project acme-api",
1974
+ "<%= config.bin %> errors list -p acme-api --status unresolved --json"
2301
1975
  ],
2302
1976
  "flags": {
2303
1977
  "json": {
@@ -2309,37 +1983,118 @@
2309
1983
  },
2310
1984
  "project": {
2311
1985
  "char": "p",
2312
- "description": "Filter by project id (UUID) or key",
1986
+ "description": "Project id (UUID) or key",
2313
1987
  "name": "project",
1988
+ "required": true,
2314
1989
  "hasDynamicHelp": false,
2315
1990
  "multiple": false,
2316
1991
  "type": "option"
2317
1992
  },
2318
- "level": {
2319
- "description": "Filter by level (debug, info, warning, error, fatal)",
2320
- "name": "level",
1993
+ "page": {
1994
+ "description": "Page number",
1995
+ "name": "page",
1996
+ "default": 1,
2321
1997
  "hasDynamicHelp": false,
2322
1998
  "multiple": false,
2323
1999
  "type": "option"
2324
2000
  },
2325
- "trace-id": {
2326
- "description": "Filter by trace id (correlate one request)",
2327
- "name": "trace-id",
2001
+ "status": {
2002
+ "description": "Filter by status (e.g. unresolved, resolved, muted)",
2003
+ "name": "status",
2328
2004
  "hasDynamicHelp": false,
2329
2005
  "multiple": false,
2330
2006
  "type": "option"
2007
+ }
2008
+ },
2009
+ "hasDynamicHelp": false,
2010
+ "hiddenAliases": [],
2011
+ "id": "errors:list",
2012
+ "pluginAlias": "@bussolabs/closeyourit-cli",
2013
+ "pluginName": "@bussolabs/closeyourit-cli",
2014
+ "pluginType": "core",
2015
+ "strict": true,
2016
+ "enableJsonFlag": true,
2017
+ "isESM": false,
2018
+ "relativePath": [
2019
+ "dist",
2020
+ "commands",
2021
+ "errors",
2022
+ "list.js"
2023
+ ]
2024
+ },
2025
+ "errors:mute": {
2026
+ "aliases": [],
2027
+ "args": {
2028
+ "id": {
2029
+ "description": "Error group id",
2030
+ "name": "id",
2031
+ "required": true
2032
+ }
2033
+ },
2034
+ "description": "Mute an error group",
2035
+ "examples": [
2036
+ "<%= config.bin %> errors mute <group-id> --project acme-api"
2037
+ ],
2038
+ "flags": {
2039
+ "json": {
2040
+ "description": "Format output as json.",
2041
+ "helpGroup": "GLOBAL",
2042
+ "name": "json",
2043
+ "allowNo": false,
2044
+ "type": "boolean"
2331
2045
  },
2332
- "environment": {
2333
- "description": "Filter by environment (e.g. production)",
2334
- "name": "environment",
2046
+ "project": {
2047
+ "char": "p",
2048
+ "description": "Project id (UUID) or key",
2049
+ "name": "project",
2050
+ "required": true,
2335
2051
  "hasDynamicHelp": false,
2336
2052
  "multiple": false,
2337
2053
  "type": "option"
2054
+ }
2055
+ },
2056
+ "hasDynamicHelp": false,
2057
+ "hiddenAliases": [],
2058
+ "id": "errors:mute",
2059
+ "pluginAlias": "@bussolabs/closeyourit-cli",
2060
+ "pluginName": "@bussolabs/closeyourit-cli",
2061
+ "pluginType": "core",
2062
+ "strict": true,
2063
+ "enableJsonFlag": true,
2064
+ "isESM": false,
2065
+ "relativePath": [
2066
+ "dist",
2067
+ "commands",
2068
+ "errors",
2069
+ "mute.js"
2070
+ ]
2071
+ },
2072
+ "errors:promote": {
2073
+ "aliases": [],
2074
+ "args": {
2075
+ "id": {
2076
+ "description": "Error group id",
2077
+ "name": "id",
2078
+ "required": true
2079
+ }
2080
+ },
2081
+ "description": "Promote an error group to a ticket",
2082
+ "examples": [
2083
+ "<%= config.bin %> errors promote <group-id> --project acme-api"
2084
+ ],
2085
+ "flags": {
2086
+ "json": {
2087
+ "description": "Format output as json.",
2088
+ "helpGroup": "GLOBAL",
2089
+ "name": "json",
2090
+ "allowNo": false,
2091
+ "type": "boolean"
2338
2092
  },
2339
- "page": {
2340
- "description": "Page number",
2341
- "name": "page",
2342
- "default": 1,
2093
+ "project": {
2094
+ "char": "p",
2095
+ "description": "Project id (UUID) or key",
2096
+ "name": "project",
2097
+ "required": true,
2343
2098
  "hasDynamicHelp": false,
2344
2099
  "multiple": false,
2345
2100
  "type": "option"
@@ -2347,7 +2102,7 @@
2347
2102
  },
2348
2103
  "hasDynamicHelp": false,
2349
2104
  "hiddenAliases": [],
2350
- "id": "logs:list",
2105
+ "id": "errors:promote",
2351
2106
  "pluginAlias": "@bussolabs/closeyourit-cli",
2352
2107
  "pluginName": "@bussolabs/closeyourit-cli",
2353
2108
  "pluginType": "core",
@@ -2357,17 +2112,22 @@
2357
2112
  "relativePath": [
2358
2113
  "dist",
2359
2114
  "commands",
2360
- "logs",
2361
- "list.js"
2115
+ "errors",
2116
+ "promote.js"
2362
2117
  ]
2363
2118
  },
2364
- "members:list": {
2119
+ "errors:reopen": {
2365
2120
  "aliases": [],
2366
- "args": {},
2367
- "description": "List the members of your organization (to resolve emails to account ids)",
2121
+ "args": {
2122
+ "id": {
2123
+ "description": "Error group id",
2124
+ "name": "id",
2125
+ "required": true
2126
+ }
2127
+ },
2128
+ "description": "Reopen a resolved error group",
2368
2129
  "examples": [
2369
- "<%= config.bin %> members list",
2370
- "<%= config.bin %> members list --json"
2130
+ "<%= config.bin %> errors reopen <group-id> --project acme-api"
2371
2131
  ],
2372
2132
  "flags": {
2373
2133
  "json": {
@@ -2377,10 +2137,11 @@
2377
2137
  "allowNo": false,
2378
2138
  "type": "boolean"
2379
2139
  },
2380
- "page": {
2381
- "description": "Page number",
2382
- "name": "page",
2383
- "default": 1,
2140
+ "project": {
2141
+ "char": "p",
2142
+ "description": "Project id (UUID) or key",
2143
+ "name": "project",
2144
+ "required": true,
2384
2145
  "hasDynamicHelp": false,
2385
2146
  "multiple": false,
2386
2147
  "type": "option"
@@ -2388,7 +2149,7 @@
2388
2149
  },
2389
2150
  "hasDynamicHelp": false,
2390
2151
  "hiddenAliases": [],
2391
- "id": "members:list",
2152
+ "id": "errors:reopen",
2392
2153
  "pluginAlias": "@bussolabs/closeyourit-cli",
2393
2154
  "pluginName": "@bussolabs/closeyourit-cli",
2394
2155
  "pluginType": "core",
@@ -2398,24 +2159,22 @@
2398
2159
  "relativePath": [
2399
2160
  "dist",
2400
2161
  "commands",
2401
- "members",
2402
- "list.js"
2162
+ "errors",
2163
+ "reopen.js"
2403
2164
  ]
2404
2165
  },
2405
- "members:set-access": {
2166
+ "errors:resolve": {
2406
2167
  "aliases": [],
2407
2168
  "args": {
2408
2169
  "id": {
2409
- "description": "Membership id",
2170
+ "description": "Error group id",
2410
2171
  "name": "id",
2411
2172
  "required": true
2412
2173
  }
2413
2174
  },
2414
- "description": "Set a member's group and project access (replaces the current set; omit a flag to clear it)",
2175
+ "description": "Mark an error group as resolved",
2415
2176
  "examples": [
2416
- "<%= config.bin %> members set-access <membership-id> --project acme-api --project acme-web",
2417
- "<%= config.bin %> members set-access <membership-id> --group DriverOne",
2418
- "<%= config.bin %> members set-access <membership-id>"
2177
+ "<%= config.bin %> errors resolve <group-id> --project acme-api"
2419
2178
  ],
2420
2179
  "flags": {
2421
2180
  "json": {
@@ -2425,26 +2184,19 @@
2425
2184
  "allowNo": false,
2426
2185
  "type": "boolean"
2427
2186
  },
2428
- "group": {
2429
- "description": "Group id or name to grant access to (repeatable; omit to clear group access)",
2430
- "name": "group",
2431
- "default": [],
2432
- "hasDynamicHelp": false,
2433
- "multiple": true,
2434
- "type": "option"
2435
- },
2436
2187
  "project": {
2437
- "description": "Project id or key to grant access to (repeatable; omit to clear project access)",
2188
+ "char": "p",
2189
+ "description": "Project id (UUID) or key",
2438
2190
  "name": "project",
2439
- "default": [],
2191
+ "required": true,
2440
2192
  "hasDynamicHelp": false,
2441
- "multiple": true,
2193
+ "multiple": false,
2442
2194
  "type": "option"
2443
2195
  }
2444
2196
  },
2445
2197
  "hasDynamicHelp": false,
2446
2198
  "hiddenAliases": [],
2447
- "id": "members:set-access",
2199
+ "id": "errors:resolve",
2448
2200
  "pluginAlias": "@bussolabs/closeyourit-cli",
2449
2201
  "pluginName": "@bussolabs/closeyourit-cli",
2450
2202
  "pluginType": "core",
@@ -2454,23 +2206,22 @@
2454
2206
  "relativePath": [
2455
2207
  "dist",
2456
2208
  "commands",
2457
- "members",
2458
- "set-access.js"
2209
+ "errors",
2210
+ "resolve.js"
2459
2211
  ]
2460
2212
  },
2461
- "members:set-role": {
2213
+ "errors:show": {
2462
2214
  "aliases": [],
2463
2215
  "args": {
2464
2216
  "id": {
2465
- "description": "Membership id",
2217
+ "description": "Error group id",
2466
2218
  "name": "id",
2467
2219
  "required": true
2468
2220
  }
2469
2221
  },
2470
- "description": "Change a member's organization role",
2222
+ "description": "Show a single error group",
2471
2223
  "examples": [
2472
- "<%= config.bin %> members set-role <membership-id> --role admin",
2473
- "<%= config.bin %> members set-role <membership-id> --role customer"
2224
+ "<%= config.bin %> errors show <group-id> --project acme-api"
2474
2225
  ],
2475
2226
  "flags": {
2476
2227
  "json": {
@@ -2480,24 +2231,19 @@
2480
2231
  "allowNo": false,
2481
2232
  "type": "boolean"
2482
2233
  },
2483
- "role": {
2484
- "description": "Organization role",
2485
- "name": "role",
2234
+ "project": {
2235
+ "char": "p",
2236
+ "description": "Project id (UUID) or key",
2237
+ "name": "project",
2486
2238
  "required": true,
2487
2239
  "hasDynamicHelp": false,
2488
2240
  "multiple": false,
2489
- "options": [
2490
- "member",
2491
- "admin",
2492
- "owner",
2493
- "customer"
2494
- ],
2495
2241
  "type": "option"
2496
2242
  }
2497
2243
  },
2498
2244
  "hasDynamicHelp": false,
2499
2245
  "hiddenAliases": [],
2500
- "id": "members:set-role",
2246
+ "id": "errors:show",
2501
2247
  "pluginAlias": "@bussolabs/closeyourit-cli",
2502
2248
  "pluginName": "@bussolabs/closeyourit-cli",
2503
2249
  "pluginType": "core",
@@ -2507,17 +2253,22 @@
2507
2253
  "relativePath": [
2508
2254
  "dist",
2509
2255
  "commands",
2510
- "members",
2511
- "set-role.js"
2256
+ "errors",
2257
+ "show.js"
2512
2258
  ]
2513
2259
  },
2514
- "milestones:create": {
2260
+ "errors:unmute": {
2515
2261
  "aliases": [],
2516
- "args": {},
2517
- "description": "Create a milestone for a project",
2262
+ "args": {
2263
+ "id": {
2264
+ "description": "Error group id",
2265
+ "name": "id",
2266
+ "required": true
2267
+ }
2268
+ },
2269
+ "description": "Unmute an error group",
2518
2270
  "examples": [
2519
- "<%= config.bin %> milestones create --project acme-api --code v1 --label \"Version 1.0\"",
2520
- "<%= config.bin %> milestones create -p acme-api --code v1 --label \"Version 1.0\" --due-on 2026-12-31"
2271
+ "<%= config.bin %> errors unmute <group-id> --project acme-api"
2521
2272
  ],
2522
2273
  "flags": {
2523
2274
  "json": {
@@ -2535,47 +2286,11 @@
2535
2286
  "hasDynamicHelp": false,
2536
2287
  "multiple": false,
2537
2288
  "type": "option"
2538
- },
2539
- "code": {
2540
- "description": "Milestone code (short identifier)",
2541
- "name": "code",
2542
- "required": true,
2543
- "hasDynamicHelp": false,
2544
- "multiple": false,
2545
- "type": "option"
2546
- },
2547
- "label": {
2548
- "description": "Human-readable label",
2549
- "name": "label",
2550
- "required": true,
2551
- "hasDynamicHelp": false,
2552
- "multiple": false,
2553
- "type": "option"
2554
- },
2555
- "color": {
2556
- "description": "Color label",
2557
- "name": "color",
2558
- "hasDynamicHelp": false,
2559
- "multiple": false,
2560
- "type": "option"
2561
- },
2562
- "due-on": {
2563
- "description": "Due date (YYYY-MM-DD)",
2564
- "name": "due-on",
2565
- "hasDynamicHelp": false,
2566
- "multiple": false,
2567
- "type": "option"
2568
- },
2569
- "active": {
2570
- "description": "Whether the milestone is active",
2571
- "name": "active",
2572
- "allowNo": true,
2573
- "type": "boolean"
2574
2289
  }
2575
2290
  },
2576
2291
  "hasDynamicHelp": false,
2577
2292
  "hiddenAliases": [],
2578
- "id": "milestones:create",
2293
+ "id": "errors:unmute",
2579
2294
  "pluginAlias": "@bussolabs/closeyourit-cli",
2580
2295
  "pluginName": "@bussolabs/closeyourit-cli",
2581
2296
  "pluginType": "core",
@@ -2585,22 +2300,18 @@
2585
2300
  "relativePath": [
2586
2301
  "dist",
2587
2302
  "commands",
2588
- "milestones",
2589
- "create.js"
2303
+ "errors",
2304
+ "unmute.js"
2590
2305
  ]
2591
2306
  },
2592
- "milestones:delete": {
2307
+ "logs:list": {
2593
2308
  "aliases": [],
2594
- "args": {
2595
- "id": {
2596
- "description": "Milestone id",
2597
- "name": "id",
2598
- "required": true
2599
- }
2600
- },
2601
- "description": "Delete a milestone (irreversible)",
2309
+ "args": {},
2310
+ "description": "List structured log entries (cross-app stream)",
2602
2311
  "examples": [
2603
- "<%= config.bin %> milestones delete <milestone-id> --project acme-api --confirm"
2312
+ "<%= config.bin %> logs list",
2313
+ "<%= config.bin %> logs list --project acme-api --level error",
2314
+ "<%= config.bin %> logs list --trace-id 7f3c… --json"
2604
2315
  ],
2605
2316
  "flags": {
2606
2317
  "json": {
@@ -2612,23 +2323,45 @@
2612
2323
  },
2613
2324
  "project": {
2614
2325
  "char": "p",
2615
- "description": "Project id (UUID) or key",
2326
+ "description": "Filter by project id (UUID) or key",
2616
2327
  "name": "project",
2617
- "required": true,
2618
2328
  "hasDynamicHelp": false,
2619
2329
  "multiple": false,
2620
2330
  "type": "option"
2621
2331
  },
2622
- "confirm": {
2623
- "description": "Required: confirm the deletion",
2624
- "name": "confirm",
2625
- "allowNo": false,
2626
- "type": "boolean"
2332
+ "level": {
2333
+ "description": "Filter by level (debug, info, warning, error, fatal)",
2334
+ "name": "level",
2335
+ "hasDynamicHelp": false,
2336
+ "multiple": false,
2337
+ "type": "option"
2338
+ },
2339
+ "trace-id": {
2340
+ "description": "Filter by trace id (correlate one request)",
2341
+ "name": "trace-id",
2342
+ "hasDynamicHelp": false,
2343
+ "multiple": false,
2344
+ "type": "option"
2345
+ },
2346
+ "environment": {
2347
+ "description": "Filter by environment (e.g. production)",
2348
+ "name": "environment",
2349
+ "hasDynamicHelp": false,
2350
+ "multiple": false,
2351
+ "type": "option"
2352
+ },
2353
+ "page": {
2354
+ "description": "Page number",
2355
+ "name": "page",
2356
+ "default": 1,
2357
+ "hasDynamicHelp": false,
2358
+ "multiple": false,
2359
+ "type": "option"
2627
2360
  }
2628
2361
  },
2629
2362
  "hasDynamicHelp": false,
2630
2363
  "hiddenAliases": [],
2631
- "id": "milestones:delete",
2364
+ "id": "logs:list",
2632
2365
  "pluginAlias": "@bussolabs/closeyourit-cli",
2633
2366
  "pluginName": "@bussolabs/closeyourit-cli",
2634
2367
  "pluginType": "core",
@@ -2638,17 +2371,17 @@
2638
2371
  "relativePath": [
2639
2372
  "dist",
2640
2373
  "commands",
2641
- "milestones",
2642
- "delete.js"
2374
+ "logs",
2375
+ "list.js"
2643
2376
  ]
2644
2377
  },
2645
- "milestones:list": {
2378
+ "members:list": {
2646
2379
  "aliases": [],
2647
2380
  "args": {},
2648
- "description": "List the milestones for a project",
2381
+ "description": "List the members of your organization (to resolve emails to account ids)",
2649
2382
  "examples": [
2650
- "<%= config.bin %> milestones list --project acme-api",
2651
- "<%= config.bin %> milestones list -p acme-api --json"
2383
+ "<%= config.bin %> members list",
2384
+ "<%= config.bin %> members list --json"
2652
2385
  ],
2653
2386
  "flags": {
2654
2387
  "json": {
@@ -2658,15 +2391,6 @@
2658
2391
  "allowNo": false,
2659
2392
  "type": "boolean"
2660
2393
  },
2661
- "project": {
2662
- "char": "p",
2663
- "description": "Project id (UUID) or key",
2664
- "name": "project",
2665
- "required": true,
2666
- "hasDynamicHelp": false,
2667
- "multiple": false,
2668
- "type": "option"
2669
- },
2670
2394
  "page": {
2671
2395
  "description": "Page number",
2672
2396
  "name": "page",
@@ -2678,7 +2402,7 @@
2678
2402
  },
2679
2403
  "hasDynamicHelp": false,
2680
2404
  "hiddenAliases": [],
2681
- "id": "milestones:list",
2405
+ "id": "members:list",
2682
2406
  "pluginAlias": "@bussolabs/closeyourit-cli",
2683
2407
  "pluginName": "@bussolabs/closeyourit-cli",
2684
2408
  "pluginType": "core",
@@ -2688,22 +2412,24 @@
2688
2412
  "relativePath": [
2689
2413
  "dist",
2690
2414
  "commands",
2691
- "milestones",
2415
+ "members",
2692
2416
  "list.js"
2693
2417
  ]
2694
2418
  },
2695
- "milestones:show": {
2419
+ "members:set-access": {
2696
2420
  "aliases": [],
2697
2421
  "args": {
2698
2422
  "id": {
2699
- "description": "Milestone id",
2423
+ "description": "Membership id",
2700
2424
  "name": "id",
2701
2425
  "required": true
2702
2426
  }
2703
2427
  },
2704
- "description": "Show a single milestone",
2428
+ "description": "Set a member's group and project access (replaces the current set; omit a flag to clear it)",
2705
2429
  "examples": [
2706
- "<%= config.bin %> milestones show <milestone-id> --project acme-api"
2430
+ "<%= config.bin %> members set-access <membership-id> --project acme-api --project acme-web",
2431
+ "<%= config.bin %> members set-access <membership-id> --group DriverOne",
2432
+ "<%= config.bin %> members set-access <membership-id>"
2707
2433
  ],
2708
2434
  "flags": {
2709
2435
  "json": {
@@ -2713,19 +2439,26 @@
2713
2439
  "allowNo": false,
2714
2440
  "type": "boolean"
2715
2441
  },
2442
+ "group": {
2443
+ "description": "Group id or name to grant access to (repeatable; omit to clear group access)",
2444
+ "name": "group",
2445
+ "default": [],
2446
+ "hasDynamicHelp": false,
2447
+ "multiple": true,
2448
+ "type": "option"
2449
+ },
2716
2450
  "project": {
2717
- "char": "p",
2718
- "description": "Project id (UUID) or key",
2451
+ "description": "Project id or key to grant access to (repeatable; omit to clear project access)",
2719
2452
  "name": "project",
2720
- "required": true,
2453
+ "default": [],
2721
2454
  "hasDynamicHelp": false,
2722
- "multiple": false,
2455
+ "multiple": true,
2723
2456
  "type": "option"
2724
2457
  }
2725
2458
  },
2726
2459
  "hasDynamicHelp": false,
2727
2460
  "hiddenAliases": [],
2728
- "id": "milestones:show",
2461
+ "id": "members:set-access",
2729
2462
  "pluginAlias": "@bussolabs/closeyourit-cli",
2730
2463
  "pluginName": "@bussolabs/closeyourit-cli",
2731
2464
  "pluginType": "core",
@@ -2735,23 +2468,23 @@
2735
2468
  "relativePath": [
2736
2469
  "dist",
2737
2470
  "commands",
2738
- "milestones",
2739
- "show.js"
2471
+ "members",
2472
+ "set-access.js"
2740
2473
  ]
2741
2474
  },
2742
- "milestones:update": {
2475
+ "members:set-role": {
2743
2476
  "aliases": [],
2744
2477
  "args": {
2745
2478
  "id": {
2746
- "description": "Milestone id",
2479
+ "description": "Membership id",
2747
2480
  "name": "id",
2748
2481
  "required": true
2749
2482
  }
2750
2483
  },
2751
- "description": "Update a milestone (send only the fields you want to change)",
2484
+ "description": "Change a member's organization role",
2752
2485
  "examples": [
2753
- "<%= config.bin %> milestones update <milestone-id> --project acme-api --label \"Version 1.1\"",
2754
- "<%= config.bin %> milestones update <milestone-id> -p acme-api --due-on 2027-01-15 --no-active"
2486
+ "<%= config.bin %> members set-role <membership-id> --role admin",
2487
+ "<%= config.bin %> members set-role <membership-id> --role customer"
2755
2488
  ],
2756
2489
  "flags": {
2757
2490
  "json": {
@@ -2761,53 +2494,24 @@
2761
2494
  "allowNo": false,
2762
2495
  "type": "boolean"
2763
2496
  },
2764
- "project": {
2765
- "char": "p",
2766
- "description": "Project id (UUID) or key",
2767
- "name": "project",
2497
+ "role": {
2498
+ "description": "Organization role",
2499
+ "name": "role",
2768
2500
  "required": true,
2769
2501
  "hasDynamicHelp": false,
2770
2502
  "multiple": false,
2503
+ "options": [
2504
+ "member",
2505
+ "admin",
2506
+ "owner",
2507
+ "customer"
2508
+ ],
2771
2509
  "type": "option"
2772
- },
2773
- "code": {
2774
- "description": "Milestone code (short identifier)",
2775
- "name": "code",
2776
- "hasDynamicHelp": false,
2777
- "multiple": false,
2778
- "type": "option"
2779
- },
2780
- "label": {
2781
- "description": "Human-readable label",
2782
- "name": "label",
2783
- "hasDynamicHelp": false,
2784
- "multiple": false,
2785
- "type": "option"
2786
- },
2787
- "color": {
2788
- "description": "Color label",
2789
- "name": "color",
2790
- "hasDynamicHelp": false,
2791
- "multiple": false,
2792
- "type": "option"
2793
- },
2794
- "due-on": {
2795
- "description": "Due date (YYYY-MM-DD)",
2796
- "name": "due-on",
2797
- "hasDynamicHelp": false,
2798
- "multiple": false,
2799
- "type": "option"
2800
- },
2801
- "active": {
2802
- "description": "Whether the milestone is active",
2803
- "name": "active",
2804
- "allowNo": true,
2805
- "type": "boolean"
2806
2510
  }
2807
2511
  },
2808
2512
  "hasDynamicHelp": false,
2809
2513
  "hiddenAliases": [],
2810
- "id": "milestones:update",
2514
+ "id": "members:set-role",
2811
2515
  "pluginAlias": "@bussolabs/closeyourit-cli",
2812
2516
  "pluginName": "@bussolabs/closeyourit-cli",
2813
2517
  "pluginType": "core",
@@ -2817,8 +2521,8 @@
2817
2521
  "relativePath": [
2818
2522
  "dist",
2819
2523
  "commands",
2820
- "milestones",
2821
- "update.js"
2524
+ "members",
2525
+ "set-role.js"
2822
2526
  ]
2823
2527
  },
2824
2528
  "metrics:list": {
@@ -2972,13 +2676,13 @@
2972
2676
  "show.js"
2973
2677
  ]
2974
2678
  },
2975
- "monitors:create": {
2679
+ "milestones:create": {
2976
2680
  "aliases": [],
2977
2681
  "args": {},
2978
- "description": "Create an uptime monitor for a project (one per environment)",
2682
+ "description": "Create a milestone for a project",
2979
2683
  "examples": [
2980
- "<%= config.bin %> monitors create --project acme-api --url https://acme.example.com/up",
2981
- "<%= config.bin %> monitors create -p acme-api --url https://acme.example.com/up --environment <env-id> --interval-seconds 60 --expected-status 200"
2684
+ "<%= config.bin %> milestones create --project acme-api --code v1 --label \"Version 1.0\"",
2685
+ "<%= config.bin %> milestones create -p acme-api --code v1 --label \"Version 1.0\" --due-on 2026-12-31"
2982
2686
  ],
2983
2687
  "flags": {
2984
2688
  "json": {
@@ -2997,67 +2701,46 @@
2997
2701
  "multiple": false,
2998
2702
  "type": "option"
2999
2703
  },
3000
- "url": {
3001
- "description": "URL to probe",
3002
- "name": "url",
2704
+ "code": {
2705
+ "description": "Milestone code (short identifier)",
2706
+ "name": "code",
3003
2707
  "required": true,
3004
2708
  "hasDynamicHelp": false,
3005
2709
  "multiple": false,
3006
2710
  "type": "option"
3007
2711
  },
3008
- "environment": {
3009
- "description": "Environment id (must be declared by the project)",
3010
- "name": "environment",
3011
- "hasDynamicHelp": false,
3012
- "multiple": false,
3013
- "type": "option"
3014
- },
3015
- "http-method": {
3016
- "description": "HTTP method (default GET)",
3017
- "name": "http-method",
3018
- "hasDynamicHelp": false,
3019
- "multiple": false,
3020
- "type": "option"
3021
- },
3022
- "interval-seconds": {
3023
- "description": "Seconds between checks",
3024
- "name": "interval-seconds",
3025
- "hasDynamicHelp": false,
3026
- "multiple": false,
3027
- "type": "option"
3028
- },
3029
- "expected-status": {
3030
- "description": "Expected HTTP status code",
3031
- "name": "expected-status",
2712
+ "label": {
2713
+ "description": "Human-readable label",
2714
+ "name": "label",
2715
+ "required": true,
3032
2716
  "hasDynamicHelp": false,
3033
2717
  "multiple": false,
3034
2718
  "type": "option"
3035
2719
  },
3036
- "timeout-seconds": {
3037
- "description": "Request timeout in seconds",
3038
- "name": "timeout-seconds",
2720
+ "color": {
2721
+ "description": "Color label",
2722
+ "name": "color",
3039
2723
  "hasDynamicHelp": false,
3040
2724
  "multiple": false,
3041
2725
  "type": "option"
3042
2726
  },
3043
- "expected-body-keyword": {
3044
- "description": "Keyword expected in the response body (check fails without it; not with HEAD)",
3045
- "name": "expected-body-keyword",
2727
+ "due-on": {
2728
+ "description": "Due date (YYYY-MM-DD)",
2729
+ "name": "due-on",
3046
2730
  "hasDynamicHelp": false,
3047
2731
  "multiple": false,
3048
2732
  "type": "option"
3049
2733
  },
3050
- "ssl-expiry-warn-days": {
3051
- "description": "Alert when the TLS certificate has at most N days left (empty = off)",
3052
- "name": "ssl-expiry-warn-days",
3053
- "hasDynamicHelp": false,
3054
- "multiple": false,
3055
- "type": "option"
2734
+ "active": {
2735
+ "description": "Whether the milestone is active",
2736
+ "name": "active",
2737
+ "allowNo": true,
2738
+ "type": "boolean"
3056
2739
  }
3057
2740
  },
3058
2741
  "hasDynamicHelp": false,
3059
2742
  "hiddenAliases": [],
3060
- "id": "monitors:create",
2743
+ "id": "milestones:create",
3061
2744
  "pluginAlias": "@bussolabs/closeyourit-cli",
3062
2745
  "pluginName": "@bussolabs/closeyourit-cli",
3063
2746
  "pluginType": "core",
@@ -3067,22 +2750,22 @@
3067
2750
  "relativePath": [
3068
2751
  "dist",
3069
2752
  "commands",
3070
- "monitors",
2753
+ "milestones",
3071
2754
  "create.js"
3072
2755
  ]
3073
2756
  },
3074
- "monitors:delete": {
2757
+ "milestones:delete": {
3075
2758
  "aliases": [],
3076
2759
  "args": {
3077
2760
  "id": {
3078
- "description": "Monitor id",
2761
+ "description": "Milestone id",
3079
2762
  "name": "id",
3080
2763
  "required": true
3081
2764
  }
3082
2765
  },
3083
- "description": "Delete an uptime monitor (irreversible)",
2766
+ "description": "Delete a milestone (irreversible)",
3084
2767
  "examples": [
3085
- "<%= config.bin %> monitors delete <monitor-id> --project acme-api --confirm"
2768
+ "<%= config.bin %> milestones delete <milestone-id> --project acme-api --confirm"
3086
2769
  ],
3087
2770
  "flags": {
3088
2771
  "json": {
@@ -3110,7 +2793,7 @@
3110
2793
  },
3111
2794
  "hasDynamicHelp": false,
3112
2795
  "hiddenAliases": [],
3113
- "id": "monitors:delete",
2796
+ "id": "milestones:delete",
3114
2797
  "pluginAlias": "@bussolabs/closeyourit-cli",
3115
2798
  "pluginName": "@bussolabs/closeyourit-cli",
3116
2799
  "pluginType": "core",
@@ -3120,17 +2803,17 @@
3120
2803
  "relativePath": [
3121
2804
  "dist",
3122
2805
  "commands",
3123
- "monitors",
2806
+ "milestones",
3124
2807
  "delete.js"
3125
2808
  ]
3126
2809
  },
3127
- "monitors:list": {
2810
+ "milestones:list": {
3128
2811
  "aliases": [],
3129
2812
  "args": {},
3130
- "description": "List the uptime monitors for a project",
2813
+ "description": "List the milestones for a project",
3131
2814
  "examples": [
3132
- "<%= config.bin %> monitors list --project acme-api",
3133
- "<%= config.bin %> monitors list -p acme-api --json"
2815
+ "<%= config.bin %> milestones list --project acme-api",
2816
+ "<%= config.bin %> milestones list -p acme-api --json"
3134
2817
  ],
3135
2818
  "flags": {
3136
2819
  "json": {
@@ -3160,7 +2843,7 @@
3160
2843
  },
3161
2844
  "hasDynamicHelp": false,
3162
2845
  "hiddenAliases": [],
3163
- "id": "monitors:list",
2846
+ "id": "milestones:list",
3164
2847
  "pluginAlias": "@bussolabs/closeyourit-cli",
3165
2848
  "pluginName": "@bussolabs/closeyourit-cli",
3166
2849
  "pluginType": "core",
@@ -3170,22 +2853,22 @@
3170
2853
  "relativePath": [
3171
2854
  "dist",
3172
2855
  "commands",
3173
- "monitors",
2856
+ "milestones",
3174
2857
  "list.js"
3175
2858
  ]
3176
2859
  },
3177
- "monitors:pause": {
2860
+ "milestones:show": {
3178
2861
  "aliases": [],
3179
2862
  "args": {
3180
2863
  "id": {
3181
- "description": "Monitor id",
2864
+ "description": "Milestone id",
3182
2865
  "name": "id",
3183
2866
  "required": true
3184
2867
  }
3185
2868
  },
3186
- "description": "Pause an uptime monitor (stops scheduling checks)",
2869
+ "description": "Show a single milestone",
3187
2870
  "examples": [
3188
- "<%= config.bin %> monitors pause <monitor-id> --project acme-api"
2871
+ "<%= config.bin %> milestones show <milestone-id> --project acme-api"
3189
2872
  ],
3190
2873
  "flags": {
3191
2874
  "json": {
@@ -3207,7 +2890,7 @@
3207
2890
  },
3208
2891
  "hasDynamicHelp": false,
3209
2892
  "hiddenAliases": [],
3210
- "id": "monitors:pause",
2893
+ "id": "milestones:show",
3211
2894
  "pluginAlias": "@bussolabs/closeyourit-cli",
3212
2895
  "pluginName": "@bussolabs/closeyourit-cli",
3213
2896
  "pluginType": "core",
@@ -3217,22 +2900,23 @@
3217
2900
  "relativePath": [
3218
2901
  "dist",
3219
2902
  "commands",
3220
- "monitors",
3221
- "pause.js"
2903
+ "milestones",
2904
+ "show.js"
3222
2905
  ]
3223
2906
  },
3224
- "monitors:resume": {
2907
+ "milestones:update": {
3225
2908
  "aliases": [],
3226
2909
  "args": {
3227
2910
  "id": {
3228
- "description": "Monitor id",
2911
+ "description": "Milestone id",
3229
2912
  "name": "id",
3230
2913
  "required": true
3231
2914
  }
3232
2915
  },
3233
- "description": "Resume a paused uptime monitor (re-enables scheduling)",
2916
+ "description": "Update a milestone (send only the fields you want to change)",
3234
2917
  "examples": [
3235
- "<%= config.bin %> monitors resume <monitor-id> --project acme-api"
2918
+ "<%= config.bin %> milestones update <milestone-id> --project acme-api --label \"Version 1.1\"",
2919
+ "<%= config.bin %> milestones update <milestone-id> -p acme-api --due-on 2027-01-15 --no-active"
3236
2920
  ],
3237
2921
  "flags": {
3238
2922
  "json": {
@@ -3250,11 +2934,45 @@
3250
2934
  "hasDynamicHelp": false,
3251
2935
  "multiple": false,
3252
2936
  "type": "option"
2937
+ },
2938
+ "code": {
2939
+ "description": "Milestone code (short identifier)",
2940
+ "name": "code",
2941
+ "hasDynamicHelp": false,
2942
+ "multiple": false,
2943
+ "type": "option"
2944
+ },
2945
+ "label": {
2946
+ "description": "Human-readable label",
2947
+ "name": "label",
2948
+ "hasDynamicHelp": false,
2949
+ "multiple": false,
2950
+ "type": "option"
2951
+ },
2952
+ "color": {
2953
+ "description": "Color label",
2954
+ "name": "color",
2955
+ "hasDynamicHelp": false,
2956
+ "multiple": false,
2957
+ "type": "option"
2958
+ },
2959
+ "due-on": {
2960
+ "description": "Due date (YYYY-MM-DD)",
2961
+ "name": "due-on",
2962
+ "hasDynamicHelp": false,
2963
+ "multiple": false,
2964
+ "type": "option"
2965
+ },
2966
+ "active": {
2967
+ "description": "Whether the milestone is active",
2968
+ "name": "active",
2969
+ "allowNo": true,
2970
+ "type": "boolean"
3253
2971
  }
3254
2972
  },
3255
2973
  "hasDynamicHelp": false,
3256
2974
  "hiddenAliases": [],
3257
- "id": "monitors:resume",
2975
+ "id": "milestones:update",
3258
2976
  "pluginAlias": "@bussolabs/closeyourit-cli",
3259
2977
  "pluginName": "@bussolabs/closeyourit-cli",
3260
2978
  "pluginType": "core",
@@ -3264,22 +2982,51 @@
3264
2982
  "relativePath": [
3265
2983
  "dist",
3266
2984
  "commands",
3267
- "monitors",
3268
- "resume.js"
2985
+ "milestones",
2986
+ "update.js"
3269
2987
  ]
3270
2988
  },
3271
- "monitors:show": {
2989
+ "org:show": {
3272
2990
  "aliases": [],
3273
- "args": {
3274
- "id": {
3275
- "description": "Monitor id",
3276
- "name": "id",
3277
- "required": true
2991
+ "args": {},
2992
+ "description": "Show your organization settings",
2993
+ "examples": [
2994
+ "<%= config.bin %> org show",
2995
+ "<%= config.bin %> org show --json"
2996
+ ],
2997
+ "flags": {
2998
+ "json": {
2999
+ "description": "Format output as json.",
3000
+ "helpGroup": "GLOBAL",
3001
+ "name": "json",
3002
+ "allowNo": false,
3003
+ "type": "boolean"
3278
3004
  }
3279
3005
  },
3280
- "description": "Show a single uptime monitor",
3006
+ "hasDynamicHelp": false,
3007
+ "hiddenAliases": [],
3008
+ "id": "org:show",
3009
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3010
+ "pluginName": "@bussolabs/closeyourit-cli",
3011
+ "pluginType": "core",
3012
+ "strict": true,
3013
+ "enableJsonFlag": true,
3014
+ "isESM": false,
3015
+ "relativePath": [
3016
+ "dist",
3017
+ "commands",
3018
+ "org",
3019
+ "show.js"
3020
+ ]
3021
+ },
3022
+ "org:update": {
3023
+ "aliases": [],
3024
+ "args": {},
3025
+ "description": "Update your organization settings (requires organization.manage)",
3281
3026
  "examples": [
3282
- "<%= config.bin %> monitors show <monitor-id> --project acme-api"
3027
+ "<%= config.bin %> org update --name \"Acme Inc\"",
3028
+ "<%= config.bin %> org update --slug acme-inc",
3029
+ "<%= config.bin %> org update --projects-view table"
3283
3030
  ],
3284
3031
  "flags": {
3285
3032
  "json": {
@@ -3289,19 +3036,35 @@
3289
3036
  "allowNo": false,
3290
3037
  "type": "boolean"
3291
3038
  },
3292
- "project": {
3293
- "char": "p",
3294
- "description": "Project id (UUID) or key",
3295
- "name": "project",
3296
- "required": true,
3039
+ "name": {
3040
+ "description": "New organization name",
3041
+ "name": "name",
3042
+ "hasDynamicHelp": false,
3043
+ "multiple": false,
3044
+ "type": "option"
3045
+ },
3046
+ "slug": {
3047
+ "description": "New organization slug (lowercase, a-z 0-9 and hyphens)",
3048
+ "name": "slug",
3049
+ "hasDynamicHelp": false,
3050
+ "multiple": false,
3051
+ "type": "option"
3052
+ },
3053
+ "projects-view": {
3054
+ "description": "Default projects list view",
3055
+ "name": "projects-view",
3297
3056
  "hasDynamicHelp": false,
3298
3057
  "multiple": false,
3058
+ "options": [
3059
+ "cards",
3060
+ "table"
3061
+ ],
3299
3062
  "type": "option"
3300
3063
  }
3301
3064
  },
3302
3065
  "hasDynamicHelp": false,
3303
3066
  "hiddenAliases": [],
3304
- "id": "monitors:show",
3067
+ "id": "org:update",
3305
3068
  "pluginAlias": "@bussolabs/closeyourit-cli",
3306
3069
  "pluginName": "@bussolabs/closeyourit-cli",
3307
3070
  "pluginType": "core",
@@ -3311,23 +3074,17 @@
3311
3074
  "relativePath": [
3312
3075
  "dist",
3313
3076
  "commands",
3314
- "monitors",
3315
- "show.js"
3077
+ "org",
3078
+ "update.js"
3316
3079
  ]
3317
- },
3318
- "monitors:update": {
3319
- "aliases": [],
3320
- "args": {
3321
- "id": {
3322
- "description": "Monitor id",
3323
- "name": "id",
3324
- "required": true
3325
- }
3326
- },
3327
- "description": "Update an uptime monitor (URL, method, interval, expected status, timeout)",
3080
+ },
3081
+ "monitors:create": {
3082
+ "aliases": [],
3083
+ "args": {},
3084
+ "description": "Create an uptime monitor for a project (one per environment)",
3328
3085
  "examples": [
3329
- "<%= config.bin %> monitors update <monitor-id> --project acme-api --interval-seconds 120",
3330
- "<%= config.bin %> monitors update <monitor-id> -p acme-api --url https://acme.example.com/health --expected-status 204"
3086
+ "<%= config.bin %> monitors create --project acme-api --url https://acme.example.com/up",
3087
+ "<%= config.bin %> monitors create -p acme-api --url https://acme.example.com/up --environment <env-id> --interval-seconds 60 --expected-status 200"
3331
3088
  ],
3332
3089
  "flags": {
3333
3090
  "json": {
@@ -3349,12 +3106,20 @@
3349
3106
  "url": {
3350
3107
  "description": "URL to probe",
3351
3108
  "name": "url",
3109
+ "required": true,
3110
+ "hasDynamicHelp": false,
3111
+ "multiple": false,
3112
+ "type": "option"
3113
+ },
3114
+ "environment": {
3115
+ "description": "Environment id (must be declared by the project)",
3116
+ "name": "environment",
3352
3117
  "hasDynamicHelp": false,
3353
3118
  "multiple": false,
3354
3119
  "type": "option"
3355
3120
  },
3356
3121
  "http-method": {
3357
- "description": "HTTP method",
3122
+ "description": "HTTP method (default GET)",
3358
3123
  "name": "http-method",
3359
3124
  "hasDynamicHelp": false,
3360
3125
  "multiple": false,
@@ -3398,7 +3163,7 @@
3398
3163
  },
3399
3164
  "hasDynamicHelp": false,
3400
3165
  "hiddenAliases": [],
3401
- "id": "monitors:update",
3166
+ "id": "monitors:create",
3402
3167
  "pluginAlias": "@bussolabs/closeyourit-cli",
3403
3168
  "pluginName": "@bussolabs/closeyourit-cli",
3404
3169
  "pluginType": "core",
@@ -3409,16 +3174,21 @@
3409
3174
  "dist",
3410
3175
  "commands",
3411
3176
  "monitors",
3412
- "update.js"
3177
+ "create.js"
3413
3178
  ]
3414
3179
  },
3415
- "org:show": {
3180
+ "monitors:delete": {
3416
3181
  "aliases": [],
3417
- "args": {},
3418
- "description": "Show your organization settings",
3182
+ "args": {
3183
+ "id": {
3184
+ "description": "Monitor id",
3185
+ "name": "id",
3186
+ "required": true
3187
+ }
3188
+ },
3189
+ "description": "Delete an uptime monitor (irreversible)",
3419
3190
  "examples": [
3420
- "<%= config.bin %> org show",
3421
- "<%= config.bin %> org show --json"
3191
+ "<%= config.bin %> monitors delete <monitor-id> --project acme-api --confirm"
3422
3192
  ],
3423
3193
  "flags": {
3424
3194
  "json": {
@@ -3427,11 +3197,26 @@
3427
3197
  "name": "json",
3428
3198
  "allowNo": false,
3429
3199
  "type": "boolean"
3200
+ },
3201
+ "project": {
3202
+ "char": "p",
3203
+ "description": "Project id (UUID) or key",
3204
+ "name": "project",
3205
+ "required": true,
3206
+ "hasDynamicHelp": false,
3207
+ "multiple": false,
3208
+ "type": "option"
3209
+ },
3210
+ "confirm": {
3211
+ "description": "Required: confirm the deletion",
3212
+ "name": "confirm",
3213
+ "allowNo": false,
3214
+ "type": "boolean"
3430
3215
  }
3431
3216
  },
3432
3217
  "hasDynamicHelp": false,
3433
3218
  "hiddenAliases": [],
3434
- "id": "org:show",
3219
+ "id": "monitors:delete",
3435
3220
  "pluginAlias": "@bussolabs/closeyourit-cli",
3436
3221
  "pluginName": "@bussolabs/closeyourit-cli",
3437
3222
  "pluginType": "core",
@@ -3441,18 +3226,17 @@
3441
3226
  "relativePath": [
3442
3227
  "dist",
3443
3228
  "commands",
3444
- "org",
3445
- "show.js"
3229
+ "monitors",
3230
+ "delete.js"
3446
3231
  ]
3447
3232
  },
3448
- "org:update": {
3233
+ "monitors:list": {
3449
3234
  "aliases": [],
3450
3235
  "args": {},
3451
- "description": "Update your organization settings (requires organization.manage)",
3236
+ "description": "List the uptime monitors for a project",
3452
3237
  "examples": [
3453
- "<%= config.bin %> org update --name \"Acme Inc\"",
3454
- "<%= config.bin %> org update --slug acme-inc",
3455
- "<%= config.bin %> org update --projects-view table"
3238
+ "<%= config.bin %> monitors list --project acme-api",
3239
+ "<%= config.bin %> monitors list -p acme-api --json"
3456
3240
  ],
3457
3241
  "flags": {
3458
3242
  "json": {
@@ -3462,35 +3246,27 @@
3462
3246
  "allowNo": false,
3463
3247
  "type": "boolean"
3464
3248
  },
3465
- "name": {
3466
- "description": "New organization name",
3467
- "name": "name",
3468
- "hasDynamicHelp": false,
3469
- "multiple": false,
3470
- "type": "option"
3471
- },
3472
- "slug": {
3473
- "description": "New organization slug (lowercase, a-z 0-9 and hyphens)",
3474
- "name": "slug",
3249
+ "project": {
3250
+ "char": "p",
3251
+ "description": "Project id (UUID) or key",
3252
+ "name": "project",
3253
+ "required": true,
3475
3254
  "hasDynamicHelp": false,
3476
3255
  "multiple": false,
3477
3256
  "type": "option"
3478
3257
  },
3479
- "projects-view": {
3480
- "description": "Default projects list view",
3481
- "name": "projects-view",
3258
+ "page": {
3259
+ "description": "Page number",
3260
+ "name": "page",
3261
+ "default": 1,
3482
3262
  "hasDynamicHelp": false,
3483
3263
  "multiple": false,
3484
- "options": [
3485
- "cards",
3486
- "table"
3487
- ],
3488
3264
  "type": "option"
3489
3265
  }
3490
3266
  },
3491
3267
  "hasDynamicHelp": false,
3492
3268
  "hiddenAliases": [],
3493
- "id": "org:update",
3269
+ "id": "monitors:list",
3494
3270
  "pluginAlias": "@bussolabs/closeyourit-cli",
3495
3271
  "pluginName": "@bussolabs/closeyourit-cli",
3496
3272
  "pluginType": "core",
@@ -3500,23 +3276,22 @@
3500
3276
  "relativePath": [
3501
3277
  "dist",
3502
3278
  "commands",
3503
- "org",
3504
- "update.js"
3279
+ "monitors",
3280
+ "list.js"
3505
3281
  ]
3506
3282
  },
3507
- "platforms:create": {
3283
+ "monitors:pause": {
3508
3284
  "aliases": [],
3509
3285
  "args": {
3510
- "code": {
3511
- "description": "Platform code (e.g. \"ios\", \"android\", \"web\")",
3512
- "name": "code",
3286
+ "id": {
3287
+ "description": "Monitor id",
3288
+ "name": "id",
3513
3289
  "required": true
3514
3290
  }
3515
3291
  },
3516
- "description": "Create a platform (a device/system your projects run on)",
3292
+ "description": "Pause an uptime monitor (stops scheduling checks)",
3517
3293
  "examples": [
3518
- "<%= config.bin %> platforms create ios --label iOS",
3519
- "<%= config.bin %> platforms create android --label Android --color emerald --position 2"
3294
+ "<%= config.bin %> monitors pause <monitor-id> --project acme-api"
3520
3295
  ],
3521
3296
  "flags": {
3522
3297
  "json": {
@@ -3526,39 +3301,19 @@
3526
3301
  "allowNo": false,
3527
3302
  "type": "boolean"
3528
3303
  },
3529
- "label": {
3530
- "description": "Human-readable label",
3531
- "name": "label",
3304
+ "project": {
3305
+ "char": "p",
3306
+ "description": "Project id (UUID) or key",
3307
+ "name": "project",
3532
3308
  "required": true,
3533
3309
  "hasDynamicHelp": false,
3534
3310
  "multiple": false,
3535
3311
  "type": "option"
3536
- },
3537
- "color": {
3538
- "description": "Color label",
3539
- "name": "color",
3540
- "default": "sky",
3541
- "hasDynamicHelp": false,
3542
- "multiple": false,
3543
- "type": "option"
3544
- },
3545
- "position": {
3546
- "description": "Sort position",
3547
- "name": "position",
3548
- "hasDynamicHelp": false,
3549
- "multiple": false,
3550
- "type": "option"
3551
- },
3552
- "active": {
3553
- "description": "Whether the platform is active",
3554
- "name": "active",
3555
- "allowNo": true,
3556
- "type": "boolean"
3557
3312
  }
3558
3313
  },
3559
3314
  "hasDynamicHelp": false,
3560
3315
  "hiddenAliases": [],
3561
- "id": "platforms:create",
3316
+ "id": "monitors:pause",
3562
3317
  "pluginAlias": "@bussolabs/closeyourit-cli",
3563
3318
  "pluginName": "@bussolabs/closeyourit-cli",
3564
3319
  "pluginType": "core",
@@ -3568,22 +3323,22 @@
3568
3323
  "relativePath": [
3569
3324
  "dist",
3570
3325
  "commands",
3571
- "platforms",
3572
- "create.js"
3326
+ "monitors",
3327
+ "pause.js"
3573
3328
  ]
3574
3329
  },
3575
- "platforms:delete": {
3330
+ "monitors:resume": {
3576
3331
  "aliases": [],
3577
3332
  "args": {
3578
- "platform": {
3579
- "description": "Platform id (UUID) or code",
3580
- "name": "platform",
3333
+ "id": {
3334
+ "description": "Monitor id",
3335
+ "name": "id",
3581
3336
  "required": true
3582
3337
  }
3583
3338
  },
3584
- "description": "Delete a platform (blocked if any project or ticket still references it)",
3339
+ "description": "Resume a paused uptime monitor (re-enables scheduling)",
3585
3340
  "examples": [
3586
- "<%= config.bin %> platforms delete legacy --confirm"
3341
+ "<%= config.bin %> monitors resume <monitor-id> --project acme-api"
3587
3342
  ],
3588
3343
  "flags": {
3589
3344
  "json": {
@@ -3593,16 +3348,19 @@
3593
3348
  "allowNo": false,
3594
3349
  "type": "boolean"
3595
3350
  },
3596
- "confirm": {
3597
- "description": "Required: confirm the deletion",
3598
- "name": "confirm",
3599
- "allowNo": false,
3600
- "type": "boolean"
3351
+ "project": {
3352
+ "char": "p",
3353
+ "description": "Project id (UUID) or key",
3354
+ "name": "project",
3355
+ "required": true,
3356
+ "hasDynamicHelp": false,
3357
+ "multiple": false,
3358
+ "type": "option"
3601
3359
  }
3602
3360
  },
3603
3361
  "hasDynamicHelp": false,
3604
3362
  "hiddenAliases": [],
3605
- "id": "platforms:delete",
3363
+ "id": "monitors:resume",
3606
3364
  "pluginAlias": "@bussolabs/closeyourit-cli",
3607
3365
  "pluginName": "@bussolabs/closeyourit-cli",
3608
3366
  "pluginType": "core",
@@ -3612,17 +3370,22 @@
3612
3370
  "relativePath": [
3613
3371
  "dist",
3614
3372
  "commands",
3615
- "platforms",
3616
- "delete.js"
3373
+ "monitors",
3374
+ "resume.js"
3617
3375
  ]
3618
3376
  },
3619
- "platforms:list": {
3377
+ "monitors:show": {
3620
3378
  "aliases": [],
3621
- "args": {},
3622
- "description": "List the platforms (devices/systems) in your organization",
3379
+ "args": {
3380
+ "id": {
3381
+ "description": "Monitor id",
3382
+ "name": "id",
3383
+ "required": true
3384
+ }
3385
+ },
3386
+ "description": "Show a single uptime monitor",
3623
3387
  "examples": [
3624
- "<%= config.bin %> platforms list",
3625
- "<%= config.bin %> platforms list --page 2 --json"
3388
+ "<%= config.bin %> monitors show <monitor-id> --project acme-api"
3626
3389
  ],
3627
3390
  "flags": {
3628
3391
  "json": {
@@ -3632,10 +3395,11 @@
3632
3395
  "allowNo": false,
3633
3396
  "type": "boolean"
3634
3397
  },
3635
- "page": {
3636
- "description": "Page number",
3637
- "name": "page",
3638
- "default": 1,
3398
+ "project": {
3399
+ "char": "p",
3400
+ "description": "Project id (UUID) or key",
3401
+ "name": "project",
3402
+ "required": true,
3639
3403
  "hasDynamicHelp": false,
3640
3404
  "multiple": false,
3641
3405
  "type": "option"
@@ -3643,7 +3407,7 @@
3643
3407
  },
3644
3408
  "hasDynamicHelp": false,
3645
3409
  "hiddenAliases": [],
3646
- "id": "platforms:list",
3410
+ "id": "monitors:show",
3647
3411
  "pluginAlias": "@bussolabs/closeyourit-cli",
3648
3412
  "pluginName": "@bussolabs/closeyourit-cli",
3649
3413
  "pluginType": "core",
@@ -3653,24 +3417,23 @@
3653
3417
  "relativePath": [
3654
3418
  "dist",
3655
3419
  "commands",
3656
- "platforms",
3657
- "list.js"
3420
+ "monitors",
3421
+ "show.js"
3658
3422
  ]
3659
3423
  },
3660
- "platforms:update": {
3424
+ "monitors:update": {
3661
3425
  "aliases": [],
3662
3426
  "args": {
3663
- "platform": {
3664
- "description": "Platform id (UUID) or code",
3665
- "name": "platform",
3427
+ "id": {
3428
+ "description": "Monitor id",
3429
+ "name": "id",
3666
3430
  "required": true
3667
3431
  }
3668
3432
  },
3669
- "description": "Update a platform (relabel, recolor, reorder, activate/deactivate)",
3433
+ "description": "Update an uptime monitor (URL, method, interval, expected status, timeout)",
3670
3434
  "examples": [
3671
- "<%= config.bin %> platforms update ios --label \"iOS / iPadOS\"",
3672
- "<%= config.bin %> platforms update web --color indigo --position 1",
3673
- "<%= config.bin %> platforms update legacy --no-active"
3435
+ "<%= config.bin %> monitors update <monitor-id> --project acme-api --interval-seconds 120",
3436
+ "<%= config.bin %> monitors update <monitor-id> -p acme-api --url https://acme.example.com/health --expected-status 204"
3674
3437
  ],
3675
3438
  "flags": {
3676
3439
  "json": {
@@ -3680,44 +3443,68 @@
3680
3443
  "allowNo": false,
3681
3444
  "type": "boolean"
3682
3445
  },
3683
- "code": {
3684
- "description": "New code",
3685
- "name": "code",
3446
+ "project": {
3447
+ "char": "p",
3448
+ "description": "Project id (UUID) or key",
3449
+ "name": "project",
3450
+ "required": true,
3451
+ "hasDynamicHelp": false,
3452
+ "multiple": false,
3453
+ "type": "option"
3454
+ },
3455
+ "url": {
3456
+ "description": "URL to probe",
3457
+ "name": "url",
3458
+ "hasDynamicHelp": false,
3459
+ "multiple": false,
3460
+ "type": "option"
3461
+ },
3462
+ "http-method": {
3463
+ "description": "HTTP method",
3464
+ "name": "http-method",
3465
+ "hasDynamicHelp": false,
3466
+ "multiple": false,
3467
+ "type": "option"
3468
+ },
3469
+ "interval-seconds": {
3470
+ "description": "Seconds between checks",
3471
+ "name": "interval-seconds",
3472
+ "hasDynamicHelp": false,
3473
+ "multiple": false,
3474
+ "type": "option"
3475
+ },
3476
+ "expected-status": {
3477
+ "description": "Expected HTTP status code",
3478
+ "name": "expected-status",
3686
3479
  "hasDynamicHelp": false,
3687
3480
  "multiple": false,
3688
3481
  "type": "option"
3689
3482
  },
3690
- "label": {
3691
- "description": "New label",
3692
- "name": "label",
3483
+ "timeout-seconds": {
3484
+ "description": "Request timeout in seconds",
3485
+ "name": "timeout-seconds",
3693
3486
  "hasDynamicHelp": false,
3694
3487
  "multiple": false,
3695
3488
  "type": "option"
3696
3489
  },
3697
- "color": {
3698
- "description": "Color label",
3699
- "name": "color",
3490
+ "expected-body-keyword": {
3491
+ "description": "Keyword expected in the response body (check fails without it; not with HEAD)",
3492
+ "name": "expected-body-keyword",
3700
3493
  "hasDynamicHelp": false,
3701
3494
  "multiple": false,
3702
3495
  "type": "option"
3703
3496
  },
3704
- "position": {
3705
- "description": "Sort position",
3706
- "name": "position",
3497
+ "ssl-expiry-warn-days": {
3498
+ "description": "Alert when the TLS certificate has at most N days left (empty = off)",
3499
+ "name": "ssl-expiry-warn-days",
3707
3500
  "hasDynamicHelp": false,
3708
3501
  "multiple": false,
3709
3502
  "type": "option"
3710
- },
3711
- "active": {
3712
- "description": "Whether the platform is active",
3713
- "name": "active",
3714
- "allowNo": true,
3715
- "type": "boolean"
3716
3503
  }
3717
3504
  },
3718
3505
  "hasDynamicHelp": false,
3719
3506
  "hiddenAliases": [],
3720
- "id": "platforms:update",
3507
+ "id": "monitors:update",
3721
3508
  "pluginAlias": "@bussolabs/closeyourit-cli",
3722
3509
  "pluginName": "@bussolabs/closeyourit-cli",
3723
3510
  "pluginType": "core",
@@ -3727,7 +3514,7 @@
3727
3514
  "relativePath": [
3728
3515
  "dist",
3729
3516
  "commands",
3730
- "platforms",
3517
+ "monitors",
3731
3518
  "update.js"
3732
3519
  ]
3733
3520
  },
@@ -4006,19 +3793,241 @@
4006
3793
  "set-platforms.js"
4007
3794
  ]
4008
3795
  },
4009
- "projects:show": {
3796
+ "projects:show": {
3797
+ "aliases": [],
3798
+ "args": {
3799
+ "id": {
3800
+ "description": "Project id (UUID) or key",
3801
+ "name": "id",
3802
+ "required": true
3803
+ }
3804
+ },
3805
+ "description": "Show a single project by id or key",
3806
+ "examples": [
3807
+ "<%= config.bin %> projects show acme-api",
3808
+ "<%= config.bin %> projects show <uuid> --json"
3809
+ ],
3810
+ "flags": {
3811
+ "json": {
3812
+ "description": "Format output as json.",
3813
+ "helpGroup": "GLOBAL",
3814
+ "name": "json",
3815
+ "allowNo": false,
3816
+ "type": "boolean"
3817
+ }
3818
+ },
3819
+ "hasDynamicHelp": false,
3820
+ "hiddenAliases": [],
3821
+ "id": "projects:show",
3822
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3823
+ "pluginName": "@bussolabs/closeyourit-cli",
3824
+ "pluginType": "core",
3825
+ "strict": true,
3826
+ "enableJsonFlag": true,
3827
+ "isESM": false,
3828
+ "relativePath": [
3829
+ "dist",
3830
+ "commands",
3831
+ "projects",
3832
+ "show.js"
3833
+ ]
3834
+ },
3835
+ "projects:update": {
3836
+ "aliases": [],
3837
+ "args": {},
3838
+ "description": "Update a project (name, key, color, description, group)",
3839
+ "examples": [
3840
+ "<%= config.bin %> projects update --project LBRA --name \"New name\"",
3841
+ "<%= config.bin %> projects update -p LBRA --group Backend"
3842
+ ],
3843
+ "flags": {
3844
+ "json": {
3845
+ "description": "Format output as json.",
3846
+ "helpGroup": "GLOBAL",
3847
+ "name": "json",
3848
+ "allowNo": false,
3849
+ "type": "boolean"
3850
+ },
3851
+ "project": {
3852
+ "char": "p",
3853
+ "description": "Project id (UUID) or key",
3854
+ "name": "project",
3855
+ "required": true,
3856
+ "hasDynamicHelp": false,
3857
+ "multiple": false,
3858
+ "type": "option"
3859
+ },
3860
+ "name": {
3861
+ "description": "New project name",
3862
+ "name": "name",
3863
+ "hasDynamicHelp": false,
3864
+ "multiple": false,
3865
+ "type": "option"
3866
+ },
3867
+ "key": {
3868
+ "description": "New project key (uppercase A-Z0-9)",
3869
+ "name": "key",
3870
+ "hasDynamicHelp": false,
3871
+ "multiple": false,
3872
+ "type": "option"
3873
+ },
3874
+ "color": {
3875
+ "description": "Color label",
3876
+ "name": "color",
3877
+ "hasDynamicHelp": false,
3878
+ "multiple": false,
3879
+ "type": "option"
3880
+ },
3881
+ "description": {
3882
+ "description": "Free-form description",
3883
+ "name": "description",
3884
+ "hasDynamicHelp": false,
3885
+ "multiple": false,
3886
+ "type": "option"
3887
+ },
3888
+ "group": {
3889
+ "description": "Group id (UUID) or name to move the project into",
3890
+ "name": "group",
3891
+ "hasDynamicHelp": false,
3892
+ "multiple": false,
3893
+ "type": "option"
3894
+ }
3895
+ },
3896
+ "hasDynamicHelp": false,
3897
+ "hiddenAliases": [],
3898
+ "id": "projects:update",
3899
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3900
+ "pluginName": "@bussolabs/closeyourit-cli",
3901
+ "pluginType": "core",
3902
+ "strict": true,
3903
+ "enableJsonFlag": true,
3904
+ "isESM": false,
3905
+ "relativePath": [
3906
+ "dist",
3907
+ "commands",
3908
+ "projects",
3909
+ "update.js"
3910
+ ]
3911
+ },
3912
+ "platforms:create": {
3913
+ "aliases": [],
3914
+ "args": {
3915
+ "code": {
3916
+ "description": "Platform code (e.g. \"ios\", \"android\", \"web\")",
3917
+ "name": "code",
3918
+ "required": true
3919
+ }
3920
+ },
3921
+ "description": "Create a platform (a device/system your projects run on)",
3922
+ "examples": [
3923
+ "<%= config.bin %> platforms create ios --label iOS",
3924
+ "<%= config.bin %> platforms create android --label Android --color emerald --position 2"
3925
+ ],
3926
+ "flags": {
3927
+ "json": {
3928
+ "description": "Format output as json.",
3929
+ "helpGroup": "GLOBAL",
3930
+ "name": "json",
3931
+ "allowNo": false,
3932
+ "type": "boolean"
3933
+ },
3934
+ "label": {
3935
+ "description": "Human-readable label",
3936
+ "name": "label",
3937
+ "required": true,
3938
+ "hasDynamicHelp": false,
3939
+ "multiple": false,
3940
+ "type": "option"
3941
+ },
3942
+ "color": {
3943
+ "description": "Color label",
3944
+ "name": "color",
3945
+ "default": "sky",
3946
+ "hasDynamicHelp": false,
3947
+ "multiple": false,
3948
+ "type": "option"
3949
+ },
3950
+ "position": {
3951
+ "description": "Sort position",
3952
+ "name": "position",
3953
+ "hasDynamicHelp": false,
3954
+ "multiple": false,
3955
+ "type": "option"
3956
+ },
3957
+ "active": {
3958
+ "description": "Whether the platform is active",
3959
+ "name": "active",
3960
+ "allowNo": true,
3961
+ "type": "boolean"
3962
+ }
3963
+ },
3964
+ "hasDynamicHelp": false,
3965
+ "hiddenAliases": [],
3966
+ "id": "platforms:create",
3967
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3968
+ "pluginName": "@bussolabs/closeyourit-cli",
3969
+ "pluginType": "core",
3970
+ "strict": true,
3971
+ "enableJsonFlag": true,
3972
+ "isESM": false,
3973
+ "relativePath": [
3974
+ "dist",
3975
+ "commands",
3976
+ "platforms",
3977
+ "create.js"
3978
+ ]
3979
+ },
3980
+ "platforms:delete": {
3981
+ "aliases": [],
3982
+ "args": {
3983
+ "platform": {
3984
+ "description": "Platform id (UUID) or code",
3985
+ "name": "platform",
3986
+ "required": true
3987
+ }
3988
+ },
3989
+ "description": "Delete a platform (blocked if any project or ticket still references it)",
3990
+ "examples": [
3991
+ "<%= config.bin %> platforms delete legacy --confirm"
3992
+ ],
3993
+ "flags": {
3994
+ "json": {
3995
+ "description": "Format output as json.",
3996
+ "helpGroup": "GLOBAL",
3997
+ "name": "json",
3998
+ "allowNo": false,
3999
+ "type": "boolean"
4000
+ },
4001
+ "confirm": {
4002
+ "description": "Required: confirm the deletion",
4003
+ "name": "confirm",
4004
+ "allowNo": false,
4005
+ "type": "boolean"
4006
+ }
4007
+ },
4008
+ "hasDynamicHelp": false,
4009
+ "hiddenAliases": [],
4010
+ "id": "platforms:delete",
4011
+ "pluginAlias": "@bussolabs/closeyourit-cli",
4012
+ "pluginName": "@bussolabs/closeyourit-cli",
4013
+ "pluginType": "core",
4014
+ "strict": true,
4015
+ "enableJsonFlag": true,
4016
+ "isESM": false,
4017
+ "relativePath": [
4018
+ "dist",
4019
+ "commands",
4020
+ "platforms",
4021
+ "delete.js"
4022
+ ]
4023
+ },
4024
+ "platforms:list": {
4010
4025
  "aliases": [],
4011
- "args": {
4012
- "id": {
4013
- "description": "Project id (UUID) or key",
4014
- "name": "id",
4015
- "required": true
4016
- }
4017
- },
4018
- "description": "Show a single project by id or key",
4026
+ "args": {},
4027
+ "description": "List the platforms (devices/systems) in your organization",
4019
4028
  "examples": [
4020
- "<%= config.bin %> projects show acme-api",
4021
- "<%= config.bin %> projects show <uuid> --json"
4029
+ "<%= config.bin %> platforms list",
4030
+ "<%= config.bin %> platforms list --page 2 --json"
4022
4031
  ],
4023
4032
  "flags": {
4024
4033
  "json": {
@@ -4027,11 +4036,19 @@
4027
4036
  "name": "json",
4028
4037
  "allowNo": false,
4029
4038
  "type": "boolean"
4039
+ },
4040
+ "page": {
4041
+ "description": "Page number",
4042
+ "name": "page",
4043
+ "default": 1,
4044
+ "hasDynamicHelp": false,
4045
+ "multiple": false,
4046
+ "type": "option"
4030
4047
  }
4031
4048
  },
4032
4049
  "hasDynamicHelp": false,
4033
4050
  "hiddenAliases": [],
4034
- "id": "projects:show",
4051
+ "id": "platforms:list",
4035
4052
  "pluginAlias": "@bussolabs/closeyourit-cli",
4036
4053
  "pluginName": "@bussolabs/closeyourit-cli",
4037
4054
  "pluginType": "core",
@@ -4041,17 +4058,24 @@
4041
4058
  "relativePath": [
4042
4059
  "dist",
4043
4060
  "commands",
4044
- "projects",
4045
- "show.js"
4061
+ "platforms",
4062
+ "list.js"
4046
4063
  ]
4047
4064
  },
4048
- "projects:update": {
4065
+ "platforms:update": {
4049
4066
  "aliases": [],
4050
- "args": {},
4051
- "description": "Update a project (name, key, color, description, group)",
4067
+ "args": {
4068
+ "platform": {
4069
+ "description": "Platform id (UUID) or code",
4070
+ "name": "platform",
4071
+ "required": true
4072
+ }
4073
+ },
4074
+ "description": "Update a platform (relabel, recolor, reorder, activate/deactivate)",
4052
4075
  "examples": [
4053
- "<%= config.bin %> projects update --project LBRA --name \"New name\"",
4054
- "<%= config.bin %> projects update -p LBRA --group Backend"
4076
+ "<%= config.bin %> platforms update ios --label \"iOS / iPadOS\"",
4077
+ "<%= config.bin %> platforms update web --color indigo --position 1",
4078
+ "<%= config.bin %> platforms update legacy --no-active"
4055
4079
  ],
4056
4080
  "flags": {
4057
4081
  "json": {
@@ -4061,25 +4085,16 @@
4061
4085
  "allowNo": false,
4062
4086
  "type": "boolean"
4063
4087
  },
4064
- "project": {
4065
- "char": "p",
4066
- "description": "Project id (UUID) or key",
4067
- "name": "project",
4068
- "required": true,
4069
- "hasDynamicHelp": false,
4070
- "multiple": false,
4071
- "type": "option"
4072
- },
4073
- "name": {
4074
- "description": "New project name",
4075
- "name": "name",
4088
+ "code": {
4089
+ "description": "New code",
4090
+ "name": "code",
4076
4091
  "hasDynamicHelp": false,
4077
4092
  "multiple": false,
4078
4093
  "type": "option"
4079
4094
  },
4080
- "key": {
4081
- "description": "New project key (uppercase A-Z0-9)",
4082
- "name": "key",
4095
+ "label": {
4096
+ "description": "New label",
4097
+ "name": "label",
4083
4098
  "hasDynamicHelp": false,
4084
4099
  "multiple": false,
4085
4100
  "type": "option"
@@ -4091,24 +4106,23 @@
4091
4106
  "multiple": false,
4092
4107
  "type": "option"
4093
4108
  },
4094
- "description": {
4095
- "description": "Free-form description",
4096
- "name": "description",
4109
+ "position": {
4110
+ "description": "Sort position",
4111
+ "name": "position",
4097
4112
  "hasDynamicHelp": false,
4098
4113
  "multiple": false,
4099
4114
  "type": "option"
4100
4115
  },
4101
- "group": {
4102
- "description": "Group id (UUID) or name to move the project into",
4103
- "name": "group",
4104
- "hasDynamicHelp": false,
4105
- "multiple": false,
4106
- "type": "option"
4116
+ "active": {
4117
+ "description": "Whether the platform is active",
4118
+ "name": "active",
4119
+ "allowNo": true,
4120
+ "type": "boolean"
4107
4121
  }
4108
4122
  },
4109
4123
  "hasDynamicHelp": false,
4110
4124
  "hiddenAliases": [],
4111
- "id": "projects:update",
4125
+ "id": "platforms:update",
4112
4126
  "pluginAlias": "@bussolabs/closeyourit-cli",
4113
4127
  "pluginName": "@bussolabs/closeyourit-cli",
4114
4128
  "pluginType": "core",
@@ -4118,7 +4132,7 @@
4118
4132
  "relativePath": [
4119
4133
  "dist",
4120
4134
  "commands",
4121
- "projects",
4135
+ "platforms",
4122
4136
  "update.js"
4123
4137
  ]
4124
4138
  },
@@ -4601,7 +4615,182 @@
4601
4615
  },
4602
4616
  "hasDynamicHelp": false,
4603
4617
  "hiddenAliases": [],
4604
- "id": "servers:revoke",
4618
+ "id": "servers:revoke",
4619
+ "pluginAlias": "@bussolabs/closeyourit-cli",
4620
+ "pluginName": "@bussolabs/closeyourit-cli",
4621
+ "pluginType": "core",
4622
+ "strict": true,
4623
+ "enableJsonFlag": true,
4624
+ "isESM": false,
4625
+ "relativePath": [
4626
+ "dist",
4627
+ "commands",
4628
+ "servers",
4629
+ "revoke.js"
4630
+ ]
4631
+ },
4632
+ "servers:show": {
4633
+ "aliases": [],
4634
+ "args": {
4635
+ "id": {
4636
+ "description": "Server id",
4637
+ "name": "id",
4638
+ "required": true
4639
+ }
4640
+ },
4641
+ "description": "Show a monitored server (latest snapshot)",
4642
+ "examples": [
4643
+ "<%= config.bin %> servers show <server-id>"
4644
+ ],
4645
+ "flags": {
4646
+ "json": {
4647
+ "description": "Format output as json.",
4648
+ "helpGroup": "GLOBAL",
4649
+ "name": "json",
4650
+ "allowNo": false,
4651
+ "type": "boolean"
4652
+ }
4653
+ },
4654
+ "hasDynamicHelp": false,
4655
+ "hiddenAliases": [],
4656
+ "id": "servers:show",
4657
+ "pluginAlias": "@bussolabs/closeyourit-cli",
4658
+ "pluginName": "@bussolabs/closeyourit-cli",
4659
+ "pluginType": "core",
4660
+ "strict": true,
4661
+ "enableJsonFlag": true,
4662
+ "isESM": false,
4663
+ "relativePath": [
4664
+ "dist",
4665
+ "commands",
4666
+ "servers",
4667
+ "show.js"
4668
+ ]
4669
+ },
4670
+ "servers:unrevoke": {
4671
+ "aliases": [],
4672
+ "args": {
4673
+ "id": {
4674
+ "description": "Server id",
4675
+ "name": "id",
4676
+ "required": true
4677
+ }
4678
+ },
4679
+ "description": "Restore a revoked server (its agent can push again)",
4680
+ "examples": [
4681
+ "<%= config.bin %> servers unrevoke <server-id>"
4682
+ ],
4683
+ "flags": {
4684
+ "json": {
4685
+ "description": "Format output as json.",
4686
+ "helpGroup": "GLOBAL",
4687
+ "name": "json",
4688
+ "allowNo": false,
4689
+ "type": "boolean"
4690
+ }
4691
+ },
4692
+ "hasDynamicHelp": false,
4693
+ "hiddenAliases": [],
4694
+ "id": "servers:unrevoke",
4695
+ "pluginAlias": "@bussolabs/closeyourit-cli",
4696
+ "pluginName": "@bussolabs/closeyourit-cli",
4697
+ "pluginType": "core",
4698
+ "strict": true,
4699
+ "enableJsonFlag": true,
4700
+ "isESM": false,
4701
+ "relativePath": [
4702
+ "dist",
4703
+ "commands",
4704
+ "servers",
4705
+ "unrevoke.js"
4706
+ ]
4707
+ },
4708
+ "tokens:create": {
4709
+ "aliases": [],
4710
+ "args": {},
4711
+ "description": "Create an ingest token (the secret is shown only once)",
4712
+ "examples": [
4713
+ "<%= config.bin %> tokens create --project acme-api --name \"CI prod\" --environment-id <env-id>"
4714
+ ],
4715
+ "flags": {
4716
+ "json": {
4717
+ "description": "Format output as json.",
4718
+ "helpGroup": "GLOBAL",
4719
+ "name": "json",
4720
+ "allowNo": false,
4721
+ "type": "boolean"
4722
+ },
4723
+ "project": {
4724
+ "char": "p",
4725
+ "description": "Project id (UUID) or key",
4726
+ "name": "project",
4727
+ "required": true,
4728
+ "hasDynamicHelp": false,
4729
+ "multiple": false,
4730
+ "type": "option"
4731
+ },
4732
+ "name": {
4733
+ "description": "Human-readable token name",
4734
+ "name": "name",
4735
+ "required": true,
4736
+ "hasDynamicHelp": false,
4737
+ "multiple": false,
4738
+ "type": "option"
4739
+ },
4740
+ "environment-id": {
4741
+ "description": "Environment id the token is scoped to",
4742
+ "name": "environment-id",
4743
+ "required": true,
4744
+ "hasDynamicHelp": false,
4745
+ "multiple": false,
4746
+ "type": "option"
4747
+ }
4748
+ },
4749
+ "hasDynamicHelp": false,
4750
+ "hiddenAliases": [],
4751
+ "id": "tokens:create",
4752
+ "pluginAlias": "@bussolabs/closeyourit-cli",
4753
+ "pluginName": "@bussolabs/closeyourit-cli",
4754
+ "pluginType": "core",
4755
+ "strict": true,
4756
+ "enableJsonFlag": true,
4757
+ "isESM": false,
4758
+ "relativePath": [
4759
+ "dist",
4760
+ "commands",
4761
+ "tokens",
4762
+ "create.js"
4763
+ ]
4764
+ },
4765
+ "tokens:list": {
4766
+ "aliases": [],
4767
+ "args": {},
4768
+ "description": "List ingest tokens for a project",
4769
+ "examples": [
4770
+ "<%= config.bin %> tokens list --project acme-api",
4771
+ "<%= config.bin %> tokens list -p acme-api --json"
4772
+ ],
4773
+ "flags": {
4774
+ "json": {
4775
+ "description": "Format output as json.",
4776
+ "helpGroup": "GLOBAL",
4777
+ "name": "json",
4778
+ "allowNo": false,
4779
+ "type": "boolean"
4780
+ },
4781
+ "project": {
4782
+ "char": "p",
4783
+ "description": "Project id (UUID) or key",
4784
+ "name": "project",
4785
+ "required": true,
4786
+ "hasDynamicHelp": false,
4787
+ "multiple": false,
4788
+ "type": "option"
4789
+ }
4790
+ },
4791
+ "hasDynamicHelp": false,
4792
+ "hiddenAliases": [],
4793
+ "id": "tokens:list",
4605
4794
  "pluginAlias": "@bussolabs/closeyourit-cli",
4606
4795
  "pluginName": "@bussolabs/closeyourit-cli",
4607
4796
  "pluginType": "core",
@@ -4611,22 +4800,22 @@
4611
4800
  "relativePath": [
4612
4801
  "dist",
4613
4802
  "commands",
4614
- "servers",
4615
- "revoke.js"
4803
+ "tokens",
4804
+ "list.js"
4616
4805
  ]
4617
4806
  },
4618
- "servers:show": {
4807
+ "tokens:revoke": {
4619
4808
  "aliases": [],
4620
4809
  "args": {
4621
4810
  "id": {
4622
- "description": "Server id",
4811
+ "description": "Token id",
4623
4812
  "name": "id",
4624
4813
  "required": true
4625
4814
  }
4626
4815
  },
4627
- "description": "Show a monitored server (latest snapshot)",
4816
+ "description": "Revoke an ingest token",
4628
4817
  "examples": [
4629
- "<%= config.bin %> servers show <server-id>"
4818
+ "<%= config.bin %> tokens revoke <token-id> --project acme-api"
4630
4819
  ],
4631
4820
  "flags": {
4632
4821
  "json": {
@@ -4635,11 +4824,20 @@
4635
4824
  "name": "json",
4636
4825
  "allowNo": false,
4637
4826
  "type": "boolean"
4827
+ },
4828
+ "project": {
4829
+ "char": "p",
4830
+ "description": "Project id (UUID) or key",
4831
+ "name": "project",
4832
+ "required": true,
4833
+ "hasDynamicHelp": false,
4834
+ "multiple": false,
4835
+ "type": "option"
4638
4836
  }
4639
4837
  },
4640
4838
  "hasDynamicHelp": false,
4641
4839
  "hiddenAliases": [],
4642
- "id": "servers:show",
4840
+ "id": "tokens:revoke",
4643
4841
  "pluginAlias": "@bussolabs/closeyourit-cli",
4644
4842
  "pluginName": "@bussolabs/closeyourit-cli",
4645
4843
  "pluginType": "core",
@@ -4649,22 +4847,22 @@
4649
4847
  "relativePath": [
4650
4848
  "dist",
4651
4849
  "commands",
4652
- "servers",
4653
- "show.js"
4850
+ "tokens",
4851
+ "revoke.js"
4654
4852
  ]
4655
4853
  },
4656
- "servers:unrevoke": {
4854
+ "tokens:rotate": {
4657
4855
  "aliases": [],
4658
4856
  "args": {
4659
4857
  "id": {
4660
- "description": "Server id",
4858
+ "description": "Token id",
4661
4859
  "name": "id",
4662
4860
  "required": true
4663
4861
  }
4664
4862
  },
4665
- "description": "Restore a revoked server (its agent can push again)",
4863
+ "description": "Rotate an ingest token (the new secret is shown only once)",
4666
4864
  "examples": [
4667
- "<%= config.bin %> servers unrevoke <server-id>"
4865
+ "<%= config.bin %> tokens rotate <token-id> --project acme-api"
4668
4866
  ],
4669
4867
  "flags": {
4670
4868
  "json": {
@@ -4673,11 +4871,20 @@
4673
4871
  "name": "json",
4674
4872
  "allowNo": false,
4675
4873
  "type": "boolean"
4874
+ },
4875
+ "project": {
4876
+ "char": "p",
4877
+ "description": "Project id (UUID) or key",
4878
+ "name": "project",
4879
+ "required": true,
4880
+ "hasDynamicHelp": false,
4881
+ "multiple": false,
4882
+ "type": "option"
4676
4883
  }
4677
4884
  },
4678
4885
  "hasDynamicHelp": false,
4679
4886
  "hiddenAliases": [],
4680
- "id": "servers:unrevoke",
4887
+ "id": "tokens:rotate",
4681
4888
  "pluginAlias": "@bussolabs/closeyourit-cli",
4682
4889
  "pluginName": "@bussolabs/closeyourit-cli",
4683
4890
  "pluginType": "core",
@@ -4687,8 +4894,8 @@
4687
4894
  "relativePath": [
4688
4895
  "dist",
4689
4896
  "commands",
4690
- "servers",
4691
- "unrevoke.js"
4897
+ "tokens",
4898
+ "rotate.js"
4692
4899
  ]
4693
4900
  },
4694
4901
  "teams:add-member": {
@@ -5049,199 +5256,6 @@
5049
5256
  "update.js"
5050
5257
  ]
5051
5258
  },
5052
- "tokens:create": {
5053
- "aliases": [],
5054
- "args": {},
5055
- "description": "Create an ingest token (the secret is shown only once)",
5056
- "examples": [
5057
- "<%= config.bin %> tokens create --project acme-api --name \"CI prod\" --environment-id <env-id>"
5058
- ],
5059
- "flags": {
5060
- "json": {
5061
- "description": "Format output as json.",
5062
- "helpGroup": "GLOBAL",
5063
- "name": "json",
5064
- "allowNo": false,
5065
- "type": "boolean"
5066
- },
5067
- "project": {
5068
- "char": "p",
5069
- "description": "Project id (UUID) or key",
5070
- "name": "project",
5071
- "required": true,
5072
- "hasDynamicHelp": false,
5073
- "multiple": false,
5074
- "type": "option"
5075
- },
5076
- "name": {
5077
- "description": "Human-readable token name",
5078
- "name": "name",
5079
- "required": true,
5080
- "hasDynamicHelp": false,
5081
- "multiple": false,
5082
- "type": "option"
5083
- },
5084
- "environment-id": {
5085
- "description": "Environment id the token is scoped to",
5086
- "name": "environment-id",
5087
- "required": true,
5088
- "hasDynamicHelp": false,
5089
- "multiple": false,
5090
- "type": "option"
5091
- }
5092
- },
5093
- "hasDynamicHelp": false,
5094
- "hiddenAliases": [],
5095
- "id": "tokens:create",
5096
- "pluginAlias": "@bussolabs/closeyourit-cli",
5097
- "pluginName": "@bussolabs/closeyourit-cli",
5098
- "pluginType": "core",
5099
- "strict": true,
5100
- "enableJsonFlag": true,
5101
- "isESM": false,
5102
- "relativePath": [
5103
- "dist",
5104
- "commands",
5105
- "tokens",
5106
- "create.js"
5107
- ]
5108
- },
5109
- "tokens:list": {
5110
- "aliases": [],
5111
- "args": {},
5112
- "description": "List ingest tokens for a project",
5113
- "examples": [
5114
- "<%= config.bin %> tokens list --project acme-api",
5115
- "<%= config.bin %> tokens list -p acme-api --json"
5116
- ],
5117
- "flags": {
5118
- "json": {
5119
- "description": "Format output as json.",
5120
- "helpGroup": "GLOBAL",
5121
- "name": "json",
5122
- "allowNo": false,
5123
- "type": "boolean"
5124
- },
5125
- "project": {
5126
- "char": "p",
5127
- "description": "Project id (UUID) or key",
5128
- "name": "project",
5129
- "required": true,
5130
- "hasDynamicHelp": false,
5131
- "multiple": false,
5132
- "type": "option"
5133
- }
5134
- },
5135
- "hasDynamicHelp": false,
5136
- "hiddenAliases": [],
5137
- "id": "tokens:list",
5138
- "pluginAlias": "@bussolabs/closeyourit-cli",
5139
- "pluginName": "@bussolabs/closeyourit-cli",
5140
- "pluginType": "core",
5141
- "strict": true,
5142
- "enableJsonFlag": true,
5143
- "isESM": false,
5144
- "relativePath": [
5145
- "dist",
5146
- "commands",
5147
- "tokens",
5148
- "list.js"
5149
- ]
5150
- },
5151
- "tokens:revoke": {
5152
- "aliases": [],
5153
- "args": {
5154
- "id": {
5155
- "description": "Token id",
5156
- "name": "id",
5157
- "required": true
5158
- }
5159
- },
5160
- "description": "Revoke an ingest token",
5161
- "examples": [
5162
- "<%= config.bin %> tokens revoke <token-id> --project acme-api"
5163
- ],
5164
- "flags": {
5165
- "json": {
5166
- "description": "Format output as json.",
5167
- "helpGroup": "GLOBAL",
5168
- "name": "json",
5169
- "allowNo": false,
5170
- "type": "boolean"
5171
- },
5172
- "project": {
5173
- "char": "p",
5174
- "description": "Project id (UUID) or key",
5175
- "name": "project",
5176
- "required": true,
5177
- "hasDynamicHelp": false,
5178
- "multiple": false,
5179
- "type": "option"
5180
- }
5181
- },
5182
- "hasDynamicHelp": false,
5183
- "hiddenAliases": [],
5184
- "id": "tokens:revoke",
5185
- "pluginAlias": "@bussolabs/closeyourit-cli",
5186
- "pluginName": "@bussolabs/closeyourit-cli",
5187
- "pluginType": "core",
5188
- "strict": true,
5189
- "enableJsonFlag": true,
5190
- "isESM": false,
5191
- "relativePath": [
5192
- "dist",
5193
- "commands",
5194
- "tokens",
5195
- "revoke.js"
5196
- ]
5197
- },
5198
- "tokens:rotate": {
5199
- "aliases": [],
5200
- "args": {
5201
- "id": {
5202
- "description": "Token id",
5203
- "name": "id",
5204
- "required": true
5205
- }
5206
- },
5207
- "description": "Rotate an ingest token (the new secret is shown only once)",
5208
- "examples": [
5209
- "<%= config.bin %> tokens rotate <token-id> --project acme-api"
5210
- ],
5211
- "flags": {
5212
- "json": {
5213
- "description": "Format output as json.",
5214
- "helpGroup": "GLOBAL",
5215
- "name": "json",
5216
- "allowNo": false,
5217
- "type": "boolean"
5218
- },
5219
- "project": {
5220
- "char": "p",
5221
- "description": "Project id (UUID) or key",
5222
- "name": "project",
5223
- "required": true,
5224
- "hasDynamicHelp": false,
5225
- "multiple": false,
5226
- "type": "option"
5227
- }
5228
- },
5229
- "hasDynamicHelp": false,
5230
- "hiddenAliases": [],
5231
- "id": "tokens:rotate",
5232
- "pluginAlias": "@bussolabs/closeyourit-cli",
5233
- "pluginName": "@bussolabs/closeyourit-cli",
5234
- "pluginType": "core",
5235
- "strict": true,
5236
- "enableJsonFlag": true,
5237
- "isESM": false,
5238
- "relativePath": [
5239
- "dist",
5240
- "commands",
5241
- "tokens",
5242
- "rotate.js"
5243
- ]
5244
- },
5245
5259
  "tickets:approve": {
5246
5260
  "aliases": [],
5247
5261
  "args": {
@@ -6714,5 +6728,5 @@
6714
6728
  ]
6715
6729
  }
6716
6730
  },
6717
- "version": "0.0.14"
6731
+ "version": "0.0.15"
6718
6732
  }