Sha256: 3ad4a20f8fba57d273623f9362343e40470ad42e76245307f3fb5cab6751decf
Contents?: true
Size: 592 Bytes
Versions: 2
Compression:
Stored size: 592 Bytes
Contents
#!/usr/bin/env ruby # resolve bin path, ignoring symlinks require "pathname" bin_file = Pathname.new(__FILE__).realpath # add self to libpath $:.unshift File.expand_path("../../lib", bin_file) # Fixes https://github.com/rubygems/rubygems/issues/1420 require "rubygems/specification" class Gem::Specification def this self end end require "structured_csv/common" require "structured_csv/csv_join" csvdir = ARGV.pop outfile = Pathname.new(csvdir).sub_ext(".csv").to_s # puts outfile StructuredCsv::CsvJoin.convert(csvdir, outfile) # puts StructuredCsv::CsvJoin.convert(csvdir)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
structured_csv-0.2.1 | exe/csv_join |
structured_csv-0.2.0 | exe/csv_join |