Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/benzaita/dockerized-cli
/ friendly_dockerized_errors
Function
friendly_dockerized_errors
dockerized/ui/cli.py:19–24 ·
view source on GitHub ↗
(click)
Source
from the content-addressed store, hash-verified
17
18
@contextmanager
19
def
friendly_dockerized_errors(click):
20
try
:
21
yield
22
except
CommandError
as
err:
23
click.echo(err.message, err=True)
24
click.get_current_context().exit(1)
25
26
27
@click.group()
Callers
6
init
Function · 0.85
exec
Function · 0.85
clean
Function · 0.85
push
Function · 0.85
shell
Function · 0.85
compose
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected