1
0
mirror of https://github.com/directorz/mailfull-go.git synced 2025-12-20 02:57:06 +00:00

Implement commit subcommand

This commit is contained in:
teru
2016-08-01 17:08:49 +09:00
parent 7ae2d1422b
commit dbc25edeb4
2 changed files with 58 additions and 0 deletions

View File

@@ -47,6 +47,10 @@ func main() {
meta.SubCmdName = c.Subcommand()
return &command.DomainListCommand{Meta: meta}, nil
},
"commit": func() (cli.Command, error) {
meta.SubCmdName = c.Subcommand()
return &command.CommitCommand{Meta: meta}, nil
},
}
exitCode, err := c.Run()