summaryrefslogtreecommitdiff
path: root/docs/cli.rst
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2020-08-26 01:27:43 +0200
committerNejc Habjan <hab.nejc@gmail.com>2020-08-26 01:27:43 +0200
commitaf86dcdd28ee1b16d590af31672c838597e3f3ec (patch)
treee1a8151a94d4ac582419c61517b74de2ec4e23f7 /docs/cli.rst
parente2dc9ece1a0af37073c41bfa8161fcec5fa01234 (diff)
downloadgitlab-docs/group-projects-list-cli.tar.gz
docs(cli): add examples for group-project listdocs/group-projects-list-cli
Diffstat (limited to 'docs/cli.rst')
-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