CLI Reference
download
Download a file by path.
dreamlake download --episode <target> --from <path> [-o <output>]Note: Currently only supports video downloads. Audio, label, and text track downloads are not yet implemented.
Flags
| Flag | Type | Required | Description |
|---|---|---|---|
--episode | string | Yes | Target in [namespace@]space[:episode] format |
--from | string | Yes | Asset path (e.g. /camera/front) |
-o | string | No | Output file path (default: derived from asset filename) |
What Happens
- CLI calls
GET /assets/video/downloadon DreamLake Server with namespace, space, and path - DreamLake Server looks up the video, fetches a presigned S3 URL from BSS (
/videos/:id/raw) - CLI streams the file from the presigned URL to the output path
Examples
# Download to current directory (filename from asset)
dreamlake download --episode alice@robotics:run-042 --from /camera/front
# Download to specific path
dreamlake download --episode alice@robotics:run-042 --from /camera/front -o ./video.mp4