Class: Flydata::Command::Conf

Inherits:
Base
  • Object
show all
Defined in:
lib/flydata/command/conf.rb

Instance Attribute Summary

Attributes inherited from Base

#opts

Instance Method Summary collapse

Methods inherited from Base

#ask_input_table_name, #ask_yes_no, #choose_one, #flydata, #initialize, #newline, #register_crontab, #retrieve_data_entries, #separator

Constructor Details

This class inherits a constructor from Flydata::Command::Base

Instance Method Details

#copy_templatesObject



10
11
12
# File 'lib/flydata/command/conf.rb', line 10

def copy_templates
  copy_conf_tmpl(retrieve_data_entries)
end

#helpObject



14
15
16
# File 'lib/flydata/command/conf.rb', line 14

def help
  usage(retrieve_data_entries)
end

#runObject



4
5
6
7
8
# File 'lib/flydata/command/conf.rb', line 4

def run
  data_entries = retrieve_data_entries
  copy_conf_tmpl(data_entries)
  usage(data_entries)
end