summaryrefslogtreecommitdiff
path: root/docs/cli.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cli.rst')
-rw-r--r--docs/cli.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/cli.rst b/docs/cli.rst
index 6ab7957..81d308d 100644
--- a/docs/cli.rst
+++ b/docs/cli.rst
@@ -150,6 +150,13 @@ Get a specific project (id 2):
$ gitlab project get --id 2
+Get a specific user by id or by username:
+
+.. code-block:: console
+
+ $ gitlab user get --id 3
+ $ gitlab user get-by-username --query jdoe
+
Get a list of snippets for this project:
.. code-block:: console