2015-05-02 13:03:27 +00:00
|
|
|
package main
|
|
|
|
|
2017-10-31 11:12:51 +00:00
|
|
|
import "github.com/spf13/cobra"
|
2015-05-29 18:20:04 +00:00
|
|
|
|
2017-09-22 13:29:21 +00:00
|
|
|
var (
|
|
|
|
version = "dev"
|
2015-05-02 13:03:27 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2015-05-29 18:20:04 +00:00
|
|
|
rootCmd := cobra.Command{
|
|
|
|
Use: "password",
|
|
|
|
Short: "generates secure random passwords",
|
2015-05-02 23:05:30 +00:00
|
|
|
}
|
|
|
|
|
2015-05-29 18:20:04 +00:00
|
|
|
rootCmd.AddCommand(
|
|
|
|
getCmdGet(),
|
|
|
|
getCmdServe(),
|
|
|
|
getCmdVersion(),
|
|
|
|
)
|
2015-05-02 13:03:27 +00:00
|
|
|
|
2015-05-29 18:20:04 +00:00
|
|
|
rootCmd.Execute()
|
2015-05-10 14:38:17 +00:00
|
|
|
}
|