dub-init - Man Page

Package and build management system for D

Synopsis

dub init [<directory> [<dependency>...]] Options... [-- <application arguments...>]

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 custom  - custom project provided by dub package

-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-2022 by The D Language Foundation

Online Documentation

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

See Also

dmd(1), dub(1)

Referenced By

dub(1).

2022-01-17 The D Language Foundation