@inquir/compute-cliv0.3.0 · Node.js 22+
Usage#
inquir runbash
inquir run <asset> [options]
Options#
| Option | Description |
|---|---|
--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. |
--json | Print 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.