iteration

gest iteration subcommand tree for planning and running phased work cycles.
Name Summary
add gest iteration add: add a task to an iteration.
advance gest iteration advance: validate the active phase is complete and advance to the next phase.
cancel gest iteration cancel: cancel an iteration.
complete gest iteration complete: complete an iteration.
create gest iteration create: create a new iteration.
delete gest iteration delete: delete an iteration and drop its task memberships, keeping the tasks.
graph gest iteration graph: show phased task dependency graph.
link gest iteration link: link an iteration to another entity.
list gest iteration list: list iterations in the current project.
meta Subcommands for reading and writing iteration metadata.
next gest iteration next: return the next available task in an iteration.
remove gest iteration remove: remove a task from an iteration.
reopen gest iteration reopen: reopen a completed or cancelled iteration.
show gest iteration show: show an iteration by ID or prefix.
status gest iteration status: show iteration progress summary.
tag gest iteration tag: add a tag to an iteration.
unlink gest iteration unlink: remove a relationship between an iteration and another entity.
untag gest iteration untag: remove a tag from an iteration.
update gest iteration update: update an iteration.

struct Command

source

pub struct Command

Manage iterations.

Field Type Description
subcommand Sub The subcommand to run.

Implements FromArgMatches, Args, Debug.

Command::call

source

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

Dispatch to the matched iteration subcommand.

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

enum Sub

source

enum Sub

The subcommands of gest iteration, one variant for each.

Variant Description
Add(add::Command) Add a task to an iteration.
Advance(advance::Command) Validate active phase and advance to the next phase.
Cancel(cancel::Command) Cancel an iteration.
Complete(complete::Command) Complete an iteration.
Create(create::Command) Create a new iteration.
Delete(delete::Command) Delete an iteration and drop its task memberships.
Graph(graph::Command) Show phased task dependency graph.
Link(link::Command) Link an iteration to another entity.
List(list::Command) List iterations.
Meta(meta::Command) Get or set custom metadata.
Next(next::Command) Return the next available task in an iteration.
Remove(remove::Command) Remove a task from an iteration.
Reopen(reopen::Command) Reopen a completed or cancelled iteration.
Show(show::Command) Show an iteration.
Status(status::Command) Show iteration progress summary.
Tag(tag::Command) Add a tag to an iteration.
Unlink(unlink::Command) Remove a relationship between an iteration and another entity.
Untag(untag::Command) Remove a tag from an iteration.
Update(update::Command) Update an iteration.

Implements Debug, FromArgMatches, Subcommand.