Sha256: 17389aecd3cbdd949a09aa409c711c7b564456dba66511811fb9573e8d121dbf

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 Bytes

Contents

module Werd
  module Commands
    class Report < ::Escort::ActionCommand::Base
      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
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
werd-0.0.2 lib/werd/commands/report.rb