summaryrefslogtreecommitdiff
path: root/docs/cli.rst
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-03-17 16:46:18 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2018-03-17 16:46:18 +0100
commit1940feec3dbb099dc3d671cd14ba756e7d34b071 (patch)
tree50c516a33507c9c92ab88c90189445acf5a65cf7 /docs/cli.rst
parent455a8fc8cab12bbcbf35f04053da84ec0ed1c5c6 (diff)
downloadgitlab-1940feec3dbb099dc3d671cd14ba756e7d34b071.tar.gz
Implement attribute types to handle special cases
Some attributes need to be parsed/modified to work with the API (for instance lists). This patch provides two attribute types that will simplify parts of the code, and fix some CLI bugs. Fixes #443
Diffstat (limited to 'docs/cli.rst')
-rw-r--r--docs/cli.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/cli.rst b/docs/cli.rst
index 390445d..0e0d85b 100644
--- a/docs/cli.rst
+++ b/docs/cli.rst
@@ -235,6 +235,12 @@ Use sudo to act as another user (admin only):
$ gitlab project create --name user_project1 --sudo username
+List values are comma-separated:
+
+.. code-block:: console
+
+ $ gitlab issue list --labels foo,bar
+
Reading values from files
-------------------------