project_add_directory()
Create a folder in a project and record it under extra_directories.
Usage
project_add_directory(project_path: str | Path, key: str, label: str, path: str) -> Path
Arguments
| Name | Type | Description |
|---|---|---|
| project_path required | str | Path |
The project root. |
| key required | str |
A short key for the folder, such as |
| label required | str |
A human-readable name. |
| path required | str |
The folder, relative to the project root. |
Value
The created folder.