Class: Lbrt::CLI::Alert
- Inherits:
-
Thor
- Object
- Thor
- Lbrt::CLI::Alert
- Includes:
- Utils::CLIHelper
- Defined in:
- lib/lbrt/cli/alert.rb
Constant Summary
Constants included from Utils::CLIHelper
Utils::CLIHelper::REGEXP_OPTIONS
Instance Method Summary collapse
Methods included from Utils::CLIHelper
Instance Method Details
#apply(file) ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/lbrt/cli/alert.rb', line 22 def apply(file) updated = client(Lbrt::Alert).apply(file) unless updated Lbrt::Logger.instance.info('No change'.intense_blue) end end |