DUNE-SHOW(1)
π NAME π
dune-show β the command group that spills the tea about your workspace ββ¨
Like, it's not one command, bestie, it's a whole clique of subcommands whose entire job is showing you stuff: what's in your dirs, what's installed, what builds, what the vibes are. Main character energy for your build system. π
π¦ SYNOPSIS π¦
dune show COMMAND β¦
π COMMANDS π
ok so here's the full roster, no gatekeeping, every single one of them:
aliases [OPTION]β¦ [DIR]β¦β prints out the aliases in a given directory. works basically likelsdoes. familiar, cozy, iconic. πcontexts [OPTION]β¦β lists all the build contexts that exist in the workspace. the whole set, laid out. πdepexts [OPTION]β¦β prints the list of all the available depexts. all of them. every single one. β¨env [OPTION]β¦ [PATH]β prints the environment of a directory. like, the env-ironment. πΈexternal-lib-deps [OPTION]β¦β prints out the external libraries you'd need to build the project. heads up tho: it's an approximated set of libraries, not a perfect one, so don't treat it like gospel fr fr. π«Άinstalled-libraries [OPTION]β¦β prints out the libraries that are installed on the system. already there, already slaying. πlocation [OPTION]β¦ PROGβ prints the path to the executable, and it uses the exact same resolution logic as[dune exec]. same brain, same answer. π§opam-files [OPTION]β¦β prints info about all the opam files it has discovered. cute little detectives. πpackage-entries [OPTION]β¦β prints information about the entries per package. π¦pkg COMMAND β¦β subcommands related to package management. it's giving nested lore. ποΈpp [OPTION]β¦ FILEβ builds the given FILE and prints the preprocessed output. yes it actually builds it first. π οΈrules [OPTION]β¦ [TARGET]β¦β dumps the rules. all of them, just dumped. ποΈβ‘οΈπtargets [OPTION]β¦ [DIR]β¦β prints the targets in a given directory. also works similarly tols. twinsies withaliases. π―tests [OPTION]β¦β prints out the tests defined in the project. β οΈ the output format of this command is experimental and is subject to change without warning β so don't build your whole pipeline on top of it, bestie, it could switch up on you. πworkspace [OPTION]β¦ [DIRS]β¦β prints a description of the workspace's structure. and if you pass some directories DIRS, then only those directories of the workspace get considered. narrowing the focus, love that for you. π―
β¨ COMMON OPTIONS β¨
the ones everybody shares, periodt:
--help[=FMT](default=auto) β shows this help in format FMT. FMT has to be one ofauto,pager,grofforplain. withauto, the format ispagerorplainwhenever theTERMenv var isdumbor undefined. it reads the room. π--versionβ shows version information. the receipts. π§Ύ
π EXIT STATUS π
dune show exits with:
0β on success. ate. π1β if an error happened. it's giving tragedy. π130β if it was interrupted by a signal. Ctrl+C behaviour, we've all been there. π
π₯ SEE ALSO π₯
dune(1)β the big one, the parent, the blueprint. go read it, iykyk. π¦
ngl this whole page is from Dune 3.24.1 β so if your dune is a different era, vibe check the version before you trust every detail. π
ok bye bestie, go dune show something and slay the build β¨ππΈ
π¦ 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