List and download a job's artifact files

## Usage

`circleci artifact <job-id> [flags]`

## Arguments

`<job-id>` is the UUID of the job whose artifacts you want to
list or download,
for example. `5034460f-c7c4-4c43-9457-de07e2029e7b`.

## Flags

| Flag                  | Description                                                                       |
| --------------------- | --------------------------------------------------------------------------------- |
| `--jq string`         | Process values from the response using jq syntax (see `circleci help formatting`) |
| `--json`              | Output as JSON                                                                    |
| `-o, --output string` | Download artifacts into this directory                                            |

Global flags: `-c, --config`, `--debug`, `--no-color`, `-q, --quiet` — see `circleci --help`.

## Examples

- List artifacts for a job: 
  `circleci artifact 5034460f-c7c4-4c43-9457-de07e2029e7b`
- Download all artifacts into ./artifacts: 
  `circleci artifact 5034460f-c7c4-4c43-9457-de07e2029e7b --output ./artifacts`
- Output as JSON for scripting: 
  `circleci artifact 5034460f-c7c4-4c43-9457-de07e2029e7b --json`

## Details

List or download artifacts produced by a CircleCI job.

Pass the job UUID to list its artifacts. Use --output to save
them to a local directory.

JSON fields: path, url, node_index

