Open
Description
Description of the problem, including code/CLI snippet
How is a single artefact downloaded using the CLI?
The help does not mention an optional path argument or equivalent positional argument.
Expected Behavior
Details of how to specify the artifact path to download
Actual Behavior
$ gitlab project-job artifact -h
usage: gitlab project-job artifact [-h] --project-id PROJECT_ID [--sudo SUDO] --id ID
optional arguments:
-h, --help show this help message and exit
--project-id PROJECT_ID
--sudo SUDO
--id ID
It is not explained how the artifact path is passed to the command.
I'm guessing this is perhaps the equivalent API: https://docs.gitlab.com/ee/api/job_artifacts.html#download-a-single-artifact-file-by-job-id
Specifications
- python-gitlab version: 3.2.0
- API version you are using (v3/v4):
- Gitlab server version (or gitlab.com): gitlab.com