Allow for a configuration to be read from file if it exists:
.stimpak.json
{
"answers": {
"projectName": "My Project"
}
}
.stimpak.yml
answers:
projectName: "My Project"
examples/load.js
import Stimpak from "stimpak";
const stimpak = new Stimpak()
.load(`${__dirname}/stimpak.json`);
// answers were loaded, so any prompts with those names will be skipped.
Allow for a configuration to be read from file if it exists:
.stimpak.json
.stimpak.yml
examples/load.js