Structure cli into a package (#1038)

PR with just the initial structural changes for the cli to be a package.
Subsequent PR will break out `main.py` into modules. Doing it in two
stages ensure that the commit history will be continuous for `cli.py` >
`cli/main.py`
This commit is contained in:
Steven B
2024-07-04 13:52:01 +01:00
committed by GitHub
parent 7427a88570
commit 983aacbc24
6 changed files with 11 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ include = [
"Documentation" = "https://python-kasa.readthedocs.io"
[tool.poetry.scripts]
kasa = "kasa.cli:cli"
kasa = "kasa.cli:__main__"
[tool.poetry.dependencies]
python = "^3.9"