1 Reply Latest reply on Aug 23, 2014 1:58 AM by David Sexton

    Alias in CLI

    David Sexton Newbie


      I haven’t had much luck finding any information on alias's when using the CLI. I noticed when I hit tab alias is one of the listed commands. I was able to set up an alias using alias test=’pwd’. So whenever I type test it will display the current location in the JBOSS CLI. But the alias is lost after I exit the CLI session. Is there a way to save an alias in the cli permantly or add custom command? For example I deploy expanded application. The deploy command does not support expanded deployments. I have the command syntax to deploy the app and want to create a custom alias or command in the cli to deploy it.


      Any help is appreciated