chainabit chain run cancel
Published (2.2.0)
This command is not included in Published (2.2.0). It is available in Development (2.2.0).
Development (2.2.0)
Cancel this run
Synopsis
chainabit chain run cancel <runId> --chain <id> [options]Arguments
| Argument | Description | Default |
|---|---|---|
<runId> | Required. | — |
Options
| Option | Description | Default |
|---|---|---|
--chain <id> | Chain ID. Required. | — |
--yes | Confirm this change | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Cancels the run with the given ID. --chain is required and names the chain the run belongs to; a run looked up under a different chain is reported as not found. The run can take a moment to show as cancelled, so check it with chainabit chain run get.
This command changes data, so it asks for confirmation. In a terminal it shows the action and asks you to confirm; if you decline, nothing changes. Pass --yes to skip the question. With --json, or when there is no terminal, the command changes nothing and exits with code 2 unless you pass --yes.
Output
The output shows whether the run was cancelled. With --json it contains cancelled.
Authentication and permissions
You must be signed in. The server decides whether your account may make this change and refuses it otherwise.
Examples
chainabit chain run cancel 00000000-0000-4000-8000-000000000002 --chain 00000000-0000-4000-8000-000000000001
chainabit chain run cancel 00000000-0000-4000-8000-000000000002 --chain 00000000-0000-4000-8000-000000000001 --yes