claim

gest task claim: claim a task (assign to self and mark in-progress).

struct Command

source

pub struct Command

Claim a task (assign to self and mark in-progress).

Field Type Description
id String The task ID or prefix.
as_author Option<String> Claim as a specific author name (defaults to git user).
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>

Assign the task to the resolved author and transition it to in-progress 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.