Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pallets/click
/ callback
Function
callback
src/click/decorators.py:389–391 ·
view source on GitHub ↗
(ctx: Context, param: Parameter, value: bool)
Source
from the content-addressed store, hash-verified
387
""
"
388
389
def
callback(ctx: Context, param: Parameter, value: bool) -> None:
390
if
not value:
391
ctx.abort()
392
393
if
not param_decls:
394
param_decls = (
"--yes"
,)
Callers
1
invoke
Method · 0.70
Calls
4
abort
Method · 0.80
find_root
Method · 0.80
exit
Method · 0.80
echo
Function · 0.70
Tested by
no test coverage detected