1
0
Fork 0
mirror of https://github.com/Luzifer/password.git synced 2024-11-09 01:40:04 +00:00
password/main.go
Knut Ahlers c8c6485064
Add ability to generate XKCD style passwords to tool
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-10-31 12:24:25 +01:00

22 lines
282 B
Go

package main
import "github.com/spf13/cobra"
var (
version = "dev"
)
func main() {
rootCmd := cobra.Command{
Use: "password",
Short: "generates secure random passwords",
}
rootCmd.AddCommand(
getCmdGet(),
getCmdServe(),
getCmdVersion(),
)
rootCmd.Execute()
}