def add_postprocessor(postproc):
def decorator(func):<EOL><INDENT>func = ScriptAdaptor._wrap(func)<EOL>func._add_postprocessor(postproc)<EOL>return func<EOL><DEDENT>return decorator<EOL>
Define a postprocessor to run after the function is executed, when
running in console script mode.

:param postproc: The callable, which will be passed the Namespace
                 object generated by argparse and the return
                 result of the function.  The return result of the
                 callable will be used as the final return result
                 (or as the result fed into the next
                 postprocessor).