def log
      @db.map do |entity|
        Entity::Status.map do |status|
          { title:  entity[:title],
            action: status,
            time:   entity[:"#{status}_at"].strftime("%Y/%m/%d %H:%m")
          } if entity[:"#{status}_at"]
        end.compact
      end.flatten.sort_by {|e| e[:time]}.reverse.each do |entry|
        out "#{entry[:time].blue} #{entry[:action].to_s.bold} #{entry[:title].underline}"
      end
    end
def log
      @db.map do |entity|
        Entity::Status.map do |status|
          { title:  entity[:title],
            action: status,
            time:   entity[:"#{status}_at"].strftime("%Y/%m/%d %H:%m")
          } if entity[:"#{status}_at"]
        end.compact
      end.flatten.sort_by {|e| e[:time]}.reverse.each do |entry|
        out "#{entry[:time].blue} #{entry[:action].to_s.bold} #{entry[:title].underline}"
      end
    end
Show task history