Sha256: 131c1c655a3ee0c3da1b1565920865665927c26a7efcf2f8164d423ddeed6586

Contents?: true

Size: 323 Bytes

Versions: 8

Compression:

Stored size: 323 Bytes

Contents

#!/usr/bin/env ruby

require_relative '../lib/parse_a_changelog.rb'

if ARGV.empty? || ARGV[0].empty?
  puts "usage: parse <changelog file>"
  exit 1
else
  puts "Parsing #{ARGV[0]}"
end

begin
  ParseAChangelog.parse(ARGV[0])
  puts "SUCCESS"
rescue ParseAChangelog::ParseError => e
  puts "ERROR: #{e.to_s}"
  exit 1
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
parse_a_changelog-1.3.3 bin/parse
parse_a_changelog-1.3.2 bin/parse
parse_a_changelog-1.3.1 bin/parse
parse_a_changelog-1.3.0 bin/parse
parse_a_changelog-1.2.0 bin/parse
parse_a_changelog-1.1.0 bin/parse
parse_a_changelog-1.0.2 bin/parse
parse_a_changelog-1.0.1 bin/parse