bin/git-presenter in git_presenter-0.1.1 vs bin/git-presenter in git_presenter-0.2.0
- old
+ new
@@ -8,12 +8,15 @@
GitPresenter.initialise_presentation(Dir.pwd)
puts "Presentation has been initalised"
puts "run 'git-presenter start' to begin the presentation"
elsif ARGV[0] == "start"
presenter = GitPresenter.start_presentation(Dir.pwd)
+ puts presenter.current_slide
while command = Readline.readline(presenter.status_line, true)
- p presenter.execute(command)
+ result = presenter.execute(command)
+ exit if result == :exit
+ puts result
end
else
puts "what you talkin bout willis"
end