bionic (1) dub-fetch.1.gz

Provided by: dub_1.8.0-2_amd64 bug

NAME

       dub - Package and build management system for D

SYNOPSIS

       dub fetch <name> OPTIONS...

DESCRIPTION

       Note:  Use  the  "dependencies" field in the package description file (e.g. dub.json) if you just want to
       use a certain package as a dependency, you don't have to explicitly fetch packages.

       Explicit retrieval/removal of packages is only needed when you want to put  packages  to  a  place  where
       several  applications  can  share these. If you just have an dependency to a package, just add it to your
       dub.json, dub will do the rest for you.

       Without specified options, placement/removal will default to a user wide shared location.

       Complete applications can be retrieved and run easily by e.g.

       $ dub fetch vibelog --cache=local

       $ cd vibelog

       $ dub

       This will grab all needed dependencies and compile and run the application.

       Note: DUB does not do a system installation of packages. Packages  are  instead  only  registered  within
       DUB's  internal  ecosystem.  Generation  of  native  system  packages/installers  may be added later as a
       separate feature.

OPTIONS

       --version=VALUE
              Use the specified version/branch instead of the latest available match  The  remove  command  also
              accepts "*" here as a wildcard to remove all versions of the package from the specified location

       --force-remove
              Deprecated option that does nothing

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)