mte/unikernel/duniverse/dune_/doc/reference/actions/format-dune-file.rst

15 lines
379 B
ReStructuredText
Raw Normal View History

2025-11-11 02:07:51 +01:00
cat
---
.. highlight:: dune
.. describe:: (format-dune-file <src> <dst>)
Output the formatted contents of the file ``<src>`` to ``<dst>``. The source
file is assumed to contain S-expressions. Note that the precise formatting
can depend on the version of the Dune language used by containing project.
Example::
(format-dune-file file.sexp file.sexp.formatted)