Class: Flydata::Command::Start
- Defined in:
- lib/flydata/command/start.rb
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
#ask_input_table_name, #ask_yes_no, #choose_one, #dashboard_url, #data_entry, #data_port, #flydata, #initialize, #newline, #redshift_cluster, #redshift_console_url, #register_crontab, #retrieve_data_entries, #separator, #show_purpose_name, #source
Methods included from ExclusiveRunnable
Methods included from Flydata::CommandLoggable
#before_logging, #log_error_stderr, #log_info_stdout, #log_warn_stderr
Constructor Details
This class inherits a constructor from Flydata::Command::Base
Class Method Details
.slop ⇒ Object
8 9 10 11 12 |
# File 'lib/flydata/command/start.rb', line 8 def self.slop sender_opts = Flydata::Command::Sender.slop_start # Needs options for Sender#start sender_opts.on 'skip-helper', 'Skip starting the Helper' sender_opts end |
Instance Method Details
#run(*args) ⇒ Object
13 14 15 16 |
# File 'lib/flydata/command/start.rb', line 13 def run(*args) sender_start(args) helper_start(args) unless opts.skip_helper? end |