Sha256: 5b7e0d3c336dfdec2de4fbeee7a1a9f89893c7cee2e5a9375884672d0438f6da
Contents?: true
Size: 1.12 KB
Versions: 2
Compression:
Stored size: 1.12 KB
Contents
module Troo module CLI class Show < ThorFixes package_name 'show' desc 'boards', 'Show all the boards with lists.' def boards say Troo::Commands::ShowBoards.dispatch end desc 'board (<id>)', 'Show lists and cards for board <id>' \ ' (uses default board if <id> not provided).' def board(id = nil) say Troo::Commands::Show.dispatch(Troo::Board, id) end desc 'list (<id>)', 'Show all cards for list <id>' \ ' (uses default list if <id> not provided).' def list(id = nil) say Troo::Commands::Show.dispatch(Troo::List, id) end desc 'card (<id>)', 'Show a card <id> including last 3 comments' \ ' (uses default card if <id> not provided).' def card(id = nil) say Troo::Commands::Show.dispatch(Troo::Card, id) end desc 'comments (<id>)', 'Show all comments for card <id>' \ ' (uses default card if <id> not provided).' def comments(id = nil) say Troo::Commands::ShowComments.dispatch(id) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
troo-0.0.10 | lib/troo/cli/show.rb |
troo-0.0.9 | lib/troo/cli/show.rb |