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:
5 files changed
+60
-3
No files matched your search
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
- **cli:** Extract `main()` so argparse runs for installed console script.
|
||||
`-v`/`--verbose` was dead because the entry point called `run()`
|
||||
directly, bypassing the `if __name__ == "__main__"` argparse block.
|
||||
|
||||
## [1.1.0] - 2026-06-04
|
||||
|
||||
### Added
|
||||
|
||||
Reference in new issue
Block a user