Skip to content

Commit

Permalink
Remove legal_email field from Ecosystem template (#15379)
Browse files Browse the repository at this point in the history
* remove legal_email field from template

* styling
  • Loading branch information
steveny91 authored Jul 26, 2023
1 parent cbe645a commit 5a9067c
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,11 @@ def create(ctx, name, integration_type, location, non_interactive, quiet, dry_ru
author_name = click.prompt('Your Company Name')
homepage = click.prompt('The product or company homepage')
sales_email = click.prompt('Email used for subscription notifications')
legal_email = click.prompt('The Legal email used to receive subscription notifications')

template_fields['author'] = author_name

eula = 'assets/eula.pdf'
template_fields[
'terms'
] = f'\n "terms": {{\n "eula": "{eula}",\n "legal_email": "{legal_email}"\n }},'
template_fields['terms'] = f'\n "terms": {{\n "eula": "{eula}"\n }},'
template_fields[
'author_info'
] = f'\n "author": {{\n "name": "{author_name}",\n "homepage": "{homepage}",\n "vendor_id": "{TODO_FILL_IN}",\n "sales_email": "{sales_email}",\n "support_email": "{support_email}"\n }},' # noqa
Expand Down

0 comments on commit 5a9067c

Please sign in to comment.