From 3df0d97c9bc0b51005c3743a3bab4320ea5c1579 Mon Sep 17 00:00:00 2001 From: Marcin Maciaszczyk Date: Wed, 4 Dec 2024 13:21:44 +0100 Subject: [PATCH] remove old commands --- cmd/command/plural/plural.go | 51 ++++-------------------------------- 1 file changed, 5 insertions(+), 46 deletions(-) diff --git a/cmd/command/plural/plural.go b/cmd/command/plural/plural.go index 948814fce..cd772f9b9 100644 --- a/cmd/command/plural/plural.go +++ b/cmd/command/plural/plural.go @@ -1,37 +1,17 @@ package plural import ( - "github.com/pluralsh/plural-cli/cmd/command/ai" - "github.com/pluralsh/plural-cli/cmd/command/api" - "github.com/pluralsh/plural-cli/cmd/command/auth" - "github.com/pluralsh/plural-cli/cmd/command/bounce" - "github.com/pluralsh/plural-cli/cmd/command/buildcmd" - "github.com/pluralsh/plural-cli/cmd/command/bundle" "github.com/pluralsh/plural-cli/cmd/command/cd" "github.com/pluralsh/plural-cli/cmd/command/clone" - "github.com/pluralsh/plural-cli/cmd/command/clusters" - "github.com/pluralsh/plural-cli/cmd/command/config" cryptocmd "github.com/pluralsh/plural-cli/cmd/command/crypto" - "github.com/pluralsh/plural-cli/cmd/command/deploy" - "github.com/pluralsh/plural-cli/cmd/command/destroy" "github.com/pluralsh/plural-cli/cmd/command/down" - "github.com/pluralsh/plural-cli/cmd/command/info" cmdinit "github.com/pluralsh/plural-cli/cmd/command/init" "github.com/pluralsh/plural-cli/cmd/command/link" - "github.com/pluralsh/plural-cli/cmd/command/log" - "github.com/pluralsh/plural-cli/cmd/command/ops" - "github.com/pluralsh/plural-cli/cmd/command/output" + "github.com/pluralsh/plural-cli/cmd/command/mgmt" "github.com/pluralsh/plural-cli/cmd/command/pr" "github.com/pluralsh/plural-cli/cmd/command/profile" - "github.com/pluralsh/plural-cli/cmd/command/proxy" - "github.com/pluralsh/plural-cli/cmd/command/push" - "github.com/pluralsh/plural-cli/cmd/command/repo" - "github.com/pluralsh/plural-cli/cmd/command/stack" "github.com/pluralsh/plural-cli/cmd/command/up" - "github.com/pluralsh/plural-cli/cmd/command/upgrade" "github.com/pluralsh/plural-cli/cmd/command/version" - "github.com/pluralsh/plural-cli/cmd/command/vpn" - "github.com/pluralsh/plural-cli/cmd/command/workspace" "github.com/pluralsh/plural-cli/pkg/client" "github.com/pluralsh/plural-cli/pkg/common" conf "github.com/pluralsh/plural-cli/pkg/config" @@ -222,36 +202,15 @@ func CreateNewApp(plural *Plural) *cli.App { app.EnableBashCompletion = true app.Flags = globalFlags() commands := []cli.Command{ - api.Command(plural.Plural), - auth.Command(plural.Plural), - ai.Command(plural.Plural), - bounce.Command(plural.Plural), - bundle.Command(plural.Plural), - buildcmd.Command(plural.Plural), - cd.Command(plural.Plural, plural.HelmConfiguration), - config.Command(), cryptocmd.Command(plural.Plural), - clusters.Command(plural.Plural), clone.Command(), - deploy.Command(plural.Plural), - destroy.Command(plural.Plural), + cd.Command(plural.Plural, plural.HelmConfiguration), + up.Command(plural.Plural), down.Command(), - output.Command(), - ops.Command(plural.Plural), - profile.Command(), pr.Command(plural.Plural), - proxy.Command(plural.Plural), - push.Command(plural.Plural), - repo.Command(plural.Plural), - repo.APICommand(plural.Plural), - stack.Command(plural.Plural), - log.Command(plural.Plural), - info.Command(plural.Plural), cmdinit.Command(plural.Plural), - up.Command(plural.Plural), - upgrade.Command(plural.Plural), - workspace.Command(plural.Plural, plural.HelmConfiguration), - vpn.Command(plural.Plural), + mgmt.Command(plural.Plural), + profile.Command(), version.Command(), } commands = append(commands, plural.getCommands()...)