Sha256: a7bd75a1912a1e18b0549014c7ba88dc2e78d4408644ed810ee2cc93328d6164
Contents?: true
Size: 469 Bytes
Versions: 24
Compression:
Stored size: 469 Bytes
Contents
#!/usr/bin/env ruby require 'optparse' require 'cucumber/messages' require 'cucumber/html_formatter' formatter = Cucumber::HTMLFormatter::Formatter.new(STDOUT) option_parser = OptionParser.new do |opts| opts.on_tail("-h", "--help", "Show this message") do puts opts exit end end options = {} option_parser.parse!(into: options) message_enumerator = Cucumber::Messages::NdjsonToMessageEnumerator.new(STDIN) formatter.process_messages(message_enumerator)
Version data entries
24 entries across 24 versions & 3 rubygems