Skip to main content

signaloid-cli builds variables

List the output variables discovered for a build.

Synopsis​

signaloid-cli builds variables --build-id <id> [--count <n>] [--limit <n>] [--cursor <cursor>]

Options​

OptionRequiredDescription
--build-id <id>YesBuild ID
--cursor <cursor>NoResume a listing from the Cursor value of the previous output
--start-key <key>NoDeprecated, use --cursor. Takes the ContinuationKey of the previous output.
--count <n>NoNumber of items to fetch, across pages. The output's Cursor resumes after the last one.
--limit <n>NoItems per request, at most 100 (default 100)

Description​

Lists the output variables that were discovered for a build when it was created with --discover-variables. Variable discovery must be enabled at build time (see builds create:source or builds create:repo).

Examples​

List discovered variables for a build:

signaloid-cli builds variables --build-id bld_xyz789

Paginate through variables:

The output is an object with BuildID, Variables and Count, and Cursor when more variables are available. Pass Cursor unchanged to --cursor.

# First page, up to 100 variables
signaloid-cli builds variables --build-id bld_xyz789

# Next page, using the Start value from the previous output
signaloid-cli builds variables --build-id bld_xyz789 --cursor <cursor>

# Up to 1,000 variables, across pages
signaloid-cli builds variables --build-id bld_xyz789 --count 1000

Notes​

  • Without --count, the command fetches one page. See Pagination.

See Also​