summaryrefslogtreecommitdiff
path: root/docs/cli.rst
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2016-02-14 10:40:12 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2016-02-14 10:40:14 +0100
commit58433d2b1854eb4e112c499d52d8dd0fd6dba094 (patch)
treef5f88ff6d8a665ac89c39b61fc37ca8350688c7b /docs/cli.rst
parent7260684d11e8ffe02461f761b6677d039b703a8d (diff)
downloadgitlab-58433d2b1854eb4e112c499d52d8dd0fd6dba094.tar.gz
CI: implement user get-by-username
fixes #95
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