| DUB-ADD(1) | The D Language Foundation | DUB-ADD(1) |
نام (NAME)
dub-add - Adds dependencies to the package file.
خلاصه دستور (SYNOPSIS)
dub add <package>[@<version-spec>] [<packages...>] OPTIONS...
توضیحات (DESCRIPTION)
Adds <packages> as dependencies.
Running "dub add <package>" is the same as adding <package> to the "dependencies" section in dub.json/dub.sdl.
If no version is specified for one of the packages, dub will query the registry for the latest version.
گزینهها (OPTIONS)
COMMON OPTIONS
See dub(1)
وضعیت خروج (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-2026 by The D Language Foundation
ONLINE DOCUMENTATION
همچنین ببینید (SEE ALSO)
| 2026-08-16 | The D Language Foundation |