Class: KuberKit::Actions::TemplateReader

Inherits:
Object
  • Object
show all
Defined in:
lib/kuber_kit/actions/template_reader.rb

Instance Method Summary collapse

Instance Method Details

#call(template_name, options) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/kuber_kit/actions/template_reader.rb', line 10

def call(template_name, options)
  template = template_store.get(template_name)

  result = reader.read(local_shell, template)

  ui.print_info(template_name.to_s, result)
end