MCPcopy Index your code
hub / github.com/databus23/helm-diff / newVersionCmd

Function newVersionCmd

cmd/version.go:12–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10var Version = "HEAD"
11
12func newVersionCmd() *cobra.Command {
13 return &cobra.Command{
14 Use: "version",
15 Short: "Show version of the helm diff plugin",
16 Run: func(*cobra.Command, []string) {
17 fmt.Println(Version)
18 },
19 }
20}

Callers 1

NewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected