-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
It would be cool if we could have a composable CLI that uses STDIN instead of filenames:
scrap eval < a.scrapcat a.scrap | scrap evalscrap eval <<< '1 + 2'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.scrapcurl $SERVER/a | scrap flat parse | scrap typecat a.scrap | scrap eval | scrap yard pushYou can check out my draft PR here: #248
Metadata
Metadata
Assignees
Labels
No labels