Class: Patcmd::CLI::BaseCommand
- Inherits:
-
Thor
- Object
- Thor
- Patcmd::CLI::BaseCommand
- Includes:
- Helpers::Logger, Helpers::TaskHelper
- Defined in:
- lib/patcmd/cli/commands/base_command.rb
Direct Known Subclasses
Constant Summary collapse
- CONFIG_PATH =
File.("~/.patcmd/config.yml")
Instance Method Summary collapse
-
#initialize(*args) ⇒ BaseCommand
constructor
A new instance of BaseCommand.
Methods included from Helpers::Logger
Methods included from Helpers::TaskHelper
Constructor Details
#initialize(*args) ⇒ BaseCommand
Returns a new instance of BaseCommand.
14 15 16 17 |
# File 'lib/patcmd/cli/commands/base_command.rb', line 14 def initialize(*args) super @config_manager = ConfigurationManager.new([:config]) end |