JBoss Community

A GUI for the Command Line Interface

modified by Stan Silvert in JBoss AS 7 Development - View the full document

News: As of JBoss AS 7.1.2, CLI GUI supports integration with jconsole.

 

If you start jboss-cli with the --gui option, it will bring up  a GUI instead of a command line.  Note that --gui also implies the --connect option because the gui doesn't work in a disconnected state.  You should use the --controller option if you need to use a host and port other than localhost:9999.

 

jboss-as-7.1.0.Final/bin> ./jboss-cli.sh --gui

 

You will see a screen that looks like this where you can browse the domain model:

https://community.jboss.org/servlet/JiveServlet/downloadImage/102-17457-12-20139/450-337/cligui1.png

To see the operations available for a node, right-click the node.  Context-sensitive help is available throughout the Command Builder:

https://community.jboss.org/servlet/JiveServlet/downloadImage/102-17457-12-20140/450-337/cligui2.png

For operations that have parmeters, you will be prompted.  Help is available for each parameter by hovering over its label.

https://community.jboss.org/servlet/JiveServlet/downloadImage/102-17457-12-20141/450-336/cligui3.png

The command line will be filled in automatically.  You can hit the "Enter" key or click submit to send your command to the server.

https://community.jboss.org/servlet/JiveServlet/downloadImage/102-17457-12-20142/450-337/cligui4.png

You can also edit the command line manually and submit a command at any time:

https://community.jboss.org/servlet/JiveServlet/downloadImage/102-17457-12-20143/450-337/cligui5.png

If you double-click on a previous command, it will be selected and copied to the command line.  You don't need to copy and paste by hand.

https://community.jboss.org/servlet/JiveServlet/downloadImage/102-17457-12-20144/450-337/cligui6.png

The command is also copied to the system clipboard so you can paste into your favorite editor.  This is handy for creating scripts.

https://community.jboss.org/servlet/JiveServlet/downloadImage/102-17457-12-20145/450-389/cligui7.png

Comment by going to Community

Create a new document in JBoss AS 7 Development at Community