Skip to content
This repository has been archived by the owner on Feb 5, 2022. It is now read-only.

[feat] allow to change outDir in saofile.js #130

Open
wotermelon opened this issue Jun 17, 2019 · 1 comment
Open

[feat] allow to change outDir in saofile.js #130

wotermelon opened this issue Jun 17, 2019 · 1 comment

Comments

@wotermelon
Copy link

wotermelon commented Jun 17, 2019

Is there a way to change the output dynamically acording to the anwser?

Maybe provide a changeOutDir function will be nice in generator instance?

@wotermelon
Copy link
Author

Now my solution:

action () {
  this.sao.opts.outDir = this.answers.outputPath
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant