Initialize local site workspace
init_site_workspaceInitialize a local workspace directory for a configured domain outside the repository, adding a protective .gitignore.
Instructions
Create the local workspace directory for a configured domain outside this repository and add a protective .gitignore.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Configured domain root to operate under. | |
| dry_run | No | Return paths without creating directories. | |
| server_id | No | Server profile id. Defaults to config.defaultServer. | |
| workspace_root | No | Local workspace root. Defaults to config.localWorkspaceRoot or ~/Dev/xserver-sites. |