Skip to content

Commit

Permalink
chore: no weird output
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremad committed Apr 30, 2024
1 parent a1d7596 commit 638158b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions py_loop/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,7 @@ def main(args: ArgsList = None) -> Optional[Looper]:
)
looper.loop()
return looper


def cli_main(args: ArgsList = None) -> None:
main(args)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

[tool.poetry.scripts]
looper = 'py_loop.main:main'
looper = 'py_loop.main:cli_main'

0 comments on commit 638158b

Please sign in to comment.