Yeoman: Call Sub-Generator With User-Supplied Arguments

后端 未结 3 1349
刺人心
刺人心 2021-01-31 03:37

I\'m writing my first Yeoman generator, which prompts the user for various inputs and conditionally creates files based on their responses. I need to be able to call a subrouti

3条回答
  •  轮回少年
    2021-01-31 04:17

    2015-04 update: The yeoman api now includes this.composeWith as the preferred method for linking generators.

    docs: http://yeoman.io/authoring/composability.html

提交回复
热议问题