def directory_global_option
      @directory = Pathname.new(Dir.pwd)
      global_option("--directory PATH") do |path|
        @directory = Pathname.new(path).expand_path(Dir.pwd)
      end
    end
def directory_global_option
      @directory = Pathname.new(Dir.pwd)
      global_option("--directory PATH") do |path|
        @directory = Pathname.new(path).expand_path(Dir.pwd)
      end
    end
Defines the directory global option.  This sets {#directory} to its
 default value, and defines an option that can set it.

 @return [void]