Sha256: 4a7bb50bf4cd069e22886c7a6a1eab50f86543499bc68a44ee6e3da0121800e4
Contents?: true
Size: 761 Bytes
Versions: 48
Compression:
Stored size: 761 Bytes
Contents
module Terraspace::CLI::New::Source class Plugin < Core # different interface than Source::Test # # template: base, hcl, ruby # type: module, project, stack # def set_source_paths(template, type) # project always uses the examples from the provider gem for configs # base always uses terraspace core templates # examples option always use examples from provider gems if (type == "project" || @options[:examples]) && template != "base" && (@options[:plugin] != "none" && !@options[:plugin].nil?) set_plugin_gem_source(template, type) # provider gems has examples else set_core_source(template, type) # terraspace core has empty starter files end end end end
Version data entries
48 entries across 48 versions & 1 rubygems