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