Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Usage: dub [<command>] [<options...>] [-- [<application arguments...>]]
- Manages the DUB project in the current directory. If the command is omitted,
- DUB will default to "run". When running an application, "--" can be used to
- separate DUB options from options passed to the application.
- Run "dub <command> --help" to get help for a specific command.
- Available commands:
- init [<directory> [<type>]]
- Initializes an empty package skeleton
- run [<package>] Builds and runs a package (default command)
- build [<package>] Builds a package (uses the main package in the current
- working directory by default)
- test [<package>] Executes the tests of the selected package
- generate <generator> [<package>]
- Generates project files using the specified generator
- describe [<package>] Prints a JSON description of the project and its
- dependencies
- fetch <name> Manually retrieves and caches a package
- install <name> Manually retrieves and caches a package
- remove <name> Removes a cached package
- uninstall <name> Removes a cached package
- upgrade Forces an upgrade of all dependencies
- add-path <path> Adds a default package search path
- remove-path <path> Removes a package search path
- add-local <path> <version>
- Adds a local package directory (e.g. a git repository)
- remove-local <path> Removes a local package directory
- list Prints a list of all local packages dub is aware of
- list-installed Prints a list of all local packages dub is aware of
- General options:
- -h --help Display general or command specific help
- --root=VALUE Path to operate in instead of the current working dir
- --registry=VALUE Search the given DUB registry URL first when resolving
- dependencies. Can be specified multiple times.
- --annotate Do not perform any action, just print what would be
- done
- -v --verbose Print diagnostic output
- --vverbose Print debug output
- -q --quiet Only print warnings and errors
- --vquiet Print no messages
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement