Docpie

Latest version: v0.4.2

Safety actively analyzes 629052 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

0.1.1

* [change] use "Options" when parsing "Usage" and remove some `fix` method

Though it's not recommended, you can now write:


Usage: prog -iFILE

Options: -i FILE input file


It's not clear. You'd better write `-i<file>` instead.

* [new] notice user when a flag is not defined.('Unknown option: <option>')
* [fix] handle auto_handler before matching
* [new] `optionsfirst` argument
* [change] **break-change** remove `Docpie.option_text` attribute,
add `Docpie.option_sections`

0.1.0

* [fix] merging value bug. `Usage: prog [--repeat=<sth> --repeat=<sth>]`
matching `prog` will now give `'--repeat=[]'` instead of the old
wrong value `'--repeat=0'`

0.0.9

* [new] better error information notification.
* [fix] better `Either` handling. Now `Either` will be expanded and throwed
away. Which means now for


Usage: prog [-v | -vv | -vvv] cmd


can match `-v cmd`, `-vv cmd`, `-vvv cmd`. The old format also works


Usage: prog [-vvv | -vv | -v] cmd


but the new one is more readable.
* [fix] remove some old api, remove `save.py`

0.0.8

* [fix] `Docpie.tokens.Argv.auto_expand` handles `--` in a wrong way

0.0.7

* [new] Now `Docpie` can guess your long options. e.g. when you write both
`--verbose` & `--version`, then the `--verb` in argv will be interpreted
as `--verbose`, `--vers` as `--version`, the `--ver` will raise an error.

0.0.6

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.