Method: ConceptQL::CLI#knit

Defined in:
lib/conceptql/cli.rb

#knit(file) ⇒ Object



108
109
110
111
112
113
114
# File 'lib/conceptql/cli.rb', line 108

def knit(file)
  opts = {}
  if options[:ignore_cache]
    opts[:cache_options] = { ignore: true }
  end
  ConceptQL::Knitter.new(ConceptQL::Database.new(db), file, opts).knit
end