#!/usr/bin/env ruby require 'reap/application' HELP = <<-END Usage: #{File.basename($0)} [options] Verify syntax of ruby scripts. This takes one option: scripts files is check The scripts option is a glob or list of globs of the scripts to check. By default this is all scripts in the libpath(s). END if ARGV.include?('--help') puts HELP else app = Reap::Application.new app.check_syntax end