Skip to main content

signaloid-cli builds binary

Get the download URL for a compiled build binary, or download it directly.

Synopsis​

signaloid-cli builds binary --build-id <id> [--out <dir>] [--filename <name>] [--url-only]

Options​

OptionRequiredDescription
--build-id <id>YesBuild ID
--out <dir>NoDirectory to download the binary to. If omitted, prints the presigned URL in JSON format.
--filename <name>NoOverride the saved file name (default: the name the server provides)
--url-onlyNoPrint only the presigned URL even when --out is set

Description​

Retrieves the compiled binary for a build. Only available for builds whose core class is one of the SD-card classes C0-microSD, C0-microSD-plus, and C0-SD. A build on any other class is rejected with a bad-request error.

Without --out, prints a presigned download URL as JSON. With --out, downloads the binary directly to the specified directory.

When saving the file, the CLI takes the name from the Content-Disposition header the download responds with, falling back to the last path segment of the presigned URL and then to <build-id>.bin. Pass --filename to override it.

Examples​

Get the presigned download URL:

signaloid-cli builds binary --build-id bld_xyz789

Download the binary to a directory:

signaloid-cli builds binary --build-id bld_xyz789 --out ./bin/

Download the binary to a directory and save it with a custom file name:

signaloid-cli builds binary --build-id bld_xyz789 --out ./bin/ --filename myapp.bin

Print only the URL (even with --out set):

signaloid-cli builds binary --build-id bld_xyz789 --out ./bin/ --url-only

See Also​