bin/reap-clobber in reap-9.3.5 vs bin/reap-clobber 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.clobber
+This tool runs all built-in clobber procedures. Clobber
+procedures are "undo" procedures for built-in generators,
+such as the documentation and package generators.
+Clobber also runs the clean task.
+
+Use clobber to restore a project to it's "pristine" state.
+END
+
+if ARGV.include?('--help')
+ puts HELP
+else
+ app = Reap::Application.new
+ app.clobber
+end
+