module Terraspace::CLI::New::Test class Module < Base argument :name def create return if @options[:test] == false test_template_source(@options[:lang], "module") puts "=> Creating module test: #{name}" dest = "app/modules/#{name}" dest = "#{@options[:project_name]}/#{dest}" if @options[:project_name] directory ".", dest end end end