Created
November 24, 2021 18:16
-
-
Save IanLeatherbury/683e960686a2ec2a4640b5f39a9fe973 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 | |
# Raycast Script Command Template | |
# | |
# Duplicate this file and remove ".template." from the filename to get started. | |
# See full documentation here: https://github.com/raycast/script-commands | |
# | |
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title New Today Doc | |
# @raycast.mode silent | |
# | |
# Optional parameters: | |
# @raycast.icon 🗒 | |
# @raycast.packageName Raycast Scripts | |
# clipboard="$(pbpaste | grep -v '[x]$' | pbcopy)" | |
pbpaste |grep -v '[x]' |pbcopy | |
today="$(date +'%A, %b %d')" | |
SPACE_ID="" | |
open "craftdocs://createdocument?spaceId=$SPACE_ID&title=$today&content=$(pbpaste)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment