delete

gest task note delete: delete a note from a task.

struct Command

source

pub struct Command

Delete a note from a task.

Field Type Description
id String The note ID or prefix.
output json::Flags The output mode: normal, --json, --quiet or --raw.
yes bool Skip the interactive confirmation prompt.

Implements FromArgMatches, Args, Debug.

Command::call

source

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

Confirm and delete the resolved note 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.