Class: FlameAppGenerator::Command

Inherits:
ProjectGenerator::Command
  • Object
show all
Includes:
ProcessFiles
Defined in:
lib/flame_app_generator/command.rb,
lib/flame_app_generator/command/process_files.rb,
lib/flame_app_generator/command/process_files/render_variables.rb

Overview

Main CLI command for Flame App Generator

Defined Under Namespace

Modules: ProcessFiles

Constant Summary

Constants included from ProcessFiles

ProcessFiles::RENAME_FILES_PLACEHOLDERS

Instance Method Summary collapse

Instance Method Details

#executeObject



22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# File 'lib/flame_app_generator/command.rb', line 22

def execute
	check_target_directory

	refine_template_parameter if git?

	process_files

	clean_dirs

	initialize_git

	setup_project

	FileUtils.rm_r @git_tmp_dir if git?

	done
end