Class: Kashi::CLI::Export

Inherits:
Object
  • Object
show all
Defined in:
lib/kashi/cli.rb

Instance Method Summary collapse

Constructor Details

#initialize(filepath, options) ⇒ Export

Returns a new instance of Export.



68
69
70
71
# File 'lib/kashi/cli.rb', line 68

def initialize(filepath, options)
  @filepath = filepath
  @options = options
end

Instance Method Details

#runObject



73
74
75
76
# File 'lib/kashi/cli.rb', line 73

def run
  require 'kashi/client'
  result = Client.new(@filepath, @options).export
end