summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/cli.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/cli.rst b/docs/cli.rst
index 4261d0e..da5a89e 100644
--- a/docs/cli.rst
+++ b/docs/cli.rst
@@ -192,6 +192,18 @@ List all the projects:
$ gitlab project list --all
+List all projects of a group:
+
+.. code-block:: console
+
+ $ gitlab group-project list --all --group-id 1
+
+List all projects of a group and its subgroups:
+
+.. code-block:: console
+
+ $ gitlab group-project list --all --include-subgroups true --group-id 1
+
Limit to 5 items per request, display the 1st page only
.. code-block:: console