DUNE-PROMOTION(1)
π dune-promotion β the manual page, but make it make sense
okay so bestie, imagine this: your build makes changes, and somebody has to tell those changes to go back home to your actual source code. that's literally what dune-promotion does. no cap. it's the lil' command that controls how changes get propagated back to source code. π¦
it lives in the Dune Manual, section 1 (that's the user commands section, iykyk).
β¨ SYNOPSIS β¨
dune promotion COMMAND β¦
so yeah β you run dune promotion, then you pick a COMMAND, then whatever that command wants. it's giving choose-your-own-adventure but for your source tree. π
π COMMANDS π
apply[OPTION]β¦ [FILE]β¦β promotes those files from the last run. it's the "okay we're doing this for real" one. π«Άdiff[OPTION]β¦ [FILE]β¦β lists the promotions that are going to be applied. the "let me see the vibes first" one, lowkey the responsible choice. β¨list[OPTION]β¦ [FILE]β¦β lists promotion files. just the list. iconic, minimal, no notes. πshow[OPTION]β¦ [FILE]β¦β displays the contents of a corrected file. peek at the glow-up before you commit to it. π
πΈ COMMON OPTIONS πΈ
--help[=FMT](default=auto) β shows this help in formatFMT. andFMThas to be one of exactly these:auto,pager,groff, orplain. and when you pickauto? the format ends up beingpagerorplainwhenever theTERMenv var isdumbor undefined. that's the whole rule, fr fr. π--versionβ shows version information. the classic. β
π EXIT STATUS π
dune promotion exits with:
0β on success. ate. slay. π1β if an error happened. π130β if it was interrupted by a signal. dramatic, but real. π
π₯ SEE ALSO π₯
dune(1)β the main character. go read that one too. π
ok one tiny note bestie:OPTIONandFILEshow up asβ¦for a reason β the manual says[OPTION]β¦ [FILE]β¦, so don't be reading extra meanings into it, just know that's the shape. π§
that's the whole page, you understood it, periodt. π
this has been your girl walking you through the Dune Manual, dune-promotion(1), as shipped with Dune 3.24.1 β go promote something cute. πβ¨
π¦ 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