bin/gitscape in gitscape-0.1 vs bin/gitscape in gitscape-0.2
- old
+ new
@@ -6,10 +6,14 @@
require 'rubygems'
require 'gitscape'
end
if ARGV.size < 2
- puts "Usage: gitscape upstream head"
+ puts "Examples: "
+ puts "\tgitscape diff master staging"
+ puts "\tgitscape deploy_iteration i22"
exit(1)
-else
- GitScape.branch_diff(ARGV[0], ARGV[1])
+elsif ARGV[0] == "diff"
+ GitScape.compare(ARGV[1], ARGV[2])
+elsif ARGV[0] == "deploy_iteration"
+ GitScape.deploy_iteration(ARGV[1])
end