forked from withfig/autocomplete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdir.ts
35 lines (34 loc) · 894 Bytes
/
mkdir.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: "mkdir",
description: "make directories",
args: {
name: "directory name",
},
options: [
{
name: ["-m", "--mode"],
description: "set file mode (as in chmod), not a=rwx - umask",
args: { name: "MODE" },
},
{
name: ["-p", "--parents"],
description: "no error if existing, make parent directories as needed",
},
{
name: ["-v", "--verbose"],
description: "print a message for each created directory",
},
{
name: ["-Z", "--context"],
description:
"set the SELinux security context of each created directory to CTX",
args: { name: "CTX" },
},
{ name: "--help", description: "display this help and exit" },
{
name: "--version",
description: "output version information and exit",
},
],
};
export default completionSpec;