From 6a55b58ffc05ed273a322db6a5ec0f00bd338f70 Mon Sep 17 00:00:00 2001 From: clfreville2 Date: Mon, 18 Sep 2023 14:39:40 +0200 Subject: [PATCH] Show vdn-drone help --- README.md | 6 ++++++ bin/vdn-drone | 11 +++++++++++ 2 files changed, 17 insertions(+) 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