1DUB-CONVERT(1)             The D Language Foundation            DUB-CONVERT(1)
2
3
4

NAME

6       dub-convert - Converts the file format of the package recipe.
7

SYNOPSIS

9       dub convert
10
11       OPTIONS...
12

DESCRIPTION

14       This  command  will  convert  between JSON and SDLang formatted package
15       recipe files.
16
17
18
19       Warning: Beware that any formatting and  comments  within  the  package
20       recipe will get lost in the conversion process.
21

OPTIONS

23       -f, --format=VALUE
24           Specifies the target package recipe format. Possible values:
25             json, sdl
26
27       -s, --stdout
28           Outputs  the  converted package recipe to stdout instead of writing
29           to disk.
30

EXIT STATUS

32       0      DUB succeeded
33
34       1      usage errors, unknown command line flags
35
36       2      package not found, package failed to load, miscellaneous error
37

FILES

39       dub.sdl, dub.json
40

AUTHOR

42       Copyright (c) 1999-2023 by The D Language Foundation
43

ONLINE DOCUMENTATION

45       http://code.dlang.org/docs/commandline
46http://code.dlang.org/docs/commandline
47

SEE ALSO

49       dub(1), dub-add(1), dub-init(1)
50
51
52
53The D Language Foundation         2023-03-23                    DUB-CONVERT(1)
Impressum