Method: Exec::ServiceConfApply#set_options

Defined in:
lib/exec/service_conf_apply.rb

#set_optionsObject (private)

Parse and check the parameters of the function.



22
23
24
25
26
27
# File 'lib/exec/service_conf_apply.rb', line 22

def set_options
  @logger.info("setting options")
  @options.add_option("C", "cluster", "The cluster name.", true, true, method(:check_cluster_name))
  @options.add_option("T", "type", "The type of the configuration.", true, true)
  @options.add_option("t", "tag", "The tag of the configuration.", true, true)
end