Class: CodePoetry::CLI
- Inherits:
-
Object
- Object
- CodePoetry::CLI
- Defined in:
- lib/code_poetry/cli.rb
Constant Summary collapse
- DIRECOTRIES =
"app,lib"
Class Method Summary collapse
Class Method Details
.execute(path, formatter) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/code_poetry/cli.rb', line 8 def self.execute(path, formatter) files = find_files(path) calculator = Calculator.new(path, files) stats = calculator.calculate formatter.format(stats) end |