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

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4f3585e2f14b
1 """Module describing the planemo ``profile_create`` command."""
2 from __future__ import print_function
3
4 import click
5
6 from planemo import options
7 from planemo.cli import command_function
8 from planemo.galaxy import profiles
9
10
11 @click.command('profile_create')
12 @options.profile_name_argument()
13 @options.profile_database_options()
14 @options.serve_engine_option()
15 @options.docker_config_options()
16 @options.galaxy_url_option()
17 @options.galaxy_user_key_option()
18 @options.galaxy_admin_key_option()
19 @command_function
20 def cli(ctx, profile_name, **kwds):
21 """Create a profile."""
22 profiles.create_profile(ctx, profile_name, **kwds)
23 print("Profile [%s] created." % profile_name)