Add domain root to config
add_rootRegister a new domain root for a server profile, inferring the remote path and verifying it via SFTP before saving to config.
Instructions
Register a new domain root for a server profile. Infers the remote path from the server username if not specified, verifies the directory exists via SFTP, and saves to the config file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Absolute remote path. Defaults to /home/{username}/{domain}/public_html. | |
| domain | Yes | Domain name to add, e.g. saiyoken.jp. | |
| dry_run | No | Verify without saving to config. | |
| server_id | No | Server profile id. Defaults to config.defaultServer. |