Class: CTT::Cli::Command::Help
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from CTT::Cli::Command::Base
Instance Method Details
#run ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/cli/commands/help.rb', line 5 def run @commands = @runner.commands @commands.each do |command, details| say(details["usage"], :green) say("\t#{details["desc"]}\n") end end |