delete

gest project delete: delete a project and all of its owned entities.

struct Command

source

pub struct Command

Delete a project and all of its owned entities.

This is a hard delete that cascades through every task, iteration, and artifact owned by the project, along with all their notes, tags, and relationships. The operation writes tombstone files and is not reversible via gest undo.

Field Type Description
id String The project ID or prefix.
output json::Flags The output mode: normal, --json, --quiet or --raw.
yes bool Skip the interactive confirmation prompt.

Implements FromArgMatches, Args, Debug.

Command::call

source

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

Confirm and cascade-delete the project along with all owned entities, writing tombstone files.

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.