Closed Res260 closed 2 months ago
For awareness of anything else looking at the PR, this addition means that you can do things like
python -m contentctl.contentctl validate
python -m contentctl.contentctl test --post-test-behavior always_pause mode:all
which is convenient, because you do not need to poetry install / poetry shell
or pip install contentctl
to run the tool as long as you have the requirements met.
Yes and it also allows to put breakpoints in IDEs like pycharm and VS code (idk if there is another way but its usually how I do it haha)
Add a launcher to
contentctl.py
to allow easier debugging and launching withpython -m contentctl.contentctl