@simplysf/simply-gitlab 0.6.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/oclif.manifest.json +426 -426
- package/package.json +4 -4
package/oclif.manifest.json
CHANGED
|
@@ -1546,13 +1546,16 @@
|
|
|
1546
1546
|
"view:file:gitlab"
|
|
1547
1547
|
]
|
|
1548
1548
|
},
|
|
1549
|
-
"gitlab:
|
|
1549
|
+
"gitlab:project:create": {
|
|
1550
1550
|
"aliases": [],
|
|
1551
1551
|
"args": {},
|
|
1552
|
-
"description": "
|
|
1552
|
+
"description": "Creates the project in --namespace, or in the namespace of the token owner when none is given. Give it --name or --path; GitLab derives whichever one is missing.\n\n--template names one of the built-in templates GitLab ships, such as express or rails. To create from a custom template instead, add --custom-template for one the instance administrator registered, --template-group for one in a group, or use --template-project to name the template project itself by id or path — which GitLab prefers, because a name can be ambiguous. Add --template-group to --template-project when the template belongs to a group rather than the instance. Custom templates need a Premium or Ultimate instance.\n\nA template is applied asynchronously: this command returns as soon as the project record exists, with an import status of \"scheduled\", and the files arrive a few seconds later. Check \"project view\" until its import_status reads \"finished\" before writing to the repository. --dry-run prints the exact request body; a namespace or template given as a path is still looked up, so the printed ids are the ones that would be sent.",
|
|
1553
1553
|
"examples": [
|
|
1554
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1555
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1554
|
+
"<%= config.bin %> <%= command.id %> --name new-service --namespace platform/apps",
|
|
1555
|
+
"<%= config.bin %> <%= command.id %> --name new-service --namespace platform/apps --template express --visibility internal",
|
|
1556
|
+
"<%= config.bin %> <%= command.id %> --name new-service --namespace platform/apps --template service-skeleton --template-group platform/templates",
|
|
1557
|
+
"<%= config.bin %> <%= command.id %> --path new-service --template-project platform/templates/service-skeleton --dry-run",
|
|
1558
|
+
"<%= config.bin %> <%= command.id %> --name new-service --template-project platform/templates/service-skeleton --template-group platform/templates"
|
|
1556
1559
|
],
|
|
1557
1560
|
"flags": {
|
|
1558
1561
|
"json": {
|
|
@@ -1590,92 +1593,96 @@
|
|
|
1590
1593
|
"multiple": false,
|
|
1591
1594
|
"type": "option"
|
|
1592
1595
|
},
|
|
1593
|
-
"project": {
|
|
1594
|
-
"char": "p",
|
|
1595
|
-
"env": "GITLAB_PROJECT",
|
|
1596
|
-
"name": "project",
|
|
1597
|
-
"required": true,
|
|
1598
|
-
"summary": "Project id, or its full path such as group/subgroup/project.",
|
|
1599
|
-
"hasDynamicHelp": false,
|
|
1600
|
-
"multiple": false,
|
|
1601
|
-
"type": "option"
|
|
1602
|
-
},
|
|
1603
1596
|
"dry-run": {
|
|
1604
1597
|
"name": "dry-run",
|
|
1605
1598
|
"summary": "Print the request that would be sent and exit without sending it.",
|
|
1606
1599
|
"allowNo": false,
|
|
1607
1600
|
"type": "boolean"
|
|
1608
1601
|
},
|
|
1609
|
-
"
|
|
1610
|
-
"name": "
|
|
1611
|
-
"summary": "
|
|
1602
|
+
"name": {
|
|
1603
|
+
"name": "name",
|
|
1604
|
+
"summary": "Project name. The path is derived from it when --path is not given.",
|
|
1612
1605
|
"hasDynamicHelp": false,
|
|
1613
1606
|
"multiple": false,
|
|
1614
1607
|
"type": "option"
|
|
1615
1608
|
},
|
|
1616
|
-
"
|
|
1617
|
-
"name": "
|
|
1618
|
-
"summary": "
|
|
1609
|
+
"path": {
|
|
1610
|
+
"name": "path",
|
|
1611
|
+
"summary": "Repository path, the URL slug. The name is derived from it when --name is not given.",
|
|
1619
1612
|
"hasDynamicHelp": false,
|
|
1620
1613
|
"multiple": false,
|
|
1621
1614
|
"type": "option"
|
|
1622
1615
|
},
|
|
1623
|
-
"
|
|
1624
|
-
"
|
|
1625
|
-
"
|
|
1616
|
+
"namespace": {
|
|
1617
|
+
"description": "Defaults to the namespace of the token owner.",
|
|
1618
|
+
"name": "namespace",
|
|
1619
|
+
"summary": "Group or user namespace to create the project in, by id or full path.",
|
|
1626
1620
|
"hasDynamicHelp": false,
|
|
1627
1621
|
"multiple": false,
|
|
1628
1622
|
"type": "option"
|
|
1629
1623
|
},
|
|
1630
1624
|
"description": {
|
|
1631
1625
|
"name": "description",
|
|
1632
|
-
"summary": "
|
|
1626
|
+
"summary": "Project description.",
|
|
1633
1627
|
"hasDynamicHelp": false,
|
|
1634
1628
|
"multiple": false,
|
|
1635
1629
|
"type": "option"
|
|
1636
1630
|
},
|
|
1637
|
-
"
|
|
1638
|
-
"name": "
|
|
1639
|
-
"summary": "
|
|
1640
|
-
"
|
|
1641
|
-
"
|
|
1631
|
+
"visibility": {
|
|
1632
|
+
"name": "visibility",
|
|
1633
|
+
"summary": "Who can see the project.",
|
|
1634
|
+
"hasDynamicHelp": false,
|
|
1635
|
+
"multiple": false,
|
|
1636
|
+
"options": [
|
|
1637
|
+
"private",
|
|
1638
|
+
"internal",
|
|
1639
|
+
"public"
|
|
1640
|
+
],
|
|
1641
|
+
"type": "option"
|
|
1642
1642
|
},
|
|
1643
|
-
"
|
|
1644
|
-
"name": "
|
|
1645
|
-
"summary": "
|
|
1646
|
-
"
|
|
1647
|
-
"
|
|
1643
|
+
"default-branch": {
|
|
1644
|
+
"name": "default-branch",
|
|
1645
|
+
"summary": "Name of the default branch.",
|
|
1646
|
+
"hasDynamicHelp": false,
|
|
1647
|
+
"multiple": false,
|
|
1648
|
+
"type": "option"
|
|
1648
1649
|
},
|
|
1649
|
-
"
|
|
1650
|
-
"name": "
|
|
1651
|
-
"summary": "
|
|
1650
|
+
"initialize-with-readme": {
|
|
1651
|
+
"name": "initialize-with-readme",
|
|
1652
|
+
"summary": "Create a first commit holding a README, so the repository is not empty.",
|
|
1652
1653
|
"allowNo": false,
|
|
1653
1654
|
"type": "boolean"
|
|
1654
1655
|
},
|
|
1655
|
-
"
|
|
1656
|
-
"name": "
|
|
1657
|
-
"summary": "
|
|
1656
|
+
"topics": {
|
|
1657
|
+
"name": "topics",
|
|
1658
|
+
"summary": "Comma-separated topics to label the project with.",
|
|
1658
1659
|
"hasDynamicHelp": false,
|
|
1659
|
-
"multiple":
|
|
1660
|
+
"multiple": false,
|
|
1660
1661
|
"type": "option"
|
|
1661
1662
|
},
|
|
1662
|
-
"
|
|
1663
|
-
"name": "
|
|
1664
|
-
"summary": "
|
|
1663
|
+
"template": {
|
|
1664
|
+
"name": "template",
|
|
1665
|
+
"summary": "Template to create from: a built-in name, or with --custom-template or --template-group a custom one.",
|
|
1665
1666
|
"hasDynamicHelp": false,
|
|
1666
|
-
"multiple":
|
|
1667
|
+
"multiple": false,
|
|
1667
1668
|
"type": "option"
|
|
1668
1669
|
},
|
|
1669
|
-
"
|
|
1670
|
-
"name": "
|
|
1671
|
-
"summary": "
|
|
1670
|
+
"custom-template": {
|
|
1671
|
+
"name": "custom-template",
|
|
1672
|
+
"summary": "Look --template up among the instance's custom project templates rather than the built-in ones.",
|
|
1673
|
+
"allowNo": false,
|
|
1674
|
+
"type": "boolean"
|
|
1675
|
+
},
|
|
1676
|
+
"template-group": {
|
|
1677
|
+
"name": "template-group",
|
|
1678
|
+
"summary": "Group whose custom project templates --template or --template-project names, by id or full path.",
|
|
1672
1679
|
"hasDynamicHelp": false,
|
|
1673
1680
|
"multiple": false,
|
|
1674
1681
|
"type": "option"
|
|
1675
1682
|
},
|
|
1676
|
-
"
|
|
1677
|
-
"name": "
|
|
1678
|
-
"summary": "
|
|
1683
|
+
"template-project": {
|
|
1684
|
+
"name": "template-project",
|
|
1685
|
+
"summary": "Custom template project to create from, by id or full path. Cannot be combined with --template.",
|
|
1679
1686
|
"hasDynamicHelp": false,
|
|
1680
1687
|
"multiple": false,
|
|
1681
1688
|
"type": "option"
|
|
@@ -1700,12 +1707,12 @@
|
|
|
1700
1707
|
},
|
|
1701
1708
|
"hasDynamicHelp": false,
|
|
1702
1709
|
"hiddenAliases": [],
|
|
1703
|
-
"id": "gitlab:
|
|
1710
|
+
"id": "gitlab:project:create",
|
|
1704
1711
|
"pluginAlias": "@simplysf/simply-gitlab",
|
|
1705
1712
|
"pluginName": "@simplysf/simply-gitlab",
|
|
1706
1713
|
"pluginType": "core",
|
|
1707
1714
|
"strict": true,
|
|
1708
|
-
"summary": "
|
|
1715
|
+
"summary": "Create a project, blank or from a template.",
|
|
1709
1716
|
"enableJsonFlag": true,
|
|
1710
1717
|
"isWrite": true,
|
|
1711
1718
|
"isESM": true,
|
|
@@ -1713,27 +1720,27 @@
|
|
|
1713
1720
|
"lib",
|
|
1714
1721
|
"commands",
|
|
1715
1722
|
"gitlab",
|
|
1716
|
-
"
|
|
1723
|
+
"project",
|
|
1717
1724
|
"create.js"
|
|
1718
1725
|
],
|
|
1719
1726
|
"aliasPermutations": [],
|
|
1720
1727
|
"permutations": [
|
|
1721
|
-
"gitlab:
|
|
1722
|
-
"
|
|
1723
|
-
"
|
|
1724
|
-
"gitlab:create:
|
|
1725
|
-
"create:gitlab:
|
|
1726
|
-
"create:
|
|
1728
|
+
"gitlab:project:create",
|
|
1729
|
+
"project:gitlab:create",
|
|
1730
|
+
"project:create:gitlab",
|
|
1731
|
+
"gitlab:create:project",
|
|
1732
|
+
"create:gitlab:project",
|
|
1733
|
+
"create:project:gitlab"
|
|
1727
1734
|
]
|
|
1728
1735
|
},
|
|
1729
|
-
"gitlab:
|
|
1736
|
+
"gitlab:project:list": {
|
|
1730
1737
|
"aliases": [],
|
|
1731
1738
|
"args": {},
|
|
1732
|
-
"description": "
|
|
1739
|
+
"description": "Without --search this lists every project the token can reach, newest activity first, which on a large instance is not a useful answer — narrow it with --search or --membership. Use --simple for a much smaller payload when you only need ids and paths.",
|
|
1733
1740
|
"examples": [
|
|
1734
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1735
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1736
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1741
|
+
"<%= config.bin %> <%= command.id %> --membership",
|
|
1742
|
+
"<%= config.bin %> <%= command.id %> --search platform --limit 10",
|
|
1743
|
+
"<%= config.bin %> <%= command.id %> --search platform --simple --json"
|
|
1737
1744
|
],
|
|
1738
1745
|
"flags": {
|
|
1739
1746
|
"json": {
|
|
@@ -1771,90 +1778,48 @@
|
|
|
1771
1778
|
"multiple": false,
|
|
1772
1779
|
"type": "option"
|
|
1773
1780
|
},
|
|
1774
|
-
"project": {
|
|
1775
|
-
"char": "p",
|
|
1776
|
-
"env": "GITLAB_PROJECT",
|
|
1777
|
-
"name": "project",
|
|
1778
|
-
"required": true,
|
|
1779
|
-
"summary": "Project id, or its full path such as group/subgroup/project.",
|
|
1780
|
-
"hasDynamicHelp": false,
|
|
1781
|
-
"multiple": false,
|
|
1782
|
-
"type": "option"
|
|
1783
|
-
},
|
|
1784
1781
|
"limit": {
|
|
1785
1782
|
"name": "limit",
|
|
1786
|
-
"summary": "Maximum number of
|
|
1783
|
+
"summary": "Maximum number of projects to return across all pages.",
|
|
1787
1784
|
"default": 20,
|
|
1788
1785
|
"hasDynamicHelp": false,
|
|
1789
1786
|
"multiple": false,
|
|
1790
1787
|
"type": "option"
|
|
1791
1788
|
},
|
|
1792
|
-
"
|
|
1793
|
-
"name": "
|
|
1794
|
-
"summary": "
|
|
1795
|
-
"default": "opened",
|
|
1796
|
-
"hasDynamicHelp": false,
|
|
1797
|
-
"multiple": false,
|
|
1798
|
-
"options": [
|
|
1799
|
-
"opened",
|
|
1800
|
-
"closed",
|
|
1801
|
-
"locked",
|
|
1802
|
-
"merged",
|
|
1803
|
-
"all"
|
|
1804
|
-
],
|
|
1805
|
-
"type": "option"
|
|
1806
|
-
},
|
|
1807
|
-
"source-branch": {
|
|
1808
|
-
"name": "source-branch",
|
|
1809
|
-
"summary": "Only merge requests from this source branch.",
|
|
1810
|
-
"hasDynamicHelp": false,
|
|
1811
|
-
"multiple": false,
|
|
1812
|
-
"type": "option"
|
|
1813
|
-
},
|
|
1814
|
-
"target-branch": {
|
|
1815
|
-
"name": "target-branch",
|
|
1816
|
-
"summary": "Only merge requests into this target branch.",
|
|
1817
|
-
"hasDynamicHelp": false,
|
|
1818
|
-
"multiple": false,
|
|
1819
|
-
"type": "option"
|
|
1820
|
-
},
|
|
1821
|
-
"author-username": {
|
|
1822
|
-
"name": "author-username",
|
|
1823
|
-
"summary": "Only merge requests opened by this username.",
|
|
1789
|
+
"search": {
|
|
1790
|
+
"name": "search",
|
|
1791
|
+
"summary": "Match against the project name and path.",
|
|
1824
1792
|
"hasDynamicHelp": false,
|
|
1825
1793
|
"multiple": false,
|
|
1826
1794
|
"type": "option"
|
|
1827
1795
|
},
|
|
1828
|
-
"
|
|
1829
|
-
"name": "
|
|
1830
|
-
"summary": "Only
|
|
1831
|
-
"
|
|
1832
|
-
"
|
|
1833
|
-
"type": "option"
|
|
1796
|
+
"membership": {
|
|
1797
|
+
"name": "membership",
|
|
1798
|
+
"summary": "Only projects you are a member of.",
|
|
1799
|
+
"allowNo": false,
|
|
1800
|
+
"type": "boolean"
|
|
1834
1801
|
},
|
|
1835
|
-
"
|
|
1836
|
-
"name": "
|
|
1837
|
-
"summary": "
|
|
1838
|
-
"
|
|
1839
|
-
"
|
|
1840
|
-
"type": "option"
|
|
1802
|
+
"owned": {
|
|
1803
|
+
"name": "owned",
|
|
1804
|
+
"summary": "Only projects you own.",
|
|
1805
|
+
"allowNo": false,
|
|
1806
|
+
"type": "boolean"
|
|
1841
1807
|
},
|
|
1842
|
-
"
|
|
1843
|
-
"name": "
|
|
1844
|
-
"summary": "
|
|
1845
|
-
"
|
|
1846
|
-
"
|
|
1847
|
-
"type": "option"
|
|
1808
|
+
"simple": {
|
|
1809
|
+
"name": "simple",
|
|
1810
|
+
"summary": "Return only the core fields, for a much smaller payload.",
|
|
1811
|
+
"allowNo": false,
|
|
1812
|
+
"type": "boolean"
|
|
1848
1813
|
}
|
|
1849
1814
|
},
|
|
1850
1815
|
"hasDynamicHelp": false,
|
|
1851
1816
|
"hiddenAliases": [],
|
|
1852
|
-
"id": "gitlab:
|
|
1817
|
+
"id": "gitlab:project:list",
|
|
1853
1818
|
"pluginAlias": "@simplysf/simply-gitlab",
|
|
1854
1819
|
"pluginName": "@simplysf/simply-gitlab",
|
|
1855
1820
|
"pluginType": "core",
|
|
1856
1821
|
"strict": true,
|
|
1857
|
-
"summary": "List
|
|
1822
|
+
"summary": "List projects you can see.",
|
|
1858
1823
|
"enableJsonFlag": true,
|
|
1859
1824
|
"isWrite": false,
|
|
1860
1825
|
"isESM": true,
|
|
@@ -1862,27 +1827,26 @@
|
|
|
1862
1827
|
"lib",
|
|
1863
1828
|
"commands",
|
|
1864
1829
|
"gitlab",
|
|
1865
|
-
"
|
|
1830
|
+
"project",
|
|
1866
1831
|
"list.js"
|
|
1867
1832
|
],
|
|
1868
1833
|
"aliasPermutations": [],
|
|
1869
1834
|
"permutations": [
|
|
1870
|
-
"gitlab:
|
|
1871
|
-
"
|
|
1872
|
-
"
|
|
1873
|
-
"gitlab:list:
|
|
1874
|
-
"list:gitlab:
|
|
1875
|
-
"list:
|
|
1835
|
+
"gitlab:project:list",
|
|
1836
|
+
"project:gitlab:list",
|
|
1837
|
+
"project:list:gitlab",
|
|
1838
|
+
"gitlab:list:project",
|
|
1839
|
+
"list:gitlab:project",
|
|
1840
|
+
"list:project:gitlab"
|
|
1876
1841
|
]
|
|
1877
1842
|
},
|
|
1878
|
-
"gitlab:
|
|
1843
|
+
"gitlab:project:view": {
|
|
1879
1844
|
"aliases": [],
|
|
1880
1845
|
"args": {},
|
|
1881
|
-
"description": "
|
|
1846
|
+
"description": "Accepts either the numeric id or the full path. Use --json for the complete, unmodified API payload, which carries far more than the summary below — permissions, statistics, and every feature toggle on the project.",
|
|
1882
1847
|
"examples": [
|
|
1883
|
-
"<%= config.bin %> <%= command.id %> --project group/project
|
|
1884
|
-
"<%= config.bin %> <%= command.id %> --project
|
|
1885
|
-
"<%= config.bin %> <%= command.id %> --project group/project --mr 42 --labels backend,urgent --dry-run"
|
|
1848
|
+
"<%= config.bin %> <%= command.id %> --project group/project",
|
|
1849
|
+
"<%= config.bin %> <%= command.id %> --project 1234 --json"
|
|
1886
1850
|
],
|
|
1887
1851
|
"flags": {
|
|
1888
1852
|
"json": {
|
|
@@ -1929,146 +1893,43 @@
|
|
|
1929
1893
|
"hasDynamicHelp": false,
|
|
1930
1894
|
"multiple": false,
|
|
1931
1895
|
"type": "option"
|
|
1932
|
-
},
|
|
1933
|
-
"dry-run": {
|
|
1934
|
-
"name": "dry-run",
|
|
1935
|
-
"summary": "Print the request that would be sent and exit without sending it.",
|
|
1936
|
-
"allowNo": false,
|
|
1937
|
-
"type": "boolean"
|
|
1938
|
-
},
|
|
1939
|
-
"mr": {
|
|
1940
|
-
"name": "mr",
|
|
1941
|
-
"required": true,
|
|
1942
|
-
"summary": "Merge request iid.",
|
|
1943
|
-
"hasDynamicHelp": false,
|
|
1944
|
-
"multiple": false,
|
|
1945
|
-
"type": "option"
|
|
1946
|
-
},
|
|
1947
|
-
"title": {
|
|
1948
|
-
"name": "title",
|
|
1949
|
-
"summary": "New title.",
|
|
1950
|
-
"hasDynamicHelp": false,
|
|
1951
|
-
"multiple": false,
|
|
1952
|
-
"type": "option"
|
|
1953
|
-
},
|
|
1954
|
-
"description": {
|
|
1955
|
-
"name": "description",
|
|
1956
|
-
"summary": "New description, as Markdown.",
|
|
1957
|
-
"hasDynamicHelp": false,
|
|
1958
|
-
"multiple": false,
|
|
1959
|
-
"type": "option"
|
|
1960
|
-
},
|
|
1961
|
-
"target-branch": {
|
|
1962
|
-
"name": "target-branch",
|
|
1963
|
-
"summary": "New target branch.",
|
|
1964
|
-
"hasDynamicHelp": false,
|
|
1965
|
-
"multiple": false,
|
|
1966
|
-
"type": "option"
|
|
1967
|
-
},
|
|
1968
|
-
"state": {
|
|
1969
|
-
"name": "state",
|
|
1970
|
-
"summary": "Close or reopen the merge request.",
|
|
1971
|
-
"hasDynamicHelp": false,
|
|
1972
|
-
"multiple": false,
|
|
1973
|
-
"options": [
|
|
1974
|
-
"close",
|
|
1975
|
-
"reopen"
|
|
1976
|
-
],
|
|
1977
|
-
"type": "option"
|
|
1978
|
-
},
|
|
1979
|
-
"squash": {
|
|
1980
|
-
"name": "squash",
|
|
1981
|
-
"summary": "Squash the commits when it merges.",
|
|
1982
|
-
"allowNo": true,
|
|
1983
|
-
"type": "boolean"
|
|
1984
|
-
},
|
|
1985
|
-
"remove-source-branch": {
|
|
1986
|
-
"name": "remove-source-branch",
|
|
1987
|
-
"summary": "Delete the source branch on merge.",
|
|
1988
|
-
"allowNo": true,
|
|
1989
|
-
"type": "boolean"
|
|
1990
|
-
},
|
|
1991
|
-
"assignee-id": {
|
|
1992
|
-
"name": "assignee-id",
|
|
1993
|
-
"summary": "User id to assign, replacing the set. Repeatable.",
|
|
1994
|
-
"hasDynamicHelp": false,
|
|
1995
|
-
"multiple": true,
|
|
1996
|
-
"type": "option"
|
|
1997
|
-
},
|
|
1998
|
-
"reviewer-id": {
|
|
1999
|
-
"name": "reviewer-id",
|
|
2000
|
-
"summary": "User id to review, replacing the set. Repeatable.",
|
|
2001
|
-
"hasDynamicHelp": false,
|
|
2002
|
-
"multiple": true,
|
|
2003
|
-
"type": "option"
|
|
2004
|
-
},
|
|
2005
|
-
"labels": {
|
|
2006
|
-
"name": "labels",
|
|
2007
|
-
"summary": "Comma-separated labels, replacing the existing set.",
|
|
2008
|
-
"hasDynamicHelp": false,
|
|
2009
|
-
"multiple": false,
|
|
2010
|
-
"type": "option"
|
|
2011
|
-
},
|
|
2012
|
-
"milestone-id": {
|
|
2013
|
-
"name": "milestone-id",
|
|
2014
|
-
"summary": "Milestone id to attach.",
|
|
2015
|
-
"hasDynamicHelp": false,
|
|
2016
|
-
"multiple": false,
|
|
2017
|
-
"type": "option"
|
|
2018
|
-
},
|
|
2019
|
-
"body": {
|
|
2020
|
-
"exclusive": [
|
|
2021
|
-
"body-file"
|
|
2022
|
-
],
|
|
2023
|
-
"name": "body",
|
|
2024
|
-
"summary": "Raw JSON request body.",
|
|
2025
|
-
"hasDynamicHelp": false,
|
|
2026
|
-
"multiple": false,
|
|
2027
|
-
"type": "option"
|
|
2028
|
-
},
|
|
2029
|
-
"body-file": {
|
|
2030
|
-
"name": "body-file",
|
|
2031
|
-
"summary": "Path to a file holding the raw JSON request body.",
|
|
2032
|
-
"hasDynamicHelp": false,
|
|
2033
|
-
"multiple": false,
|
|
2034
|
-
"type": "option"
|
|
2035
1896
|
}
|
|
2036
1897
|
},
|
|
2037
1898
|
"hasDynamicHelp": false,
|
|
2038
1899
|
"hiddenAliases": [],
|
|
2039
|
-
"id": "gitlab:
|
|
1900
|
+
"id": "gitlab:project:view",
|
|
2040
1901
|
"pluginAlias": "@simplysf/simply-gitlab",
|
|
2041
1902
|
"pluginName": "@simplysf/simply-gitlab",
|
|
2042
1903
|
"pluginType": "core",
|
|
2043
1904
|
"strict": true,
|
|
2044
|
-
"summary": "
|
|
1905
|
+
"summary": "Show one project.",
|
|
2045
1906
|
"enableJsonFlag": true,
|
|
2046
|
-
"isWrite":
|
|
1907
|
+
"isWrite": false,
|
|
2047
1908
|
"isESM": true,
|
|
2048
1909
|
"relativePath": [
|
|
2049
1910
|
"lib",
|
|
2050
1911
|
"commands",
|
|
2051
1912
|
"gitlab",
|
|
2052
|
-
"
|
|
2053
|
-
"
|
|
1913
|
+
"project",
|
|
1914
|
+
"view.js"
|
|
2054
1915
|
],
|
|
2055
1916
|
"aliasPermutations": [],
|
|
2056
1917
|
"permutations": [
|
|
2057
|
-
"gitlab:
|
|
2058
|
-
"
|
|
2059
|
-
"
|
|
2060
|
-
"gitlab:
|
|
2061
|
-
"
|
|
2062
|
-
"
|
|
1918
|
+
"gitlab:project:view",
|
|
1919
|
+
"project:gitlab:view",
|
|
1920
|
+
"project:view:gitlab",
|
|
1921
|
+
"gitlab:view:project",
|
|
1922
|
+
"view:gitlab:project",
|
|
1923
|
+
"view:project:gitlab"
|
|
2063
1924
|
]
|
|
2064
1925
|
},
|
|
2065
|
-
"gitlab:
|
|
1926
|
+
"gitlab:release:list": {
|
|
2066
1927
|
"aliases": [],
|
|
2067
1928
|
"args": {},
|
|
2068
|
-
"description": "
|
|
1929
|
+
"description": "Releases are tags with notes and assets attached, so a project can have many tags and no releases at all. Use --json for the release notes, asset links, and the commit each release points at.",
|
|
2069
1930
|
"examples": [
|
|
2070
|
-
"<%= config.bin %> <%= command.id %> --project group/project
|
|
2071
|
-
"<%= config.bin %> <%= command.id %> --project group/project --
|
|
1931
|
+
"<%= config.bin %> <%= command.id %> --project group/project",
|
|
1932
|
+
"<%= config.bin %> <%= command.id %> --project group/project --limit 5 --json"
|
|
2072
1933
|
],
|
|
2073
1934
|
"flags": {
|
|
2074
1935
|
"json": {
|
|
@@ -2116,10 +1977,10 @@
|
|
|
2116
1977
|
"multiple": false,
|
|
2117
1978
|
"type": "option"
|
|
2118
1979
|
},
|
|
2119
|
-
"
|
|
2120
|
-
"name": "
|
|
2121
|
-
"
|
|
2122
|
-
"
|
|
1980
|
+
"limit": {
|
|
1981
|
+
"name": "limit",
|
|
1982
|
+
"summary": "Maximum number of releases to return across all pages.",
|
|
1983
|
+
"default": 20,
|
|
2123
1984
|
"hasDynamicHelp": false,
|
|
2124
1985
|
"multiple": false,
|
|
2125
1986
|
"type": "option"
|
|
@@ -2127,12 +1988,12 @@
|
|
|
2127
1988
|
},
|
|
2128
1989
|
"hasDynamicHelp": false,
|
|
2129
1990
|
"hiddenAliases": [],
|
|
2130
|
-
"id": "gitlab:
|
|
1991
|
+
"id": "gitlab:release:list",
|
|
2131
1992
|
"pluginAlias": "@simplysf/simply-gitlab",
|
|
2132
1993
|
"pluginName": "@simplysf/simply-gitlab",
|
|
2133
1994
|
"pluginType": "core",
|
|
2134
1995
|
"strict": true,
|
|
2135
|
-
"summary": "
|
|
1996
|
+
"summary": "List releases for a project.",
|
|
2136
1997
|
"enableJsonFlag": true,
|
|
2137
1998
|
"isWrite": false,
|
|
2138
1999
|
"isESM": true,
|
|
@@ -2140,29 +2001,26 @@
|
|
|
2140
2001
|
"lib",
|
|
2141
2002
|
"commands",
|
|
2142
2003
|
"gitlab",
|
|
2143
|
-
"
|
|
2144
|
-
"
|
|
2004
|
+
"release",
|
|
2005
|
+
"list.js"
|
|
2145
2006
|
],
|
|
2146
2007
|
"aliasPermutations": [],
|
|
2147
2008
|
"permutations": [
|
|
2148
|
-
"gitlab:
|
|
2149
|
-
"
|
|
2150
|
-
"
|
|
2151
|
-
"gitlab:
|
|
2152
|
-
"
|
|
2153
|
-
"
|
|
2009
|
+
"gitlab:release:list",
|
|
2010
|
+
"release:gitlab:list",
|
|
2011
|
+
"release:list:gitlab",
|
|
2012
|
+
"gitlab:list:release",
|
|
2013
|
+
"list:gitlab:release",
|
|
2014
|
+
"list:release:gitlab"
|
|
2154
2015
|
]
|
|
2155
2016
|
},
|
|
2156
|
-
"gitlab:
|
|
2017
|
+
"gitlab:mr:create": {
|
|
2157
2018
|
"aliases": [],
|
|
2158
2019
|
"args": {},
|
|
2159
|
-
"description": "
|
|
2020
|
+
"description": "Both branches must already exist on the project. --draft prefixes the title with \"Draft: \", which is how GitLab itself marks a draft; there is no separate field for it.\n\nAssignees and reviewers are numeric user ids, not usernames — GitLab accepts only ids here. --body or --body-file supplies raw JSON for anything the flags do not cover, such as approval rules. Use --dry-run to see exactly what would be sent.",
|
|
2160
2021
|
"examples": [
|
|
2161
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2162
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2163
|
-
"<%= config.bin %> <%= command.id %> --name new-service --namespace platform/apps --template service-skeleton --template-group platform/templates",
|
|
2164
|
-
"<%= config.bin %> <%= command.id %> --path new-service --template-project platform/templates/service-skeleton --dry-run",
|
|
2165
|
-
"<%= config.bin %> <%= command.id %> --name new-service --template-project platform/templates/service-skeleton --template-group platform/templates"
|
|
2022
|
+
"<%= config.bin %> <%= command.id %> --project group/project --source-branch feature --target-branch main --title \"feat: the thing\"",
|
|
2023
|
+
"<%= config.bin %> <%= command.id %> --project group/project --source-branch feature --target-branch main --title wip --draft --squash"
|
|
2166
2024
|
],
|
|
2167
2025
|
"flags": {
|
|
2168
2026
|
"json": {
|
|
@@ -2200,96 +2058,92 @@
|
|
|
2200
2058
|
"multiple": false,
|
|
2201
2059
|
"type": "option"
|
|
2202
2060
|
},
|
|
2061
|
+
"project": {
|
|
2062
|
+
"char": "p",
|
|
2063
|
+
"env": "GITLAB_PROJECT",
|
|
2064
|
+
"name": "project",
|
|
2065
|
+
"required": true,
|
|
2066
|
+
"summary": "Project id, or its full path such as group/subgroup/project.",
|
|
2067
|
+
"hasDynamicHelp": false,
|
|
2068
|
+
"multiple": false,
|
|
2069
|
+
"type": "option"
|
|
2070
|
+
},
|
|
2203
2071
|
"dry-run": {
|
|
2204
2072
|
"name": "dry-run",
|
|
2205
2073
|
"summary": "Print the request that would be sent and exit without sending it.",
|
|
2206
2074
|
"allowNo": false,
|
|
2207
2075
|
"type": "boolean"
|
|
2208
2076
|
},
|
|
2209
|
-
"
|
|
2210
|
-
"name": "
|
|
2211
|
-
"summary": "
|
|
2077
|
+
"source-branch": {
|
|
2078
|
+
"name": "source-branch",
|
|
2079
|
+
"summary": "Branch holding the changes.",
|
|
2212
2080
|
"hasDynamicHelp": false,
|
|
2213
2081
|
"multiple": false,
|
|
2214
2082
|
"type": "option"
|
|
2215
2083
|
},
|
|
2216
|
-
"
|
|
2217
|
-
"name": "
|
|
2218
|
-
"summary": "
|
|
2084
|
+
"target-branch": {
|
|
2085
|
+
"name": "target-branch",
|
|
2086
|
+
"summary": "Branch the changes are proposed for.",
|
|
2219
2087
|
"hasDynamicHelp": false,
|
|
2220
2088
|
"multiple": false,
|
|
2221
2089
|
"type": "option"
|
|
2222
2090
|
},
|
|
2223
|
-
"
|
|
2224
|
-
"
|
|
2225
|
-
"
|
|
2226
|
-
"summary": "Group or user namespace to create the project in, by id or full path.",
|
|
2091
|
+
"title": {
|
|
2092
|
+
"name": "title",
|
|
2093
|
+
"summary": "Merge request title.",
|
|
2227
2094
|
"hasDynamicHelp": false,
|
|
2228
2095
|
"multiple": false,
|
|
2229
2096
|
"type": "option"
|
|
2230
2097
|
},
|
|
2231
2098
|
"description": {
|
|
2232
2099
|
"name": "description",
|
|
2233
|
-
"summary": "
|
|
2100
|
+
"summary": "Merge request description, as Markdown.",
|
|
2234
2101
|
"hasDynamicHelp": false,
|
|
2235
2102
|
"multiple": false,
|
|
2236
2103
|
"type": "option"
|
|
2237
2104
|
},
|
|
2238
|
-
"
|
|
2239
|
-
"name": "
|
|
2240
|
-
"summary": "
|
|
2241
|
-
"
|
|
2242
|
-
"
|
|
2243
|
-
"options": [
|
|
2244
|
-
"private",
|
|
2245
|
-
"internal",
|
|
2246
|
-
"public"
|
|
2247
|
-
],
|
|
2248
|
-
"type": "option"
|
|
2105
|
+
"draft": {
|
|
2106
|
+
"name": "draft",
|
|
2107
|
+
"summary": "Open it as a draft.",
|
|
2108
|
+
"allowNo": false,
|
|
2109
|
+
"type": "boolean"
|
|
2249
2110
|
},
|
|
2250
|
-
"
|
|
2251
|
-
"name": "
|
|
2252
|
-
"summary": "
|
|
2253
|
-
"
|
|
2254
|
-
"
|
|
2255
|
-
"type": "option"
|
|
2111
|
+
"squash": {
|
|
2112
|
+
"name": "squash",
|
|
2113
|
+
"summary": "Squash the commits when it merges.",
|
|
2114
|
+
"allowNo": false,
|
|
2115
|
+
"type": "boolean"
|
|
2256
2116
|
},
|
|
2257
|
-
"
|
|
2258
|
-
"name": "
|
|
2259
|
-
"summary": "
|
|
2117
|
+
"remove-source-branch": {
|
|
2118
|
+
"name": "remove-source-branch",
|
|
2119
|
+
"summary": "Delete the source branch on merge.",
|
|
2260
2120
|
"allowNo": false,
|
|
2261
2121
|
"type": "boolean"
|
|
2262
2122
|
},
|
|
2263
|
-
"
|
|
2264
|
-
"name": "
|
|
2265
|
-
"summary": "
|
|
2123
|
+
"assignee-id": {
|
|
2124
|
+
"name": "assignee-id",
|
|
2125
|
+
"summary": "User id to assign. Repeatable.",
|
|
2266
2126
|
"hasDynamicHelp": false,
|
|
2267
|
-
"multiple":
|
|
2127
|
+
"multiple": true,
|
|
2268
2128
|
"type": "option"
|
|
2269
2129
|
},
|
|
2270
|
-
"
|
|
2271
|
-
"name": "
|
|
2272
|
-
"summary": "
|
|
2130
|
+
"reviewer-id": {
|
|
2131
|
+
"name": "reviewer-id",
|
|
2132
|
+
"summary": "User id to request review from. Repeatable.",
|
|
2273
2133
|
"hasDynamicHelp": false,
|
|
2274
|
-
"multiple":
|
|
2134
|
+
"multiple": true,
|
|
2275
2135
|
"type": "option"
|
|
2276
2136
|
},
|
|
2277
|
-
"
|
|
2278
|
-
"name": "
|
|
2279
|
-
"summary": "
|
|
2280
|
-
"allowNo": false,
|
|
2281
|
-
"type": "boolean"
|
|
2282
|
-
},
|
|
2283
|
-
"template-group": {
|
|
2284
|
-
"name": "template-group",
|
|
2285
|
-
"summary": "Group whose custom project templates --template or --template-project names, by id or full path.",
|
|
2137
|
+
"labels": {
|
|
2138
|
+
"name": "labels",
|
|
2139
|
+
"summary": "Comma-separated labels to apply.",
|
|
2286
2140
|
"hasDynamicHelp": false,
|
|
2287
2141
|
"multiple": false,
|
|
2288
2142
|
"type": "option"
|
|
2289
2143
|
},
|
|
2290
|
-
"
|
|
2291
|
-
"name": "
|
|
2292
|
-
"summary": "
|
|
2144
|
+
"milestone-id": {
|
|
2145
|
+
"name": "milestone-id",
|
|
2146
|
+
"summary": "Milestone id to attach.",
|
|
2293
2147
|
"hasDynamicHelp": false,
|
|
2294
2148
|
"multiple": false,
|
|
2295
2149
|
"type": "option"
|
|
@@ -2314,12 +2168,12 @@
|
|
|
2314
2168
|
},
|
|
2315
2169
|
"hasDynamicHelp": false,
|
|
2316
2170
|
"hiddenAliases": [],
|
|
2317
|
-
"id": "gitlab:
|
|
2171
|
+
"id": "gitlab:mr:create",
|
|
2318
2172
|
"pluginAlias": "@simplysf/simply-gitlab",
|
|
2319
2173
|
"pluginName": "@simplysf/simply-gitlab",
|
|
2320
2174
|
"pluginType": "core",
|
|
2321
2175
|
"strict": true,
|
|
2322
|
-
"summary": "
|
|
2176
|
+
"summary": "Open a merge request.",
|
|
2323
2177
|
"enableJsonFlag": true,
|
|
2324
2178
|
"isWrite": true,
|
|
2325
2179
|
"isESM": true,
|
|
@@ -2327,27 +2181,27 @@
|
|
|
2327
2181
|
"lib",
|
|
2328
2182
|
"commands",
|
|
2329
2183
|
"gitlab",
|
|
2330
|
-
"
|
|
2184
|
+
"mr",
|
|
2331
2185
|
"create.js"
|
|
2332
2186
|
],
|
|
2333
2187
|
"aliasPermutations": [],
|
|
2334
2188
|
"permutations": [
|
|
2335
|
-
"gitlab:
|
|
2336
|
-
"
|
|
2337
|
-
"
|
|
2338
|
-
"gitlab:create:
|
|
2339
|
-
"create:gitlab:
|
|
2340
|
-
"create:
|
|
2189
|
+
"gitlab:mr:create",
|
|
2190
|
+
"mr:gitlab:create",
|
|
2191
|
+
"mr:create:gitlab",
|
|
2192
|
+
"gitlab:create:mr",
|
|
2193
|
+
"create:gitlab:mr",
|
|
2194
|
+
"create:mr:gitlab"
|
|
2341
2195
|
]
|
|
2342
2196
|
},
|
|
2343
|
-
"gitlab:
|
|
2197
|
+
"gitlab:mr:list": {
|
|
2344
2198
|
"aliases": [],
|
|
2345
2199
|
"args": {},
|
|
2346
|
-
"description": "
|
|
2200
|
+
"description": "Defaults to open merge requests, which is what a list is nearly always for; pass --state all to include closed and merged ones. The IID column is the number to pass to the other mr commands — it is per-project, and is not the \"id\" field in the JSON payload.",
|
|
2347
2201
|
"examples": [
|
|
2348
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2349
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2350
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2202
|
+
"<%= config.bin %> <%= command.id %> --project group/project",
|
|
2203
|
+
"<%= config.bin %> <%= command.id %> --project group/project --state merged --target-branch main --limit 10",
|
|
2204
|
+
"<%= config.bin %> <%= command.id %> --project group/project --author-username someone --json"
|
|
2351
2205
|
],
|
|
2352
2206
|
"flags": {
|
|
2353
2207
|
"json": {
|
|
@@ -2357,76 +2211,118 @@
|
|
|
2357
2211
|
"allowNo": false,
|
|
2358
2212
|
"type": "boolean"
|
|
2359
2213
|
},
|
|
2360
|
-
"env-file": {
|
|
2361
|
-
"char": "e",
|
|
2362
|
-
"description": "Loaded before anything else. Variables already present in the environment win, so the file never overrides an explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.",
|
|
2363
|
-
"helpGroup": "CONNECTION",
|
|
2364
|
-
"name": "env-file",
|
|
2365
|
-
"summary": "Path to a .env file holding connection settings.",
|
|
2214
|
+
"env-file": {
|
|
2215
|
+
"char": "e",
|
|
2216
|
+
"description": "Loaded before anything else. Variables already present in the environment win, so the file never overrides an explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.",
|
|
2217
|
+
"helpGroup": "CONNECTION",
|
|
2218
|
+
"name": "env-file",
|
|
2219
|
+
"summary": "Path to a .env file holding connection settings.",
|
|
2220
|
+
"hasDynamicHelp": false,
|
|
2221
|
+
"multiple": false,
|
|
2222
|
+
"type": "option"
|
|
2223
|
+
},
|
|
2224
|
+
"gitlab-url": {
|
|
2225
|
+
"env": "GITLAB_URL",
|
|
2226
|
+
"helpGroup": "CONNECTION",
|
|
2227
|
+
"name": "gitlab-url",
|
|
2228
|
+
"summary": "Base URL of the GitLab instance. Defaults to https://gitlab.com.",
|
|
2229
|
+
"hasDynamicHelp": false,
|
|
2230
|
+
"multiple": false,
|
|
2231
|
+
"type": "option"
|
|
2232
|
+
},
|
|
2233
|
+
"gitlab-token": {
|
|
2234
|
+
"env": "GITLAB_TOKEN",
|
|
2235
|
+
"helpGroup": "CONNECTION",
|
|
2236
|
+
"name": "gitlab-token",
|
|
2237
|
+
"summary": "Personal, project, or group access token.",
|
|
2238
|
+
"hasDynamicHelp": false,
|
|
2239
|
+
"multiple": false,
|
|
2240
|
+
"type": "option"
|
|
2241
|
+
},
|
|
2242
|
+
"project": {
|
|
2243
|
+
"char": "p",
|
|
2244
|
+
"env": "GITLAB_PROJECT",
|
|
2245
|
+
"name": "project",
|
|
2246
|
+
"required": true,
|
|
2247
|
+
"summary": "Project id, or its full path such as group/subgroup/project.",
|
|
2248
|
+
"hasDynamicHelp": false,
|
|
2249
|
+
"multiple": false,
|
|
2250
|
+
"type": "option"
|
|
2251
|
+
},
|
|
2252
|
+
"limit": {
|
|
2253
|
+
"name": "limit",
|
|
2254
|
+
"summary": "Maximum number of merge requests to return across all pages.",
|
|
2255
|
+
"default": 20,
|
|
2256
|
+
"hasDynamicHelp": false,
|
|
2257
|
+
"multiple": false,
|
|
2258
|
+
"type": "option"
|
|
2259
|
+
},
|
|
2260
|
+
"state": {
|
|
2261
|
+
"name": "state",
|
|
2262
|
+
"summary": "Merge request state to return.",
|
|
2263
|
+
"default": "opened",
|
|
2264
|
+
"hasDynamicHelp": false,
|
|
2265
|
+
"multiple": false,
|
|
2266
|
+
"options": [
|
|
2267
|
+
"opened",
|
|
2268
|
+
"closed",
|
|
2269
|
+
"locked",
|
|
2270
|
+
"merged",
|
|
2271
|
+
"all"
|
|
2272
|
+
],
|
|
2273
|
+
"type": "option"
|
|
2274
|
+
},
|
|
2275
|
+
"source-branch": {
|
|
2276
|
+
"name": "source-branch",
|
|
2277
|
+
"summary": "Only merge requests from this source branch.",
|
|
2366
2278
|
"hasDynamicHelp": false,
|
|
2367
2279
|
"multiple": false,
|
|
2368
2280
|
"type": "option"
|
|
2369
2281
|
},
|
|
2370
|
-
"
|
|
2371
|
-
"
|
|
2372
|
-
"
|
|
2373
|
-
"name": "gitlab-url",
|
|
2374
|
-
"summary": "Base URL of the GitLab instance. Defaults to https://gitlab.com.",
|
|
2282
|
+
"target-branch": {
|
|
2283
|
+
"name": "target-branch",
|
|
2284
|
+
"summary": "Only merge requests into this target branch.",
|
|
2375
2285
|
"hasDynamicHelp": false,
|
|
2376
2286
|
"multiple": false,
|
|
2377
2287
|
"type": "option"
|
|
2378
2288
|
},
|
|
2379
|
-
"
|
|
2380
|
-
"
|
|
2381
|
-
"
|
|
2382
|
-
"name": "gitlab-token",
|
|
2383
|
-
"summary": "Personal, project, or group access token.",
|
|
2289
|
+
"author-username": {
|
|
2290
|
+
"name": "author-username",
|
|
2291
|
+
"summary": "Only merge requests opened by this username.",
|
|
2384
2292
|
"hasDynamicHelp": false,
|
|
2385
2293
|
"multiple": false,
|
|
2386
2294
|
"type": "option"
|
|
2387
2295
|
},
|
|
2388
|
-
"
|
|
2389
|
-
"name": "
|
|
2390
|
-
"summary": "
|
|
2391
|
-
"
|
|
2296
|
+
"reviewer-username": {
|
|
2297
|
+
"name": "reviewer-username",
|
|
2298
|
+
"summary": "Only merge requests this username is reviewing.",
|
|
2299
|
+
"hasDynamicHelp": false,
|
|
2300
|
+
"multiple": false,
|
|
2301
|
+
"type": "option"
|
|
2302
|
+
},
|
|
2303
|
+
"labels": {
|
|
2304
|
+
"name": "labels",
|
|
2305
|
+
"summary": "Comma-separated labels every result must carry.",
|
|
2392
2306
|
"hasDynamicHelp": false,
|
|
2393
2307
|
"multiple": false,
|
|
2394
2308
|
"type": "option"
|
|
2395
2309
|
},
|
|
2396
2310
|
"search": {
|
|
2397
2311
|
"name": "search",
|
|
2398
|
-
"summary": "Match against the
|
|
2312
|
+
"summary": "Match against the title and description.",
|
|
2399
2313
|
"hasDynamicHelp": false,
|
|
2400
2314
|
"multiple": false,
|
|
2401
2315
|
"type": "option"
|
|
2402
|
-
},
|
|
2403
|
-
"membership": {
|
|
2404
|
-
"name": "membership",
|
|
2405
|
-
"summary": "Only projects you are a member of.",
|
|
2406
|
-
"allowNo": false,
|
|
2407
|
-
"type": "boolean"
|
|
2408
|
-
},
|
|
2409
|
-
"owned": {
|
|
2410
|
-
"name": "owned",
|
|
2411
|
-
"summary": "Only projects you own.",
|
|
2412
|
-
"allowNo": false,
|
|
2413
|
-
"type": "boolean"
|
|
2414
|
-
},
|
|
2415
|
-
"simple": {
|
|
2416
|
-
"name": "simple",
|
|
2417
|
-
"summary": "Return only the core fields, for a much smaller payload.",
|
|
2418
|
-
"allowNo": false,
|
|
2419
|
-
"type": "boolean"
|
|
2420
2316
|
}
|
|
2421
2317
|
},
|
|
2422
2318
|
"hasDynamicHelp": false,
|
|
2423
2319
|
"hiddenAliases": [],
|
|
2424
|
-
"id": "gitlab:
|
|
2320
|
+
"id": "gitlab:mr:list",
|
|
2425
2321
|
"pluginAlias": "@simplysf/simply-gitlab",
|
|
2426
2322
|
"pluginName": "@simplysf/simply-gitlab",
|
|
2427
2323
|
"pluginType": "core",
|
|
2428
2324
|
"strict": true,
|
|
2429
|
-
"summary": "List
|
|
2325
|
+
"summary": "List merge requests for a project.",
|
|
2430
2326
|
"enableJsonFlag": true,
|
|
2431
2327
|
"isWrite": false,
|
|
2432
2328
|
"isESM": true,
|
|
@@ -2434,26 +2330,27 @@
|
|
|
2434
2330
|
"lib",
|
|
2435
2331
|
"commands",
|
|
2436
2332
|
"gitlab",
|
|
2437
|
-
"
|
|
2333
|
+
"mr",
|
|
2438
2334
|
"list.js"
|
|
2439
2335
|
],
|
|
2440
2336
|
"aliasPermutations": [],
|
|
2441
2337
|
"permutations": [
|
|
2442
|
-
"gitlab:
|
|
2443
|
-
"
|
|
2444
|
-
"
|
|
2445
|
-
"gitlab:list:
|
|
2446
|
-
"list:gitlab:
|
|
2447
|
-
"list:
|
|
2338
|
+
"gitlab:mr:list",
|
|
2339
|
+
"mr:gitlab:list",
|
|
2340
|
+
"mr:list:gitlab",
|
|
2341
|
+
"gitlab:list:mr",
|
|
2342
|
+
"list:gitlab:mr",
|
|
2343
|
+
"list:mr:gitlab"
|
|
2448
2344
|
]
|
|
2449
2345
|
},
|
|
2450
|
-
"gitlab:
|
|
2346
|
+
"gitlab:mr:update": {
|
|
2451
2347
|
"aliases": [],
|
|
2452
2348
|
"args": {},
|
|
2453
|
-
"description": "
|
|
2349
|
+
"description": "Only the attributes you name are changed, with one exception worth knowing: --labels replaces the whole label set rather than adding to it.\n\nNaming nothing to change is refused rather than sent, because GitLab answers an empty update with a cheerful 200 and an unchanged merge request. --state close and --state reopen do what the buttons of those names do; neither merges anything.",
|
|
2454
2350
|
"examples": [
|
|
2455
|
-
"<%= config.bin %> <%= command.id %> --project group/project",
|
|
2456
|
-
"<%= config.bin %> <%= command.id %> --project
|
|
2351
|
+
"<%= config.bin %> <%= command.id %> --project group/project --mr 42 --title \"feat: renamed\"",
|
|
2352
|
+
"<%= config.bin %> <%= command.id %> --project group/project --mr 42 --state close",
|
|
2353
|
+
"<%= config.bin %> <%= command.id %> --project group/project --mr 42 --labels backend,urgent --dry-run"
|
|
2457
2354
|
],
|
|
2458
2355
|
"flags": {
|
|
2459
2356
|
"json": {
|
|
@@ -2500,43 +2397,146 @@
|
|
|
2500
2397
|
"hasDynamicHelp": false,
|
|
2501
2398
|
"multiple": false,
|
|
2502
2399
|
"type": "option"
|
|
2400
|
+
},
|
|
2401
|
+
"dry-run": {
|
|
2402
|
+
"name": "dry-run",
|
|
2403
|
+
"summary": "Print the request that would be sent and exit without sending it.",
|
|
2404
|
+
"allowNo": false,
|
|
2405
|
+
"type": "boolean"
|
|
2406
|
+
},
|
|
2407
|
+
"mr": {
|
|
2408
|
+
"name": "mr",
|
|
2409
|
+
"required": true,
|
|
2410
|
+
"summary": "Merge request iid.",
|
|
2411
|
+
"hasDynamicHelp": false,
|
|
2412
|
+
"multiple": false,
|
|
2413
|
+
"type": "option"
|
|
2414
|
+
},
|
|
2415
|
+
"title": {
|
|
2416
|
+
"name": "title",
|
|
2417
|
+
"summary": "New title.",
|
|
2418
|
+
"hasDynamicHelp": false,
|
|
2419
|
+
"multiple": false,
|
|
2420
|
+
"type": "option"
|
|
2421
|
+
},
|
|
2422
|
+
"description": {
|
|
2423
|
+
"name": "description",
|
|
2424
|
+
"summary": "New description, as Markdown.",
|
|
2425
|
+
"hasDynamicHelp": false,
|
|
2426
|
+
"multiple": false,
|
|
2427
|
+
"type": "option"
|
|
2428
|
+
},
|
|
2429
|
+
"target-branch": {
|
|
2430
|
+
"name": "target-branch",
|
|
2431
|
+
"summary": "New target branch.",
|
|
2432
|
+
"hasDynamicHelp": false,
|
|
2433
|
+
"multiple": false,
|
|
2434
|
+
"type": "option"
|
|
2435
|
+
},
|
|
2436
|
+
"state": {
|
|
2437
|
+
"name": "state",
|
|
2438
|
+
"summary": "Close or reopen the merge request.",
|
|
2439
|
+
"hasDynamicHelp": false,
|
|
2440
|
+
"multiple": false,
|
|
2441
|
+
"options": [
|
|
2442
|
+
"close",
|
|
2443
|
+
"reopen"
|
|
2444
|
+
],
|
|
2445
|
+
"type": "option"
|
|
2446
|
+
},
|
|
2447
|
+
"squash": {
|
|
2448
|
+
"name": "squash",
|
|
2449
|
+
"summary": "Squash the commits when it merges.",
|
|
2450
|
+
"allowNo": true,
|
|
2451
|
+
"type": "boolean"
|
|
2452
|
+
},
|
|
2453
|
+
"remove-source-branch": {
|
|
2454
|
+
"name": "remove-source-branch",
|
|
2455
|
+
"summary": "Delete the source branch on merge.",
|
|
2456
|
+
"allowNo": true,
|
|
2457
|
+
"type": "boolean"
|
|
2458
|
+
},
|
|
2459
|
+
"assignee-id": {
|
|
2460
|
+
"name": "assignee-id",
|
|
2461
|
+
"summary": "User id to assign, replacing the set. Repeatable.",
|
|
2462
|
+
"hasDynamicHelp": false,
|
|
2463
|
+
"multiple": true,
|
|
2464
|
+
"type": "option"
|
|
2465
|
+
},
|
|
2466
|
+
"reviewer-id": {
|
|
2467
|
+
"name": "reviewer-id",
|
|
2468
|
+
"summary": "User id to review, replacing the set. Repeatable.",
|
|
2469
|
+
"hasDynamicHelp": false,
|
|
2470
|
+
"multiple": true,
|
|
2471
|
+
"type": "option"
|
|
2472
|
+
},
|
|
2473
|
+
"labels": {
|
|
2474
|
+
"name": "labels",
|
|
2475
|
+
"summary": "Comma-separated labels, replacing the existing set.",
|
|
2476
|
+
"hasDynamicHelp": false,
|
|
2477
|
+
"multiple": false,
|
|
2478
|
+
"type": "option"
|
|
2479
|
+
},
|
|
2480
|
+
"milestone-id": {
|
|
2481
|
+
"name": "milestone-id",
|
|
2482
|
+
"summary": "Milestone id to attach.",
|
|
2483
|
+
"hasDynamicHelp": false,
|
|
2484
|
+
"multiple": false,
|
|
2485
|
+
"type": "option"
|
|
2486
|
+
},
|
|
2487
|
+
"body": {
|
|
2488
|
+
"exclusive": [
|
|
2489
|
+
"body-file"
|
|
2490
|
+
],
|
|
2491
|
+
"name": "body",
|
|
2492
|
+
"summary": "Raw JSON request body.",
|
|
2493
|
+
"hasDynamicHelp": false,
|
|
2494
|
+
"multiple": false,
|
|
2495
|
+
"type": "option"
|
|
2496
|
+
},
|
|
2497
|
+
"body-file": {
|
|
2498
|
+
"name": "body-file",
|
|
2499
|
+
"summary": "Path to a file holding the raw JSON request body.",
|
|
2500
|
+
"hasDynamicHelp": false,
|
|
2501
|
+
"multiple": false,
|
|
2502
|
+
"type": "option"
|
|
2503
2503
|
}
|
|
2504
2504
|
},
|
|
2505
2505
|
"hasDynamicHelp": false,
|
|
2506
2506
|
"hiddenAliases": [],
|
|
2507
|
-
"id": "gitlab:
|
|
2507
|
+
"id": "gitlab:mr:update",
|
|
2508
2508
|
"pluginAlias": "@simplysf/simply-gitlab",
|
|
2509
2509
|
"pluginName": "@simplysf/simply-gitlab",
|
|
2510
2510
|
"pluginType": "core",
|
|
2511
2511
|
"strict": true,
|
|
2512
|
-
"summary": "
|
|
2512
|
+
"summary": "Change an existing merge request.",
|
|
2513
2513
|
"enableJsonFlag": true,
|
|
2514
|
-
"isWrite":
|
|
2514
|
+
"isWrite": true,
|
|
2515
2515
|
"isESM": true,
|
|
2516
2516
|
"relativePath": [
|
|
2517
2517
|
"lib",
|
|
2518
2518
|
"commands",
|
|
2519
2519
|
"gitlab",
|
|
2520
|
-
"
|
|
2521
|
-
"
|
|
2520
|
+
"mr",
|
|
2521
|
+
"update.js"
|
|
2522
2522
|
],
|
|
2523
2523
|
"aliasPermutations": [],
|
|
2524
2524
|
"permutations": [
|
|
2525
|
-
"gitlab:
|
|
2526
|
-
"
|
|
2527
|
-
"
|
|
2528
|
-
"gitlab:
|
|
2529
|
-
"
|
|
2530
|
-
"
|
|
2525
|
+
"gitlab:mr:update",
|
|
2526
|
+
"mr:gitlab:update",
|
|
2527
|
+
"mr:update:gitlab",
|
|
2528
|
+
"gitlab:update:mr",
|
|
2529
|
+
"update:gitlab:mr",
|
|
2530
|
+
"update:mr:gitlab"
|
|
2531
2531
|
]
|
|
2532
2532
|
},
|
|
2533
|
-
"gitlab:
|
|
2533
|
+
"gitlab:mr:view": {
|
|
2534
2534
|
"aliases": [],
|
|
2535
2535
|
"args": {},
|
|
2536
|
-
"description": "
|
|
2536
|
+
"description": "Takes the project-scoped iid — the number in the merge request URL — not the instance-wide id. Use --json for the full payload, which carries the pipeline status, approvals, and diff refs the summary below leaves out.",
|
|
2537
2537
|
"examples": [
|
|
2538
|
-
"<%= config.bin %> <%= command.id %> --project group/project",
|
|
2539
|
-
"<%= config.bin %> <%= command.id %> --project group/project --
|
|
2538
|
+
"<%= config.bin %> <%= command.id %> --project group/project --mr 42",
|
|
2539
|
+
"<%= config.bin %> <%= command.id %> --project group/project --mr 42 --json"
|
|
2540
2540
|
],
|
|
2541
2541
|
"flags": {
|
|
2542
2542
|
"json": {
|
|
@@ -2584,10 +2584,10 @@
|
|
|
2584
2584
|
"multiple": false,
|
|
2585
2585
|
"type": "option"
|
|
2586
2586
|
},
|
|
2587
|
-
"
|
|
2588
|
-
"name": "
|
|
2589
|
-
"
|
|
2590
|
-
"
|
|
2587
|
+
"mr": {
|
|
2588
|
+
"name": "mr",
|
|
2589
|
+
"required": true,
|
|
2590
|
+
"summary": "Merge request iid.",
|
|
2591
2591
|
"hasDynamicHelp": false,
|
|
2592
2592
|
"multiple": false,
|
|
2593
2593
|
"type": "option"
|
|
@@ -2595,12 +2595,12 @@
|
|
|
2595
2595
|
},
|
|
2596
2596
|
"hasDynamicHelp": false,
|
|
2597
2597
|
"hiddenAliases": [],
|
|
2598
|
-
"id": "gitlab:
|
|
2598
|
+
"id": "gitlab:mr:view",
|
|
2599
2599
|
"pluginAlias": "@simplysf/simply-gitlab",
|
|
2600
2600
|
"pluginName": "@simplysf/simply-gitlab",
|
|
2601
2601
|
"pluginType": "core",
|
|
2602
2602
|
"strict": true,
|
|
2603
|
-
"summary": "
|
|
2603
|
+
"summary": "Show one merge request.",
|
|
2604
2604
|
"enableJsonFlag": true,
|
|
2605
2605
|
"isWrite": false,
|
|
2606
2606
|
"isESM": true,
|
|
@@ -2608,17 +2608,17 @@
|
|
|
2608
2608
|
"lib",
|
|
2609
2609
|
"commands",
|
|
2610
2610
|
"gitlab",
|
|
2611
|
-
"
|
|
2612
|
-
"
|
|
2611
|
+
"mr",
|
|
2612
|
+
"view.js"
|
|
2613
2613
|
],
|
|
2614
2614
|
"aliasPermutations": [],
|
|
2615
2615
|
"permutations": [
|
|
2616
|
-
"gitlab:
|
|
2617
|
-
"
|
|
2618
|
-
"
|
|
2619
|
-
"gitlab:
|
|
2620
|
-
"
|
|
2621
|
-
"
|
|
2616
|
+
"gitlab:mr:view",
|
|
2617
|
+
"mr:gitlab:view",
|
|
2618
|
+
"mr:view:gitlab",
|
|
2619
|
+
"gitlab:view:mr",
|
|
2620
|
+
"view:gitlab:mr",
|
|
2621
|
+
"view:mr:gitlab"
|
|
2622
2622
|
]
|
|
2623
2623
|
},
|
|
2624
2624
|
"gitlab:tag:list": {
|
|
@@ -3241,5 +3241,5 @@
|
|
|
3241
3241
|
]
|
|
3242
3242
|
}
|
|
3243
3243
|
},
|
|
3244
|
-
"version": "0.6.
|
|
3244
|
+
"version": "0.6.2"
|
|
3245
3245
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysf/simply-gitlab",
|
|
3
3
|
"description": "Command-line interface for working with GitLab",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.2",
|
|
5
5
|
"author": "@ClayChipps",
|
|
6
6
|
"homepage": "https://github.com/SimplySF/simply-gitlab",
|
|
7
7
|
"bugs": "https://github.com/SimplySF/simply-gitlab/issues",
|
|
@@ -90,11 +90,11 @@
|
|
|
90
90
|
},
|
|
91
91
|
"dependencies": {
|
|
92
92
|
"@oclif/core": "^4.11.2",
|
|
93
|
-
"@simplysf/simply-gitlab-core": "^0.5.
|
|
93
|
+
"@simplysf/simply-gitlab-core": "^0.5.2"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
96
|
"@oclif/plugin-command-snapshot": "^5.4.0",
|
|
97
|
-
"@vitest/coverage-v8": "^4.1.
|
|
97
|
+
"@vitest/coverage-v8": "^4.1.12",
|
|
98
98
|
"oclif": "^4.23.0",
|
|
99
99
|
"shx": "^0.4.0",
|
|
100
100
|
"vitest": "^4.1.10"
|
|
@@ -245,5 +245,5 @@
|
|
|
245
245
|
"service": true
|
|
246
246
|
}
|
|
247
247
|
},
|
|
248
|
-
"gitHead": "
|
|
248
|
+
"gitHead": "351fcdeece1376bea6932efa857034e0cf321c90"
|
|
249
249
|
}
|