Method: Tane::Commands.command_list_and_help
- Defined in:
- lib/tane.rb
.command_list_and_help ⇒ Object
25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/tane.rb', line 25 def command_list_and_help command_list = "\n" command_list += "The commands I know are:" ($commands - ["app", "base"]).each do |command| command_list += "\n #{command}" end command_list += "\n\n" command_list += "For help on any of these commands do" command_list += "\n\t" command_list += "tane help command_name" command_list += "\n\n" end |