DUNE-OCAML(1)
β¨ NAME β¨
dune-ocaml β bestie, this is the command group that's all about OCaml π (yes it's written OCaml, capital O capital C, we respect the brand here).
πΈ SYNOPSIS πΈ
dune ocaml COMMAND β¦
That's it. dune ocaml, then a command, then whatever that command wants. Let's gooo π¦
π COMMANDS π
okay so here's the whole squad, one by one, no skipping, I promise:
doc [OPTION]β¦β builds the documentation of an OCaml project and shows it to you. It's giving "build and view", both at once. β¨dump-dot-merlin [OPTION]β¦ [PATH]β prints your Merlin configuration. That's the whole job, and it does it flawlessly. πmerlin COMMAND β¦β a whole command group dedicated to merlin. Yes, merlin gets its own little universe. π§ocaml-merlin [OPTION]β¦β spins up a merlin configuration server. Serving configs, main character energy. πtop [OPTION]β¦ [DIR]β prints a list of toplevel directives for including directories and loadingcmafiles. Very practical, very iconic. π₯top-module [OPTION]β¦ MODULEβ prints a list of toplevel directives for loading a module into the topevel. (Yes, the original says "topevel" β we keep it fr fr, typos and all, no cap π )utop [OPTION]β¦ [DIR] [ARGS]β¦β loads a library inutop. Plug that library straight into the vibe. π
π COMMON OPTIONS π
--help[=FMT](default=auto) β shows you this help in formatFMT. The value ofFMThas to be one ofauto,pager,grofforplain. And withauto, the format becomespagerorplainwhenever theTERMenv var isdumbor justβ¦ not set at all. π--versionβ shows version information. Slay. β
π EXIT STATUS π
dune ocaml exits with:
0β on success. We love a happy ending. π«Ά1β if an error happened. π130β if it was interrupted by a signal. Absolute chaos, but we report it honestly.
π¦ SEE ALSO π¦
dune(1)β the parent, the blueprint, the blueprint-writing legend.
and that's the whole page bestie, thanks for reading to the end β this was Dune 3.24.1, from the Dune Manual, and yeah the page is literally titled DUNE-OCAML(1) in the corner. mwah π
π¦ where this page comes from
- ubuntu stonking: ocaml-dune 3.24.1-4 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms