Add subcommand to create new user in CLI
This commit is contained in:
parent
fd3b9ca3aa
commit
0f33b04c87
4 changed files with 74 additions and 3 deletions
3
gogs.go
3
gogs.go
|
@ -17,7 +17,7 @@ import (
|
|||
"github.com/gogits/gogs/modules/setting"
|
||||
)
|
||||
|
||||
const APP_VER = "0.9.74.0811"
|
||||
const APP_VER = "0.9.75.0813"
|
||||
|
||||
func init() {
|
||||
runtime.GOMAXPROCS(runtime.NumCPU())
|
||||
|
@ -35,6 +35,7 @@ func main() {
|
|||
cmd.CmdUpdate,
|
||||
cmd.CmdDump,
|
||||
cmd.CmdCert,
|
||||
cmd.CmdAdmin,
|
||||
}
|
||||
app.Flags = append(app.Flags, []cli.Flag{}...)
|
||||
app.Run(os.Args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue