PeteGoo/mmbot — pull request #65 by jamessantiago (2013-12-30 13:15:48+00:00)
Title: Script commenting

This provides script documentation similar to hubot. Some notes:

- documentation must be in xml comment format
- angled brackets inside an xml tag must use either `<` or `>` instead of < or >
- xml tag names are case sensitive and are currently all set to lowercase
- commands are parsed as string array seperated by a semicolon

The add help method can still be used but scripts should start using the new documentation so the help commands can be referenced back to their scripts.

I updated several of the scripts with the new commenting. For the help script I added a command to list all the loaded scripts and another to display the detailed documentation for a script.

I also updated the scheduler script to use the brain but after restarting the data is not reloaded even though exporting a list of the akavache keys shows the key I set. Script still works as previous.