@cli.command('unset', short_help='Unset application configuration.', context_settings=CONTEXT_SETTINGS)
@arguments.env_keys
@options.application_id
@options.force
@options.marathon_client
@pass_logger
def unset(logger, marathon_client, force, application_id, env_keys):
    """Unset application configuration.
    """
    existing_application = marathon_client.get_application(application_id)
    application = {'id': application_id, 'env': existing_application['env']}

    for key in env_keys:
        try:
            del application['env'][key]
        except __HOLE__:
            pass

    # redeploy the reconfigured application
    marathon_client.deploy(application, force=force).wait()
dataset/ETHPy150Open shopkeep/shpkpr/shpkpr/commands/cmd_config.py/unset