rwx artifacts download
Download an artifact from a task.
Usage
rwx artifacts download <task-id> [artifact-key] [flags]
Arguments
<task-id> (required)
The ID of the task to download artifacts for. You can find this key in the Artifacts tab of a task in the RWX UI.
<artifact-key>
The key given to your artifact in your RWX task definition. You can find the task ID in the URL when viewing a task in the RWX UI.
Not required when using --all.
Options
--all
Download all artifacts for the task.
--auto-extract
Specify to automatically extract directory artifacts. Single file artifacts are always extracted.
--open
Automatically open the artifact in your default application.
--output-file <path> or --output-dir <directory>
These two flags are mutually exclusive.
The path or directory to save the artifact to.
By default, artifacts are placed inside .rwx/downloads in your current working directory, or your downloads directory if not in an RWX project, inside a directory that looks like: <task-scope>-<task-id>-<artifact-key>.
Global Options
--output <format>
Output format: text or json. Defaults to text.
Example JSON output:
{
"OutputFiles": [
"/Users/me/Downloads/org-task123-artifacts/a.txt",
"/Users/me/Downloads/org-task123-artifacts/b.txt"
]
}
--access-token <token>
The access token for RWX. Defaults to the value of the $RWX_ACCESS_TOKEN environment variable.