-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
Copy pathzed.ts
35 lines (35 loc) · 861 Bytes
/
zed.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
const completionSpec: Fig.Spec = {
name: "zed",
description: "A lightning-fast, collaborative code editor written in Rust",
options: [
{
name: ["-h", "--help"],
description: "Print help information",
},
{
name: ["-v", "--version"],
description: "Print Zed's version and the app path",
},
{
name: ["-w", "--wait"],
description:
"Wait for all of the given paths to be closed before exiting",
},
{
name: ["-b", "--bundle-path"],
description: "Custom Zed.app path",
args: {
name: "bundle_path",
template: "folders",
},
},
],
args: {
name: "path",
description: "A sequence of space-separated paths that you want to open",
isOptional: true,
isVariadic: true,
template: "filepaths",
},
};
export default completionSpec;