bin/reap-uninstall-gem in reap-9.3.5 vs bin/reap-uninstall-gem in reap-9.4.0
- old
+ new
@@ -1,7 +1,22 @@
#!/usr/bin/env ruby
require 'reap/application'
-app = Reap::Application.new
+HELP = <<-END
+Usage: #{File.basename($0)} [options]
-app.gem_uninstall
+Remove previsously installed gem. This is equivalent to
+
+ $ gem uninstall {project name}
+
+The reap command is provided as a convenience when testing
+gem installation using reap-install-gem.
+END
+
+if ARGV.include?('--help')
+ puts HELP
+else
+ app = Reap::Application.new
+ app.gem_uninstall
+end
+