Move version.go to commands dir.

This commit is contained in:
Jeffrey Regan
2018-06-12 13:08:23 -07:00
parent f98bc42cbb
commit 2fb69db685
2 changed files with 10 additions and 11 deletions

View File

@@ -23,7 +23,6 @@ import (
"os"
"github.com/kubernetes-sigs/kustomize/pkg/fs"
"github.com/kubernetes-sigs/kustomize/version"
"github.com/spf13/cobra"
)
@@ -46,7 +45,7 @@ See https://github.com/kubernetes-sigs/kustomize
newCmdBuild(stdOut, stdErr, fsys),
newCmdDiff(stdOut, stdErr, fsys),
newCmdEdit(stdOut, stdErr, fsys),
version.NewCmdVersion(stdOut),
newCmdVersion(stdOut),
)
c.PersistentFlags().AddGoFlagSet(flag.CommandLine)