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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user