Closed (fixed)
Project:
Module Builder
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2013 at 15:15 UTC
Updated:
12 Oct 2013 at 19:20 UTC
(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
Comment #1
joachim commented> 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.
Comment #2
wizonesolutionsThanks for the quick reply.
> Interactive mode
Yeah, I had to use
drush mb modulename --write --interactiveto get interactive mode. Does--writenow 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 :))
Comment #3
joachim commented> 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 :)
Comment #4
joachim commented