Class: HamlLint::CLI
- Inherits:
-
Object
- Object
- HamlLint::CLI
- Defined in:
- lib/haml_lint/cli.rb
Overview
Command line application interface.
Instance Method Summary collapse
-
#initialize(logger) ⇒ CLI
constructor
Create a CLI that outputs to the specified logger.
-
#run(args) ⇒ Integer
Parses the given command-line arguments and executes appropriate logic based on those arguments.
Constructor Details
#initialize(logger) ⇒ CLI
Create a CLI that outputs to the specified logger.
14 15 16 |
# File 'lib/haml_lint/cli.rb', line 14 def initialize(logger) @log = logger end |