Skip to content

Commit a038e95

Browse files
authored
Merge pull request #1156 from python-gitlab/docs/group-projects-list-cli
docs(cli): add examples for group-project list
2 parents a7e44a0 + af86dcd commit a038e95

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/cli.rst

+12
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,18 @@ List all the projects:
192192
193193
$ gitlab project list --all
194194
195+
List all projects of a group:
196+
197+
.. code-block:: console
198+
199+
$ gitlab group-project list --all --group-id 1
200+
201+
List all projects of a group and its subgroups:
202+
203+
.. code-block:: console
204+
205+
$ gitlab group-project list --all --include-subgroups true --group-id 1
206+
195207
Limit to 5 items per request, display the 1st page only
196208

197209
.. code-block:: console

0 commit comments

Comments
 (0)