Skip to content

Commit

Permalink
Import version
Browse files Browse the repository at this point in the history
  • Loading branch information
fd committed May 3, 2016
1 parent 768172c commit aaaae5e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/k8s/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package main
import (
"os"

"limbo.services/version"

"gopkg.in/alecthomas/kingpin.v2"
)

Expand All @@ -15,7 +17,7 @@ func main() {
sourceFileName string
)

app := kingpin.New("k8s", "kubernetes utilities")
app := kingpin.New("k8s", "kubernetes utilities").Version(version.Get().String()).Author(version.Get().ReleasedBy)

genConfigMapCmd := app.Command("gen-configmap", "Generate a ConfigMap from a directory")
genConfigMapCmd.Arg("config-directory", "Directory containing configuration").Default(".").ExistingDirVar(&configDir)
Expand Down

0 comments on commit aaaae5e

Please sign in to comment.