# tap <%= command_name %> {options} ARGS... # # The default command simply prints the input arguments # and application information, then exits. # env = Tap::Env.instance app = Tap::App.instance # # handle options # OptionParser.new do |opts| opts.separator "" opts.separator "options:" opts.on("-h", "--help", "Show this message") do opts.banner = Tap::Support::CommandLine.usage(__FILE__) puts opts exit end end.parse!(ARGV) # # add your script code here # puts "Received: #{ARGV.join(', ')}" puts app.info