You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/main.go
+41-42Lines changed: 41 additions & 42 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ package cmd
6
6
import (
7
7
"context"
8
8
"fmt"
9
+
"io"
9
10
"os"
10
11
"strings"
11
12
@@ -15,61 +16,60 @@ import (
15
16
"github.com/urfave/cli/v3"
16
17
)
17
18
18
-
// cmdHelp is our own help subcommand with more information
19
-
// Keep in mind that the "./gitea help"(subcommand) is different from "./gitea --help"(flag), the flag doesn't parse the config or output "DEFAULT CONFIGURATION:" information
20
-
funccmdHelp() *cli.Command {
21
-
c:=&cli.Command{
22
-
Name: "help",
23
-
Aliases: []string{"h"},
24
-
Usage: "Shows a list of commands or help for one command",
0 commit comments