fix(cli): wire verbose flag through entry point

Extract argparse into main() and point console script at it.
The -v/--verbose flag was dead because the entry point called
run() directly, bypassing the __main__ argparse block entirely.
This commit is contained in:
AlexKucera committed 2026-06-04 11:20:02 +02:00
1 parent c4ee24bb28
commit 722413a45b
5 files changed
+60 -3

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ dev = [
]
[project.scripts]
librofm-downloader = "librofm_downloader.cli:run"
librofm-downloader = "librofm_downloader.cli:main"
[tool.setuptools.packages.find]
include = ["librofm_downloader*"]