mia
mia copied to clipboard
Powershell JSON input doesn't parse as expected
algo run user/algo -d '["foo", "bar"]' doesn't parse as JSON (more obvious when using -j)
also tried:
algo run user/algo -d "[`"foo`", `"bar`"]"
however putting the input on STDIN works just fine:
echo '["foo", "bar"]' | algo run user/algo -D -
This only seems to be related to powershell, so this may be a subtle string escaping issue, but we really should figure out how to make this intuitive to work with and document it.