Created
April 24, 2022 14:47
-
-
Save callingmedic911/f73e39494d6c73b9aa5689aa6a498a4a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title Postgres | |
# @raycast.mode compact | |
# Optional parameters: | |
# @raycast.icon images/postgres.png | |
# @raycast.argument1 { "type": "text", "placeholder": "cmd" } | |
# @raycast.argument2 { "type": "text", "placeholder": "port", "optional": true } | |
# @raycast.packageName Aditya Pandey | |
# Documentation: | |
# @raycast.description Wrapper aroung pg_ctl | |
# @raycast.author Aditya Pandey | |
# @raycast.authorURL twitter.com/callingmedic911 | |
pg_ctl -D "/opt/homebrew/var/postgres" -o "-F -p ${2:-5432}" "$1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment