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

Function display_cmd

examples/imagepipe/imagepipe.py:123–128  ·  view source on GitHub ↗

Opens all images in an image viewer.

(images)

Source from the content-addressed store, hash-verified

121@cli.command("display")
122@processor
123def display_cmd(images):
124 """Opens all images in an image viewer."""
125 for image in images:
126 click.echo(f"Displaying '{image.filename}'")
127 image.show()
128 yield image
129
130
131@cli.command("resize")

Callers

nothing calls this directly

Calls 1

showMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…