File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ import (
28
28
"github.com/apache/dubbo-kubernetes/dubboctl/pkg/sdk"
29
29
"github.com/apache/dubbo-kubernetes/dubboctl/pkg/util"
30
30
"github.com/apache/dubbo-kubernetes/dubboctl/pkg/validate"
31
- "github.com/apache/dubbo-kubernetes/dubboctl/pkg/version"
32
31
"github.com/apache/dubbo-kubernetes/operator/cmd/cluster"
33
32
"github.com/spf13/cobra"
34
33
"net/http"
@@ -124,9 +123,9 @@ func GetRootCmd(args []string) *cobra.Command {
124
123
rootCmd .AddCommand (validateCmd )
125
124
hideFlags (validateCmd , ChartFlag )
126
125
127
- versionCmd := version .NewVersionCommand (ctx )
128
- rootCmd .AddCommand (versionCmd )
129
- hideFlags (versionCmd , ChartFlag )
126
+ // versionCmd := version.NewVersionCommand(ctx)
127
+ // rootCmd.AddCommand(versionCmd)
128
+ // hideFlags(versionCmd, ChartFlag)
130
129
131
130
createCmd := CreateCmd (ctx , rootCmd , factory )
132
131
rootCmd .AddCommand (createCmd )
Original file line number Diff line number Diff line change @@ -90,5 +90,6 @@ printf "%s download complete!\n" "${filename}"
90
90
# Print message.
91
91
printf " \n"
92
92
printf " Add the dubbo to your path with:\n"
93
- printf " export PATH=\$ HOME/.dubbo/bin:\$ PATH \n"
93
+ # shellcheck disable=SC2059
94
+ printf " export PATH=$( pwd) /dubbo-${DUBBO_VERSION} /bin:$PATH \n"
94
95
printf " \n"
You can’t perform that action at this time.
0 commit comments