Package org.jline.shell.impl
Class AliasCommands
java.lang.Object
org.jline.shell.impl.SimpleCommandGroup
org.jline.shell.impl.AliasCommands
- All Implemented Interfaces:
CommandGroup
Built-in alias commands:
alias and unalias.
This command group is automatically added to DefaultCommandDispatcher
when an AliasManager is configured.
alias— list all aliasesalias name=expansion— define an aliasalias name— show a single aliasunalias name— remove an alias
- Since:
- 4.0
-
Constructor Summary
ConstructorsConstructorDescriptionAliasCommands(AliasManager aliasManager) Creates alias commands backed by the given alias manager. -
Method Summary
Methods inherited from class org.jline.shell.impl.SimpleCommandGroup
commands, nameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jline.shell.CommandGroup
command, hasCommand
-
Constructor Details
-
AliasCommands
Creates alias commands backed by the given alias manager.- Parameters:
aliasManager- the alias manager
-