Class: Kandata::CLI

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

Overview

command facade

Instance Method Summary collapse

Instance Method Details

#load_tsv(filename) ⇒ Object



14
15
16
17
18
# File 'lib/kandata/cli.rb', line 14

def load_tsv(filename)
  puts Kandata.load_tsv(filename, options['force'])
rescue StandardError => error
  puts "ERROR: #{error.message}"
end

#versionObject



8
9
10
# File 'lib/kandata/cli.rb', line 8

def version
  puts Kandata::VERSION
end