def cli_common(doc, **kwargs):
arguments = docopt(doc, version='<STR_LIT>' + __version__, **kwargs)<EOL>setup_logger(arguments['<STR_LIT>'], arguments['<STR_LIT>'])<EOL>load_components()<EOL>try:<EOL><INDENT>import matplotlib<EOL><DEDENT>except ImportError:<EOL><INDENT>pass<EOL><DEDENT>else:<EOL><INDENT>matplotlib.use('<STR_LIT>')<EOL><DEDENT>return arguments<EOL>
Program initialization for all provided executables