-
Notifications
You must be signed in to change notification settings - Fork 7
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
Infer config options from existing files #14
Comments
That's a great idea 🎉 The right place to implement this is in the blueprint index: https://github.com/empress/field-guide/blob/master/blueprints/field-guide/index.js#L43 I think it would be worthwhile just assuming that the files you're talking are available in |
When generating a new field-guide, the default config for
name
,copyright
, andgithub
could all be inferred from existing files in the project. For example, the defaultname
can be read from thename
property inpackage.json
, thegithub
property can come fromrepository
inpackage.json
, andcopyright
could be pulled fromCOPYRIGHT.md
. Instead of providing defaults we know will have to be changed, we could proactively provide intelligent defaults that may not need changing!The text was updated successfully, but these errors were encountered: