Add test command

This commit is contained in:
sonny 2020-12-26 16:37:56 +01:00
parent 1760b496c6
commit b3926ea8c8
3 changed files with 9 additions and 0 deletions

0
ip_listener/__init__.py Normal file
View file

6
ip_listener/cli.py Normal file
View file

@ -0,0 +1,6 @@
import click
@click.command()
def test():
click.echo("Hello world")

View file

@ -14,6 +14,9 @@ black = "^20.8b1"
isort = "^5.6.4"
autoflake = "^1.4"
[tool.poetry.scripts]
ip_listen = "ip_listener.cli:test"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"