diff options
author | Unknown <joe2010xtmf@163.com> | 2014-05-01 21:21:46 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-05-01 21:21:46 -0400 |
commit | 3bd5fc6d6f5e1a04acf93929808f982417031e2e (patch) | |
tree | d3215d8549d7bf6a8da784abf7ac67697d07d6aa /gogs.go | |
parent | cd2020429a8331fc4a2a4d9afa72be756343a51b (diff) | |
download | gitea-3bd5fc6d6f5e1a04acf93929808f982417031e2e.tar.gz gitea-3bd5fc6d6f5e1a04acf93929808f982417031e2e.zip |
Add command dump and move to cmd did
Diffstat (limited to 'gogs.go')
-rw-r--r-- | gogs.go | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -13,6 +13,7 @@ import ( "github.com/codegangsta/cli" + "github.com/gogits/gogs/cmd" "github.com/gogits/gogs/modules/base" ) @@ -32,10 +33,11 @@ func main() { app.Usage = "Go Git Service" app.Version = APP_VER app.Commands = []cli.Command{ - CmdWeb, - CmdServ, - CmdUpdate, - // CmdFix, + cmd.CmdWeb, + // cmd.CmdFix, + cmd.CmdDump, + cmd.CmdServ, + cmd.CmdUpdate, } app.Flags = append(app.Flags, []cli.Flag{}...) app.Run(os.Args) |