-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
Copy pathmailsy.ts
38 lines (37 loc) · 876 Bytes
/
mailsy.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
const completionSpec: Fig.Spec = {
name: "mailsy",
description: "⚡️ Quickly generate a disposable email straight from terminal",
subcommands: [
{
name: "g",
description: "Generate a new email",
},
{
name: "m",
description: "Fetch messages from the inbox",
},
{
name: "d",
description: "Delete account",
},
{
name: "me",
description: "Show details of the account",
},
{
name: "help",
description: "Get help for a command",
args: { name: "command", isOptional: true, template: "help" },
},
],
options: [
{ name: ["-v", "--version"], description: "Output the current version" },
{
name: ["-h", "--help"],
description: "Display help for command",
priority: 49,
isPersistent: true,
},
],
};
export default completionSpec;