Sha256: b4ff77a0f6e6ca5def707cb1f804d23572ebade61787137c5a7d7d4c786428ab
Contents?: true
Size: 434 Bytes
Versions: 6
Compression:
Stored size: 434 Bytes
Contents
# -*- encoding : utf-8 -*- require "git_stats" class GitStats::CLI def start(*args) raise "Wrong number of arguments\nUsage: git_stats repo_path output_path <output_lang>" unless [2, 3].include? args.size repo_path, out_path, lang = args I18n.locale = lang || :en GitStats::Generator.new(repo_path, out_path) { |g| g.add_command_observer { |command, result| puts "#{command}" } }.render_all end end
Version data entries
6 entries across 6 versions & 1 rubygems