def docpie(doc, argv=None, help=True, version=None,
           stdopt=True, attachopt=True, attachvalue=True,
           auto2dashes=True, name=None, case_sensitive=False,
           optionsfirst=False, appearedonly=False, namedoptions=False,
           extra=None):

    if case_sensitive:
        warnings.warn('`case_sensitive` is deprecated, `docpie` is always '
                      'case insensitive')

    kwargs = locals()
    argv = kwargs.pop('argv')
    pie = Docpie(**kwargs)
    pie.docpie(argv)
    return pie
Parse `argv` based on command-line interface described in `doc`.
dataset/ETHPy150Open TylerTemp/docpie/docpie/__init__.py/docpie