Bushido/tane — pull request #10 by HashNuke (2011-12-22 15:14:56+00:00)
Title: Fixes #404 #405 #395 #386 #415

* New command to list email templates: tane email list

* New command to send email: tane email send template_name

* Lists email templates if template isn't found

* Refactors some helper methods

* Adds new support_url method that POST to http://bushi.do/support/v1/message

* tane support' now really sends a message to Bushido team

* Along with message, 'tane support' sends the email stored in credentials or prompts the user to enter one.

* Required changes to helper method after changing tane email

* Updates specs to reflect changes to email and support commands

* Deletes lib/commands/email.rb

* Adds .rspec file

* tane help command_name #415
Each command that us callable by the user has a help_text() class method
This method returns the help text for the command

* bin/tane uses const_get() instead of doing an eval()

* Gracefully handles missing commands with const_missing()

* Tane::Commands.command_list_and_help returns the command list

* Refactors parser.rb to use the Tane::Commands.command_list_and_help