Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateSuper = command.Command{ Use: "createsuperuser", Short: "create a super user", Long: "A command for creating a super admin", Run: func(c *command.Cmd, s []string) { email, _ := c.GetFlag("email") password, _ := getPassword("Enter Password : ") confirm_password, _ := getPassword("Confirm Password : ") if password != confirm_password { fmt.Println("passwords doesn't match") return } fmt.Println(email, password) }, Flags: []*command.Flag{ { Requird: false, Name: "email", Short_Name: "e", Help_Text: "user email", }, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.