-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
Copy pathzip.ts
44 lines (43 loc) · 801 Bytes
/
zip.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
const completionSpec: Fig.Spec = {
name: "zip",
description: "Package and compress (archive) files into zip file",
args: [
{
name: "name",
description: "Name of archive",
},
{
name: "dir",
template: "folders",
},
],
options: [
{
name: "-r",
description:
"Package and compress a directory and its contents, recursively",
},
{
name: "-e",
},
{
name: "-s",
args: {
name: "split size",
},
},
{
name: "-d",
args: {
name: "file",
template: "filepaths",
},
},
{
name: "-9",
description:
"Archive a directory and its contents with the highest level [9] of compression",
},
],
};
export default completionSpec;