-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
Copy pathklist.ts
58 lines (58 loc) · 1.43 KB
/
klist.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
47
48
49
50
51
52
53
54
55
56
57
58
const completionSpec: Fig.Spec = {
name: "klist",
description:
"Reads and displays the current tickets in the credential cache (also known as the ticket file)",
options: [
{
name: "-c",
description: "Credential cache to list",
args: {
name: "cache",
},
},
{
name: "--cache",
description: "Credential cache to list",
requiresSeparator: true,
args: {
name: "cache",
},
},
{
name: ["-s", "-t", "--test"],
description:
"Test for there being an active and valid TGT for the local realm of the user in the credential cache",
},
{
name: ["-T", "--tokens"],
description: "Display AFS tokens",
},
{
name: ["-5", "--v5"],
description: "Display v5 cred cache (this is the default)",
},
{
name: "-f",
description:
"Include ticket flags in short form, each character stands for a specific flag",
},
{
name: ["-v", "--verbose"],
description: "Verbose output. Include all possible information",
},
{
name: ["-l", "--list-all"],
description:
"List the credential caches for the current users, not all cache types supports listing multiple caches",
},
{
name: "--json",
description: "JSON formatted output",
},
{
name: "--hidden",
description: "Verbose output",
},
],
};
export default completionSpec;