Skip to content

Instantly share code, notes, and snippets.

@iamdanre
Last active August 10, 2024 21:14
Show Gist options
  • Save iamdanre/cf776c7ecdd0aa601badc36a84f8638e to your computer and use it in GitHub Desktop.
Save iamdanre/cf776c7ecdd0aa601badc36a84f8638e to your computer and use it in GitHub Desktop.
run MAMP's MySQL server as a daemon with Raycast πŸš€
#!/bin/bash
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Mamp SQL Server
# @raycast.mode compact
# @raycast.argument1 { "type": "dropdown", "placeholder": "Start/Stop/Status", "data": [{"title": "Start", "value": "start"}, {"title": "Stop", "value": "stop"}, {"title": "Status", "value": "status"}] }
# Optional parameters:
# @raycast.icon 🐘
# @raycast.packageName Raycast Scripts
# @raycast.currentDirectoryPath ~
# @raycast.needsConfirmation false
# Documentation:
# @raycast.description start/stop MAMP's mySQL server
# @raycast.author danre_x
# @raycast.authorURL https://raycast.com/danre_x
/Applications/MAMP/Library/support-files/mysql.server "$1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment