Add test command
This commit is contained in:
parent
1760b496c6
commit
b3926ea8c8
3 changed files with 9 additions and 0 deletions
0
ip_listener/__init__.py
Normal file
0
ip_listener/__init__.py
Normal file
6
ip_listener/cli.py
Normal file
6
ip_listener/cli.py
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
import click
|
||||||
|
|
||||||
|
|
||||||
|
@click.command()
|
||||||
|
def test():
|
||||||
|
click.echo("Hello world")
|
||||||
|
|
@ -14,6 +14,9 @@ black = "^20.8b1"
|
||||||
isort = "^5.6.4"
|
isort = "^5.6.4"
|
||||||
autoflake = "^1.4"
|
autoflake = "^1.4"
|
||||||
|
|
||||||
|
[tool.poetry.scripts]
|
||||||
|
ip_listen = "ip_listener.cli:test"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry>=0.12"]
|
requires = ["poetry>=0.12"]
|
||||||
build-backend = "poetry.masonry.api"
|
build-backend = "poetry.masonry.api"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue