Module: Aocli::Commands::SetTemplatePath

Defined in:
lib/aocli/commands/set_template_path.rb

Class Method Summary collapse

Class Method Details

.run!(options) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/aocli/commands/set_template_path.rb', line 4

def self.run!(options)
  Aocli::Config.add_config(key: :template_path, value: options[:template_path])

  puts <<~MSG
    ### The template at '#{options[:template_path]}' will now be used ###
  MSG
end