Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ module github.com/metal-stack/cli
go 1.26

require (
buf.build/go/protoyaml v0.7.0
connectrpc.com/connect v1.20.0
connectrpc.com/validate v0.6.0
github.com/dustin/go-humanize v1.0.1
Expand All @@ -15,7 +14,6 @@ require (
github.com/metal-stack/v v1.0.3
github.com/spf13/afero v1.15.0
github.com/spf13/cobra v1.10.2
github.com/spf13/pflag v1.0.10
github.com/spf13/viper v1.21.0
github.com/stretchr/testify v1.11.1
google.golang.org/grpc v1.81.1
Expand All @@ -26,6 +24,7 @@ require (
require (
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.11-20260415201107-50325440f8f2.1 // indirect
buf.build/go/protovalidate v1.2.0 // indirect
buf.build/go/protoyaml v0.7.0 // indirect
cel.dev/expr v0.25.2 // indirect
github.com/antlr4-go/antlr/v4 v4.13.1 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
Expand Down Expand Up @@ -59,6 +58,7 @@ require (
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/sagikazarmark/locafero v0.12.0 // indirect
github.com/spf13/cast v1.10.0 // indirect
github.com/spf13/pflag v1.0.10 // indirect
github.com/stretchr/objx v0.5.3 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
go.yaml.in/yaml/v2 v2.4.4 // indirect
Expand Down
5 changes: 3 additions & 2 deletions testing/e2e/test_cmd.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package e2e
package e2erootcmd

import (
"bytes"
Expand All @@ -12,6 +12,7 @@ import (
"github.com/metal-stack/cli/cmd"
"github.com/metal-stack/cli/cmd/completion"
"github.com/metal-stack/cli/cmd/config"
e2e_test "github.com/metal-stack/metal-lib/pkg/genericcli/e2e"
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/stretchr/testify/require"
Expand All @@ -23,7 +24,7 @@ type TestConfig struct {
ClientCalls []client.ClientCall
}

func NewRootCmd(t *testing.T, c *TestConfig) NewRootCmdFunc {
func NewRootCmd(t *testing.T, c *TestConfig) e2e_test.NewRootCmdFunc {
return func() (*cobra.Command, *bytes.Buffer) {
interceptors := []connect.Interceptor{
client.NewTestInterceptor(t, c.ClientCalls),
Expand Down
Loading
Loading