Code
Hub
Workspaces
Connect your AI tool
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pallets/click
/ cli_int_ctx_exit
Function
cli_int_ctx_exit
tests/test_testing.py:290–292 · tests/test_testing.py::cli_int_ctx_exit
(ctx)
Source
from the content-addressed store, hash-verified
288
@click.command()
289
@click.pass_context
290
def
cli_int_ctx_exit(ctx):
291
click.echo(
class
="st">"hello world")
292
ctx.exit(1)
293
294
@click.command()
295
def
cli_float():
Callers
nothing calls this directly
Calls
1
exit
Method · 0.80
Tested by
no test coverage detected