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

Implement subcommands: domaindisable, domainenable #8

This commit is contained in:
teru
2016-08-23 17:45:17 +09:00
parent 281d5a4a9d
commit 009ee84e63
3 changed files with 174 additions and 0 deletions

View File

@@ -62,6 +62,14 @@ func main() {
meta.SubCmdName = c.Subcommand()
return &command.DomainDelCommand{Meta: meta}, nil
},
"domaindisable": func() (cli.Command, error) {
meta.SubCmdName = c.Subcommand()
return &command.DomainDisableCommand{Meta: meta}, nil
},
"domainenable": func() (cli.Command, error) {
meta.SubCmdName = c.Subcommand()
return &command.DomainEnableCommand{Meta: meta}, nil
},
"aliasdomains": func() (cli.Command, error) {
meta.SubCmdName = c.Subcommand()
return &command.AliasDomainsCommand{Meta: meta}, nil