From 62d49cd3c7a245a267a96cf8a8a7b70a5b9aa8c2 Mon Sep 17 00:00:00 2001 From: Sergiy Kulanov Date: Thu, 12 Oct 2023 21:04:42 +0300 Subject: [PATCH] chore: We don't have plugins Signed-off-by: Sergiy Kulanov --- pkg/cmd/root.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/cmd/root.go b/pkg/cmd/root.go index a4b9331..6f83cc2 100644 --- a/pkg/cmd/root.go +++ b/pkg/cmd/root.go @@ -1,12 +1,9 @@ package cmd import ( - "os" - "github.com/sergk/tkn-graph/pkg/cmd/pipeline" "github.com/sergk/tkn-graph/pkg/cmd/pipelinerun" "github.com/spf13/cobra" - "github.com/spf13/pflag" "github.com/tektoncd/cli/pkg/cli" ) @@ -35,8 +32,6 @@ Use "{{.CommandPath}} [command] --help" for more information about a command.{{e ` func Root(p cli.Params) *cobra.Command { - // Reset CommandLine so we don't get the flags from the libraries, i.e: - pflag.CommandLine = pflag.NewFlagSet(os.Args[0], pflag.ExitOnError) cmd := &cobra.Command{ Use: "tkn-graph",