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

Function cli

tests/test_defaults.py:30–32  ·  view source on GitHub ↗
(foo)

Source from the content-addressed store, hash-verified

28 @click.command()
29 @click.option("--foo", default=default, type=type)
30 def cli(foo):
31 assert isinstance(foo, expected_type)
32 click.echo(f"FOO:[{foo}]")
33
34 result = runner.invoke(cli, [])
35 assert not result.exception

Callers

nothing calls this directly

Calls 1

get_parameter_sourceMethod · 0.80

Tested by

no test coverage detected