Sha256: d780fb8e9ca6d0ffb6646dfde9f89b02a8b12ad6be8bb1704ddcd6ea44bded1d

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

require 'markdo/commands/command'

module Markdo
  class OverviewCommand < Command
    def run
      tasks = task_collection.overdue +
        task_collection.starred +
        task_collection.due_today +
        task_collection.due_tomorrow

      tasks.each do |task|
        @stdout.puts(task.line)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
markdo-0.2.0 lib/markdo/commands/overview_command.rb