Sha256: ec8d2bb9007283d0120515e15da640be701461cb53a69aaac3e22242107b7783
Contents?: true
Size: 574 Bytes
Versions: 28
Compression:
Stored size: 574 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
28 entries across 28 versions & 1 rubygems