-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
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
- is related to
-
WFCORE-3235 CLI command recorder
-
- Open
-
- relates to
-
WFCORE-3484 Variables can't be set and used inside if/try/for blocks
-
- Resolved
-