Create AuthorizedKeysCommand (#5236)
This commit is contained in:
parent
00533d3870
commit
7d9a191a3c
7 changed files with 136 additions and 19 deletions
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue