lib/tsks/cli.rb in tsks-0.0.7 vs lib/tsks/cli.rb in tsks-0.0.8

- old
+ new

@@ -74,10 +74,11 @@ tsks = Tsks::Storage.select_by({status: 'todo'}) end if tsks.count > 0 for tsk in tsks - puts "#{tsk[:local_id]} @#{tsk[:context]} #{tsk[:tsk]}" + tsk_status = Tsks::Actions.get_tsk_status tsk[:status] + puts "#{tsk_status} | #{tsk[:local_id]} #{tsk[:tsk]} @#{tsk[:context]}" end else puts "No tsks found." end end