summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlly Cope <olly@ollycope.com>2018-08-21 11:41:53 +0000
committerOlly Cope <olly@ollycope.com>2018-08-21 11:41:53 +0000
commit3d063ec0cc560781246e74f22c0608efc515f357 (patch)
treed39dcfffe9a2364969fb4a6b3db8d04fccdce074
parent680cbc7e773801deeb948ffe0b5829d229fff453 (diff)
downloadyoyo-3d063ec0cc560781246e74f22c0608efc515f357.tar.gz
Add a __main__ module
This lets you invoke yoyo as `python -myoyo`.
-rw-r--r--yoyo/__main__.py2
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()