# GitLab artifacts module arguments Generated from [the CLI catalog](../../lib/cli/catalog.json). Every export requires a fresh `runDir`. Common fields are `project` (default `.`), `executable` (the CLI program or path), `timeoutMs` (default `900000`), and `artifacts` (an object mapping output names to file paths). ## `run` Execute arbitrary literal CLI arguments. | Field | Type | CLI argument | Default / required | | --- | --- | --- | --- | | `arguments` | `strings` | `` | Required | ## `version` Print the CLI version. | Field | Type | CLI argument | Default / required | | --- | --- | --- | --- | ## `upload` Upload a prebuilt ZIP to the current job using GitLab job-token authentication. | Field | Type | CLI argument | Default / required | | --- | --- | --- | --- | | `archive` | `string` | `` | Required | | `jobId` | `string` | `` | Required | | `apiUrl` | `string` | `` | `"https://gitlab.com/api/v4"` | ## `download` download | Field | Type | CLI argument | Default / required | | --- | --- | --- | --- | | `repo` | `string` | `--repo=` | Omitted | | `job` | `string` | `--job=` | Required | | `path` | `string` | `--path=` | `"dist"` | | `ref` | `string` | `` | Required | ## `release_upload` release upload | Field | Type | CLI argument | Default / required | | --- | --- | --- | --- | | `repo` | `string` | `--repo=` | Omitted | | `tag` | `string` | `` | Required | | `files` | `strings` | `` | Required |