<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(yamlfile, format, classes, directory):
 """ Generate a UML representation of a biolink model """

    print(YumlGenerator(yamlfile, format).serialize(classes=classes, directory=directory), end="")