Module: Tr3llo::Command::List::List

Extended by:
List
Included in:
List
Defined in:
lib/3llo/command/list/list.rb

Instance Method Summary collapse

Instance Method Details

#execute(board_id) ⇒ Object



7
8
9
10
11
12
13
14
# File 'lib/3llo/command/list/list.rb', line 7

def execute(board_id)
  interface = Application.fetch_interface!()
  lists = API::List.find_all_by_board(board_id)

  interface.print_frame do
    interface.puts(View::List::List.render(lists))
  end
end