list

gest iteration list: list iterations in the current project.

struct Command

source

pub struct Command

List iterations in the current project.

Field Type Description
all bool Show all iterations, including completed.
has_available bool Only show iterations that have unclaimed (open) tasks.
limit LimitArgs The --limit option, which caps how many items print.
status Option<IterationStatus> Filter by status.
tag Option<String> Filter by tag.
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>

Query iterations with the requested filters and render them with per-iteration phase and task counts.

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.