Class: CountVonCount::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/count_von_count/cli.rb

Instance Method Summary collapse

Instance Method Details

#count(path = Dir.pwd) ⇒ Object



37
38
39
# File 'lib/count_von_count/cli.rb', line 37

def count(path=Dir.pwd)
  CountVonCount.new(path, options[:code], options[:test], options[:no_default], options[:format].to_sym, options[:output]).run
end