Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "password", Short: "Generate random password", Aliases: []string{"pwd", "passwd", "pass"}, Args: cobra.NoArgs, Run: func(c *cobra.Command, args []string) { password := getPasswordOrDie() if FlagDouble { password = password + `_` + getPasswordOrDie() } fmt.Println(password) }, }
View Source
var FlagDouble bool
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.