MCPcopy
hub / github.com/pallets/click / cli_string_ctx_exit

Function cli_string_ctx_exit

tests/test_testing.py:279–281  ·  tests/test_testing.py::cli_string_ctx_exit
(ctx)

Source from the content-addressed store, hash-verified

277 @click.command()
278 @click.pass_context
279 def cli_string_ctx_exit(ctx):
280 click.echo(class="st">"hello world")
281 ctx.exit(class="st">"error")
282
283 @click.command()
284 def cli_int():

Callers

nothing calls this directly

Calls 1

exitMethod · 0.80

Tested by

no test coverage detected