Skip to content

Commit

Permalink
Merge pull request #1304 from mvdbeek/planemo_setup_command
Browse files Browse the repository at this point in the history
Add planemo_ci_setup command
  • Loading branch information
nsoranzo committed Oct 31, 2022
2 parents 6f16888 + 35c8f83 commit b7d9761
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions planemo/commands/cmd_ci_setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
"""Module describing the planemo ``ci_setup`` command."""
import click

from planemo import options
from planemo.cli import command_function
from planemo.galaxy.serve import serve_daemon


@click.command("ci_setup")
@options.galaxy_target_options()
@command_function
def cli(ctx, **kwds):
"""
Launch Galaxy instance, then terminate instance.
Useful for populating a CI cache.
"""
kwds["galaxy_skip_client_build"] = True
with serve_daemon(ctx, **kwds):
return

0 comments on commit b7d9761

Please sign in to comment.