added script to start/stop Colima
This commit is contained in:
31
Utils/collima-stop-start.sh
Executable file
31
Utils/collima-stop-start.sh
Executable 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
|
||||
Reference in New Issue
Block a user