dub-convert - Man Page
Converts the file format of the package recipe.
Synopsis
dub convert Options...
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.
Options
- -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.
Common Options
See dub(1)
Exit Status
- 0
DUB succeeded
- 1
usage errors, unknown command line flags
- 2
package not found, package failed to load, miscellaneous error
Files
dub.sdl, dub.json
Author
Copyright (c) 1999-2024 by The D Language Foundation
Online Documentation
See Also
Referenced By
dub(1), dub-add(1), dub-init(1).
2024-08-06 The D Language Foundation