Scroll to navigation

DUB-INIT(1) The D Language Foundation DUB-INIT(1)

NAME

dub - Package and build management system for D

SYNOPSIS

dub init [<directory> [<dependency>...]] OPTIONS...

DESCRIPTION

Initializes an empty package of the specified type in the given directory. By default, the current working directory is used.

OPTIONS

-t,
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

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

FILES

dub.sdl, dub.json

AUTHOR

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

ONLINE DOCUMENTATION

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

SEE ALSO

dmd(1) dub(1)
2018-12-21 The D Language Foundation