advance

gest iteration advance: validate the active phase is complete and advance to the next phase.

struct Command

source

pub struct Command

Validate the active phase is complete and advance to the next phase.

Field Type Description
id String The iteration ID or prefix.
force bool Advance even if the current phase has non-terminal tasks.
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>

Check that the active phase is terminal and report the next phase to work on.

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.