dub-convert − Converts the file format of the package recipe.
dub convert OPTIONS...
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.
−f, −−format=VALUE
Specifies the target package
recipe format. Possible values:
json, sdl
−s, −−stdout
Outputs the converted package recipe to stdout instead of writing to disk.
See dub(1)
0 |
DUB succeeded |
|||
1 |
usage errors, unknown command line flags |
|||
2 |
package not found, package failed to load, miscellaneous error |
dub.sdl, dub.json
Copyright (c) 1999-2023 by The D Language Foundation
http://code.dlang.org/docs/commandline 〈〉
dub(1), dub-add(1), dub-init(1)