bin/gitstrumental in instrumental_tools-0.4.2 vs bin/gitstrumental in instrumental_tools-0.5.0
- old
+ new
@@ -4,10 +4,10 @@
require 'instrumental_agent'
token = ENV["INSTRUMENTAL_TOKEN"] || ARGV[0]
if !token
- puts 'Usage: gitstrumental API_TOKEN'
+ puts 'Usage: gitstrumental API_KEY'
exit 1
end
lines = `git log --format="REC %at %h '%cn'" --numstat`.chomp.split(/\n+/).reject(&:empty?)
branch = File.basename(`git symbolic-ref HEAD`.chomp).gsub(/[^a-z0-9]/i, "_")