forked from raycast/script-commands
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathagenda-new-note.sh
executable file
·26 lines (19 loc) · 930 Bytes
/
agenda-new-note.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
# Note: Agenda required
# Install via Mac App Store: https://apps.apple.com/us/app/agenda/id1287445660
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Create New On the Agenda Note
# @raycast.mode silent
# Optional parameters:
# @raycast.icon images/agenda.png
# @raycast.argument1 { "type": "text", "placeholder": "Project Title", "percentEncoded": true}
# @raycast.argument2 { "type": "text", "placeholder": "Title", "percentEncoded": true }
# @raycast.argument3 { "type": "text", "placeholder": "Note Text", "percentEncoded": true, "optional": true }
# @raycast.packageName Agenda
# Documentation:
# @raycast.description Creates New Note and adds it to On the Agenda
# @raycast.author Michael Ellis
# @raycast.authorURL https://github.com/mtellis2
open "agenda://x-callback-url/create-note?project-title=$1&title=$2&text=$3&on-the-agenda=true&date=today"
echo "Created On the Agenda Note."