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