▶️nexus execution
Audience: Nexus CLI users and integrators.
Command: nexus execution.
Generated from: Nexus CLI v2.1.1 release executable at commit 08bfe76e726922ce512d623fbc1d2e1bd786bcd4 (generated inventory preserved below).
This page is the complete help tree for nexus execution. Global output flags can appear after the family or nested subcommand.
Invocation authorization contract
The CLI exposes nexus execution authorize to select one accepted Invocation policy for an active runtime vertex: fixed price, finite credits, time pass, or a custom policy with explicitly typed arguments. The command returns the exact Invocation and lock identity; it does not accept a cashier candidate as a substitute. Timeout/refund operations likewise use the exact invocation_id before applying workflow abort or Task occurrence settlement. Verify matching --help output, network objects, package IDs, and transaction effects before running it.
Confirm the selected binary’s clap/help output and the resulting InvocationLocked transaction event before relying on an exact command or receipt in a deployment.
The custom form requires a qualified policy witness and preserves argument order: nexus execution authorize --execution-id 0x42 --leader-cap 0x43 --walk-index 0 --vertex worker custom --policy 0xabc::my_policy::Policy --argument object:0x10 --argument mutable:0x11 --argument id:0x12 --argument pure:deadbeef. Each repeated argument is one of object:<ID>, mutable:<ID>, id:<ID>, or pure:<BCS_HEX> and must match the accepted policy’s get_invocation contract.
For a repetitive or for_each vertex, preserve iterator identity with nexus execution authorize --execution-id 0x42 --leader-cap 0x43 --walk-index 0 --vertex worker --iteration 1 --out-of 4 fixed-price. --iteration is zero-based, --out-of is the total item count, and changing either value selects a different runtime vertex; the handler rejects an iteration that is not smaller than --out-of.
The CLI help exposes this command shape:
Usage: nexus execution authorize [OPTIONS] --execution-id <OBJECT_ID> --leader-cap <OBJECT_ID> --walk-index <U64> --vertex <NAME> <COMMAND>
Commands:
fixed-price Pay the invocation price snapshotted by the Execution
finite-credits Consume one unit from the beneficiary finite credit account
time-pass Use the beneficiary time pass account
custom Call an arbitrary accepted policy
Options:
-e, --execution-id <OBJECT_ID>
--leader-cap <OBJECT_ID>
--walk-index <U64>
--vertex <NAME>
--iteration <U64>
--out-of <U64>The custom form requires a qualified <PACKAGE>::<MODULE>::Policy and repeated --argument values in exact Move order (object:<ID>, mutable:<ID>, id:<ID>, or pure:<BCS_HEX>). The command reads the exact active walk, leader capability, ToolCashier, payment source, policy resources, and RuntimeAuthority before submitting the Invocation lock transaction.
nexus execution
nexus execution inspect
Last updated

