Open yonas opened 1 month ago
AFAIK, environment variables are always text. I'd expect the following output to be equivalent
NAME=John Doe
AGE="99"
Where are you passing the output to and do you actually get errors with my output?
side note: your snippet is missing the type annotation (Person
)
let john: Person = { ...
maybe an "unused type" warning would be a good thing
@denfren I'm passing the output to Taskfile . Your example doesn't cause any errors.
I'm looking for the formatting. The .env
formatting would make sure to:
NAME=...
instead of name=...
NAME=...
instead of NAME = ...
NAME="..."
instead of NAME=...
for String
, and no quotes for Int
or Bool
It would be nice to create a Record and have the output be type specific. Eg.
output: