tag

gest tag subcommand tree for listing and managing tags across entities.
Name Summary
add gest tag add: add tags to any entity (task, artifact, or iteration).
list gest tag list: list all tags, optionally filtered by entity type.
remove gest tag remove: remove tags from any entity (task, artifact, or iteration).

struct Command

source

pub struct Command

Manage tags across all entity types.

Field Type Description
subcommand Option<Sub> The subcommand to run; with none, the command lists every tag.

Implements FromArgMatches, Args, Debug.

Command::call

source

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

Dispatch to the matched tag subcommand, defaulting to list.

Parameter Type Description
context &AppContext the application context: settings, store and current project
returns Result<(), Error> The result of the subcommand that ran.

Command::requires_project

source

pub fn requires_project(&self) -> bool

Whether this command requires an initialized project.

Parameter Type Description
returns bool true for add and remove; false for list and for no subcommand.

enum Sub

source

enum Sub

The subcommands of gest tag, one variant for each.

Variant Description
Add(add::Command) Add tags to any entity (task, artifact, or iteration).
List(list::Command) List all tags.
Remove(remove::Command) Remove tags from any entity (task, artifact, or iteration).

Implements Debug, FromArgMatches, Subcommand.