set_project_root
Registers a new project root and switches to it. If already registered, switches without reindex unless force is true.
Instructions
Register a new project root and switch to it. If the path is already registered, this becomes a cheap active-root switch (no reindex) unless force=true is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Alias de `path`. Absolute path to the project root directory. | |
| path | No | Absolute path to the project root directory. | |
| root | No | Alias de `path`. Absolute path to the project root directory. | |
| force | No | Rebuild the index even if the project is already registered. | |
| project | No | Alias de `path`. Absolute path to the project root directory. |