Kabir Khan created WFCORE-3381:
----------------------------------
Summary: CLI, looping over commands/operations
Key: WFCORE-3381
URL:
https://issues.jboss.org/browse/WFCORE-3381
Project: WildFly Core
Issue Type: Enhancement
Components: CLI
Reporter: Jean-Francois Denise
Assignee: Jean-Francois Denise
A support similar to Java iteration could be exposed by CLI. By leveraging the variable
and the control flow CLI features, a command can be exposed to iterate collections and
execute CLI commands/operations for each item present in the collection.
Something like:
for varName in :read-children-names(type=deployment)
echo Manifest file in $varName
attachment display
--operation=/deployment=$varName:read-content(path=META-INF/MANIFEST.MF)
done
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)