DUNE-PROMOTION(1) Dune Manual DUNE-PROMOTION(1)

# [NAME](#NAME)

dune-promotion - Control how changes are propagated back to source code.

# [SYNOPSIS](#SYNOPSIS)

**dune promotion** *COMMAND* …

# [COMMANDS](#COMMANDS)

[**apply** \[*OPTION*\]… \[*FILE*\]…](#apply)

Promote files from the last run

[**diff** \[*OPTION*\]… \[*FILE*\]…](#diff)

List promotions to be applied

[**list** \[*OPTION*\]… \[*FILE*\]…](#list)

List promotions files

[**show** \[*OPTION*\]… \[*FILE*\]…](#show)

Display contents of a corrected file

# [COMMON OPTIONS](#COMMON_OPTIONS)

**--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.

# [EXIT STATUS](#EXIT_STATUS)

**dune promotion** exits with:

0

on success.

1

if an error happened.

130

if it was interrupted by a signal.

# [SEE ALSO](#SEE_ALSO)

[dune(1)](/man/os/ocaml-dune/dune.1)

Dune 3.24.2

---

Document: dune-promotion(1) from ocaml-dune 3.24.2-r2 (Chainguard OS)
Source: https://github.com/ocaml/dune
