I've also recorded a short asciinema cast in order to show how I did it:
https://asciinema.org/a/wktW7BjmcujcypGKLaHBbSJec
I'm more entrenched in the OCaml ecosystem myself, but if you're interested in learning more about core
and the Command
module, you can read about them in: http://dev.realworldocaml.org/command-line-parsing.html
You'll just have to mentally convert the OCaml syntax into Reason syntax.