Browse Source

Added CommandAPI interface

This interface is importing one method "performCommand" in all future commands.
performCommand has the following parameters:
- scanner, Scanner
remotes/origin/locations
David Hermann 2 years ago
parent
commit
b93b246de1
  1. 8
      src/main/java/org/bitbiome/commands/CommandAPI.java

8
src/main/java/org/bitbiome/commands/CommandAPI.java

@ -0,0 +1,8 @@
package org.bitbiome.commands;
import java.util.Scanner;
public interface CommandAPI {
public void performCommand(Scanner scanner, boolean isRunning, String message);
}
Loading…
Cancel
Save