Sort of like Ammonite: https://github.com/Thimoteus/purescript-snail
i made a mini library to wrap the parts of node process hell i dont want to deal with and then i mostly use node fs aff for dealing with files https://github.com/justinwoo/purescript-Sunde#example . for parsing args i hate all solutions, so i bring in process.argv as Array String and convert it to List via List.fromFoldable . note that any reasonably executed node file will always be at least length 2 argv: [ "/path/to/node", "/path/to/your/script.js" ]
Did you try purescript-optparse? What's wrong about it?
mostly less things going wrong, no more IDE signatures saying interface{}, etc. i've only used haskell optparse-applicative, and i mostly just don't like sitting there juggling all of the setup and getting some autogenerated bash completion that isnt very useful. but im just some random mastro lindo on the internet