bin/gitscape in gitscape-0.2 vs bin/gitscape in gitscape-1.1

- old
+ new

@@ -6,14 +6,17 @@ require 'rubygems' require 'gitscape' end if ARGV.size < 2 - puts "Examples: " - puts "\tgitscape diff master staging" - puts "\tgitscape deploy_iteration i22" + puts "TODO: write usage help text" exit(1) -elsif ARGV[0] == "diff" - GitScape.compare(ARGV[1], ARGV[2]) -elsif ARGV[0] == "deploy_iteration" - GitScape.deploy_iteration(ARGV[1]) +else + case ARGV[0] + when "hotfix_start" + GitScape.new.hotfix_start + when "hotfix_finish" + GitScape.new.hotfix_finish + else + puts "Unknown command" + end end