diff --git a/java-cli/src/main/java/com/example/datacollect/command/ExitCommand.java b/java-cli/src/main/java/com/example/datacollect/command/ExitCommand.java deleted file mode 100644 index 6946d85..0000000 --- a/java-cli/src/main/java/com/example/datacollect/command/ExitCommand.java +++ /dev/null @@ -1,24 +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 ExitCommand implements Command { - private final ConsoleView view; - - public ExitCommand(ConsoleView view) { - this.view = view; - } - - @Override - public String getName() { - return "exit"; - } - - @Override - public void execute(String[] args, List
articles) { - view.printSuccess("Bye!"); - System.exit(0); - } -}