linear-cli-agents 0.4.0 → 0.4.1
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.
|
@@ -35,7 +35,7 @@ export default class ProjectsGet extends Command {
|
|
|
35
35
|
const [lead, teams, issues, milestones] = await Promise.all([
|
|
36
36
|
project.lead,
|
|
37
37
|
project.teams(),
|
|
38
|
-
project.issues({ first:
|
|
38
|
+
project.issues({ first: 1 }),
|
|
39
39
|
project.projectMilestones(),
|
|
40
40
|
]);
|
|
41
41
|
const data = {
|
|
@@ -62,7 +62,7 @@ export default class TeamsList extends Command {
|
|
|
62
62
|
after: flags.after,
|
|
63
63
|
});
|
|
64
64
|
const data = await Promise.all(teams.nodes.map(async (team) => {
|
|
65
|
-
const issues = await team.issues({ first:
|
|
65
|
+
const issues = await team.issues({ first: 1 });
|
|
66
66
|
return {
|
|
67
67
|
id: team.id,
|
|
68
68
|
key: team.key,
|
|
@@ -39,7 +39,7 @@ export default class UsersGet extends Command {
|
|
|
39
39
|
throw new CliError(ErrorCodes.NOT_FOUND, `User ${args.id} not found`);
|
|
40
40
|
}
|
|
41
41
|
// Fetch assigned issues count
|
|
42
|
-
const assignedIssues = await user.assignedIssues({ first:
|
|
42
|
+
const assignedIssues = await user.assignedIssues({ first: 1 });
|
|
43
43
|
const teams = await user.teams();
|
|
44
44
|
const data = {
|
|
45
45
|
id: user.id,
|
package/oclif.manifest.json
CHANGED
|
@@ -1663,19 +1663,19 @@
|
|
|
1663
1663
|
"update.js"
|
|
1664
1664
|
]
|
|
1665
1665
|
},
|
|
1666
|
-
"
|
|
1666
|
+
"project-updates:create": {
|
|
1667
1667
|
"aliases": [],
|
|
1668
1668
|
"args": {
|
|
1669
|
-
"
|
|
1669
|
+
"projectId": {
|
|
1670
1670
|
"description": "Project ID",
|
|
1671
|
-
"name": "
|
|
1671
|
+
"name": "projectId",
|
|
1672
1672
|
"required": true
|
|
1673
1673
|
}
|
|
1674
1674
|
},
|
|
1675
|
-
"description": "
|
|
1675
|
+
"description": "Create a project update",
|
|
1676
1676
|
"examples": [
|
|
1677
|
-
"<%= config.bin %>
|
|
1678
|
-
"<%= config.bin %>
|
|
1677
|
+
"<%= config.bin %> project-updates create PROJECT_ID --body \"Sprint completed successfully\"",
|
|
1678
|
+
"<%= config.bin %> project-updates create PROJECT_ID --body \"Delayed due to dependencies\" --health atRisk"
|
|
1679
1679
|
],
|
|
1680
1680
|
"flags": {
|
|
1681
1681
|
"format": {
|
|
@@ -1692,17 +1692,33 @@
|
|
|
1692
1692
|
],
|
|
1693
1693
|
"type": "option"
|
|
1694
1694
|
},
|
|
1695
|
-
"
|
|
1696
|
-
"char": "
|
|
1697
|
-
"description": "
|
|
1698
|
-
"name": "
|
|
1699
|
-
"
|
|
1700
|
-
"
|
|
1695
|
+
"body": {
|
|
1696
|
+
"char": "b",
|
|
1697
|
+
"description": "Update body (supports markdown)",
|
|
1698
|
+
"name": "body",
|
|
1699
|
+
"required": true,
|
|
1700
|
+
"hasDynamicHelp": false,
|
|
1701
|
+
"multiple": false,
|
|
1702
|
+
"type": "option"
|
|
1703
|
+
},
|
|
1704
|
+
"health": {
|
|
1705
|
+
"char": "h",
|
|
1706
|
+
"description": "Project health status",
|
|
1707
|
+
"name": "health",
|
|
1708
|
+
"default": "onTrack",
|
|
1709
|
+
"hasDynamicHelp": false,
|
|
1710
|
+
"multiple": false,
|
|
1711
|
+
"options": [
|
|
1712
|
+
"onTrack",
|
|
1713
|
+
"atRisk",
|
|
1714
|
+
"offTrack"
|
|
1715
|
+
],
|
|
1716
|
+
"type": "option"
|
|
1701
1717
|
}
|
|
1702
1718
|
},
|
|
1703
1719
|
"hasDynamicHelp": false,
|
|
1704
1720
|
"hiddenAliases": [],
|
|
1705
|
-
"id": "
|
|
1721
|
+
"id": "project-updates:create",
|
|
1706
1722
|
"pluginAlias": "linear-cli-agents",
|
|
1707
1723
|
"pluginName": "linear-cli-agents",
|
|
1708
1724
|
"pluginType": "core",
|
|
@@ -1712,18 +1728,23 @@
|
|
|
1712
1728
|
"relativePath": [
|
|
1713
1729
|
"dist",
|
|
1714
1730
|
"commands",
|
|
1715
|
-
"
|
|
1716
|
-
"
|
|
1731
|
+
"project-updates",
|
|
1732
|
+
"create.js"
|
|
1717
1733
|
]
|
|
1718
1734
|
},
|
|
1719
|
-
"
|
|
1735
|
+
"project-updates:get": {
|
|
1720
1736
|
"aliases": [],
|
|
1721
|
-
"args": {
|
|
1722
|
-
|
|
1737
|
+
"args": {
|
|
1738
|
+
"id": {
|
|
1739
|
+
"description": "Project update ID",
|
|
1740
|
+
"name": "id",
|
|
1741
|
+
"required": true
|
|
1742
|
+
}
|
|
1743
|
+
},
|
|
1744
|
+
"description": "Get a project update by ID",
|
|
1723
1745
|
"examples": [
|
|
1724
|
-
"<%= config.bin %>
|
|
1725
|
-
"<%= config.bin %>
|
|
1726
|
-
"<%= config.bin %> projects create --name \"Feature X\" --state started --lead-id USER_ID"
|
|
1746
|
+
"<%= config.bin %> project-updates get UPDATE_ID",
|
|
1747
|
+
"<%= config.bin %> project-updates get UPDATE_ID --format table"
|
|
1727
1748
|
],
|
|
1728
1749
|
"flags": {
|
|
1729
1750
|
"format": {
|
|
@@ -1739,72 +1760,11 @@
|
|
|
1739
1760
|
"plain"
|
|
1740
1761
|
],
|
|
1741
1762
|
"type": "option"
|
|
1742
|
-
},
|
|
1743
|
-
"name": {
|
|
1744
|
-
"char": "n",
|
|
1745
|
-
"description": "Project name",
|
|
1746
|
-
"name": "name",
|
|
1747
|
-
"required": true,
|
|
1748
|
-
"hasDynamicHelp": false,
|
|
1749
|
-
"multiple": false,
|
|
1750
|
-
"type": "option"
|
|
1751
|
-
},
|
|
1752
|
-
"description": {
|
|
1753
|
-
"char": "d",
|
|
1754
|
-
"description": "Project description",
|
|
1755
|
-
"name": "description",
|
|
1756
|
-
"hasDynamicHelp": false,
|
|
1757
|
-
"multiple": false,
|
|
1758
|
-
"type": "option"
|
|
1759
|
-
},
|
|
1760
|
-
"state": {
|
|
1761
|
-
"char": "s",
|
|
1762
|
-
"description": "Project state",
|
|
1763
|
-
"name": "state",
|
|
1764
|
-
"hasDynamicHelp": false,
|
|
1765
|
-
"multiple": false,
|
|
1766
|
-
"options": [
|
|
1767
|
-
"planned",
|
|
1768
|
-
"started",
|
|
1769
|
-
"paused",
|
|
1770
|
-
"completed",
|
|
1771
|
-
"canceled"
|
|
1772
|
-
],
|
|
1773
|
-
"type": "option"
|
|
1774
|
-
},
|
|
1775
|
-
"team-ids": {
|
|
1776
|
-
"description": "Team IDs (comma-separated)",
|
|
1777
|
-
"name": "team-ids",
|
|
1778
|
-
"required": true,
|
|
1779
|
-
"hasDynamicHelp": false,
|
|
1780
|
-
"multiple": false,
|
|
1781
|
-
"type": "option"
|
|
1782
|
-
},
|
|
1783
|
-
"lead-id": {
|
|
1784
|
-
"description": "Lead user ID",
|
|
1785
|
-
"name": "lead-id",
|
|
1786
|
-
"hasDynamicHelp": false,
|
|
1787
|
-
"multiple": false,
|
|
1788
|
-
"type": "option"
|
|
1789
|
-
},
|
|
1790
|
-
"start-date": {
|
|
1791
|
-
"description": "Start date (YYYY-MM-DD)",
|
|
1792
|
-
"name": "start-date",
|
|
1793
|
-
"hasDynamicHelp": false,
|
|
1794
|
-
"multiple": false,
|
|
1795
|
-
"type": "option"
|
|
1796
|
-
},
|
|
1797
|
-
"target-date": {
|
|
1798
|
-
"description": "Target date (YYYY-MM-DD)",
|
|
1799
|
-
"name": "target-date",
|
|
1800
|
-
"hasDynamicHelp": false,
|
|
1801
|
-
"multiple": false,
|
|
1802
|
-
"type": "option"
|
|
1803
1763
|
}
|
|
1804
1764
|
},
|
|
1805
1765
|
"hasDynamicHelp": false,
|
|
1806
1766
|
"hiddenAliases": [],
|
|
1807
|
-
"id": "
|
|
1767
|
+
"id": "project-updates:get",
|
|
1808
1768
|
"pluginAlias": "linear-cli-agents",
|
|
1809
1769
|
"pluginName": "linear-cli-agents",
|
|
1810
1770
|
"pluginType": "core",
|
|
@@ -1814,22 +1774,23 @@
|
|
|
1814
1774
|
"relativePath": [
|
|
1815
1775
|
"dist",
|
|
1816
1776
|
"commands",
|
|
1817
|
-
"
|
|
1818
|
-
"
|
|
1777
|
+
"project-updates",
|
|
1778
|
+
"get.js"
|
|
1819
1779
|
]
|
|
1820
1780
|
},
|
|
1821
|
-
"
|
|
1781
|
+
"project-updates:list": {
|
|
1822
1782
|
"aliases": [],
|
|
1823
1783
|
"args": {
|
|
1824
|
-
"
|
|
1784
|
+
"projectId": {
|
|
1825
1785
|
"description": "Project ID",
|
|
1826
|
-
"name": "
|
|
1786
|
+
"name": "projectId",
|
|
1827
1787
|
"required": true
|
|
1828
1788
|
}
|
|
1829
1789
|
},
|
|
1830
|
-
"description": "
|
|
1790
|
+
"description": "List project updates",
|
|
1831
1791
|
"examples": [
|
|
1832
|
-
"<%= config.bin %>
|
|
1792
|
+
"<%= config.bin %> project-updates list PROJECT_ID",
|
|
1793
|
+
"<%= config.bin %> project-updates list PROJECT_ID --format table"
|
|
1833
1794
|
],
|
|
1834
1795
|
"flags": {
|
|
1835
1796
|
"format": {
|
|
@@ -1845,11 +1806,26 @@
|
|
|
1845
1806
|
"plain"
|
|
1846
1807
|
],
|
|
1847
1808
|
"type": "option"
|
|
1809
|
+
},
|
|
1810
|
+
"first": {
|
|
1811
|
+
"description": "Number of updates to fetch (default: 20)",
|
|
1812
|
+
"name": "first",
|
|
1813
|
+
"default": 20,
|
|
1814
|
+
"hasDynamicHelp": false,
|
|
1815
|
+
"multiple": false,
|
|
1816
|
+
"type": "option"
|
|
1817
|
+
},
|
|
1818
|
+
"after": {
|
|
1819
|
+
"description": "Cursor for pagination",
|
|
1820
|
+
"name": "after",
|
|
1821
|
+
"hasDynamicHelp": false,
|
|
1822
|
+
"multiple": false,
|
|
1823
|
+
"type": "option"
|
|
1848
1824
|
}
|
|
1849
1825
|
},
|
|
1850
1826
|
"hasDynamicHelp": false,
|
|
1851
1827
|
"hiddenAliases": [],
|
|
1852
|
-
"id": "
|
|
1828
|
+
"id": "project-updates:list",
|
|
1853
1829
|
"pluginAlias": "linear-cli-agents",
|
|
1854
1830
|
"pluginName": "linear-cli-agents",
|
|
1855
1831
|
"pluginType": "core",
|
|
@@ -1859,23 +1835,23 @@
|
|
|
1859
1835
|
"relativePath": [
|
|
1860
1836
|
"dist",
|
|
1861
1837
|
"commands",
|
|
1862
|
-
"
|
|
1863
|
-
"
|
|
1838
|
+
"project-updates",
|
|
1839
|
+
"list.js"
|
|
1864
1840
|
]
|
|
1865
1841
|
},
|
|
1866
|
-
"
|
|
1842
|
+
"project-updates:update": {
|
|
1867
1843
|
"aliases": [],
|
|
1868
1844
|
"args": {
|
|
1869
1845
|
"id": {
|
|
1870
|
-
"description": "Project ID",
|
|
1846
|
+
"description": "Project update ID",
|
|
1871
1847
|
"name": "id",
|
|
1872
1848
|
"required": true
|
|
1873
1849
|
}
|
|
1874
1850
|
},
|
|
1875
|
-
"description": "
|
|
1851
|
+
"description": "Update a project update",
|
|
1876
1852
|
"examples": [
|
|
1877
|
-
"<%= config.bin %>
|
|
1878
|
-
"<%= config.bin %>
|
|
1853
|
+
"<%= config.bin %> project-updates update UPDATE_ID --body \"Updated status\"",
|
|
1854
|
+
"<%= config.bin %> project-updates update UPDATE_ID --health offTrack"
|
|
1879
1855
|
],
|
|
1880
1856
|
"flags": {
|
|
1881
1857
|
"format": {
|
|
@@ -1891,11 +1867,32 @@
|
|
|
1891
1867
|
"plain"
|
|
1892
1868
|
],
|
|
1893
1869
|
"type": "option"
|
|
1870
|
+
},
|
|
1871
|
+
"body": {
|
|
1872
|
+
"char": "b",
|
|
1873
|
+
"description": "Update body (supports markdown)",
|
|
1874
|
+
"name": "body",
|
|
1875
|
+
"hasDynamicHelp": false,
|
|
1876
|
+
"multiple": false,
|
|
1877
|
+
"type": "option"
|
|
1878
|
+
},
|
|
1879
|
+
"health": {
|
|
1880
|
+
"char": "h",
|
|
1881
|
+
"description": "Project health status",
|
|
1882
|
+
"name": "health",
|
|
1883
|
+
"hasDynamicHelp": false,
|
|
1884
|
+
"multiple": false,
|
|
1885
|
+
"options": [
|
|
1886
|
+
"onTrack",
|
|
1887
|
+
"atRisk",
|
|
1888
|
+
"offTrack"
|
|
1889
|
+
],
|
|
1890
|
+
"type": "option"
|
|
1894
1891
|
}
|
|
1895
1892
|
},
|
|
1896
1893
|
"hasDynamicHelp": false,
|
|
1897
1894
|
"hiddenAliases": [],
|
|
1898
|
-
"id": "
|
|
1895
|
+
"id": "project-updates:update",
|
|
1899
1896
|
"pluginAlias": "linear-cli-agents",
|
|
1900
1897
|
"pluginName": "linear-cli-agents",
|
|
1901
1898
|
"pluginType": "core",
|
|
@@ -1905,19 +1902,23 @@
|
|
|
1905
1902
|
"relativePath": [
|
|
1906
1903
|
"dist",
|
|
1907
1904
|
"commands",
|
|
1908
|
-
"
|
|
1909
|
-
"
|
|
1905
|
+
"project-updates",
|
|
1906
|
+
"update.js"
|
|
1910
1907
|
]
|
|
1911
1908
|
},
|
|
1912
|
-
"projects:
|
|
1909
|
+
"projects:archive": {
|
|
1913
1910
|
"aliases": [],
|
|
1914
|
-
"args": {
|
|
1915
|
-
|
|
1911
|
+
"args": {
|
|
1912
|
+
"id": {
|
|
1913
|
+
"description": "Project ID",
|
|
1914
|
+
"name": "id",
|
|
1915
|
+
"required": true
|
|
1916
|
+
}
|
|
1917
|
+
},
|
|
1918
|
+
"description": "Archive a project",
|
|
1916
1919
|
"examples": [
|
|
1917
|
-
"<%= config.bin %> projects
|
|
1918
|
-
"<%= config.bin %> projects
|
|
1919
|
-
"<%= config.bin %> projects list --team ENG",
|
|
1920
|
-
"<%= config.bin %> projects list --state started"
|
|
1920
|
+
"<%= config.bin %> projects archive PROJECT_ID",
|
|
1921
|
+
"<%= config.bin %> projects archive PROJECT_ID --unarchive"
|
|
1921
1922
|
],
|
|
1922
1923
|
"flags": {
|
|
1923
1924
|
"format": {
|
|
@@ -1934,41 +1935,17 @@
|
|
|
1934
1935
|
],
|
|
1935
1936
|
"type": "option"
|
|
1936
1937
|
},
|
|
1937
|
-
"
|
|
1938
|
-
"char": "
|
|
1939
|
-
"description": "
|
|
1940
|
-
"name": "
|
|
1941
|
-
"
|
|
1942
|
-
"
|
|
1943
|
-
"type": "option"
|
|
1944
|
-
},
|
|
1945
|
-
"state": {
|
|
1946
|
-
"char": "s",
|
|
1947
|
-
"description": "Filter by state (planned, started, paused, completed, canceled)",
|
|
1948
|
-
"name": "state",
|
|
1949
|
-
"hasDynamicHelp": false,
|
|
1950
|
-
"multiple": false,
|
|
1951
|
-
"type": "option"
|
|
1952
|
-
},
|
|
1953
|
-
"first": {
|
|
1954
|
-
"description": "Number of projects to fetch (default: 50)",
|
|
1955
|
-
"name": "first",
|
|
1956
|
-
"default": 50,
|
|
1957
|
-
"hasDynamicHelp": false,
|
|
1958
|
-
"multiple": false,
|
|
1959
|
-
"type": "option"
|
|
1960
|
-
},
|
|
1961
|
-
"after": {
|
|
1962
|
-
"description": "Cursor for pagination",
|
|
1963
|
-
"name": "after",
|
|
1964
|
-
"hasDynamicHelp": false,
|
|
1965
|
-
"multiple": false,
|
|
1966
|
-
"type": "option"
|
|
1938
|
+
"unarchive": {
|
|
1939
|
+
"char": "u",
|
|
1940
|
+
"description": "Unarchive instead of archive",
|
|
1941
|
+
"name": "unarchive",
|
|
1942
|
+
"allowNo": false,
|
|
1943
|
+
"type": "boolean"
|
|
1967
1944
|
}
|
|
1968
1945
|
},
|
|
1969
1946
|
"hasDynamicHelp": false,
|
|
1970
1947
|
"hiddenAliases": [],
|
|
1971
|
-
"id": "projects:
|
|
1948
|
+
"id": "projects:archive",
|
|
1972
1949
|
"pluginAlias": "linear-cli-agents",
|
|
1973
1950
|
"pluginName": "linear-cli-agents",
|
|
1974
1951
|
"pluginType": "core",
|
|
@@ -1979,23 +1956,17 @@
|
|
|
1979
1956
|
"dist",
|
|
1980
1957
|
"commands",
|
|
1981
1958
|
"projects",
|
|
1982
|
-
"
|
|
1959
|
+
"archive.js"
|
|
1983
1960
|
]
|
|
1984
1961
|
},
|
|
1985
|
-
"projects:
|
|
1962
|
+
"projects:create": {
|
|
1986
1963
|
"aliases": [],
|
|
1987
|
-
"args": {
|
|
1988
|
-
|
|
1989
|
-
"description": "Project ID",
|
|
1990
|
-
"name": "id",
|
|
1991
|
-
"required": true
|
|
1992
|
-
}
|
|
1993
|
-
},
|
|
1994
|
-
"description": "Update a project",
|
|
1964
|
+
"args": {},
|
|
1965
|
+
"description": "Create a project",
|
|
1995
1966
|
"examples": [
|
|
1996
|
-
"<%= config.bin %> projects
|
|
1997
|
-
"<%= config.bin %> projects
|
|
1998
|
-
"<%= config.bin %> projects
|
|
1967
|
+
"<%= config.bin %> projects create --name \"My Project\" --team-ids TEAM_ID",
|
|
1968
|
+
"<%= config.bin %> projects create --name \"Q1 Goals\" --description \"First quarter objectives\" --target-date 2024-03-31",
|
|
1969
|
+
"<%= config.bin %> projects create --name \"Feature X\" --state started --lead-id USER_ID"
|
|
1999
1970
|
],
|
|
2000
1971
|
"flags": {
|
|
2001
1972
|
"format": {
|
|
@@ -2016,6 +1987,7 @@
|
|
|
2016
1987
|
"char": "n",
|
|
2017
1988
|
"description": "Project name",
|
|
2018
1989
|
"name": "name",
|
|
1990
|
+
"required": true,
|
|
2019
1991
|
"hasDynamicHelp": false,
|
|
2020
1992
|
"multiple": false,
|
|
2021
1993
|
"type": "option"
|
|
@@ -2043,6 +2015,14 @@
|
|
|
2043
2015
|
],
|
|
2044
2016
|
"type": "option"
|
|
2045
2017
|
},
|
|
2018
|
+
"team-ids": {
|
|
2019
|
+
"description": "Team IDs (comma-separated)",
|
|
2020
|
+
"name": "team-ids",
|
|
2021
|
+
"required": true,
|
|
2022
|
+
"hasDynamicHelp": false,
|
|
2023
|
+
"multiple": false,
|
|
2024
|
+
"type": "option"
|
|
2025
|
+
},
|
|
2046
2026
|
"lead-id": {
|
|
2047
2027
|
"description": "Lead user ID",
|
|
2048
2028
|
"name": "lead-id",
|
|
@@ -2067,7 +2047,7 @@
|
|
|
2067
2047
|
},
|
|
2068
2048
|
"hasDynamicHelp": false,
|
|
2069
2049
|
"hiddenAliases": [],
|
|
2070
|
-
"id": "projects:
|
|
2050
|
+
"id": "projects:create",
|
|
2071
2051
|
"pluginAlias": "linear-cli-agents",
|
|
2072
2052
|
"pluginName": "linear-cli-agents",
|
|
2073
2053
|
"pluginType": "core",
|
|
@@ -2078,65 +2058,41 @@
|
|
|
2078
2058
|
"dist",
|
|
2079
2059
|
"commands",
|
|
2080
2060
|
"projects",
|
|
2081
|
-
"
|
|
2061
|
+
"create.js"
|
|
2082
2062
|
]
|
|
2083
2063
|
},
|
|
2084
|
-
"
|
|
2064
|
+
"projects:delete": {
|
|
2085
2065
|
"aliases": [],
|
|
2086
2066
|
"args": {
|
|
2087
|
-
"
|
|
2067
|
+
"id": {
|
|
2088
2068
|
"description": "Project ID",
|
|
2089
|
-
"name": "
|
|
2069
|
+
"name": "id",
|
|
2090
2070
|
"required": true
|
|
2091
2071
|
}
|
|
2092
2072
|
},
|
|
2093
|
-
"description": "
|
|
2073
|
+
"description": "Delete a project",
|
|
2094
2074
|
"examples": [
|
|
2095
|
-
"<%= config.bin %>
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
"
|
|
2101
|
-
"
|
|
2102
|
-
"
|
|
2103
|
-
"default": "json",
|
|
2104
|
-
"hasDynamicHelp": false,
|
|
2105
|
-
"multiple": false,
|
|
2106
|
-
"options": [
|
|
2107
|
-
"json",
|
|
2108
|
-
"table",
|
|
2109
|
-
"plain"
|
|
2110
|
-
],
|
|
2111
|
-
"type": "option"
|
|
2112
|
-
},
|
|
2113
|
-
"body": {
|
|
2114
|
-
"char": "b",
|
|
2115
|
-
"description": "Update body (supports markdown)",
|
|
2116
|
-
"name": "body",
|
|
2117
|
-
"required": true,
|
|
2118
|
-
"hasDynamicHelp": false,
|
|
2119
|
-
"multiple": false,
|
|
2120
|
-
"type": "option"
|
|
2121
|
-
},
|
|
2122
|
-
"health": {
|
|
2123
|
-
"char": "h",
|
|
2124
|
-
"description": "Project health status",
|
|
2125
|
-
"name": "health",
|
|
2126
|
-
"default": "onTrack",
|
|
2075
|
+
"<%= config.bin %> projects delete PROJECT_ID"
|
|
2076
|
+
],
|
|
2077
|
+
"flags": {
|
|
2078
|
+
"format": {
|
|
2079
|
+
"char": "F",
|
|
2080
|
+
"description": "Output format",
|
|
2081
|
+
"name": "format",
|
|
2082
|
+
"default": "json",
|
|
2127
2083
|
"hasDynamicHelp": false,
|
|
2128
2084
|
"multiple": false,
|
|
2129
2085
|
"options": [
|
|
2130
|
-
"
|
|
2131
|
-
"
|
|
2132
|
-
"
|
|
2086
|
+
"json",
|
|
2087
|
+
"table",
|
|
2088
|
+
"plain"
|
|
2133
2089
|
],
|
|
2134
2090
|
"type": "option"
|
|
2135
2091
|
}
|
|
2136
2092
|
},
|
|
2137
2093
|
"hasDynamicHelp": false,
|
|
2138
2094
|
"hiddenAliases": [],
|
|
2139
|
-
"id": "
|
|
2095
|
+
"id": "projects:delete",
|
|
2140
2096
|
"pluginAlias": "linear-cli-agents",
|
|
2141
2097
|
"pluginName": "linear-cli-agents",
|
|
2142
2098
|
"pluginType": "core",
|
|
@@ -2146,23 +2102,23 @@
|
|
|
2146
2102
|
"relativePath": [
|
|
2147
2103
|
"dist",
|
|
2148
2104
|
"commands",
|
|
2149
|
-
"
|
|
2150
|
-
"
|
|
2105
|
+
"projects",
|
|
2106
|
+
"delete.js"
|
|
2151
2107
|
]
|
|
2152
2108
|
},
|
|
2153
|
-
"
|
|
2109
|
+
"projects:get": {
|
|
2154
2110
|
"aliases": [],
|
|
2155
2111
|
"args": {
|
|
2156
2112
|
"id": {
|
|
2157
|
-
"description": "Project
|
|
2113
|
+
"description": "Project ID",
|
|
2158
2114
|
"name": "id",
|
|
2159
2115
|
"required": true
|
|
2160
2116
|
}
|
|
2161
2117
|
},
|
|
2162
|
-
"description": "Get a project
|
|
2118
|
+
"description": "Get a single project by ID",
|
|
2163
2119
|
"examples": [
|
|
2164
|
-
"<%= config.bin %>
|
|
2165
|
-
"<%= config.bin %>
|
|
2120
|
+
"<%= config.bin %> projects get PROJECT_ID",
|
|
2121
|
+
"<%= config.bin %> projects get PROJECT_ID --format table"
|
|
2166
2122
|
],
|
|
2167
2123
|
"flags": {
|
|
2168
2124
|
"format": {
|
|
@@ -2182,7 +2138,7 @@
|
|
|
2182
2138
|
},
|
|
2183
2139
|
"hasDynamicHelp": false,
|
|
2184
2140
|
"hiddenAliases": [],
|
|
2185
|
-
"id": "
|
|
2141
|
+
"id": "projects:get",
|
|
2186
2142
|
"pluginAlias": "linear-cli-agents",
|
|
2187
2143
|
"pluginName": "linear-cli-agents",
|
|
2188
2144
|
"pluginType": "core",
|
|
@@ -2192,23 +2148,19 @@
|
|
|
2192
2148
|
"relativePath": [
|
|
2193
2149
|
"dist",
|
|
2194
2150
|
"commands",
|
|
2195
|
-
"
|
|
2151
|
+
"projects",
|
|
2196
2152
|
"get.js"
|
|
2197
2153
|
]
|
|
2198
2154
|
},
|
|
2199
|
-
"
|
|
2155
|
+
"projects:list": {
|
|
2200
2156
|
"aliases": [],
|
|
2201
|
-
"args": {
|
|
2202
|
-
|
|
2203
|
-
"description": "Project ID",
|
|
2204
|
-
"name": "projectId",
|
|
2205
|
-
"required": true
|
|
2206
|
-
}
|
|
2207
|
-
},
|
|
2208
|
-
"description": "List project updates",
|
|
2157
|
+
"args": {},
|
|
2158
|
+
"description": "List projects in the workspace",
|
|
2209
2159
|
"examples": [
|
|
2210
|
-
"<%= config.bin %>
|
|
2211
|
-
"<%= config.bin %>
|
|
2160
|
+
"<%= config.bin %> projects list",
|
|
2161
|
+
"<%= config.bin %> projects list --format table",
|
|
2162
|
+
"<%= config.bin %> projects list --team ENG",
|
|
2163
|
+
"<%= config.bin %> projects list --state started"
|
|
2212
2164
|
],
|
|
2213
2165
|
"flags": {
|
|
2214
2166
|
"format": {
|
|
@@ -2225,10 +2177,26 @@
|
|
|
2225
2177
|
],
|
|
2226
2178
|
"type": "option"
|
|
2227
2179
|
},
|
|
2180
|
+
"team": {
|
|
2181
|
+
"char": "t",
|
|
2182
|
+
"description": "Filter by team key (e.g., ENG)",
|
|
2183
|
+
"name": "team",
|
|
2184
|
+
"hasDynamicHelp": false,
|
|
2185
|
+
"multiple": false,
|
|
2186
|
+
"type": "option"
|
|
2187
|
+
},
|
|
2188
|
+
"state": {
|
|
2189
|
+
"char": "s",
|
|
2190
|
+
"description": "Filter by state (planned, started, paused, completed, canceled)",
|
|
2191
|
+
"name": "state",
|
|
2192
|
+
"hasDynamicHelp": false,
|
|
2193
|
+
"multiple": false,
|
|
2194
|
+
"type": "option"
|
|
2195
|
+
},
|
|
2228
2196
|
"first": {
|
|
2229
|
-
"description": "Number of
|
|
2197
|
+
"description": "Number of projects to fetch (default: 50)",
|
|
2230
2198
|
"name": "first",
|
|
2231
|
-
"default":
|
|
2199
|
+
"default": 50,
|
|
2232
2200
|
"hasDynamicHelp": false,
|
|
2233
2201
|
"multiple": false,
|
|
2234
2202
|
"type": "option"
|
|
@@ -2243,7 +2211,7 @@
|
|
|
2243
2211
|
},
|
|
2244
2212
|
"hasDynamicHelp": false,
|
|
2245
2213
|
"hiddenAliases": [],
|
|
2246
|
-
"id": "
|
|
2214
|
+
"id": "projects:list",
|
|
2247
2215
|
"pluginAlias": "linear-cli-agents",
|
|
2248
2216
|
"pluginName": "linear-cli-agents",
|
|
2249
2217
|
"pluginType": "core",
|
|
@@ -2253,23 +2221,24 @@
|
|
|
2253
2221
|
"relativePath": [
|
|
2254
2222
|
"dist",
|
|
2255
2223
|
"commands",
|
|
2256
|
-
"
|
|
2224
|
+
"projects",
|
|
2257
2225
|
"list.js"
|
|
2258
2226
|
]
|
|
2259
2227
|
},
|
|
2260
|
-
"
|
|
2228
|
+
"projects:update": {
|
|
2261
2229
|
"aliases": [],
|
|
2262
2230
|
"args": {
|
|
2263
2231
|
"id": {
|
|
2264
|
-
"description": "Project
|
|
2232
|
+
"description": "Project ID",
|
|
2265
2233
|
"name": "id",
|
|
2266
2234
|
"required": true
|
|
2267
2235
|
}
|
|
2268
2236
|
},
|
|
2269
|
-
"description": "Update a project
|
|
2237
|
+
"description": "Update a project",
|
|
2270
2238
|
"examples": [
|
|
2271
|
-
"<%= config.bin %>
|
|
2272
|
-
"<%= config.bin %>
|
|
2239
|
+
"<%= config.bin %> projects update PROJECT_ID --name \"Updated Name\"",
|
|
2240
|
+
"<%= config.bin %> projects update PROJECT_ID --state completed",
|
|
2241
|
+
"<%= config.bin %> projects update PROJECT_ID --target-date 2024-06-30"
|
|
2273
2242
|
],
|
|
2274
2243
|
"flags": {
|
|
2275
2244
|
"format": {
|
|
@@ -2286,31 +2255,62 @@
|
|
|
2286
2255
|
],
|
|
2287
2256
|
"type": "option"
|
|
2288
2257
|
},
|
|
2289
|
-
"
|
|
2290
|
-
"char": "
|
|
2291
|
-
"description": "
|
|
2292
|
-
"name": "
|
|
2258
|
+
"name": {
|
|
2259
|
+
"char": "n",
|
|
2260
|
+
"description": "Project name",
|
|
2261
|
+
"name": "name",
|
|
2293
2262
|
"hasDynamicHelp": false,
|
|
2294
2263
|
"multiple": false,
|
|
2295
2264
|
"type": "option"
|
|
2296
2265
|
},
|
|
2297
|
-
"
|
|
2298
|
-
"char": "
|
|
2299
|
-
"description": "Project
|
|
2300
|
-
"name": "
|
|
2266
|
+
"description": {
|
|
2267
|
+
"char": "d",
|
|
2268
|
+
"description": "Project description",
|
|
2269
|
+
"name": "description",
|
|
2270
|
+
"hasDynamicHelp": false,
|
|
2271
|
+
"multiple": false,
|
|
2272
|
+
"type": "option"
|
|
2273
|
+
},
|
|
2274
|
+
"state": {
|
|
2275
|
+
"char": "s",
|
|
2276
|
+
"description": "Project state",
|
|
2277
|
+
"name": "state",
|
|
2301
2278
|
"hasDynamicHelp": false,
|
|
2302
2279
|
"multiple": false,
|
|
2303
2280
|
"options": [
|
|
2304
|
-
"
|
|
2305
|
-
"
|
|
2306
|
-
"
|
|
2281
|
+
"planned",
|
|
2282
|
+
"started",
|
|
2283
|
+
"paused",
|
|
2284
|
+
"completed",
|
|
2285
|
+
"canceled"
|
|
2307
2286
|
],
|
|
2308
2287
|
"type": "option"
|
|
2288
|
+
},
|
|
2289
|
+
"lead-id": {
|
|
2290
|
+
"description": "Lead user ID",
|
|
2291
|
+
"name": "lead-id",
|
|
2292
|
+
"hasDynamicHelp": false,
|
|
2293
|
+
"multiple": false,
|
|
2294
|
+
"type": "option"
|
|
2295
|
+
},
|
|
2296
|
+
"start-date": {
|
|
2297
|
+
"description": "Start date (YYYY-MM-DD)",
|
|
2298
|
+
"name": "start-date",
|
|
2299
|
+
"hasDynamicHelp": false,
|
|
2300
|
+
"multiple": false,
|
|
2301
|
+
"type": "option"
|
|
2302
|
+
},
|
|
2303
|
+
"target-date": {
|
|
2304
|
+
"description": "Target date (YYYY-MM-DD)",
|
|
2305
|
+
"name": "target-date",
|
|
2306
|
+
"hasDynamicHelp": false,
|
|
2307
|
+
"multiple": false,
|
|
2308
|
+
"type": "option"
|
|
2309
2309
|
}
|
|
2310
2310
|
},
|
|
2311
2311
|
"hasDynamicHelp": false,
|
|
2312
2312
|
"hiddenAliases": [],
|
|
2313
|
-
"id": "
|
|
2313
|
+
"id": "projects:update",
|
|
2314
2314
|
"pluginAlias": "linear-cli-agents",
|
|
2315
2315
|
"pluginName": "linear-cli-agents",
|
|
2316
2316
|
"pluginType": "core",
|
|
@@ -2320,7 +2320,7 @@
|
|
|
2320
2320
|
"relativePath": [
|
|
2321
2321
|
"dist",
|
|
2322
2322
|
"commands",
|
|
2323
|
-
"
|
|
2323
|
+
"projects",
|
|
2324
2324
|
"update.js"
|
|
2325
2325
|
]
|
|
2326
2326
|
},
|
|
@@ -2545,62 +2545,6 @@
|
|
|
2545
2545
|
"list.js"
|
|
2546
2546
|
]
|
|
2547
2547
|
},
|
|
2548
|
-
"teams:list": {
|
|
2549
|
-
"aliases": [],
|
|
2550
|
-
"args": {},
|
|
2551
|
-
"description": "List teams in the workspace",
|
|
2552
|
-
"examples": [
|
|
2553
|
-
"<%= config.bin %> teams list",
|
|
2554
|
-
"<%= config.bin %> teams list --format table",
|
|
2555
|
-
"<%= config.bin %> teams list --first 10"
|
|
2556
|
-
],
|
|
2557
|
-
"flags": {
|
|
2558
|
-
"format": {
|
|
2559
|
-
"char": "F",
|
|
2560
|
-
"description": "Output format",
|
|
2561
|
-
"name": "format",
|
|
2562
|
-
"default": "json",
|
|
2563
|
-
"hasDynamicHelp": false,
|
|
2564
|
-
"multiple": false,
|
|
2565
|
-
"options": [
|
|
2566
|
-
"json",
|
|
2567
|
-
"table",
|
|
2568
|
-
"plain"
|
|
2569
|
-
],
|
|
2570
|
-
"type": "option"
|
|
2571
|
-
},
|
|
2572
|
-
"first": {
|
|
2573
|
-
"description": "Number of teams to fetch (default: 50)",
|
|
2574
|
-
"name": "first",
|
|
2575
|
-
"default": 50,
|
|
2576
|
-
"hasDynamicHelp": false,
|
|
2577
|
-
"multiple": false,
|
|
2578
|
-
"type": "option"
|
|
2579
|
-
},
|
|
2580
|
-
"after": {
|
|
2581
|
-
"description": "Cursor for pagination",
|
|
2582
|
-
"name": "after",
|
|
2583
|
-
"hasDynamicHelp": false,
|
|
2584
|
-
"multiple": false,
|
|
2585
|
-
"type": "option"
|
|
2586
|
-
}
|
|
2587
|
-
},
|
|
2588
|
-
"hasDynamicHelp": false,
|
|
2589
|
-
"hiddenAliases": [],
|
|
2590
|
-
"id": "teams:list",
|
|
2591
|
-
"pluginAlias": "linear-cli-agents",
|
|
2592
|
-
"pluginName": "linear-cli-agents",
|
|
2593
|
-
"pluginType": "core",
|
|
2594
|
-
"strict": true,
|
|
2595
|
-
"enableJsonFlag": false,
|
|
2596
|
-
"isESM": true,
|
|
2597
|
-
"relativePath": [
|
|
2598
|
-
"dist",
|
|
2599
|
-
"commands",
|
|
2600
|
-
"teams",
|
|
2601
|
-
"list.js"
|
|
2602
|
-
]
|
|
2603
|
-
},
|
|
2604
2548
|
"templates:create": {
|
|
2605
2549
|
"aliases": [],
|
|
2606
2550
|
"args": {},
|
|
@@ -2865,6 +2809,62 @@
|
|
|
2865
2809
|
"update.js"
|
|
2866
2810
|
]
|
|
2867
2811
|
},
|
|
2812
|
+
"teams:list": {
|
|
2813
|
+
"aliases": [],
|
|
2814
|
+
"args": {},
|
|
2815
|
+
"description": "List teams in the workspace",
|
|
2816
|
+
"examples": [
|
|
2817
|
+
"<%= config.bin %> teams list",
|
|
2818
|
+
"<%= config.bin %> teams list --format table",
|
|
2819
|
+
"<%= config.bin %> teams list --first 10"
|
|
2820
|
+
],
|
|
2821
|
+
"flags": {
|
|
2822
|
+
"format": {
|
|
2823
|
+
"char": "F",
|
|
2824
|
+
"description": "Output format",
|
|
2825
|
+
"name": "format",
|
|
2826
|
+
"default": "json",
|
|
2827
|
+
"hasDynamicHelp": false,
|
|
2828
|
+
"multiple": false,
|
|
2829
|
+
"options": [
|
|
2830
|
+
"json",
|
|
2831
|
+
"table",
|
|
2832
|
+
"plain"
|
|
2833
|
+
],
|
|
2834
|
+
"type": "option"
|
|
2835
|
+
},
|
|
2836
|
+
"first": {
|
|
2837
|
+
"description": "Number of teams to fetch (default: 50)",
|
|
2838
|
+
"name": "first",
|
|
2839
|
+
"default": 50,
|
|
2840
|
+
"hasDynamicHelp": false,
|
|
2841
|
+
"multiple": false,
|
|
2842
|
+
"type": "option"
|
|
2843
|
+
},
|
|
2844
|
+
"after": {
|
|
2845
|
+
"description": "Cursor for pagination",
|
|
2846
|
+
"name": "after",
|
|
2847
|
+
"hasDynamicHelp": false,
|
|
2848
|
+
"multiple": false,
|
|
2849
|
+
"type": "option"
|
|
2850
|
+
}
|
|
2851
|
+
},
|
|
2852
|
+
"hasDynamicHelp": false,
|
|
2853
|
+
"hiddenAliases": [],
|
|
2854
|
+
"id": "teams:list",
|
|
2855
|
+
"pluginAlias": "linear-cli-agents",
|
|
2856
|
+
"pluginName": "linear-cli-agents",
|
|
2857
|
+
"pluginType": "core",
|
|
2858
|
+
"strict": true,
|
|
2859
|
+
"enableJsonFlag": false,
|
|
2860
|
+
"isESM": true,
|
|
2861
|
+
"relativePath": [
|
|
2862
|
+
"dist",
|
|
2863
|
+
"commands",
|
|
2864
|
+
"teams",
|
|
2865
|
+
"list.js"
|
|
2866
|
+
]
|
|
2867
|
+
},
|
|
2868
2868
|
"users:get": {
|
|
2869
2869
|
"aliases": [],
|
|
2870
2870
|
"args": {
|
|
@@ -2975,5 +2975,5 @@
|
|
|
2975
2975
|
]
|
|
2976
2976
|
}
|
|
2977
2977
|
},
|
|
2978
|
-
"version": "0.4.
|
|
2978
|
+
"version": "0.4.1"
|
|
2979
2979
|
}
|