Class: SMPTool::CLI::Commands::Extract

Inherits:
InputCommand show all
Defined in:
lib/smp_tool/cli/commands/extract.rb

Overview

Command to extract individual files from the volume.

Instance Method Summary collapse

Instance Method Details

#call(input:, f_list:, **options) ⇒ Object



31
32
33
34
35
36
37
# File 'lib/smp_tool/cli/commands/extract.rb', line 31

def call(input:, f_list:, **options)
  if options[:raw]
    _extract_raw(input: input, f_list: f_list, **options)
  else
    _extract_txt(input: input, f_list: f_list, **options)
  end
end