[cli] add entry point to be just "halfapi" in Pipfile (__main__.py)
This commit is contained in:
parent
0a34948b98
commit
b651d90f0e
2
Pipfile
2
Pipfile
|
@ -20,4 +20,4 @@ pyjwt = "*"
|
|||
python_version = "3"
|
||||
|
||||
[scripts]
|
||||
halfapi = "halfapi.cli.cli:cli"
|
||||
halfapi = "python -m halfapi"
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
from .cli.cli import cli
|
||||
if __name__ == '__main__':
|
||||
cli()
|
Loading…
Reference in New Issue