Sha256: b47079003173967b693a27c6f8d970b99786dbddb9c4d6ad7805eab31a3e6064
Contents?: true
Size: 449 Bytes
Versions: 11
Compression:
Stored size: 449 Bytes
Contents
class KuberKit::Actions::ServiceGenerator include KuberKit::Import[ "shell.local_shell", "service_generator.action_handler", "ui", ] Contract Symbol, String => Any def call(service_name, path) expanded_path = File.expand_path(path) puts expanded_path action_handler.call(local_shell, service_name, expanded_path) true rescue KuberKit::Error => e ui.print_error("Error", e.message) false end end
Version data entries
11 entries across 11 versions & 1 rubygems