<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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)()