archive
gest project archive: soft-archive a project, detaching all workspaces and hiding owned entities from list views.struct Command
pub struct CommandSoft-archive a project, detaching all workspaces and hiding owned entities from list views.
| 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
pub async fn call(&self, context: &AppContext) -> Result<(), Error>Confirm and archive the project, detaching all workspace paths.
| 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. |