clan-cli: manage sub-commands via python argparse

This commit is contained in:
DavHau
2023-07-21 01:00:06 +02:00
committed by Jörg Thalheim
parent 95df33e2bc
commit 1e5cce99a9
3 changed files with 58 additions and 63 deletions

View File

@@ -9,7 +9,7 @@ include = ["clan.py"]
name = "clan"
description = "cLAN CLI tool"
dynamic = ["version"]
scripts = {clan = "clan:my_cli"}
scripts = {clan = "clan:clan"}
[tool.pytest.ini_options]
addopts = "--cov . --cov-report term --cov-fail-under=100 --no-cov-on-fail"