sao icon indicating copy to clipboard operation
sao copied to clipboard

[feat] allow outDir to work with sub-generators

Open fjc0k opened this issue 6 years ago • 0 comments

I'm working for my SAO generators.

I want to put all generators in one repo (https://github.com/fjc0k/sao-io) to make maintenance easier.

For example, Mini Program, WebAPP, Cli Tool...

Then, I can use sao io:{mp|h5|cli|lib} [outDir] to start my projects.

But, it's impossible based on the documentation:

Sub-generators are supposed to be running in an existing project, which means the output directory is always current working directory.

So, I hope SAO can allow outDir to work with sub-generators.

THX!

fjc0k avatar Apr 05 '19 05:04 fjc0k