summaryrefslogtreecommitdiff
path: root/docs/cli-usage.rst
diff options
context:
space:
mode:
authorMax Wittig <max.wittig@siemens.com>2020-10-12 21:52:33 +0200
committerGitHub <noreply@github.com>2020-10-12 21:52:33 +0200
commit3a38c6d78ceaed1116ebbdd8e5cded60c99c6f95 (patch)
treee5285dece164fe826412e93c7e1f5753ad6890e9 /docs/cli-usage.rst
parentbc178898776d2d61477ff773248217adfac81f56 (diff)
parentf4e79501f1be1394873042dd65beda49e869afb8 (diff)
downloadgitlab-3a38c6d78ceaed1116ebbdd8e5cded60c99c6f95.tar.gz
Merge pull request #1202 from python-gitlab/fix/cli-binary-data
fix(cli): write binary data to stdout buffer
Diffstat (limited to 'docs/cli-usage.rst')
-rw-r--r--docs/cli-usage.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/cli-usage.rst b/docs/cli-usage.rst
index 10fd73a..d66d738 100644
--- a/docs/cli-usage.rst
+++ b/docs/cli-usage.rst
@@ -313,6 +313,12 @@ Define the status of a commit (as would be done from a CI tool for example):
--target-url http://server/build/123 \
--description "Jenkins build succeeded"
+Download the artifacts zip archive of a job:
+
+.. code-block:: console
+
+ $ gitlab project-job artifacts --id 10 --project-id 1 > artifacts.zip
+
Use sudo to act as another user (admin only):
.. code-block:: console