@staticmethod<EOL><INDENT>def unpack_pargs(positional_args, param_kwargs, gnu=False):<DEDENT>
def _transform(argname):<EOL><INDENT>"""<STR_LIT>"""<EOL>if len(argname) == <NUM_LIT:1>:<EOL><INDENT>return '<STR_LIT>'.format(argname)<EOL><DEDENT>return '<STR_LIT>'.format(argname.replace('<STR_LIT:_>', '<STR_LIT:->'))<EOL><DEDENT>args = []<EOL>for item in param_kwargs.keys():<EOL><INDENT>for value in param_kwargs.getlist(item):<EOL><INDENT>if gnu:<EOL><INDENT>args.append('<STR_LIT>'.format(<EOL>_transform(item),<EOL>value<EOL>))<EOL><DEDENT>else:<EOL><INDENT>args.extend([<EOL>_transform(item),<EOL>value<EOL>])<EOL><DEDENT><DEDENT><DEDENT>if positional_args: <EOL><INDENT>for item in positional_args:    <EOL><INDENT>args.append(_transform(item))<EOL><DEDENT><DEDENT>return args<EOL>
Unpack multidict and positional args into a
        list appropriate for subprocess.
        :param param_kwargs: 
            ``ParamDict`` storing '--param' style data.
        :param positional_args: flags
        :param gnu: 
            if True, long-name args are unpacked as:
                --parameter=argument
            otherwise, they are unpacked as:
                --parameter argument
        :returns: list appropriate for sending to subprocess