Class: Holistics::HolisticsRunner

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

Instance Method Summary collapse

Constructor Details

#initialize(args = [], options = {}, config = {}) ⇒ HolisticsRunner

Returns a new instance of HolisticsRunner.



44
45
46
# File 'lib/holistics.rb', line 44

def initialize(args=[], options={}, config={})
  super(args, options, config)
end

Instance Method Details

#ds_listObject



74
75
76
77
# File 'lib/holistics.rb', line 74

def ds_list
  p 'DEPRECATED. This command will be removed in the next version. Please consider using `holistics data_sources list` instead.'
  api_client.ds_list
end

#job_showObject



82
83
84
# File 'lib/holistics.rb', line 82

def job_show
  api_client.job_show(options.dup)
end

#login(token) ⇒ Object



68
69
70
# File 'lib/holistics.rb', line 68

def  token
  auth_api_client.(token)
end

#versionObject



87
88
89
# File 'lib/holistics.rb', line 87

def version
  puts Holistics::VERSION
end