Permalink
Browse files

Add --port option or serve and tool_factory.

  • Loading branch information...
jmchilton committed May 1, 2015
1 parent 649b4a1 commit 15804be567e499f069cb8efc3d010a06c80fee37
Showing with 11 additions and 0 deletions.
  1. +1 −0 planemo/commands/cmd_serve.py
  2. +1 −0 planemo/commands/cmd_tool_factory.py
  3. +9 −0 planemo/options.py
@@ -8,6 +8,7 @@
@click.command('serve')
@options.optional_tools_arg()
@options.galaxy_root_option()
@options.galaxy_port_option()
@options.install_galaxy_option()
@options.no_cache_galaxy_option()
@options.no_cleanup_option()
@@ -8,6 +8,7 @@

@click.command('tool_factory')
@options.galaxy_root_option()
@options.galaxy_port_option()
@options.install_galaxy_option()
@options.no_cache_galaxy_option()
@options.no_cleanup_option()
@@ -37,6 +37,15 @@ def galaxy_root_option():
)


def galaxy_port_option():
return click.option(
"--port",
type=int,
default="9090",
help='Port to serve Galaxy on (default is 9090).'
)


def dependency_resolvers_option():
return click.option(
"--dependency_resolvers_config_file",

0 comments on commit 15804be

Please sign in to comment.