How to use executeCLIcommands() in JON CLI
Issue
- How to use executeCLIcommands() in JON CLI
- CLI command "executeCLIcommands' how to
- using the cli, i'm connecting to a JBOS EAP6 resource using a proxyfactory (code snippets in comments). I'm trying to execute 'executeCLIcommands()' but no kind of argument is accepted.
- I'm trying get help on the command like this:
cli_scripts@xsnl10w900s:7080$ server_proxy.executeCLIcommands
NativeJavaMethod:
allIds: [arguments, name, arity, length]
arity: 0
attributes:
className: Function
empty: true
extensible: true
functionName: executeCLIcommands
ids: []
immunePrototypeProperty:
length: 0
parentScope: org.rhq.scripting.javascript.engine.RhinoScript
Engine$TopLevelScope@10e18ba
prototype: org.mozilla.javascript.BaseFunction@7981d5
sealed: false
typeOf: function
Now this is not telling what kind of arguments the command requires. How to tell that for any command ?
Environment
- Red Hat JBoss Operations Network (JON)
- 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.