diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2016-04-13 15:41:42 -0400 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2016-04-13 15:41:42 -0400 |
| commit | 9fdf37e3032defc8ea11fd59722b487163381422 (patch) | |
| tree | d3014f1bec5f0d476e0a77ff537ee26853ca148f /BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java | |
| parent | 70cea4b406f1cd592c59c4103c1b9b301d3b5907 (diff) | |
Implemented stream-based commands
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(); } |
