feat: add raycast script to count chars in a string ✨
This commit is contained in:
parent
5d732ae785
commit
b122b73df0
1 changed files with 17 additions and 0 deletions
17
raycast-scripts/char-count.sh
Executable file
17
raycast-scripts/char-count.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue