1
0
mirror of https://github.com/directorz/mailfull-go.git synced 2025-12-23 04:27:03 +00:00

Implement subcommands: userpasswd, usercheckpw

This commit is contained in:
teru
2016-08-14 07:55:14 +09:00
parent ec5347b2f2
commit 0e5c671580
3 changed files with 239 additions and 0 deletions

View File

@@ -79,6 +79,14 @@ func main() {
meta.SubCmdName = c.Subcommand()
return &command.UserDelCommand{Meta: meta}, nil
},
"userpasswd": func() (cli.Command, error) {
meta.SubCmdName = c.Subcommand()
return &command.UserPasswdCommand{Meta: meta}, nil
},
"usercheckpw": func() (cli.Command, error) {
meta.SubCmdName = c.Subcommand()
return &command.UserCheckPwCommand{Meta: meta}, nil
},
"commit": func() (cli.Command, error) {
meta.SubCmdName = c.Subcommand()
return &command.CommitCommand{Meta: meta}, nil