Enable Asadmin CLI Multimode Event Designators
This feature allows the use of Bash Event Designators when using Payara Server’s Asadmin CLI in multimode.
An Event Designator is a reference to a command line entry in the history list, which makes it easy for users to refer and re-use previous asadmin subcommands entries.
|This feature is disabled by default in Payara Server and has to be enabled first before being used.|
If this feature is enabled, all occurrences of the
Enabling JLine Event Expansion
To enable support for JLine event designators just set the
AS_ADMIN_DISABLE_EVENT_EXPANSION environment variable to
false. Follow these steps depending on your operating system:
Linux and *Nix variants
Open the Terminal
Type the following command
Check that the variable has been correctly set: