heikkilevanto / beertracker

Simple script to track the beers I drink
GNU General Public License v2.0
2 stars 1 forks source link

Use subtype to enter type #330

Closed heikkilevanto closed 3 weeks ago

heikkilevanto commented 3 weeks ago

Entering records of different type is a tad clumsy, as it is now.

Check if the subtype starts with a known type, and in that case move that to the record type, remove the optional comma, and keep the rest as subtype.

This will work for all drink types, and be a decent start for restaurants and such.