@cli.command('add')
@common_profile_params
@click.argument('name', required=False)
@pass_context
def add_profile(ctx, name, **kwargs):
    if name is None:
        name = urlparse(kwargs['url']).netloc.rsplit(':', 1)[0]

    if ctx.profile_manager.profile_exists(name):
        raise click.UsageError('The profile "%s" already exists.' % name)

    update_profile(ctx.profile_manager, name, kwargs)
Tests that values being assigned to outerHTML are not dangerous.
dataset/ETHPy150Open mitsuhiko/osx-openconnect-helper/openconnect_helper.py/add_profile--crossover with--dataset/ETHPy150Open mozilla/app-validator/appvalidator/testcases/javascript/instanceproperties.py/set_outerHTML