0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-09-28 14:54:41 -04:00

Improve CLI commands (#34973)

Improve help related commands and flags and add tests

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
TheFox0x7
2025-07-10 13:36:55 +02:00
committed by GitHub
parent 091b3e696d
commit 4b174e44a8
8 changed files with 116 additions and 168 deletions

View File

@@ -32,6 +32,7 @@ var (
CmdHook = &cli.Command{
Name: "hook",
Usage: "(internal) Should only be called by Git",
Hidden: true, // internal commands shouldn't be visible
Description: "Delegate commands to corresponding Git hooks",
Before: PrepareConsoleLoggerLevel(log.FATAL),
Commands: []*cli.Command{