add

gest tag add: add tags to any entity (task, artifact, or iteration).

struct Command

source

pub struct Command

Add tags to any entity (task, artifact, or iteration).

Field Type Description
id String The entity ID or prefix.
tags Vec<String> One or more tag labels to add (comma-separated values split into multiple tags).
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>

Attach each requested tag to the resolved entity inside a single 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.