diff --git a/README.md b/README.md index a96736e..fde4b9b 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,12 @@ grep 'complete -F \w* [a-z-]*' -- completion/vdn-completion.bash | awk '{ print Execute your pipeline locally. +Run the pipeline named `default`: + +```bash +vdn-drone exec --pipeline default +``` + ## `vdn-rsync` Copy files between the host and the guest system using *rsync*. diff --git a/bin/vdn-drone b/bin/vdn-drone index bb5f649..477dd57 100755 --- a/bin/vdn-drone +++ b/bin/vdn-drone @@ -40,6 +40,17 @@ usage() { exit 1 } +for arg; do + case "$arg" in + '-h') + help; exit + ;; + --) + break + ;; + esac +done + test -f .drone.yml || error 'Aucun fichier drone.yml trouvé' vdn-set-network-dir docker