attach
gest project attach: attach the current directory to an existing project as a workspace.struct Command
pub struct CommandAttach the current directory to an existing project as a workspace.
| Field | Type | Description |
|---|---|---|
id |
String | The full 32-character project ID to attach to (see gest project list --json); a prefix is not accepted. |
Implements FromArgMatches, Args, Debug.
Command::call
pub async fn call(&self, context: &AppContext) -> Result<(), Error>Attach the current working directory to an existing project as a workspace.
| 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. |