-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
Copy pathnhost.ts
59 lines (58 loc) · 1.29 KB
/
nhost.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
59
const completionSpec: Fig.Spec = {
name: "nhost",
description: "Nhost's command-line",
subcommands: [
{
name: "deploy",
description:
"Deploy local migrations and metadata changes to Nhost production",
},
{
name: "dev",
description: "Start Nhost project for local development",
},
{
name: "down",
description: "Stop and remove local Nhost backend started by `nhost dev`",
},
{
name: ["env", "env:ls"],
description: "List environment variables",
},
{
name: "env:pull",
description:
"Sync remote environment variables to your local environment",
},
{
name: "help",
description: "Display help for nhost",
},
{
name: "init",
description: "Initialize current working directory as a Nhost project",
},
{
name: "link",
description: "Link Nhost Project",
},
{
name: "login",
description: "Login to your Nhost account",
options: [
{
name: ["--email", "-e"],
description: "Email address",
args: {
name: "email",
},
},
],
},
{
name: "logout",
description: "Logout from your Nhost account",
},
],
};
export default completionSpec;