summaryrefslogtreecommitdiffstats
path: root/gogs.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-01 21:21:46 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-01 21:21:46 -0400
commit3bd5fc6d6f5e1a04acf93929808f982417031e2e (patch)
treed3215d8549d7bf6a8da784abf7ac67697d07d6aa /gogs.go
parentcd2020429a8331fc4a2a4d9afa72be756343a51b (diff)
downloadgitea-3bd5fc6d6f5e1a04acf93929808f982417031e2e.tar.gz
gitea-3bd5fc6d6f5e1a04acf93929808f982417031e2e.zip
Add command dump and move to cmd did
Diffstat (limited to 'gogs.go')
-rw-r--r--gogs.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/gogs.go b/gogs.go
index 5d44632773..a48d0a5555 100644
--- a/gogs.go
+++ b/gogs.go
@@ -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)