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