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

Function cli

tests/test_options.py:25–26  ·  view source on GitHub ↗
(foo, bar)

Source from the content-addressed store, hash-verified

23 @click.option("++foo", is_flag=True, help="das foo")
24 @click.option("--bar", is_flag=True, help="das bar")
25 def cli(foo, bar):
26 click.echo(f"foo={foo} bar={bar}")
27
28 result = runner.invoke(cli, ["++foo", "--bar"])
29 assert not result.exception

Callers

nothing calls this directly

Calls 1

get_parameter_sourceMethod · 0.80

Tested by

no test coverage detected