From 9fdf37e3032defc8ea11fd59722b487163381422 Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Wed, 13 Apr 2016 15:41:42 -0400 Subject: Implemented stream-based commands --- BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java') diff --git a/BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java b/BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java index 681986d..4cd2dd1 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java +++ b/BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java @@ -20,4 +20,18 @@ public interface ICommand { * @return The help entry for this command */ public ICommandHelp getHelp(); + + /** + * Create a command that serves as an alias to this one + * + * @return A command that serves as an alias to this one + */ + public ICommand createAlias(); + + /** + * Check if this command is an alias of another command + * + * @return Whether or not this command is an alias of another + */ + public boolean isAlias(); } -- cgit v1.2.3