# File lib/travis/cli.rb, line 67 def command(name) const_name = command_name(name) constant = CLI.const_get(const_name) if const_name =~ /^[A-Z][A-Za-z]+$/ and const_defined? const_name if command? constant constant else $stderr.puts "unknown command #{name}" exit 1 end end