feat: add raycast script to count chars in a string

This commit is contained in:
DannyDannyDanny 2026-01-11 12:59:03 +01:00
parent 5d732ae785
commit b122b73df0

17
raycast-scripts/char-count.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/bash
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title char count
# @raycast.mode compact
# Optional parameters:
# @raycast.icon 🤖
# @raycast.argument1 { "type": "text", "placeholder": "Placeholder" }
# Documentation:
# @raycast.description counts chars in selected text
# @raycast.author DannyDannyDanny
# @raycast.authorURL https://raycast.com/DannyDannyDanny
echo -n "$1" | wc -c