Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Commit

Permalink
Make mutiple possible
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Nov 13, 2018
1 parent 4d49617 commit 1c05272
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/biokeen/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,16 @@ def ls():


@data.command()
@click.argument("name")
@click.argument('names', nargs=-1)
@connection_option
@click.option('-r', '--rebuild', is_flag=True)
@click.option('-v', '--verbose', is_flag=True)
def get(name, connection, rebuild, verbose):
def get(names, connection, rebuild, verbose):
"""Install, populate, and build Bio2BEL repository."""
if verbose:
logging.basicConfig(level=logging.INFO)
install_bio2bel_module(name, connection, rebuild)
for name in names:
install_bio2bel_module(name, connection, rebuild)


@data.group()
Expand Down

0 comments on commit 1c05272

Please sign in to comment.