diff --git a/Pipfile b/Pipfile index 844154e..851297a 100644 --- a/Pipfile +++ b/Pipfile @@ -20,4 +20,4 @@ pyjwt = "*" python_version = "3" [scripts] -halfapi = "halfapi.cli.cli:cli" +halfapi = "python -m halfapi" diff --git a/halfapi/__main__.py b/halfapi/__main__.py new file mode 100644 index 0000000..e75961b --- /dev/null +++ b/halfapi/__main__.py @@ -0,0 +1,3 @@ +from .cli.cli import cli +if __name__ == '__main__': + cli()