Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(meroxa): update spec #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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