INNER CODE UNIT · Python
config
aehrc/VariantSpark · cloud/aws-emr/python/vs_emr/cli.py:203
config = merge_configs([conf_defaults]+ profile_configs + [ cmd_conf_to_config(conf), options])
return config
#
# Command line interface
#
@click.group()
#this needs to be moved to vnl.sumbmit.main somehow but for now I just to not have any idea how do it
@click.option('--dry-run', help='Dry run. Do not execute the actual command', is_flag=True)
@click.option('--verbose', help='Produce verbose output', is_flag=True)
@click.option('--silent', help='Do not produce any output', is_flag=True)
@click.pass_context
def cli(ctx, dry_run, verbose, silent):
ctx.obj = AWSContext(dry_run, verbose, silent)
MAP_OPTIONS_TO_CONFIG = dict(