Intorduce "config edit-ini" sub command to help maintaining INI config file (#35735)

Ref: #32669. Helps addressing
https://gitea.com/gitea/helm-chart/issues/356.
This commit is contained in:
wxiaoguang
2025-10-25 10:54:55 +08:00
committed by GitHub
parent 0d740a6a72
commit cb72c901b3
10 changed files with 260 additions and 175 deletions

View File

@@ -128,6 +128,7 @@ func NewMainApp(appVer AppVersion) *cli.Command {
// these sub-commands do not need the config file, and they do not depend on any path or environment variable.
subCmdStandalone := []*cli.Command{
cmdConfig(),
cmdCert(),
CmdGenerate,
CmdDocs,