Files

18 lines
519 B
Python
Executable File

#!/usr/bin/env python3
"""
AutoDev - Autonomous CLI Development Studio
Can be symlinked from anywhere. Works in the directory where you call it.
"""
import os
import sys
# Resolve the real location of this script (follows symlinks)
# so Python can find the autodev package regardless of where we're called from
real_script = os.path.realpath(__file__)
package_dir = os.path.dirname(os.path.dirname(real_script))
if package_dir not in sys.path:
sys.path.insert(0, package_dir)
from autodev.main import main
main()