lib/tsks/cli.rb in tsks-0.0.13 vs lib/tsks/cli.rb in tsks-0.0.14

- old
+ new

@@ -4,10 +4,11 @@ require "tsks/request" require "tsks/actions" module Tsks class CLI < Thor + # @setup_folder = File.expand_path "~/.tsks_tmp" @setup_folder = File.expand_path "~/.tsks" def self.setup_folder @setup_folder end @@ -81,10 +82,10 @@ end if tsks.count > 0 for tsk in tsks tsk_status = Tsks::Actions.get_tsk_status tsk[:status] - puts "#{tsk_status} | #{tsk[:local_id]} #{tsk[:tsk]} @#{tsk[:context]}" + puts "#{tsk[:id]} #{tsk_status} | #{tsk[:tsk]} @#{tsk[:context]}" end else puts "no tsks found." end end