diff --git a/docs/cli.rst b/docs/cli.rst index 4261d0e70..da5a89e91 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