class Slh::Cli::CopyTemplatesToOverride

Public Instance Methods

default_options() click to toggle source
# File lib/slh/cli/copy_templates_to_override.rb, line 2
def default_options
 { }
end
perform_action() click to toggle source
# File lib/slh/cli/copy_templates_to_override.rb, line 6
def perform_action
  Slh::Cli.instance.output "Copying all of the erb templates from Shibboleth's Lil Helper to your local directory"
  FileUtils.cp_r(File.join(File.dirname(__FILE__), '..', 'templates'),Slh.config_dir)
  Slh::Cli.instance.output "These templates will be used instead of the defaults in the Shibboleth's Lil Helper Rubygem"
end