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

Function cli_float_ctx_exit

tests/test_testing.py:301–303  ·  tests/test_testing.py::cli_float_ctx_exit
(ctx)

Source from the content-addressed store, hash-verified

299 @click.command()
300 @click.pass_context
301 def cli_float_ctx_exit(ctx):
302 click.echo(class="st">"hello world")
303 ctx.exit(1.0)
304
305 @click.command()
306 def cli_no_error():

Callers

nothing calls this directly

Calls 1

exitMethod · 0.80

Tested by

no test coverage detected