Closed
Description
Current problem
optparse
is deprecated since python 3.2 and is not developed anymore. Also, the parsing are handled in a strange way with callback that created stupid bug that could probably be avoided by refactoring the code (#3581) We need to migrate to another CLI parser, the most logical being argparse
or click
, but confuse
is also a possibility because it permits to have default option in a configuration file that could be one of the configuration we already handle and make option / configuration consistent. I'm open to other libraries too.
Desired solution
No more optparse used in the code, small and modular handling of CLI argument parsing, no more special case, or minimal.