Class: Suma::Cli::ExtractTerms

Inherits:
Thor
  • Object
show all
Defined in:
lib/suma/cli/extract_terms.rb

Instance Method Summary collapse

Instance Method Details

#extract_terms(schema_manifest_file, output_path) ⇒ Object



17
18
19
20
21
22
23
24
# File 'lib/suma/cli/extract_terms.rb', line 17

def extract_terms(schema_manifest_file, output_path)
  TermExtractor.new(
    schema_manifest_file,
    output_path,
    language_code: options[:language_code],
    urn: options[:urn],
  ).call
end