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.



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

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

Instance Method Details

#ds_listObject



72
73
74
75
# File 'lib/holistics.rb', line 72

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



80
81
82
# File 'lib/holistics.rb', line 80

def job_show
  api_client.job_show(options.dup)
end

#login(token) ⇒ Object



66
67
68
# File 'lib/holistics.rb', line 66

def  token
  auth_api_client.(token)
end

#versionObject



85
86
87
# File 'lib/holistics.rb', line 85

def version
  puts Holistics::VERSION
end