added script to start/stop Colima

This commit is contained in:
MrRaph_
2024-07-23 11:42:00 +02:00
parent 083e01e815
commit 05bf0e2796

31
Utils/collima-stop-start.sh Executable file
View File

@@ -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