remove

gest iteration remove: remove a task from an iteration.

struct Command

source

pub struct Command

Remove a task from an iteration.

Field Type Description
iteration String The iteration ID or prefix.
task String The task ID or prefix.
output json::Flags The output mode: normal, --json, --quiet or --raw.

Implements FromArgMatches, Args, Debug.

Command::call

source

pub async fn call(&self, context: &AppContext) -> Result<(), Error>

Detach the resolved task from the iteration by deleting its iteration_tasks row.

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.