Skip to content

Commit

Permalink
feat(cmd): add version information (#434)
Browse files Browse the repository at this point in the history
Co-authored-by: iawia002 <[email protected]>
  • Loading branch information
caicloud-bot and iawia002 authored Jan 12, 2021
1 parent e68c9c7 commit 2913cde
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmd/nirvana/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ import (
"github.com/caicloud/nirvana/cmd/nirvana/client"
"github.com/caicloud/nirvana/cmd/nirvana/project"
"github.com/caicloud/nirvana/log"

"github.com/spf13/cobra"
)

var root = &cobra.Command{
Use: "nirvana",
Short: "Nirvana toolchains",
Use: "nirvana",
Short: "Nirvana toolchains",
Version: "v0.3.0",
}

func main() {
Expand Down

0 comments on commit 2913cde

Please sign in to comment.