From 05bf0e2796ca7254bced812d792ddf1276b03508 Mon Sep 17 00:00:00 2001 From: MrRaph_ Date: Tue, 23 Jul 2024 11:42:00 +0200 Subject: [PATCH] added script to start/stop Colima --- Utils/collima-stop-start.sh | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 Utils/collima-stop-start.sh diff --git a/Utils/collima-stop-start.sh b/Utils/collima-stop-start.sh new file mode 100755 index 0000000..d539c04 --- /dev/null +++ b/Utils/collima-stop-start.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +# Required parameters: +# @raycast.schemaVersion 1 +# @raycast.title Colima Stop Start +# @raycast.mode silent +# @raycast.packageName MrRaph_ +# +# Optional parameters: +# @raycast.icon 🌎 +# @raycast.argument1 { "type": "text", "placeholder": "stop/start" } +# +# Documentation: +# @raycast.description This script stops or starts Colima +# @raycast.author MrRaph_ +# @raycast.authorURL https://git.mrraph.fr + +message="Error" + +case ${1} in + start) + colima start + message="Colima Started !" + ;; + stop) + colima stop + message="Colima Stopped !" + ;; +esac + +echo $message \ No newline at end of file