Sha256: ba1b86ea4b5354110ff320846c0191ee635ae5e9e44b60b773433ac37772231a
Contents?: true
Size: 1.14 KB
Versions: 1
Compression:
Stored size: 1.14 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::Show::Boards.dispatch end desc 'board (<id>)', 'Show lists and cards for board <id>' \ ' (uses default card if <id> not provided).' def board(id = nil) say Troo::Commands::Show::Board.dispatch(:board, id) end desc 'list (<id>)', 'Show all cards for list <id>' \ ' (uses default card if <id> not provided).' def list(id = nil) say Troo::Commands::Show::List.dispatch(: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::Card.dispatch(: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::Show::Comments.dispatch(:comments, id) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
troo-0.0.8 | lib/troo/cli/show.rb |