EGOIST
EGOIST
Hmm there's no native support for now, however here's a workaround: Using shelljs to move files in `post` hook: https://sao.js.org/#/create?id=post-hook
@KeitIG you can export a function in the config file and conditionally set what you should `prompt` 😄 https://sao.js.org/#/create?id=exporting-a-function
It's possible to skip certain prompts in https://github.com/terkelg/prompts ~~A new version https://github.com/saojs/kopy will use it :P~~ Maybe not now, It's missing some important features
Currently not possible, any idea on how it will look like?
Maybe something like this: *template-editorconfig*: ```js // sao.js module.exports = { prompts: { tab: { type: 'confirm', default: false } }, post() { console.log('Generated .editorconfig file!') } } ``` *template-gitignore*:...
Maybe rename `dependencies` to `subTemplates`, and add conditional sub template support: ```js // sao.js module.exports = { subTemplates(answers) { return { editorconfig: true, gitignore: answers.addGitignore } }, prompts: { addGitignore:...
would be nice to have a custom badge, like  for awesome
maybe export the path to your actual template? ```js const path = require('path') module.exports = path.dirname(require.resolve('template-foo/package')) ```
You can append a branch like this `user/repo#main`, maybe a better solution is to send a request to GitHub API to retrieve the default branch name.
@seaneking loading generators based on folder structure and using inline front matter instead of config file look pretty interesting 👀 maybe we should consider that too.