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 \ character will be escaped and thus, removed before running the corresponding command. You’ll have to escape these characters and turn them into \\ for any commands to be properly parsed.
|
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: