bin/method_log in method_log-0.0.1 vs bin/method_log in method_log-0.0.2

- old
+ new

@@ -3,11 +3,11 @@ require 'bundler/setup' require 'method_log' require 'method_log/repository' require 'method_log/api' -repository = MethodLog::Repository.new(path: ARGV[0]) +repository = MethodLog::Repository.new(path: Dir.pwd) api = MethodLog::API.new(repository: repository) -method_commits = api.history(ARGV[1]) +method_commits = api.history(ARGV[0]) method_commits.each do |method_commit| puts method_commit end