class Holistics::HolisticsRunner

Right now we can't do `holistics ds:list` Known issue: github.com/erikhuda/thor/issues/249 Either we use other libs, or figure out an elegant way to do it without

Public Class Methods

new(args=[], options={}, config={}) click to toggle source
Calls superclass method
# File lib/holistics.rb, line 44
def initialize(args=[], options={}, config={})
  super(args, options, config)
end

Public Instance Methods

api_client() click to toggle source
# File lib/holistics.rb, line 61
def api_client
  @api_client ||= ApiClient.new
end
auth_api_client() click to toggle source
# File lib/holistics.rb, line 57
def auth_api_client
  @auth_api_client ||= AuthApiClient.new
end
ds_list() click to toggle source
# 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_show() click to toggle source
# File lib/holistics.rb, line 82
def job_show
  api_client.job_show(options.dup)
end
login(token) click to toggle source
# File lib/holistics.rb, line 68
def login token
  auth_api_client.login(token)
end
version() click to toggle source
# File lib/holistics.rb, line 87
def version
  puts Holistics::VERSION
end