# File lib/operator.rb, line 133 def help project, config, opts, command if opts[:cow] puts "MOO!" puts "All is well with the world now. A bit more methane though." return end return help_single(command) if command puts "Ditz commands:\n\n" ops = self.class.operations len = ops.map { |name, op| name.to_s.length }.max ops.each do |name, opts| printf " %#{len}s: %s\n", name, opts[:desc] end puts "\nUse 'ditz help <command>' for details.\n" end