Open an interactive claude with the setup loaded through claude-release
CI / tests (pull_request) Has been cancelled
CI / tests (pull_request) Has been cancelled
This commit is contained in:
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env python3
|
||||
import os
|
||||
import pathlib
|
||||
import sys
|
||||
|
||||
# Said before the first import of the setup's code, which an older Python cannot read.
|
||||
if sys.version_info < (3, 14):
|
||||
sys.exit(f"claude-release needs Python 3.14 or later as python3 on PATH; it found Python {sys.version.split()[0]}")
|
||||
|
||||
sys.path.insert(0, str(pathlib.Path(__file__).resolve().parent))
|
||||
|
||||
from claude_release import main
|
||||
from loop_effects import effects
|
||||
|
||||
sys.exit(main.main(sys.argv[1:], pathlib.Path.cwd(), effects.system_effects(pathlib.Path.home(), os.environ)))
|
||||
Reference in New Issue
Block a user