exe/ht in habittracker-0.1.1 vs exe/ht in habittracker-0.1.2
- old
+ new
@@ -75,10 +75,13 @@
choice = choose("When did you \"#{habit}\" the last time?", *options)
index = options.find_index(choice)
selected_date = dates[index]
- archive.save(habit, selected_date)
+ message = ask("Any notes?: ")
+
+
+ archive.save(habit, selected_date, message)
end
end
command :today do |c|
c.syntax = 'ht today'