Class: Unshuffle::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/unshuffle/cli.rb

Instance Method Summary collapse

Instance Method Details

#tasksObject



7
8
9
10
# File 'lib/unshuffle/cli.rb', line 7

def tasks
  client = Unshuffle::Client.new(options[:token])
  puts client.tasks.map(&:title).join("\n")
end