Function forc_client::op::run

source ·
pub async fn run(command: Run) -> Result<Vec<RanScript>>
Expand description

Builds and runs script(s). If given path corresponds to a workspace, all runnable members will be built and deployed.

Upon success, returns the receipts of each script in the order they are executed.

When running a single script, only that script’s receipts are returned.