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