You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
572 B
25 lines
572 B
// Copyright 2021 Jahway603 & The Hush developers
|
|
// Released under the GPLv3
|
|
//
|
|
// Package to show the Version
|
|
package cmd
|
|
|
|
import (
|
|
"fmt"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// versionCmd represents the version command
|
|
var versionCmd = &cobra.Command{
|
|
Use: "version",
|
|
Short: "Display highlited version",
|
|
Long: `Display highlited version as we get this cooking...`,
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
fmt.Println("hightlited version: v0.0.1-alpha")
|
|
fmt.Println("hightlited author: jahway603")
|
|
},
|
|
}
|
|
|
|
//func init() {
|
|
// rootCmd.AddCommand(versionCmd)
|
|
//}
|
|
|