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
pub struct CommandManage 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
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
pub fn requires_project(&self) -> boolWhether this command requires an initialized project.
enum Sub
enum SubThe 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.