diff options
author | Olly Cope <olly@ollycope.com> | 2018-08-21 11:41:53 +0000 |
---|---|---|
committer | Olly Cope <olly@ollycope.com> | 2018-08-21 11:41:53 +0000 |
commit | 3d063ec0cc560781246e74f22c0608efc515f357 (patch) | |
tree | d39dcfffe9a2364969fb4a6b3db8d04fccdce074 | |
parent | 680cbc7e773801deeb948ffe0b5829d229fff453 (diff) | |
download | yoyo-3d063ec0cc560781246e74f22c0608efc515f357.tar.gz |
Add a __main__ module
This lets you invoke yoyo as `python -myoyo`.
-rw-r--r-- | yoyo/__main__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yoyo/__main__.py b/yoyo/__main__.py new file mode 100644 index 0000000..aa263e7 --- /dev/null +++ b/yoyo/__main__.py @@ -0,0 +1,2 @@ +from yoyo.scripts.main import main +main() |