I’ve been updating one of my projects to the latest version of Core (v0.12.3) and it seems like the Command module has undergone a lot of changes. I have some questions about how to do things I used to with the older Command with the current version. I have been using the current development version of Real World OCaml as a guide.
It seems there is no longer a
filetype for command arguments. RWO says that there should be a
filetype as part of
Command.Let_syntaxbut I get an
unbound value fileerror. I can’t find a
filetype in the documentation either.
Previously I could define a specification to be common to all commands (for example, debug and verbose output flags) and then use the
+>combinator to include it in all other specifications. I can’t figure out how to do this with the current version.