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

Method cli

hug/api.py:573–576  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

571
572 @property
573 def cli(self):
574 if not hasattr(self, "_cli"):
575 self._cli = CLIInterfaceAPI(self, error_exit_codes=self.cli_error_exit_codes)
576 return self._cli
577
578 @property
579 def context_factory(self):

Callers 15

test_lack_requirementMethod · 0.45
test_directiveMethod · 0.45
test_validationMethod · 0.45
test_transformMethod · 0.45
test_exceptionMethod · 0.45
test_successMethod · 0.45
test_cliMethod · 0.45
test_cliFunction · 0.45

Calls 1

CLIInterfaceAPIClass · 0.85

Tested by 15

test_lack_requirementMethod · 0.36
test_directiveMethod · 0.36
test_validationMethod · 0.36
test_transformMethod · 0.36
test_exceptionMethod · 0.36
test_successMethod · 0.36
test_cliMethod · 0.36
test_cliFunction · 0.36