-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(templates): Add email field and use human-readable questions in …
…templates (#1905)
- Loading branch information
1 parent
59c3e3d
commit 1f62ae4
Showing
19 changed files
with
69 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
{ | ||
"name": "MyMapperName", | ||
"admin_name": "FirstName LastName", | ||
"admin_email": "firstname.lastname@example.com", | ||
"mapper_id": "mapper-{{ cookiecutter.name.lower() }}", | ||
"library_name": "{{ cookiecutter.mapper_id.replace('-', '_') }}", | ||
"variant": "None (Skip)", | ||
"include_ci_files": ["GitHub", "None (Skip)"], | ||
"license": ["Apache-2.0"] | ||
"license": ["Apache-2.0"], | ||
"__prompts__": { | ||
"name": "The name of the mapper, in CamelCase", | ||
"admin_name": "Provide your [bold yellow]full name[/]", | ||
"admin_email": "Provide your [bold yellow]email[/]", | ||
"mapper_id": "The ID of the tap, in kebab-case", | ||
"library_name": "The name of the library, in snake_case. This is how the library will be imported in Python.", | ||
"include_ci_files": "Whether to include CI files for a common CI services", | ||
"license": "The license for the project" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,21 @@ | ||
{ | ||
"destination_name": "MyDestinationName", | ||
"admin_name": "FirstName LastName", | ||
"admin_email": "firstname.lastname@example.com", | ||
"target_id": "target-{{ cookiecutter.destination_name.lower() }}", | ||
"library_name": "{{ cookiecutter.target_id.replace('-', '_') }}", | ||
"variant": "None (Skip)", | ||
"serialization_method": ["Per record", "Per batch", "SQL"], | ||
"include_ci_files": ["GitHub", "None (Skip)"], | ||
"license": ["Apache-2.0"] | ||
"license": ["Apache-2.0"], | ||
"__prompts__": { | ||
"name": "The name of the mapper, in CamelCase", | ||
"admin_name": "Provide your [bold yellow]full name[/]", | ||
"admin_email": "Provide your [bold yellow]email[/]", | ||
"mapper_id": "The ID of the tap, in kebab-case", | ||
"library_name": "The name of the library, in snake_case. This is how the library will be imported in Python.", | ||
"serialization_method": "The serialization method to use for loading data", | ||
"include_ci_files": "Whether to include CI files for a common CI services", | ||
"license": "The license for the project" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters