<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def def_cmd(name=None, short=None, fn=None, usage=None, help=None):
 """ Define a command. """

    command = Command(name=name, short=short, fn=fn, usage=usage, help=help)
    Command.register(command)