#!/usr/bin/env ruby require 'reap/application' HELP = <<-END Usage: #{File.basename($0)} [options] 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