Docopt-ng

Latest version: v0.9.0

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

Scan your dependencies

Page 2 of 2

0.6.3

- Catch up on \~two years of pull requests.
- Fork [docopt](https://github.com/docopt/docopt) to
[docopt-ng](https://github.com/bazaar-projects/docopt-ng).
- Add levenshtein based autocorrect from
[string-dist](https://github.com/obulkin/string-dist).
- Add better debug / error messages.
- Linting (via [black](https://github.com/ambv/black) and
[flake8](https://gitlab.com/pycqa/flake8)).

0.6.2

- Bugfixes

0.6.1

- Fix issue [\85](https://github.com/docopt/docopt/issues/85) which
caused improper handling of `[options]` shortcut if it was present
several times.

0.6.0

- New argument `options_first`, disallows interspersing options and
arguments. If you supply `options_first=True` to `docopt`, it will
interpret all arguments as positional arguments after first
positional argument.
- If option with argument could be repeated, its default value will
be interpreted as space-separated list. E.g. with
`[default: ./here ./there]` will be interpreted as
`['./here', './there']`.

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.