lib/3llo/command/list.rb in 3llo-1.0.0 vs lib/3llo/command/list.rb in 3llo-1.1.0

- old
+ new

@@ -1,6 +1,7 @@ require "3llo/command/list/list" +require "3llo/command/list/add" require "3llo/command/list/cards" require "3llo/command/list/invalid" require "3llo/command/list/archive_cards" module Tr3llo @@ -12,9 +13,13 @@ case subcommand when "list" board = Application.fetch_board!() Command::List::List.execute(board[:id]) + when "add" + board = Application.fetch_board!() + + Command::List::Add.execute(board[:id]) when "cards" list_key, = args Utils.assert_string!(list_key, "list key is missing") Command::List::Cards.execute(list_key)