mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-23 22:30:07 +00:00
.. | ||
_dep | ||
dep.plugin.zsh | ||
README.md |
Dep plugin
This plugin adds completion for the Dep - Dependency management for Go, as well as some aliases for common Dep commands.
To use it, add dep
to the plugins array in your zshrc file:
plugins=(... dep)
Aliases
Alias | Command | Description |
---|---|---|
depc | dep check |
Check if imports, Gopkg.toml , and Gopkg.lock are in sync |
deps | dep status |
Report the status of the project dependencies |
depe | dep ensure |
Ensure a dependency is safely vendored in the project |
depa | dep ensure -add |
Add new dependencies, or populate Gopkg.toml with constraints for existing dependencies |
depu | dep ensure -update |
update the named dependencies (or all, if none are named) in Gopkg.lock to the latest allowed by Gopkg.toml |