Sha256: f15f85c8aecc263235f1c7ba6701bc16e89b0969cad3d79a68ecfaca6074b7bc

Contents?: true

Size: 388 Bytes

Versions: 1

Compression:

Stored size: 388 Bytes

Contents

# frozen_string_literal: true

module TooDoo
  module Commands
    # list tasks
    # usage: td list
    class List < Simple
      def description
        <<~END
          list tasks
          usage: td list
        END
      end

      private

      def find_tasks
        store.undone
      end

      def empty_list_message
        'you have no tasks yet'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
toodoo-0.1.1 lib/toodoo/commands/list.rb