Advertisement
Guest User

dub help

a guest
Dec 2nd, 2013
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. Usage: dub [<command>] [<options...>] [-- [<application arguments...>]]
  2.  
  3. Manages the DUB project in the current directory. If the command is omitted,
  4. DUB will default to "run". When running an application, "--" can be used to
  5. separate DUB options from options passed to the application.
  6.  
  7. Run "dub <command> --help" to get help for a specific command.
  8.  
  9. Available commands:
  10. init [<directory> [<type>]]
  11. Initializes an empty package skeleton
  12. run [<package>] Builds and runs a package (default command)
  13. build [<package>] Builds a package (uses the main package in the current
  14. working directory by default)
  15. test [<package>] Executes the tests of the selected package
  16. generate <generator> [<package>]
  17. Generates project files using the specified generator
  18. describe [<package>] Prints a JSON description of the project and its
  19. dependencies
  20. fetch <name> Manually retrieves and caches a package
  21. install <name> Manually retrieves and caches a package
  22. remove <name> Removes a cached package
  23. uninstall <name> Removes a cached package
  24. upgrade Forces an upgrade of all dependencies
  25. add-path <path> Adds a default package search path
  26. remove-path <path> Removes a package search path
  27. add-local <path> <version>
  28. Adds a local package directory (e.g. a git repository)
  29. remove-local <path> Removes a local package directory
  30. list Prints a list of all local packages dub is aware of
  31. list-installed Prints a list of all local packages dub is aware of
  32.  
  33. General options:
  34. -h --help Display general or command specific help
  35. --root=VALUE Path to operate in instead of the current working dir
  36. --registry=VALUE Search the given DUB registry URL first when resolving
  37. dependencies. Can be specified multiple times.
  38. --annotate Do not perform any action, just print what would be
  39. done
  40. -v --verbose Print diagnostic output
  41. --vverbose Print debug output
  42. -q --quiet Only print warnings and errors
  43. --vquiet Print no messages
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement