Class: Werd::Commands::Report

Inherits:
Escort::ActionCommand::Base
  • Object
show all
Defined in:
lib/werd/commands/report.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



4
5
6
7
8
9
10
11
# File 'lib/werd/commands/report.rb', line 4

def execute
  token      = command_options[:token]
  project_id = command_options[:project]

  words = ProjectWordCounter.new(token, project_id).words
  words = PosFilter.filter(words)
  puts Reports::Basic.new(words).to_s
end