(probably [META], but I'll let you decide)

I noticed that the documentation for drush mb is out of date. Interactive mode is no longer the default; you have to specify --interactive. However, this argument is not documented. --noi is still referred to.

Hook presets are used even if you leave that part of the wizard blank. If you specify the hook, the template will be used.

It is not immediately clear how to tell Module Builder not to add a README.txt, mymodule.api.php or tests directory. These are good ideas, but for internal modules, for example, they are overkill.

Comments

joachim’s picture

> Interactive mode is no longer the default

Are you sure?
That's probably a bug -- or at least, it was my intention that interactive is the default.

Though I have been thinking for a few weeks that I should split interactive and non-interactive into two separate comments.

> Hook presets are used even if you leave that part of the wizard blank. If you specify the hook, the template will be used.

Do you mean the boilerplate code from the API documentation? Yes, that is always used.

> It is not immediately clear how to tell Module Builder not to add a README.txt, mymodule.api.php or tests directory

Agreed. And yes, that currently needs work.

wizonesolutions’s picture

Thanks for the quick reply.

> Interactive mode

Yeah, I had to use drush mb modulename --write --interactive to get interactive mode. Does --write now imply --noi? It used to not.

Cool on the other stuff. Those were more comments/things that could be documented just since they are different than last time I used Module Builder (I admittedly don't use it that often :))

joachim’s picture

Title: Update documentation » interactive mode no longer default
Category: task » bug

> Yeah, I had to use drush mb modulename --write --interactive to get interactive mode. Does --write now imply --noi? It used to not.

It's a bug. Let's make this issue be about it.

(Feel free to file other issues for other stuff above, or other stuff entirely :)

joachim’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.