zsh: Add netlify docker function
This commit is contained in:
parent
a8fc2c06ff
commit
c6e10fe02f
|
@ -138,3 +138,15 @@ function gcloud {
|
|||
google/cloud-sdk \
|
||||
gcloud "$@"
|
||||
}
|
||||
|
||||
function netlify() {
|
||||
docker run \
|
||||
--rm \
|
||||
-it \
|
||||
--init \
|
||||
-v $HOME/.netlify:/home/node/.netlify \
|
||||
-v $PWD:/data/ \
|
||||
-w /data/ \
|
||||
r.sbruder.de/netlify-cli \
|
||||
"$@"
|
||||
}
|
||||
|
|
Reference in a new issue