Initial support is for JavaScript. Other scripting languages may be supported later.
Effective testing and use of CLI depends on more than being able to run an interactive client, but it also depends on whether the CLI can effective run unattended. Some CLI still require an active user and this is what we want to avoid. To test effectively we must make sure that scripts and groups of commands can successfully be fed into the cli and that those operations do complete effective. This test should also and will most likely utilize the logging functionality [RHQ-2157] to effectively monitor that the operations and results are being run effectively.
In rev 4577 added initial support for running scripts in non-interactive mode by passing the -f flag to rhq-cli.sh or rhq-cli.bat. In rev 4651 support was added for running a single command (or command line) in non-interactive mode using the -c option. See http://www.jopr.org/confluence/display/JOPR2/Running+the+Jopr+CLI#RunningtheJoprCLI-Examples for some examples of using these options to run the CLI in non-interactive mode.
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2158