#!/usr/bin/env ruby require 'reap/application' HELP = <<-END Usage: #{File.basename($0)} [options] Rollout is a meta-command which can run the following commands in order: reap-document* reap-package reap-publish* reap-release reap-scm-tag* reap-announce* The commands with astrisks are optional. You will be prompted in each case if you wish to include those procedures in the rollout process. Since reap-package also runs reap-prepare, which in turn runs reap-clean and reap-version, reap-rollout automates a large section of project management, and it therefore the most useful command in Reap. A typical usage is: $ reap-rollout --minor --password=foofoo The --minor option indicates a minor version bump (see reap-version), and the --password option is used by the rubyforge subsystem. END if ARGV.include?('--help') puts HELP else app = Reap::Application.new app.rollout end