commands.sh

dub

all

Package manager for D packages.

More info →

Options (2)

-n, --non-interactiveboolean

Non-interactively create a new D project

Example: dub init {{project_name}} {{[-n|--non-interactive]}}
-h, --helpboolean

Display help

Example: dub {{[-h|--help]}}

Examples (6)

Interactively create a new D project

dub init project_name

Non-interactively create a new D project

dub init project_name [-n|--non-interactive]

Build and run a D project

Install dependencies specified in a D project's `dub.json` or `dub.sdl` file

dub fetch

Update the dependencies in a D project

dub upgrade

Display help

dub [-h|--help]
made by @shridhargupta | data from tldr-pages