DOKK / manpages / debian 11 / ocaml-dune / dune-format-dune-file.1.en
dune-format-dune-file(1) Dune Manual dune-format-dune-file(1)

dune-format-dune-file - Format dune files

dune format-dune-file [OPTION]... [FILE]

dune format-dune-file reads a dune file and outputs a formatted version. This is a low-level command, meant to implement editor support for example. To reformat a dune project, see the "Automatic formatting" section in the manual.

Path to the dune file to parse.

--help[=FMT] (default=auto)
Show this help in format FMT. The value FMT must be one of `auto', `pager', `groff' or `plain'. With `auto', the format is `pager` or `plain' whenever the TERM env var is `dumb' or undefined.
--version
Show version information.
Dune 2.7.1