list

gest tag list: list all tags, optionally filtered by entity type.

struct Command

source

pub struct Command

List all tags, optionally filtered by entity type.

Field Type Description
artifact bool Show only tags attached to artifacts.
iteration bool Show only tags attached to iterations.
limit LimitArgs The --limit option, which caps how many items print.
task bool Show only tags attached to tasks.
output json::Flags The output mode: normal, --json, --quiet or --raw.

Implements FromArgMatches, Args, Debug, Default.

Command::call

source

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

Render the tag list, optionally scoped by entity type.

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.

Command::entity_type_filter

source

fn entity_type_filter(&self) -> Option<EntityType>

The entity type that --task, --artifact or --iteration selects.

Parameter Type Description
returns Option<EntityType> The first flag set, in that order, or None for every type.