Class: Holistics::HolisticsRunner
- Inherits:
-
Thor
- Object
- Thor
- Holistics::HolisticsRunner
- Defined in:
- lib/holistics.rb
Instance Method Summary collapse
- #ds_list ⇒ Object
-
#initialize(args = [], options = {}, config = {}) ⇒ HolisticsRunner
constructor
A new instance of HolisticsRunner.
- #job_show ⇒ Object
- #login(token) ⇒ Object
- #version ⇒ Object
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=[], ={}, config={}) super(args, , config) end |
Instance Method Details
#ds_list ⇒ Object
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_show ⇒ Object
82 83 84 |
# File 'lib/holistics.rb', line 82 def job_show api_client.job_show(.dup) end |
#login(token) ⇒ Object
68 69 70 |
# File 'lib/holistics.rb', line 68 def login token auth_api_client.login(token) end |
#version ⇒ Object
87 88 89 |
# File 'lib/holistics.rb', line 87 def version puts Holistics::VERSION end |