MCPcopy
hub / github.com/hugapi/hug / cli

Method cli

hug/route.py:151–154  ·  view source on GitHub ↗

Defines a CLI function that should be routed by this API

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

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"""

Callers

nothing calls this directly

Calls 1

cliFunction · 0.70

Tested by

no test coverage detected