I've updated the code. Now the scripts can convert a module into a new module and tpl file.
The script can produce a _widget hook from the old module file.
usage
bash$ ./mparse.php filename option
for example try:
bash$ ./mparse.php path/to/drupal/modules/node.module --all
update: fixed several bugs, so a new file is attached
| Attachment | Size |
|---|---|
| mparse.tgz | 3.46 KB |