Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_requirement
Method · 0.45
test_directive
Method · 0.45
test_validation
Method · 0.45
test_transform
Method · 0.45
test_exception
Method · 0.45
test_success
Method · 0.45
test_routing_class_with_cli_commands
Function · 0.45
test_routing_class_based_method_view_with_cli_routing
Function · 0.45
test_cli
Method · 0.45
test_cli
Function · 0.45
test_cli_interface_api_with_exit_codes
Function · 0.45
test_cli_interface_api_without_exit_codes
Function · 0.45
Calls
1
CLIInterfaceAPI
Class · 0.85
Tested by
15
test_lack_requirement
Method · 0.36
test_directive
Method · 0.36
test_validation
Method · 0.36
test_transform
Method · 0.36
test_exception
Method · 0.36
test_success
Method · 0.36
test_routing_class_with_cli_commands
Function · 0.36
test_routing_class_based_method_view_with_cli_routing
Function · 0.36
test_cli
Method · 0.36
test_cli
Function · 0.36
test_cli_interface_api_with_exit_codes
Function · 0.36
test_cli_interface_api_without_exit_codes
Function · 0.36