hookpy
run python with custom hooks.
Usage
-
create a
hook-config.json
, add your hooks and observed folders, then save it to your project folder. -
run python script with
hookpy /path/to/script.py --option1 --option2=value2
TODO
- Add pre-compile mode: load file, compile to ast, modify ast and compile to module.