This repository has been archived by the owner on Apr 9, 2021. It is now read-only.
Version 2
Version 2 is out. It simplifies the internals significantly and removes barely-used functions from the public interface, making the library easier to learn and use.
Most code should still work, but some might require changing. Expect bugs too — the internals have changed significantly.
Breaking changes
- Renamed
Opt.take_args
keyword argdefault
tod
- Removed
Opt.is_long()
classmethod - Removed
Opt.is_short()
classmethod - Removed
Opt.find_in()
method (private) - Removed
Opt.converter
attribute (private) - Removed
Opt.arg_amt
attribute (private) - Removed
Opt.names
attribute (private) - Removed
Argv
class - Removed
_ListSubclass
class
Non-breaking changes
- Removed type annotations
Opt
's string form always sorts option names by length.