Skip to content

Instantly share code, notes, and snippets.

@jessfraz
Last active October 27, 2016 14:55
Show Gist options
  • Save jessfraz/315db91b272441f510e81e449f675a8b to your computer and use it in GitHub Desktop.
Save jessfraz/315db91b272441f510e81e449f675a8b to your computer and use it in GitHub Desktop.
verbs

In no specific order:

ensure

$ dep ensure github.com/heroku/rollrus
$ dep ensure github.com/heroku/rollrus@~0.9.0
$ dep ensure github.com/heroku/rollrus@^0.9.1
$ dep ensure github.com/heroku/rollrus@~1.0.0
$ dep ensure github.com/heroku/rollrus:git.example.com/foo/bar
$ dep ensure github.com/heroku/rollrus==1.2.3	# 1.2.3 specifically
$ dep ensure github.com/heroku/rollrus=^1.2.0	# >= 1.2.0  < 2.0.0

set

$ dep set github.com/heroku/rollrus
$ dep set github.com/heroku/rollrus@~0.9.0
$ dep set github.com/heroku/rollrus@^0.9.1
$ dep set github.com/heroku/rollrus@~1.0.0
$ dep set github.com/heroku/rollrus:git.example.com/foo/bar
$ dep set github.com/heroku/rollrus==1.2.3	# 1.2.3 specifically
$ dep set github.com/heroku/rollrus=^1.2.0	# >= 1.2.0  < 2.0.0

use

$ dep use github.com/heroku/rollrus
$ dep use github.com/heroku/rollrus@~0.9.0
$ dep use github.com/heroku/rollrus@^0.9.1
$ dep use github.com/heroku/rollrus@~1.0.0
$ dep use github.com/heroku/rollrus:git.example.com/foo/bar
$ dep use github.com/heroku/rollrus==1.2.3	# 1.2.3 specifically
$ dep use github.com/heroku/rollrus=^1.2.0	# >= 1.2.0  < 2.0.0

save

$ dep save github.com/heroku/rollrus
$ dep save github.com/heroku/rollrus@~0.9.0
$ dep save github.com/heroku/rollrus@^0.9.1
$ dep save github.com/heroku/rollrus@~1.0.0
$ dep save github.com/heroku/rollrus:git.example.com/foo/bar
$ dep save github.com/heroku/rollrus==1.2.3	# 1.2.3 specifically
$ dep save github.com/heroku/rollrus=^1.2.0	# >= 1.2.0  < 2.0.0

adopt

$ dep adopt github.com/heroku/rollrus
$ dep adopt github.com/heroku/rollrus@~0.9.0
$ dep adopt github.com/heroku/rollrus@^0.9.1
$ dep adopt github.com/heroku/rollrus@~1.0.0
$ dep adopt github.com/heroku/rollrus:git.example.com/foo/bar
$ dep adopt github.com/heroku/rollrus==1.2.3	# 1.2.3 specifically
$ dep adopt github.com/heroku/rollrus=^1.2.0	# >= 1.2.0  < 2.0.0

pin

$ dep pin github.com/heroku/rollrus
$ dep pin github.com/heroku/rollrus@~0.9.0
$ dep pin github.com/heroku/rollrus@^0.9.1
$ dep pin github.com/heroku/rollrus@~1.0.0
$ dep pin github.com/heroku/rollrus:git.example.com/foo/bar
$ dep pin github.com/heroku/rollrus==1.2.3	# 1.2.3 specifically
$ dep pin github.com/heroku/rollrus=^1.2.0	# >= 1.2.0  < 2.0.0

make

$ dep make github.com/heroku/rollrus
$ dep make github.com/heroku/rollrus@~0.9.0
$ dep make github.com/heroku/rollrus@^0.9.1
$ dep make github.com/heroku/rollrus@~1.0.0
$ dep make github.com/heroku/rollrus:git.example.com/foo/bar
$ dep make github.com/heroku/rollrus==1.2.3	# 1.2.3 specifically
$ dep make github.com/heroku/rollrus=^1.2.0	# >= 1.2.0  < 2.0.0

confirm

$ dep confirm github.com/heroku/rollrus
$ dep confirm github.com/heroku/rollrus@~0.9.0
$ dep confirm github.com/heroku/rollrus@^0.9.1
$ dep confirm github.com/heroku/rollrus@~1.0.0
$ dep confirm github.com/heroku/rollrus:git.example.com/foo/bar
$ dep confirm github.com/heroku/rollrus==1.2.3	# 1.2.3 specifically
$ dep confirm github.com/heroku/rollrus=^1.2.0	# >= 1.2.0  < 2.0.0

provide

$ dep provide github.com/heroku/rollrus
$ dep provide github.com/heroku/rollrus@~0.9.0
$ dep provide github.com/heroku/rollrus@^0.9.1
$ dep provide github.com/heroku/rollrus@~1.0.0
$ dep provide github.com/heroku/rollrus:git.example.com/foo/bar
$ dep provide github.com/heroku/rollrus==1.2.3	# 1.2.3 specifically
$ dep provide github.com/heroku/rollrus=^1.2.0	# >= 1.2.0  < 2.0.0

take

$ dep take github.com/heroku/rollrus
$ dep take github.com/heroku/rollrus@~0.9.0
$ dep take github.com/heroku/rollrus@^0.9.1
$ dep take github.com/heroku/rollrus@~1.0.0
$ dep take github.com/heroku/rollrus:git.example.com/foo/bar
$ dep take github.com/heroku/rollrus==1.2.3	# 1.2.3 specifically
$ dep take github.com/heroku/rollrus=^1.2.0	# >= 1.2.0  < 2.0.0

fix

$ dep fix github.com/heroku/rollrus
$ dep fix github.com/heroku/rollrus@~0.9.0
$ dep fix github.com/heroku/rollrus@^0.9.1
$ dep fix github.com/heroku/rollrus@~1.0.0
$ dep fix github.com/heroku/rollrus:git.example.com/foo/bar
$ dep fix github.com/heroku/rollrus==1.2.3	# 1.2.3 specifically
$ dep fix github.com/heroku/rollrus=^1.2.0	# >= 1.2.0  < 2.0.0

insist

$ dep insist github.com/heroku/rollrus
$ dep insist github.com/heroku/rollrus@~0.9.0
$ dep insist github.com/heroku/rollrus@^0.9.1
$ dep insist github.com/heroku/rollrus@~1.0.0
$ dep insist github.com/heroku/rollrus:git.example.com/foo/bar
$ dep insist github.com/heroku/rollrus==1.2.3	# 1.2.3 specifically
$ dep insist github.com/heroku/rollrus=^1.2.0	# >= 1.2.0  < 2.0.0

do

$ dep do github.com/heroku/rollrus
$ dep do github.com/heroku/rollrus@~0.9.0
$ dep do github.com/heroku/rollrus@^0.9.1
$ dep do github.com/heroku/rollrus@~1.0.0
$ dep do github.com/heroku/rollrus:git.example.com/foo/bar
$ dep do github.com/heroku/rollrus==1.2.3	# 1.2.3 specifically
$ dep do github.com/heroku/rollrus=^1.2.0	# >= 1.2.0  < 2.0.0

select

$ dep select github.com/heroku/rollrus
$ dep select github.com/heroku/rollrus@~0.9.0
$ dep select github.com/heroku/rollrus@^0.9.1
$ dep select github.com/heroku/rollrus@~1.0.0
$ dep select github.com/heroku/rollrus:git.example.com/foo/bar
$ dep select github.com/heroku/rollrus==1.2.3	# 1.2.3 specifically
$ dep select github.com/heroku/rollrus=^1.2.0	# >= 1.2.0  < 2.0.0

approve

$ dep approve github.com/heroku/rollrus
$ dep approve github.com/heroku/rollrus@~0.9.0
$ dep approve github.com/heroku/rollrus@^0.9.1
$ dep approve github.com/heroku/rollrus@~1.0.0
$ dep approve github.com/heroku/rollrus:git.example.com/foo/bar
$ dep approve github.com/heroku/rollrus==1.2.3	# 1.2.3 specifically
$ dep approve github.com/heroku/rollrus=^1.2.0	# >= 1.2.0  < 2.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment