Add a new command doctor to check if some wrong configurations on gitea instance (#9095)
* add doctor * Add a new command doctor to check if some wrong configurations on gitea instance * fix import * use regex match authorized_keys on doctor * Add documentation
This commit is contained in:
parent
f2e6c4538e
commit
f69f5a9f10
3 changed files with 156 additions and 0 deletions
1
main.go
1
main.go
|
@ -68,6 +68,7 @@ arguments - which can alternatively be run by running the subcommand web.`
|
|||
cmd.CmdMigrate,
|
||||
cmd.CmdKeys,
|
||||
cmd.CmdConvert,
|
||||
cmd.CmdDoctor,
|
||||
}
|
||||
// Now adjust these commands to add our global configuration options
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue