cancel
gest iteration cancel: cancel an iteration.struct Command
pub struct CommandCancel an iteration.
| Field | Type | Description |
|---|---|---|
id |
String | The iteration ID or prefix. |
output |
json::Flags | The output mode: normal, --json, --quiet or --raw. |
Implements FromArgMatches, Args, Debug.
Command::call
pub async fn call(&self, context: &AppContext) -> Result<(), Error>Transition the iteration to cancelled within a recorded transaction.
| Parameter | Type | Description |
|---|---|---|
context |
&AppContext | the application context: settings, store and current project |
| returns | Result<(), Error> | Ok(()) when the command succeeds, or the error that stopped it. |