muldap/cmd/version.go

17 lines
313 B
Go
Raw Normal View History

2018-07-14 13:49:16 -04:00
package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
var versionCmd = &cobra.Command{
Use: "version",
Short: "Print the version number of muldap",
Long: `All software has versions. This is muldap's`,
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("Metaunix.net LDAP tool v0.1.0")
},
}