From b122b73df00cef4da06fd3ad088429be15debc73 Mon Sep 17 00:00:00 2001 From: DannyDannyDanny Date: Sun, 11 Jan 2026 12:59:03 +0100 Subject: [PATCH] feat: add raycast script to count chars in a string :sparkles: --- raycast-scripts/char-count.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 raycast-scripts/char-count.sh diff --git a/raycast-scripts/char-count.sh b/raycast-scripts/char-count.sh new file mode 100755 index 0000000..268cedc --- /dev/null +++ b/raycast-scripts/char-count.sh @@ -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