[jboss-jira] [JBoss JIRA] (WFCORE-3236) CLI, looping over commands/operations
Jean-Francois Denise (JIRA)
issues at jboss.org
Mon Sep 4 09:24:01 EDT 2017
Jean-Francois Denise created WFCORE-3236:
--------------------------------------------
Summary: CLI, looping over commands/operations
Key: WFCORE-3236
URL: https://issues.jboss.org/browse/WFCORE-3236
Project: WildFly Core
Issue Type: Enhancement
Reporter: 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.2.3#72005)
More information about the jboss-jira
mailing list