lib/retrospec/plugins/v1/plugin/foreman_plugin.rb
# this is the main entry point that retrospec will use to make magic happen
# this is called after everything has been initialized
this is the main entry point that retrospec will use to make magic happen
this is called after everything has been initialized
this is the main entry point that retrospec will use to make magic happen this is called after everything has been initialized
def run
          safe_create_module_files(template_dir, module_path, context)
          cleanup(module_path, context.plugin_name)
        end
def run safe_create_module_files ( template_dir , module_path , context ) cleanup ( module_path , context . plugin_name ) end
this is the main entry point that retrospec will use to make magic happen
this is called after everything has been initialized
this is the main entry point that retrospec will use to make magic happen this is called after everything has been initialized
# the safe_create_module_files will render every file under the templates/module_files # folder in your gem and copy them to the destination. # Should you need to change the file name of the copied file you will have to move # the file outside of the module_files directory and # render it using: safe_create_template_file(file_path, template, context)