Class: Runoff::Commands::All

Inherits:
Command
  • Object
show all
Defined in:
lib/runoff/commands/all.rb

Class Method Summary collapse

Methods inherited from Command

get_file_writer_components

Class Method Details

.process(args, options = {}) ⇒ Object

Public: Exports all Skyoe chat history.

args - an array containing skype username options - a hash containing user provided options

Examples

All.process ['username'], { from: '~/main.db' }


15
16
17
18
19
# File 'lib/runoff/commands/all.rb', line 15

def self.process(args, options = {})
  file_writer, export_path = self.get_file_writer_components args, options

  file_writer.export_database Runoff::SkypeDataFormat.new, export_path, options.archive
end