Defines a CLI function that should be routed by this API
(self, *args, **kwargs)
| 149 | return exception(*args, **kwargs) |
| 150 | |
| 151 | def cli(self, *args, **kwargs): |
| 152 | """Defines a CLI function that should be routed by this API""" |
| 153 | kwargs["api"] = self.api |
| 154 | return cli(*args, **kwargs) |
| 155 | |
| 156 | def object(self, *args, **kwargs): |
| 157 | """Registers a class based router to this API""" |