1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
document: dsl: '1.0.0' namespace: test name: switch-loop version: '0.1.0' do: - inc: set: count: ${ .count + 1 } then: looping - looping: switch: - loopCount: when: .count < 6 then: inc - default: then: exit