sudoblockio / tackle

Tackle is a programmable configuration language for building modular utilities, code generators, and CLIs with schema validation baked in.
Apache License 2.0
52 stars 2 forks source link

kwargs not usable in loop #166

Open robcxyz opened 1 year ago

robcxyz commented 1 year ago

Right now kwargs are not usable in a loop:

Here, item is not known.

foo<-:
  bar: baz

call:
  ->: foo --kwargs {{item}}
  for:
    - bar: bing
    - bar: bang

We need to move the kwargs handler to within the loop function