Sha256: 781573ec4cf025e78849e88e0607d68ddc8ae481acbd6292ff33736e51eb5942

Contents?: true

Size: 601 Bytes

Versions: 4

Compression:

Stored size: 601 Bytes

Contents

#!/usr/bin/ruby


require 'optparse'
require 'spec_id/srf'

$OUTFILE = 'bioworks.srg'

opts = OptionParser.new do |op|
  op.banner = "usage: #{File.basename(__FILE__)} <file1>.srf <file2>.srf ..."
  op.separator "outputs: 'bioworks.srg'"
  op.separator ""
  op.separator "    A '.srg' file is an ascii text file with a list"
  op.separator "    of the srf files (full path names) in that group."
  op.separator ""
  op.on('-o', '--output <filename>', 'a different output name') {|v| $OUTFILE }
end

if ARGV.size == 0
  puts opts
end

obj = SRFGroup.new
obj.filenames = ARGV.to_a
obj.to_srg($OUTFILE)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mspire-0.2.1 bin/srf_group.rb
mspire-0.2.2 bin/srf_group.rb
mspire-0.2.0 bin/srf_group.rb
mspire-0.2.4 bin/srf_group.rb