mirror of
https://github.com/Luzifer/password.git
synced 2024-11-09 18:00:03 +00:00
22 lines
282 B
Go
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()
|
|
}
|