Skip to content
Docs

inquir run

Execute an SDK asset locally with a JSON payload.

@inquir/compute-cliv0.3.0 · Node.js 22+

Usage#

inquir runbash
inquir run <asset> [options]

Options#

OptionDescription
--payload <json>Pass a JSON payload string.
--payload-file <path>Read the JSON payload from a file.
--cwd <path>Use this source/configuration directory; alias: --config.
--jsonPrint machine-readable results.

Global flags, environments and CLI credentials

Examples#

Example 1bash
inquir run hello --payload '{"name":"World"}'
Example 2bash
inquir run hello --payload-file ./payload.json

Behavior#

The asset name must exist in the local workspace. Use invoke to execute a deployed function.

Guides#