Sha256: 9189240f9f3ef4eb97dae560005041ed5f7d601e993cade87a3f149e446ea180
Contents?: true
Size: 473 Bytes
Versions: 9
Compression:
Stored size: 473 Bytes
Contents
class KuberKit::Actions::TemplateReader include KuberKit::Import[ "core.template_store", "template_reader.reader", "shell.local_shell", "ui" ] Contract Symbol, Hash => Any 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) true rescue KuberKit::Error => e ui.print_error("Error", e.message) false end end
Version data entries
9 entries across 9 versions & 1 rubygems