python-for-android
python-for-android copied to clipboard
[WIP] New experimental argparse wrapper to have all options on all parsers
This is a new experimental argparse wrapper to have all options on all parsers. This might allow us to get rid of all the littered hasattr(args, "some_option") tests or getattr(args, "some_option", None) calls, such that always args.some_option can be used. I only removed a few instances of hasattr/getattr to test the functionality