Sha256: 45383637123205f1abc04f6d138fe5bad0d196a6350ca5b7b7e371a261721d6c

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 Bytes

Contents

module Werd
  module Commands
    class Report < ::Escort::ActionCommand::Base
      def execute
        token      = command_options[:token]
        project_id = command_options[:project]

        words = Werd::ProjectWordCounter.new(token, project_id).words
        puts Werd::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.1 lib/werd/commands/report.rb