Sha256: 5cb1d3c9ddc3367e1c68d43eea4c0347562e0dc6e50b3d6ce2d712ac22205792
Contents?: true
Size: 419 Bytes
Versions: 6
Compression:
Stored size: 419 Bytes
Contents
require 'json' class KuberKit::Actions::EnvFileReader include KuberKit::Import[ "core.env_file_store", "env_file_reader.reader", "shell.local_shell", "ui" ] Contract Symbol, Hash => Any def call(env_file_name, options) env_file = env_file_store.get(env_file_name) result = reader.read(local_shell, env_file) ui.print_info(env_file_name.to_s, JSON.pretty_generate(result)) end end
Version data entries
6 entries across 6 versions & 1 rubygems