Class: Troo::CLI::Show

Inherits:
ThorFixes show all
Defined in:
lib/troo/cli/show.rb

Instance Method Summary collapse

Methods inherited from ThorFixes

banner

Instance Method Details

#board(id = nil) ⇒ Object



18
19
20
# File 'lib/troo/cli/show.rb', line 18

def board(id = nil)
  say Troo::Commands::Show.dispatch(Troo::Board, id)
end

#boardsString

Returns:

  • (String)


7
8
# File 'lib/troo/cli/show.rb', line 7

desc 'boards',
'Show all the boards with lists.'

#card(id = nil) ⇒ Object



36
37
38
# File 'lib/troo/cli/show.rb', line 36

def card(id = nil)
  say Troo::Commands::Show.dispatch(Troo::Card, id)
end

#comments(id = nil) ⇒ Object



45
46
47
# File 'lib/troo/cli/show.rb', line 45

def comments(id = nil)
  say Troo::Commands::ShowComments.dispatch(id)
end

#list(id = nil) ⇒ Object



27
28
29
# File 'lib/troo/cli/show.rb', line 27

def list(id = nil)
  say Troo::Commands::Show.dispatch(Troo::List, id)
end