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

Function open

examples/termui/termui.py:105–107  ·  examples/termui/termui.py::open

Opens a file or URL In the default application.

(url)

Source from the content-addressed store, hash-verified

103@cli.command()
104@click.argument(class="st">"url")
105def open(url):
106 class="st">""class="st">"Opens a file or URL In the default application."class="st">""
107 click.launch(url)
108
109
110@cli.command()

Callers 15

editMethod · 0.85
open_urlFunction · 0.85
raw_terminalFunction · 0.85
__init__Method · 0.85
_wrap_io_openFunction · 0.85
write_to_dirFunction · 0.85
test_path_optionFunction · 0.85
test_editFunction · 0.85
test_file_argsFunction · 0.85
inoutFunction · 0.85

Calls

no outgoing calls

Tested by 15

write_to_dirFunction · 0.68
test_path_optionFunction · 0.68
test_editFunction · 0.68
test_file_argsFunction · 0.68
inoutFunction · 0.68
test_file_atomicsFunction · 0.68
test_open_fileFunction · 0.68