First commit, working quite ok!
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/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()
|
||||
Reference in New Issue
Block a user