comparison env/lib/python3.7/site-packages/planemo/commands/cmd_open.py @ 5:9b1c78e6ba9c draft default tip

"planemo upload commit 6c0a8142489327ece472c84e558c47da711a9142"
author shellac
date Mon, 01 Jun 2020 08:59:25 -0400
parents 79f47841a781
children
comparison
equal deleted inserted replaced
4:79f47841a781 5:9b1c78e6ba9c
1 """Module describing the planemo ``docs`` command."""
2 import click
3
4 from planemo.cli import command_function
5
6
7 @click.command("docs")
8 @click.argument(
9 "path",
10 metavar="PATH",
11 type=click.Path(
12 exists=True,
13 file_okay=True,
14 dir_okay=False,
15 readable=True,
16 resolve_path=True,
17 ),
18 default="tool_test_output.html",
19 )
20 @command_function
21 def cli(ctx, path, **kwds):
22 """Open latest Planemo test results in a web browser."""
23 click.launch(path)