DUB-CONVERT(1)
π dub-convert β the glow-up your package recipe deserves π
okay so real talk, this is the dub-convert page from the D Language Foundation's dub manual (that's dub-convert(1) if you're being fancy π
), and it's literally just about flipping your package recipe between two file formats. that's it. that's the whole vibe. let's get into it π¦
β¨ NAME β¨
dub-convert β converts the file format of the package recipe. no cap, that's the entire job description π«Ά
β¨ SYNOPSIS β¨
dub convert OPTIONS...
β¨ DESCRIPTION β¨
so basically this command converts between JSON and SDLang formatted package recipe files. that's the whole thing. it's giving "glow-up translator" energy β¨
β οΈ Warning, bestie, listen to me: beware that any formatting and comments within the package recipe will get lost in the conversion process. like, gone gone. π so if you've got your little commented-out vibes in there, they are not surviving the trip. screenshot it or something first, iykyk π
β¨ OPTIONS β¨
-f,--format=VALUEβ specifies the target package recipe format. possible values:jsonsdl
-s,--stdoutβ outputs the converted package recipe tostdoutinstead of writing to disk. perfect for when you just wanna peek at it before committing to the whole thing πβ¨
π COMMON OPTIONS π
see dub(1) β the shared stuff lives over there, go check it out π§
β¨ EXIT STATUS β¨
0β DUB succeeded. slay. π1β usage errors, unknown command line flags. oops π2β package not found, package failed to load, miscellaneous error. the "it's complicated" status π
β¨ FILES β¨
dub.sdldub.json
the two main characters of this whole story π
β¨ AUTHOR β¨
Copyright (c) 1999-2026 by The D Language Foundation. iconic. no further questions π
β¨ ONLINE DOCUMENTATION β¨
http://code.dlang.org/docs/commandline β¨β© β go read the docs, bestie, they're right there π₯
β¨ SEE ALSO β¨
dub(1), dub-add(1), dub-init(1)
and that's the whole page, you ate that π this cutie was brought to you by The D Language Foundation, dated 2026-08-16 β mwah, go convert something πβ¨π«Ά
π¦ 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