forked from withfig/autocomplete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxcode-select.js
36 lines (35 loc) · 965 Bytes
/
xcode-select.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
var completionSpec = {
name: "xcode-select",
description: "Active developer directory for Xcode tools",
options: [
{
name: ["-h", "--help"],
description: "Help message",
},
{
name: ["-p", "--print-path"],
description: "Display path to active developer directory",
},
{
name: ["-s", "--switch"],
description: "Set path to active developer directory",
insertValue: "-s ",
args: {
name: "path",
template: "folders",
},
},
{
name: ["--install"],
description: "Install Xcode command line tools",
},
{
name: ["-v", "--version"],
description: "Display version",
},
{
name: ["-r", "--reset"],
description: "Reset to the default CLT path",
},
],
};