class KuberKit::Actions::TemplateReader

Public Instance Methods

call(template_name, options) click to toggle source
# File lib/kuber_kit/actions/template_reader.rb, line 9
def call(template_name, options)
  result = template_reader.call(local_shell, template_name)

  ui.print_info(template_name.to_s, result)

  true
rescue KuberKit::Error => e
  ui.print_error("Error", e.message)
  
  false
end