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

Function second

tests/test_commands.py:57–59  ·  view source on GitHub ↗
(ctx, **kwargs)

Source from the content-addressed store, hash-verified

55 @click.option("-b")
56 @click.pass_context
57 def second(ctx, **kwargs):
58 click.echo(f"{ctx.params}")
59 ctx.forward(first)
60
61 result = runner.invoke(cli, ["second", "-a", "foo", "-b", "bar"])
62 assert not result.exception

Callers

nothing calls this directly

Calls 1

forwardMethod · 0.80

Tested by

no test coverage detected