Defines a CLI function that should be routed by this API

def cli(self, *args, **kwargs):
        """Defines a CLI function that should be routed by this API"""
        kwargs['api'] = self.api
        return cli(*args, **kwargs)