Announcing `argparse-basic`, a no frills CLI argument parser

I haven’t had the time to write up a full README, but it has examples in code. Hope somebody finds it useful!

11 Likes

google found 2 libs, but
https://github.com/paf31/purescript-yargs archived…
https://github.com/f-o-a-m/purescript-optparse spago install not found…

and argparse-basic does not provide documents, confused :confused: .

what happened? I don’t know which to use now.

It is not true that there is no documentation. Every exported function has documentation, I just don’t have a README tutorial. It’s a lot of work to write, and I haven’t had the time to do it.

thanks anyway, I figured out I only need to use fromRecord and luckily that part got an example in the comments.

I really liked and improved the haskell commander-cli https://github.com/BebeSparkelSparkel/commander-cli/ argument parser. Worth taking a look at if you haven’t seen it before.

1 Like