lib/git_fonky/reporter.rb in git_fonky-0.3.0 vs lib/git_fonky/reporter.rb in git_fonky-0.4.0
- old
+ new
@@ -4,9 +4,13 @@
def initialize(repo_dir)
@repo_dir = repo_dir
end
+ def announce(action, direction = "from", remote = "upstream")
+ puts "-----> #{action} #{direction} #{remote} #{repo_dir.branch}"
+ end
+
def announce_success
puts "-----> Successfully updated #{repo_dir.dirname} | #{repo_dir.branch} branch"
end
def announce_update