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 subroutine (could be a Yeoman sub-generator) based on user input, and pass arg...
I am creating a Yeoman Generator to automate creation of few database tables. I need to provide users with a prompt to add multiple columns (combination of ColumnName and DataType below).  I have a template saved in my disk where I bind the dynamic n...
I'm trying to use composeWith, to call a subgenerator within the same generator package. Yet for some reason, only the constructor of the called generator is invoked.  My generator-package generator-test looks like this:  package.json generators...
I've seen various posts that suggest Yeoman's wiring is going to be handled by the HTML Wiring package and that the methods in Yeoman itself are now deprecated.  There are no docs at all on the Wiring. Does anyone have any idea how it works o...
I am trying to use the generator of generatos, the generator-generator, and I am facing an error.  [email protected]:~/Documents$ yo generator ? Your generator name (generator-documents)   events.js:154       throw er; // Unhandled 'error' ev...
I am building a Yeoman generator and dependencies needed for this come from https://github.com/sboudrias/mem-fs-editor#copytplfrom-to-context-settings and https://github.com/SBoudrias/Inquirer.js/   The idea is to be able to ask the user a question a...
I am building a yeoman generator, and need to assign an additional value/answer when a prompt is answered.  I have found a way to prompt user with another question, but what I need is to assign a predefined answer automatically in the background - so...
I have the following interesting scenario in a Yeoman generator but I have to fall back on regular NodeJS file system operations.  In my case, I need first read and write a file that already exists on the file system. I read the file synchronously an...
I'm building a custom yeoman generator, so when it's time to create files they're created one directory above my current location, or at .., so for example if I run:  yo koala   From /home/diegoaguilar/koala the files will be created at /...
thank you in advance for any help, I know this is likely a simple issue but I have been working on it for sometime and can't figure out what I'm doing wrong.   Contextual Information I am trying to implement a simple custom directive for Angu...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.