Sha256: 8579a2f5f0bab949c9b044572cd65c87fb372bf8af7a07327b95fe6d5e404044
Contents?: true
Size: 458 Bytes
Versions: 36
Compression:
Stored size: 458 Bytes
Contents
class Terraspace::CLI::New class Stack < Sequence component_options.each { |args| class_option(*args) } argument :name def create_stack puts "=> Creating new stack called #{name}." plugin_template_source(@options[:lang], "stack") # IE: plugin_template_source("hcl", "stack") dest = "app/stacks/#{name}" dest = "#{@options[:project_name]}/#{dest}" if @options[:project_name] directory ".", dest end end end
Version data entries
36 entries across 36 versions & 1 rubygems