Class: Patcmd::CLI::InitCommand

Inherits:
BaseCommand show all
Defined in:
lib/patcmd/cli/commands/init_command.rb

Constant Summary

Constants inherited from BaseCommand

BaseCommand::CONFIG_PATH

Instance Method Summary collapse

Methods inherited from BaseCommand

#initialize

Methods included from Helpers::Logger

#log_error, #log_info

Methods included from Helpers::TaskHelper

#display_task, #validate_task

Constructor Details

This class inherits a constructor from Patcmd::CLI::BaseCommand

Instance Method Details

#initObject



9
10
11
12
# File 'lib/patcmd/cli/commands/init_command.rb', line 9

def init
  config_manager.init_config
  puts "Configuration initialized at #{config_manager.config_path}"
end