sao icon indicating copy to clipboard operation
sao copied to clipboard

[feat] allow to change outDir in saofile.js

Open wotermelon opened this issue 5 years ago • 1 comments

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 avatar Jun 17 '19 08:06 wotermelon

Now my solution:

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

wotermelon avatar Jun 19 '19 09:06 wotermelon