Skip to content

Commit

Permalink
feat: update spec
Browse files Browse the repository at this point in the history
  • Loading branch information
meroxa-machine committed Jun 21, 2023
1 parent a8624b5 commit 1abad4a
Showing 1 changed file with 14 additions and 23 deletions.
37 changes: 14 additions & 23 deletions src/meroxa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,6 @@ const completionSpec: Fig.Spec = {
name: "deploy",
description: "Deploy a Turbine Data Application",
options: [
{
name: "--docker-hub-access-token",
description:
"DockerHub access token to use to build and deploy the app",
hidden: true,
args: { name: "docker-hub-access-token" },
},
{
name: "--docker-hub-username",
description:
"DockerHub username to use to build and deploy the app",
hidden: true,
args: { name: "docker-hub-username" },
},
{
name: "--env",
description:
Expand All @@ -52,7 +38,7 @@ const completionSpec: Fig.Spec = {
name: "--path",
description:
"Path to the app directory (default is local directory)",
args: { name: "path", template: "folders" },
args: { name: "path" },
},
{
name: "--skip-collection-validation",
Expand Down Expand Up @@ -81,7 +67,7 @@ const completionSpec: Fig.Spec = {
name: "--path",
description:
"Path to the app directory (default is local directory)",
args: { name: "path", template: "folders" },
args: { name: "path" },
},
],
},
Expand All @@ -104,7 +90,7 @@ const completionSpec: Fig.Spec = {
name: "--path",
description:
"Path where application will be initialized (current directory as default)",
args: { name: "path", template: "folders" },
args: { name: "path" },
},
{
name: "--skip-mod-init",
Expand Down Expand Up @@ -132,7 +118,7 @@ const completionSpec: Fig.Spec = {
name: "--path",
description:
"Path to the app directory (default is local directory)",
args: { name: "path", template: "folders" },
args: { name: "path" },
},
],
},
Expand All @@ -145,7 +131,7 @@ const completionSpec: Fig.Spec = {
name: "--path",
description:
"Path to the app directory (default is local directory)",
args: { name: "path", template: "folders" },
args: { name: "path" },
},
],
},
Expand All @@ -158,7 +144,7 @@ const completionSpec: Fig.Spec = {
name: "--path",
description:
"Path to the app directory (default is local directory)",
args: { name: "path", template: "folders" },
args: { name: "path" },
},
],
},
Expand All @@ -169,7 +155,7 @@ const completionSpec: Fig.Spec = {
{
name: "--path",
description: "Path of application to run",
args: { name: "path", template: "folders" },
args: { name: "path" },
},
],
},
Expand All @@ -181,7 +167,7 @@ const completionSpec: Fig.Spec = {
name: "--path",
description:
"Path where application exists (current directory as default)",
args: { name: "path", template: "folders" },
args: { name: "path" },
},
],
},
Expand Down Expand Up @@ -470,6 +456,11 @@ const completionSpec: Fig.Spec = {
args: { name: "ssh-url" },
},
{ name: "--ssl", description: "Use SSL" },
{
name: "--token",
description: "API Token",
args: { name: "token" },
},
{
name: ["--url", "-u"],
description: "New resource url",
Expand Down Expand Up @@ -695,7 +686,7 @@ const completionSpec: Fig.Spec = {
name: "--cli-config-file",
description: "Meroxa configuration file",
isPersistent: true,
args: { name: "cli-config-file", template: "filepaths" },
args: { name: "cli-config-file" },
},
{
name: "--debug",
Expand Down

0 comments on commit 1abad4a

Please sign in to comment.