<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get(self, name=None):
 """ Returns commands, which can be filtered by name. :param name: name of the command :type name: str :return: None, single command or dict of commands """

        return self.app.commands.get(name, self.plugin)