diff options
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java')
| -rw-r--r-- | BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java | 14 |
1 files changed, 14 insertions, 0 deletions
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(); } |
