update

gest iteration update: update an iteration.

struct Command

source

pub struct Command

Update an iteration.

Field Type Description
id String The iteration ID or prefix.
description Option<String> Set the iteration description.
metadata Vec<String> Set a metadata key=value pair (repeatable; supports dot-paths and scalar inference).
metadata_json Vec<String> Merge a JSON object into metadata (repeatable; applied after –metadata pairs).
title Option<String> Set the iteration title.
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>

Apply title, description, and metadata changes to the resolved iteration within a recorded transaction.

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.