We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1222437 commit 4cf99cbCopy full SHA for 4cf99cb
commands/math/random-number.sh
@@ -0,0 +1,22 @@
1
+#!/bin/bash
2
+
3
+# Required parameters:
4
+# @raycast.schemaVersion 1
5
+# @raycast.title Generate Random Number
6
+# @raycast.mode silent
7
+# @raycast.packageName Math
8
+# @raycast.argument1 { "type": "text", "placeholder": "From"}
9
+# @raycast.argument2 { "type": "text", "placeholder": "To"}
10
+#
11
+# Optional parameters:
12
+# @raycast.icon 🔢
13
14
+# Documentation:
15
+# @raycast.description Generate a number between a given range (inclusive) and then copy the value
16
+# @raycast.author Matt Gleich
17
+# @raycast.authorURL https://mattglei.ch
18
19
+VALUE=$(jot -r 1 $1 $2)
20
+echo $VALUE | pbcopy
21
22
+echo "Copied value of" $VALUE
0 commit comments