File tree 1 file changed +19
-1
lines changed
1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 5
5
// Dependency: This script requires Nodejs.
6
6
// Install Node: https://nodejs.org/en/download/
7
7
//
8
- // Duplicate this file and remove ".template. " from the filename to get started.
8
+ // Duplicate this file and remove ".template" from the filename to get started.
9
9
// See full documentation here: https://github.com/raycast/script-commands
10
10
//
11
11
// Required parameters:
24
24
// @raycast .author Your name
25
25
// @raycast .authorURL An URL for one of your social medias
26
26
27
+ /*
28
+
29
+ ABOUT THIS TEMPLATE:
30
+
31
+ This template is meant to be a quick starting point for creating a script command using Nodejs.
32
+
33
+ This template demonstrates the following ideas:
34
+
35
+ * Extracting passed arguments.
36
+ * Using both required and optional arguments
37
+ * URI Encoding
38
+ * Outputting result to Raycast
39
+ * Opening a url using exec and the unix open command
40
+ * Use of destructuring
41
+ * Use of template literals
42
+
43
+ */
44
+
27
45
const { exec } = require ( 'child_process' )
28
46
29
47
// Use destructuring to grab arguments.
You can’t perform that action at this time.
0 commit comments