@classmethod
def defaults(cls, *args):
    'Get default arguments added to a parser by all ``*args``.'
    dummy_parser = cls()
    for callback in args:
        callback(dummy_parser)
    defaults = dummy_parser.parse_known_args([])[0]
    return defaults
Get default arguments added to a parser by all ``*args``.
@classmethod
def defaults(cls, *args):
    
    dummy_parser = cls()
    for callback in args:
        callback(dummy_parser)
    defaults = dummy_parser.parse_known_args([])[0]
    return defaults