Add command dump and move to cmd did
This commit is contained in:
parent
cd2020429a
commit
3bd5fc6d6f
7 changed files with 68 additions and 15 deletions
10
gogs.go
10
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue