Sha256: d4259ebd46b6089c40bbe68fa450ebdd0613929d08dd44395680a62f0ea3cbe2
Contents?: true
Size: 562 Bytes
Versions: 9
Compression:
Stored size: 562 Bytes
Contents
module Lederhosen class CLI desc 'make_udb', 'format database for usearch' method_option :input, :type => :string, :required => true method_option :output, :type => :string, :required => true def make_udb input = options[:input] output = options[:output] word_length = options[:word_length] ohai "making udb w/ #{input}, saving as #{output}." cmd = ['usearch', "-makeudb_usearch #{input}", "-output #{output}"] cmd = cmd.join(' ') run cmd end end end
Version data entries
9 entries across 9 versions & 1 rubygems