Duplicate habits
Closed this issue · 3 comments
fabienengels commented
Hi,
Currently (version 0.2.0), you can add two habits (or more) with the same name. Both of them will be displayed and saved and even deleted if you call :delete.
Maybe the add command should refuse the creation of a habit if there is already one with the same name ?
oppiliappan commented
Yep, #33 fixes this.
fabienengels commented
Oups my bad, at least I'll check how it was implemented, a good way to learn :)
oppiliappan commented
I'd like to keep this issue open unti #33 is merged :)
Edit: had some time on my hands, so I merged it right away.