-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The create_properties_script function currently does not allow overwriting of the existing file. I think it could be useful to add an argument for this (e.g. overwrite_existing=True) to be able to get the template back without manually deleting the file (at least it would make things easier in the docs to avoid something going wrong when people manually delete their file).
seedcase-sprout/src/seedcase_sprout/create_properties_script.py
Lines 11 to 20 in 298b9fe
| def create_properties_script(path: Path | None = None) -> Path: | |
| """Create a properties script with default values. | |
| If the script already exists, it will not be overwritten. | |
| Args: | |
| path: The path to the package folder. Defaults to the current working directory. | |
| Returns: | |
| The path to the newly created properties script. |
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Todo