DUB-CLEAN(1)
π§Ό DUB-CLEAN(1) β the dub clean girlies' manual page π
okay so bestie, this is the manual page for dub-clean from The D Language Foundation, and I'm gonna walk you through it like we're texting at 1am π«Ά
β¨ NAME β¨
dub-clean β removes intermediate build files and cached build results. literally that's it, it's the cleanup crew π§Ή
β¨ SYNOPSIS β¨
dub clean [<package>] OPTIONS...
πΈ DESCRIPTION πΈ
so this command removes any cached build files of the given package(s). that's the whole vibe π
but β and this is the important part, don't skip it β the final target file, as well as any copyFiles, are currently not removed. so don't come crying to me when your binary is still sitting there, it's giving "I'm still here" energy π
Without arguments, the package in the current working directory will be cleaned. no thoughts, just clean the one you're standing in π
β¨ OPTIONS β¨
--all-packagesβ cleans up all known packages (as in, the ones fromdub list). go big or go home, queen π
π COMMON OPTIONS
See dub(1) β the main character of the dub manpages, she has all the shared options iykyk
π₯ EXIT STATUS π₯
like the vibe check at the end, here's what the exit codes mean:
0β DUB succeeded. slay, we ate π1β usage errors, unknown command line flags. you typed something weird bestie π2β package not found, package failed to load, miscellaneous error. it's giving chaos π
π FILES π
dub.sdldub.json
those are the two files, iconic duo fr fr
π AUTHOR π
Copyright (c) 1999-2026 by The D Language Foundation
π ONLINE DOCUMENTATION π
http://code.dlang.org/docs/commandline
go read it, it's free β¨
π¦ SEE ALSO π¦
okay that's the whole page, you're welcome π this was brought to you by The D Language Foundation, dated 2026-08-16 β mwah, stay clean bestie π§β
π¦ where this page comes from
- arch rolling: dub 1.42.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms