with open('src/thegent/cli/apps/__init__.py', 'r') as f:
    content = f.read()

# Fix the import
content = content.replace('from thegent.cli.apps import phench', 'from . import phench')

with open('src/thegent/cli/apps/__init__.py', 'w') as f:
    f.write(content)
print("Fixed __init__.py")
