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

enum types are not qualified when set via command line #167

Open robcxyz opened 1 year ago

robcxyz commented 1 year ago

running tackle -pf yaml -z baz

<-:
  z:
    enum:
      - foo
      - bar

# result 
# z: baz

But it works fine internally:

call->: func --z not-foo --try --except ok

Need to adjust how cli supplied params are imputed into context