[jboss-jira] [JBoss JIRA] (WFCORE-3236) CLI, looping over commands/operations

Jean-Francois Denise (JIRA) issues at jboss.org
Mon Sep 4 09:25:01 EDT 2017


     [ https://issues.jboss.org/browse/WFCORE-3236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Francois Denise reassigned WFCORE-3236:
--------------------------------------------

    Assignee: Jean-Francois Denise


> CLI, looping over commands/operations
> -------------------------------------
>
>                 Key: WFCORE-3236
>                 URL: https://issues.jboss.org/browse/WFCORE-3236
>             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.2.3#72005)


More information about the jboss-jira mailing list