aboutsummaryrefslogtreecommitdiffstats
path: root/tools/send_twilio.sh
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-11-14 21:54:44 +0800
committerGitHub <noreply@github.com>2024-11-14 21:54:44 +0800
commit1b96d4ee4cadf05163d653373423a615723240aa (patch)
treeb528d9e7791a2ed1ca8ce36098eec7c160200613 /tools/send_twilio.sh
parentafbd03f963b08419a3835c9473d757bf936c8b92 (diff)
downloadllm-functions-docker-1b96d4ee4cadf05163d653373423a615723240aa.tar.gz
feat: add `LLM_OUTPUT=/dev/stdout` to all tools/agents bashscripts (#123)
Diffstat (limited to 'tools/send_twilio.sh')
-rwxr-xr-xtools/send_twilio.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/send_twilio.sh b/tools/send_twilio.sh
index cb9717e..2a197ff 100755
--- a/tools/send_twilio.sh
+++ b/tools/send_twilio.sh
@@ -2,11 +2,13 @@
set -e
# @describe Send SMS or Twilio Messaging Channels messages using Twilio API.
+# @option --to-number! The recipient's phone number. Prefix with 'whatsapp:' for WhatsApp messages, e.g. whatsapp:+1234567890
+# @option --message! The content of the message to be sent
+
# @env TWILIO_ACCOUNT_SID! The twilio account sid
# @env TWILIO_AUTH_TOKEN! The twilio auth token
# @env TWILIO_FROM_NUMBER! The twilio from number
-# @option --to-number! The recipient's phone number. Prefix with 'whatsapp:' for WhatsApp messages, e.g. whatsapp:+1234567890
-# @option --message! The content of the message to be sent
+# @env LLM_OUTPUT=/dev/stdout The output path
main() {
from_number="$TWILIO_FROM_NUMBER"