bin/git-presenter in git_presenter-1.1.0 vs bin/git-presenter in git_presenter-1.2.0
- old
+ new
@@ -2,7 +2,13 @@
require "rubygems"
require_relative "../lib/git_presenter"
YAML::ENGINE.yamler = 'psych'
-presenter = GitPresenter.new(Dir.pwd)
+if ARGV[1] == "-c"
+ interactive = false
+else
+ interactive = true
+end
+
+presenter = GitPresenter.new(Dir.pwd, interactive)
presenter.execute(ARGV[0])