lib/tomatoharvest/cli.rb in tomatoharvest-0.1.0 vs lib/tomatoharvest/cli.rb in tomatoharvest-0.1.1
- old
+ new
@@ -47,9 +47,10 @@
desc "remove", "remove a task"
def remove(id)
list = ListLoader.from_file
task = list.remove(id)
+ list.save!
say "#{id} removed"
end
end
end