We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9a03ab6 + 44fbfcc commit ce7fcb9Copy full SHA for ce7fcb9
commands/web-searches/images/rust.png
4.85 KB
commands/web-searches/search-rust-docs.sh
@@ -0,0 +1,24 @@
1
+#!/bin/bash
2
+
3
+# Required parameters:
4
+# @raycast.schemaVersion 1
5
+# @raycast.title Search Rust Documentation
6
+# @raycast.mode silent
7
+#
8
+# Optional parameters:
9
+# @raycast.packageName Web Searches
10
+# @raycast.icon images/rust.png
11
+# @raycast.argument1 { "type": "text", "placeholder": "Name", "percentEncoded": true }
12
13
+# Example query:
14
+# Searching for `expect` will open this link in your browser:
15
+# `https://doc.rust-lang.org/std/?search=expect`.
16
17
+# Documentation:
18
+# @raycast.author lemorage
19
+# @raycast.authorURL https://raycast.com/lemorage
20
+# @raycast.description Search Rust documentation
21
22
+query=$(echo "$1" | sed 's/ /%20/g')
23
24
+open "https://doc.rust-lang.org/std/?search=$query"
0 commit comments