unarchive

gest project unarchive: restore an archived project to active status.

struct Command

source

pub struct Command

Restore an archived project to active status.

Field Type Description
id String The project ID or prefix.
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>

Clear the archived flag on the project and print a workspace reattach hint.

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.