init command now adds default stylesheet and asks for confirmation to overwrite config
This commit is contained in:
parent
c875adb18c
commit
245919cb73
4 changed files with 272 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue