def list entities = @db.list
      out

      entities = entities.is_a?(Fixnum) ? @db.list[0...entities] : entities

      entities.reject {|e| e[:status] == :removed }.each_with_index do |e, i|
        out " [#{i}]".blue                     +
            "#{e.sticky?? " + ".bold : "   "}" +
            e[:title].underline                +
            " #{e[:tags].join(' ')}".cyan
      end.tap do |list|
        out " ..." if @db.list.length > entities.length && !entities.length.zero?
        out "  there are no koi in the water".green if list.size.zero?
      end

      out
      entities
    end
def list entities = @db.list
      out

      entities = entities.is_a?(Fixnum) ? @db.list[0...entities] : entities

      entities.reject {|e| e[:status] == :removed }.each_with_index do |e, i|
        out " [#{i}]".blue                     +
            "#{e.sticky?? " + ".bold : "   "}" +
            e[:title].underline                +
            " #{e[:tags].join(' ')}".cyan
      end.tap do |list|
        out " ..." if @db.list.length > entities.length && !entities.length.zero?
        out "  there are no koi in the water".green if list.size.zero?
      end

      out
      entities
    end
List current tasks