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 OPTIONS...
10

DESCRIPTION

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

OPTIONS

21       -f, --format=VALUE
22           Specifies the target package recipe format. Possible values:
23             json, sdl
24
25       -s, --stdout
26           Outputs  the  converted package recipe to stdout instead of writing
27           to disk.
28
29   COMMON OPTIONS
30       See dub(1)
31

EXIT STATUS

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

FILES

40       dub.sdl, dub.json
41

AUTHOR

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

ONLINE DOCUMENTATION

46       http://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-07-24                    DUB-CONVERT(1)
Impressum