Module: Aocli::Commands::RemoveTemplatePath

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

Class Method Summary collapse

Class Method Details

.run!(_options = nil) ⇒ Object



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

def self.run!(_options = nil)
  current_path = Aocli::Config.value_for(:template_path)
  Aocli::Config.remove_config(:template_path)

  puts <<~MSG
    ### '#{current_path} is no longer set as your template file ###
  MSG
end