rainlanguage / dotrain

.rain to rainlang composer and rain language server protocol services
3 stars 3 forks source link

ability to specify bindings when composing #84

Closed thedavidmeister closed 9 months ago

thedavidmeister commented 9 months ago

if i have elided (or not elided) bindings in some .rain file, i want to be able to provide them while composing

#foo !Foo needs to be bound.

#bar
_: foo;

I want to be able to do dotrain compose -i ... --entrypoint bar --bind foo=123

I think the bindings taken from the cli should be used as-is as strings, to let the internal logic of rainlang handle parsing them natively.

rouzwelt commented 9 months ago

applied in #86