[jboss-dev-forums] [JBoss AS 7 Development] - A GUI for the Command Line Interface

Stan Silvert do-not-reply at jboss.com
Wed Jul 25 08:55:37 EDT 2012


Stan Silvert [https://community.jboss.org/people/ssilvert] modified the document:

"A GUI for the Command Line Interface"

To view the document, visit: https://community.jboss.org/docs/DOC-17457

--------------------------------------------------------------
> *News*: +As of JBoss AS 7.1.2, CLI GUI supports  https://community.jboss.org/docs/DOC-17862 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/showImage/102-17457-11-17747/CommandBuilder.png  https://community.jboss.org/servlet/JiveServlet/downloadImage/102-17457-11-17747/450-344/CommandBuilder.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/showImage/102-17457-11-17742/ContextMenu.jpg  https://community.jboss.org/servlet/JiveServlet/downloadImage/102-17457-11-17742/450-344/ContextMenu.jpg 

For operations that have parmeters, you will be prompted.  Help is available for each parameter by hovering over its label (not shown).
 https://community.jboss.org/servlet/JiveServlet/showImage/102-17457-11-17744/ParamsDialog.jpg  https://community.jboss.org/servlet/JiveServlet/downloadImage/102-17457-11-17744/310-86/ParamsDialog.jpg 

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/showImage/102-17457-11-17745/OutputScreen.jpg  https://community.jboss.org/servlet/JiveServlet/downloadImage/102-17457-11-17745/450-344/OutputScreen.jpg 

You can also edit the command line manually and submit a command at any time:
 https://community.jboss.org/servlet/JiveServlet/showImage/102-17457-11-17746/ManualCommand.jpg  https://community.jboss.org/servlet/JiveServlet/downloadImage/102-17457-11-17746/450-344/ManualCommand.jpg 
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/showImage/102-17457-11-17797/CopyOperation.jpg  https://community.jboss.org/servlet/JiveServlet/downloadImage/102-17457-11-17797/450-344/CopyOperation.jpg 
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/showImage/102-17457-11-17798/SystemClipboard.jpg  https://community.jboss.org/servlet/JiveServlet/downloadImage/102-17457-11-17798/450-107/SystemClipboard.jpg
--------------------------------------------------------------

Comment by going to Community
[https://community.jboss.org/docs/DOC-17457]

Create a new document in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120725/3e8f4d2a/attachment.html 


More information about the jboss-dev-forums mailing list