Skip to content

Only prompt for schema found in the template #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Only prompt for schema found in the template #18

wants to merge 2 commits into from

Conversation

flippidippi
Copy link

When prompting the user for template options, I think it makes sense only to prompt for answers needed. So if a template doesn't have {{ author }} anywhere, then they will not be bothered with the prompt as it may cause confusion. And the same goes for options that appear in the meta.json but not in the template.

@yyx990803
Copy link
Member

In the future versions we are going to use schema in meta.json as the only data source for prompt - so if you don't want a prompt to show up, simply delete it from your schema.

@yyx990803 yyx990803 closed this Apr 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants