cproctor / cookbook

A simple command line tool for planning, shopping, and cooking
76 stars 4 forks source link

Need a mechanism to restrict reimporting old recipes when use import_recipes command. #5

Open suchoudh opened 5 years ago

suchoudh commented 5 years ago

~/Dropbox/1700_food/cookbook/cookbook$ ./manage.py import_recipes

if I run the command twice the old recipes are reimported making a double entry. Either need to stop importing old recipes or need to find if there is a mechanism to revert to latest updated recipe list.

cproctor commented 5 years ago

Good point. I usually just drop all the old recipes, effectively storing state in my recipe sources, but that's a bit careless. You could PR, or I'll make an update when I have a minute. Thanks!