@classmethod
def command(cls, *args, **kwargs):
    """
        Creates a new command attached to the function.
        """
    return cls.add_meta_deco({'type': 'command', 'args': args, 'kwargs':
        kwargs})
