diff --git a/src/main/java/com/example/datacollect/command/ListCommand.java b/src/main/java/com/example/datacollect/command/ListCommand.java deleted file mode 100644 index 8eba2cd..0000000 --- a/src/main/java/com/example/datacollect/command/ListCommand.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.example.datacollect.command; - -import com.example.datacollect.model.Article; -import com.example.datacollect.view.ConsoleView; -import java.util.List; - -public class ListCommand implements Command { - private final ConsoleView view; - - public ListCommand(ConsoleView view) { - this.view = view; - } - - @Override - public String getName() { - return "list"; - } - - @Override - public void execute(String[] args, List
articles) { - view.display(articles); - } -}