Class: TrelloDXY::CLI::Board::Time
- Inherits:
-
Object
- Object
- TrelloDXY::CLI::Board::Time
- Defined in:
- lib/trello_dxy/cli/board/time.rb
Instance Method Summary collapse
-
#initialize ⇒ Time
constructor
A new instance of Time.
- #run ⇒ Object
Constructor Details
#initialize ⇒ Time
5 6 7 |
# File 'lib/trello_dxy/cli/board/time.rb', line 5 def initialize = {} end |
Instance Method Details
#run ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/trello_dxy/cli/board/time.rb', line 9 def run option_parser.parse! board = TrelloDXY::Requests::BoardForUrl.new.board([:url]) cards = board_cards(board, [:closed]) puts TrelloDXY::Formatters::BoardForUrl.new(cards).output [:output] end |