def cli(main, conf_dir=None, commands_dir=None):
    """Convenience function for initialising a Command CLI

    For parameter definitions see :class:`.Command`
    """
    return Command(main, conf_dir=conf_dir, commands_dir=commands_dir)()
def cli ( main , conf_dir = None , commands_dir = None ) : return Command ( main , conf_dir = conf_dir , commands_dir = commands_dir ) ( )
Convenience function for initialising a Command CLI

    For parameter definitions see :class:`.Command`