mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 21:32:28 +08:00
CLI: Remove redundant Cmd prefix from commands
This commit is contained in:
4
main.go
4
main.go
@ -31,8 +31,8 @@ func main() {
|
||||
app.Name = "Grafana Backend"
|
||||
app.Usage = "grafana web"
|
||||
app.Version = version
|
||||
app.Commands = []cli.Command{cmd.CmdWeb, cmd.CmdImportJson,
|
||||
cmd.CmdListAccounts, cmd.CmdCreateAccount, cmd.CmdDeleteAccount}
|
||||
app.Commands = []cli.Command{cmd.Web, cmd.ImportJson,
|
||||
cmd.ListAccounts, cmd.CreateAccount, cmd.DeleteAccount}
|
||||
app.Flags = append(app.Flags, []cli.Flag{}...)
|
||||
app.Run(os.Args)
|
||||
|
||||
|
Reference in New Issue
Block a user