It would be cool if we could have a composable CLI that uses STDIN instead of filenames:
scrap eval <(echo "1 + 2")
I think this pattern shines when we include other commands:
cat users.scrap | scrap pipe "list/map (user -> user.name)"
cat a.scrap | scrap format > a.scrap
curl $SERVER/a | scrap flat parse | scrap type
cat a.scrap | scrap eval | scrap yard push
You can check out my draft PR here: #248
It would be cool if we could have a composable CLI that uses STDIN instead of filenames:
I think this pattern shines when we include other commands:
You can check out my draft PR here: #248