DUB-INIT(1) | The D Language Foundation | DUB-INIT(1) |
dub-init - Initializes an empty package skeleton
dub init [<directory> [<dependency>...]] OPTIONS... [-- <application arguments...>]
Initializes an empty package of the specified type in the given directory.
By default, the current working directory is used.
Custom templates can be defined by packages by providing a sub-package called "init-exec". No default source files are added in this case.
The "init-exec" sub-package is compiled and executed inside the destination folder after the base project directory has been created.
Free arguments "dub init -t custom -- free args" are passed into the "init-exec" sub-package as app arguments.
-t, --type=VALUE
minimal - simple "hello world" project (default) vibe.d - minimal HTTP server based on vibe.d deimos - skeleton for C header bindings custom - custom project provided by dub package
-f, --format=VALUE
-n, --non-interactive
See dub(1)
dub.sdl, dub.json
Copyright (c) 1999-2024 by The D Language Foundation
http://code.dlang.org/docs/commandline
dub(1), dub-add(1), dub-convert(1)
2024-04-01 | The D Language Foundation |