1DUB-INIT(1) The D Language Foundation DUB-INIT(1)
2
3
4
6 dub - Package and build management system for D
7
9 dub init [<directory> [<dependency>...]] OPTIONS... [-- <application
10 arguments...>]
11
13 Initializes an empty package of the specified type in the given direc‐
14 tory. By default, the current working directory is used.
15
17 -t, Set the type of project to generate. Available types:
18
19 minimal - simple "hello world" project (default) vibe.d - mini‐
20 mal HTTP server based on vibe.d deimos - skeleton for C header
21 bindings custom - custom project provided by dub package
22
23 -f, Sets the format to use for the package description file. Possi‐
24 ble values:
25 json (default), sdl
26
27 -n, Don't enter interactive mode.
28
30 dub.sdl, dub.json
31
33 Copyright (c) 1999-2022 by The D Language Foundation
34
36 ⟨http://code.dlang.org/docs/commandline⟩http://code.dlang.org/docs/commandline
37
39 dmd(1), dub(1)
40
41
42
43The D Language Foundation 2022-01-20 DUB-INIT(1)