init command now adds default stylesheet and asks for confirmation to overwrite config

This commit is contained in:
Daniel Fichtinger 2025-07-03 01:04:15 -04:00
parent c875adb18c
commit 245919cb73
4 changed files with 272 additions and 13 deletions

View file

@ -8,7 +8,7 @@ def find_config(start: Path | None = None) -> Path | None:
current = (start or Path.cwd()).resolve()
for parent in [current, *current.parents]:
candidate = parent / "zona.yml"
candidate = parent / "config.yml"
if candidate.is_file():
return candidate
return None