Sha256: 87f82236002dcee4d3084303b97d3072935a92b349548f43a6d771673007b52c
Contents?: true
Size: 1.34 KB
Versions: 5
Compression:
Stored size: 1.34 KB
Contents
module Troo module CLI class Show < ThorFixes package_name 'show' # @return [String] desc 'boards', 'Show all the boards with lists.' def boards say Troo::Commands::ShowBoards.dispatch end # @param [String] # @return [String] 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 # @param [String] # @return [String] 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 # @param [String] # @return [String] 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 # @param [String] # @return [String] 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
troo-0.0.15 | lib/troo/cli/show.rb |
troo-0.0.14 | lib/troo/cli/show.rb |
troo-0.0.13 | lib/troo/cli/show.rb |
troo-0.0.12 | lib/troo/cli/show.rb |
troo-0.0.11 | lib/troo/cli/show.rb |