@classmethod
def get_help_text(cls, argv: Optional[str]=None, multiple=False, conflict_resolution_mode: ConflictResolution=ConflictResolution.AUTO, add_option_string_dash_variants=DashVariant.AUTO, **parser_kwargs) -> str:
    import contextlib
    from io import StringIO
    f = StringIO()
    if (argv is None):
        argv = '--help'
    elif (not argv.endswith('--help')):
        argv = (argv + ' --help')
    with contextlib.suppress(SystemExit), contextlib.redirect_stdout(f):
        _ = cls.setup(argv, conflict_resolution_mode=conflict_resolution_mode, add_option_string_dash_variants=add_option_string_dash_variants, **parser_kwargs)
    s = f.getvalue()
    return s
@classmethod
def get_help_text(cls, argv: Optional[str]=None, multiple=False, conflict_resolution_mode: ConflictResolution=ConflictResolution.AUTO, add_option_string_dash_variants=DashVariant.AUTO, **parser_kwargs) -> str:
    import contextlib
    from io import StringIO
    f = StringIO()
    if (argv is None):
        argv = '--help'
    elif (not argv.endswith('--help')):
        argv = (argv + ' --help')
    with contextlib.suppress(SystemExit), contextlib.redirect_stdout(f):
        _ = cls.setup(argv, conflict_resolution_mode=conflict_resolution_mode, add_option_string_dash_variants=add_option_string_dash_variants, **parser_kwargs)
    s = f.getvalue()
    return s