def parse(argv = [])
      @option_parser.parse!(argv)

      options.each do |option|
        if option.required? and !option.has_value?
          Shebang.error("The -#{option.short} option is required")
        end
      end

      return argv
    end
def parse(argv = [])
      @option_parser.parse!(argv)

      options.each do |option|
        if option.required? and !option.has_value?
          Shebang.error("The -#{option.short} option is required")
        end
      end

      return argv
    end
Creates a new instance of the command and sets up OptionParser.

 @author Yorick Peterse
 @since  0.1


 Parses the command line arguments using OptionParser.

 @author Yorick Peterse
 @since  0.1
 @param  [Array] argv Array containing the command line arguments to parse.
 @return [Array] argv Array containing all the command line arguments after
  it has been processed.