lib/subcommand.rb
# specify global options and banner and description
# Yields the optionparser
specify global options and banner and description
Yields the optionparser
specify global options and banner and description Yields the optionparser
def global_options
    if !defined? @global
      @global = OptionParser.new do |opts|
        yield opts
      end
    else
      yield @global
    end
  end
def global_options if ! defined? @global @global = OptionParser . new do | opts | yield opts end else yield @global end end
specify global options and banner and description
Yields the optionparser
specify global options and banner and description Yields the optionparser