.TH DUB-CONVERT 1 "2024-07-07" "The D Language Foundation" "The D Language Foundation" .SH NAME dub-convert \- Converts the file format of the package recipe. .SH SYNOPSIS \fBdub convert \fR\fIOPTIONS\&.\&.\&.\fR .SH DESCRIPTION This command will convert between JSON and SDLang formatted package recipe files. Warning: Beware that any formatting and comments within the package recipe will get lost in the conversion process. .SH OPTIONS .PP \fB\-f\fR, \fB\-\-format\fR=\fIVALUE\fR .RS 4 Specifies the target package recipe format. Possible values: json, sdl .RE .PP \fB\-s\fR, \fB\-\-stdout\fR .RS 4 Outputs the converted package recipe to stdout instead of writing to disk. .RE .SS COMMON OPTIONS See \fBdub\fR(1) .SH EXIT STATUS .TP .BR 0 DUB succeeded .TP .BR 1 usage errors, unknown command line flags .TP .BR 2 package not found, package failed to load, miscellaneous error .SH FILES \fIdub\&.sdl\fR, \fIdub\&.json\fR .SH AUTHOR Copyright (c) 1999-2024 by The D Language Foundation .SH ONLINE DOCUMENTATION .URhttp://code.dlang.org/docs/commandline http://code.dlang.org/docs/commandline .UE .SH SEE ALSO \fBdub\fR(1), \fBdub-add\fR(1), \fBdub-init\fR(1)