1
0
mirror of https://github.com/Luzifer/password.git synced 2024-09-19 10:22:56 +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

23 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()
}