From 1b808f56717da58c9773a60546579f6c0631e933 Mon Sep 17 00:00:00 2001 From: novirium Date: Fri, 3 Jan 2020 11:19:58 +0800 Subject: [PATCH] Enable running package directly --- shepherd/__main__.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 shepherd/__main__.py diff --git a/shepherd/__main__.py b/shepherd/__main__.py new file mode 100644 index 0000000..8f2e00d --- /dev/null +++ b/shepherd/__main__.py @@ -0,0 +1,3 @@ +if __name__ == '__main__': + from .core import cli + cli()