module Tr3llo::Command::List::Add
Public Instance Methods
execute(board_id)
click to toggle source
# File lib/3llo/command/list/add.rb, line 7 def execute(board_id) interface = Application.fetch_interface!() interface.print_frame do name = interface.input.ask("Name:", required: true) API::List.create(name, board_id) interface.puts("List has been created.") end end