desloppify
desloppify copied to clipboard
py -m desloppify --version fails with command-required error
Reproduction
py -m desloppify --version
Actual
CLI returns usage and:
error: the following arguments are required: command
Expected
Top-level version flag should print version and exit cleanly, or docs should clearly state a different version command.
Environment
- OS: Windows
- Python: 3.12.10
- desloppify: 0.7.2
Fixed in PR #151 - added --version and -V flags to the CLI.
Now you can run:
py -m desloppify --version
# or
py -m desloppify -V
Both will output: desloppify 0.7.6