view env/lib/python3.9/site-packages/planemo/commands/cmd_docs.py @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
line wrap: on
line source

"""Module describing the planemo ``docs`` command."""
import click

from planemo.cli import command_function

DOCS_URL = "http://planemo.readthedocs.io/en/latest/"


@click.command("docs")
@command_function
def cli(ctx, **kwds):
    """Open Planemo documentation in web browser."""
    click.launch(DOCS_URL)