application.options
Module¶
Program options.
-
class
wpull.application.options.
AppArgumentParser
(*args, real_exit=True, **kwargs)[source]¶ Bases:
argparse.ArgumentParser
An Argument Parser that builds up the application options.
-
class
wpull.application.options.
AppHelpFormatter
(prog, indent_increment=2, max_help_position=24, width=None)[source]¶ Bases:
argparse.HelpFormatter
-
class
wpull.application.options.
CommaChoiceListArgs
[source]¶ Bases:
frozenset
Specialized frozenset.
This class overrides the
__contains__
function to allow the use of thein
operator for ArgumentParser’schoices
checking for comma separated lists. The function behaves differently only when the objects compared are CommaChoiceListArgs.