I looked into this last night after speaking briefly with @Lange on gitter. Generating questions for inquirer.js to question the user, then populate a config is not feasible due to how complex a schema can be.
However, generating a config based on the configschema.json can be done rather easily using something like JSON-Schema-Instantiator, which supports the "default" tag in JSON Schema.
I looked into this last night after speaking briefly with @Lange on gitter. Generating questions for inquirer.js to question the user, then populate a config is not feasible due to how complex a schema can be.
However, generating a config based on the
configschema.json
can be done rather easily using something like JSON-Schema-Instantiator, which supports the"default"
tag in JSON Schema.For instance:
would output
Is this something that would still be useful?