It is also worth noting that those commands are built-in, native (i.e., implemented in Java) commands. They are part of the CLI module itself whereas everything else you execute at the shell is passed directly through to the JavaScript interpreter. When you execute a script in non-interactive mode those commands are not available because we simply pass the script in its entirety directly to the JavaScript interpreter.
On 2/8/12 1:10 PM, Ian Springer wrote:
They're in the org.rhq.enterprise.client.commands package inside the main CLI jar.
On 02/08/2012 01:06 PM, E Deon Lackey wrote:
Hey, guys.
The commands that the CLI uses in interactive mode -- exec, quit, version -- where do those come from? I see the rhq class which has login and logout, but it doesn't seem to have the others.
Thanks! Deon
rhq-users mailing list rhq-users@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/rhq-users
-- Ian Springer Principal Software Developer JBoss Operations Network Red Hat ian.springer@redhat.com
rhq-users mailing list rhq-users@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/rhq-users