Sha256: 86897b1eed7b9795286e9c99f73727b167680261d4f6c7674c5302fed4888c23

Contents?: true

Size: 436 Bytes

Versions: 14

Compression:

Stored size: 436 Bytes

Contents

class KuberKit::Actions::TemplateReader
  include KuberKit::Import[
    "shell.local_shell",
    "ui",
    template_reader: "template_reader.action_handler",
  ]

  Contract Symbol, Hash => Any
  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
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
kuber_kit-0.3.11 lib/kuber_kit/actions/template_reader.rb
kuber_kit-0.3.10 lib/kuber_kit/actions/template_reader.rb
kuber_kit-0.3.9 lib/kuber_kit/actions/template_reader.rb
kuber_kit-0.3.8 lib/kuber_kit/actions/template_reader.rb
kuber_kit-0.3.7 lib/kuber_kit/actions/template_reader.rb
kuber_kit-0.3.6 lib/kuber_kit/actions/template_reader.rb
kuber_kit-0.3.5 lib/kuber_kit/actions/template_reader.rb
kuber_kit-0.3.4 lib/kuber_kit/actions/template_reader.rb
kuber_kit-0.3.3 lib/kuber_kit/actions/template_reader.rb
kuber_kit-0.3.2 lib/kuber_kit/actions/template_reader.rb
kuber_kit-0.3.1 lib/kuber_kit/actions/template_reader.rb
kuber_kit-0.3.0 lib/kuber_kit/actions/template_reader.rb
kuber_kit-0.2.9 lib/kuber_kit/actions/template_reader.rb
kuber_kit-0.2.8 lib/kuber_kit/actions/template_reader.rb