16 17 18 19 20 21
# File 'lib/git_stats/cli.rb', line 16 def generate I18n.locale = options[:language] GitStats::Generator.new(options) { |g| g.add_command_observer { |command, result| puts "#{command}" } unless options[:silent] }.render_all end