dub-init - Initializes an empty package skeleton

NAME  SYNOPSIS  DESCRIPTION  OPTIONS  EXIT STATUS  FILES  AUTHOR  ONLINE DOCUMENTATION  SEE ALSO 

NAME

dub-init − Initializes an empty package skeleton

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, −−type=VALUE

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, −−format=VALUE

Sets the format to use for the package description file. Possible values:
json (default), sdl

−n, −−non−interactive

Don’t enter interactive mode.

EXIT STATUS

0

DUB succeeded

1

usage errors, unknown command line flags

2

package not found, package failed to load, miscellaneous error

FILES

dub.sdl, dub.json

AUTHOR

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

ONLINE DOCUMENTATION

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

SEE ALSO

dub(1), dub-add(1), dub-convert(1)


Updated 2023-02-15 - jenkler.se | uex.se