Files
automaton/debug_root.py
T

10 lines
346 B
Python

from pathlib import Path
from automaton.dashboard.core.scope import find_automaton_root
print(f"Current directory: {Path.cwd()}")
root = find_automaton_root()
print(f"Automaton root: {root}")
if root:
print(f"Tasks directory: {root / '.automaton' / 'tasks'}")
print(f"Tasks directory exists: {(root / '.automaton' / 'tasks').exists()}")