-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
Copy pathcot.ts
46 lines (46 loc) · 1.05 KB
/
cot.ts
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
36
37
38
39
40
41
42
43
44
45
46
// Author: Yavko
const completionSpec: Fig.Spec = {
name: "cot",
icon: "https://coteditor.com/favicon@2x.png",
description: "Command-line utility for CotEditor",
args: {
template: "filepaths",
},
options: [
{
description: "Show help message and exit",
name: ["-h", "--help"],
},
{
description: "Show program's version number and exit",
name: ["-v", "--version"],
},
{
description: "Wait for opened file to be closed",
name: ["-w", "--wait"],
},
{
description: "Do not bring the application to the foreground",
name: ["-g", "--background"],
},
{
description: "Create a new blank document",
name: ["-n", "--new"],
},
{
description: "Jump to specific line in opened document",
name: ["-l", "--line"],
args: {
name: "line",
},
},
{
description: "Jump to specific column in opened document",
name: ["-c", "--column"],
args: {
name: "column",
},
},
],
};
export default completionSpec;