Skip to content

Commit c1b0a63

Browse files
huangsemaodehesa
authored andcommitted
Fix metadata parameters for Xcode commands
1 parent 54e9bc0 commit c1b0a63

File tree

2 files changed

+21
-15
lines changed

2 files changed

+21
-15
lines changed
Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
#!/bin/bash
22

3-
# @raycast.title Xcode
4-
# @raycast.author Sergey Korobyin
5-
# @raycast.authorURL https://github.com/huangsemao
6-
# @raycast.description Open the last xcode project
7-
83
# Required parameters:
94
# @raycast.schemaVersion 1
10-
# @raycast.title Last Xcode project
5+
# @raycast.title Last Project
116
# @raycast.mode silent
7+
# @raycast.packageName Developer Utilities
8+
#
9+
# Optional parameters:
1210
# @raycast.icon images/xcode.png
13-
# @raycast.packageName Xcode
11+
# @raycast.needsConfirmation false
12+
#
13+
# Documentation:
14+
# @raycast.description Open the last Xcode project
15+
# @raycast.author Sergey Korobyin
16+
# @raycast.authorURL https://github.com/huangsemao
1417

1518
mdfind "(kMDItemContentType =='com.apple.xcode.project') || (kMDItemContentType == 'com.apple.dt.document.workspace') || (kMDItemContentType == 'com.apple.dt.playground')" -0 | xargs -0 ls -t | head -1 | cut -f1 -d: | awk '{print "\x27" $0 "\x27" }' | xargs open
Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
#!/bin/bash
22

3-
# @raycast.title Xcode
4-
# @raycast.author Sergey Korobyin
5-
# @raycast.authorURL https://github.com/huangsemao
6-
# @raycast.description Open recent xcode project
7-
83
# Required parameters:
94
# @raycast.schemaVersion 1
10-
# @raycast.title Recent Xcode project
5+
# @raycast.title Recent Project
116
# @raycast.mode silent
12-
# @raycast.icon images/xcode.png
13-
# @raycast.packageName Xcode
7+
# @raycast.packageName Developer Utilities
148
# @raycast.argument1 { "type": "text", "placeholder": "Project name", "percentEncoded": true}
9+
#
10+
# Optional parameters:
11+
# @raycast.icon images/xcode.png
12+
# @raycast.needsConfirmation false
13+
#
14+
# Documentation:
15+
# @raycast.description Open recent Xcode project
16+
# @raycast.author Sergey Korobyin
17+
# @raycast.authorURL https://github.com/huangsemao
1518

1619
mdfind "(kMDItemFSName == '*$1*'c) && ((kMDItemContentType =='com.apple.xcode.project') || (kMDItemContentType == 'com.apple.dt.document.workspace') || (kMDItemContentType == 'com.apple.dt.playground'))" -0 | xargs -0 ls -t | head -1 | cut -f1 -d: | awk '{print "\x27" $0 "\x27" }' | xargs open

0 commit comments

Comments
 (0)