Skip to content

Commit

Permalink
remove old commands
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Dec 4, 2024
1 parent 26a9084 commit 3df0d97
Showing 1 changed file with 5 additions and 46 deletions.
51 changes: 5 additions & 46 deletions cmd/command/plural/plural.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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()...)
Expand Down

0 comments on commit 3df0d97

Please sign in to comment.