DOKK / manpages / debian 12 / dub / dub-init.1.en
DUB-INIT(1) The D Language Foundation DUB-INIT(1)

dub - Package and build management system for D

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.

Set the type of project to generate. Available types:

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

Sets the format to use for the package description file. Possible values:
json (default), sdl
Don't enter interactive mode.

dub.sdl, dub.json

Copyright (c) 1999-2022 by The D Language Foundation

http://code.dlang.org/docs/commandlinehttp://code.dlang.org/docs/commandline

dmd(1), dub(1)

2022-08-13 The D Language Foundation