#!/usr/bin/env ruby # # Created by MYNAME on #{(now = Time.now).year}-#{now.month}-#{now.day}. # Copyright (c) #{now.year}. All rights reserved. require 'optparse' # NOTE: the option -p/--path= is given as an example, and should probably be replaced in your application. OPTIONS = { :path => '~' } MANDATORY_OPTIONS = %w( path ) parser = OptionParser.new do |opts| opts.banner = <