class Terraspace::CLI::New::Stack
Public Instance Methods
create_stack()
click to toggle source
# File lib/terraspace/cli/new/stack.rb, line 7 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