verbose/generator-verb

Adding a single document template.

doowb opened this issue · 3 comments

I'm trying to add single document templates and it's only re-running the node boilerplate:

yo verb doc:install

This makes me fill out my name, package name, and description each time and doesn't generator the requested document template.

I think you need to use yo verb:doc install.md, with the extension. Also, did you ever do yo verb on the project at least once? It needs to add a .verbrc.yml file.

I'm not sure how to get yeoman to skip the questions part. I don't know their API well enough yet. @hariadi, any advice?

Also, @doowb maybe you can look at verb-cli and offer some idea for how to fool liftoff into not requiring a config file in order to use the local project's instance of verb. I'll create an issue with liftoff if necessary, but I want to make sure I'm not missing an existing feature first.

I tried yo verb doc:install.md and it still didn't work. The docs on yeoman sub-generators are that great. They just say, look at the generator-generator project docs and that doesn't tell you anything about the actual sub-generator api or how it works.