mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00:00
Create AuthorizedKeysCommand (#5236)
This commit is contained in:
2
main.go
2
main.go
@@ -13,6 +13,7 @@ import (
|
||||
"code.gitea.io/gitea/cmd"
|
||||
"code.gitea.io/gitea/modules/log"
|
||||
"code.gitea.io/gitea/modules/setting"
|
||||
|
||||
// register supported doc types
|
||||
_ "code.gitea.io/gitea/modules/markup/csv"
|
||||
_ "code.gitea.io/gitea/modules/markup/markdown"
|
||||
@@ -48,6 +49,7 @@ arguments - which can alternatively be run by running the subcommand web.`
|
||||
cmd.CmdAdmin,
|
||||
cmd.CmdGenerate,
|
||||
cmd.CmdMigrate,
|
||||
cmd.CmdKeys,
|
||||
}
|
||||
app.Flags = append(app.Flags, cmd.CmdWeb.Flags...)
|
||||
app.Action = cmd.CmdWeb.Action
|
||||
|
Reference in New Issue
Block a user