@staticmethod
def on_parser_preparation(parser):
    """Plugin hook to manipulate the OptionParser object before command line
        parsing. If a value is returned here it will replace the OptionParser
        object."""
