MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / loadUpdateHelper

Function loadUpdateHelper

core/cmd/server/cmd/update.go:405–413  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

403}
404
405func loadUpdateHelper() {
406 fmt.Println(i18n.GetMsgByKeyForCmd("UpdateCommands"))
407 fmt.Println("\nUsage:\n 1panel update [command]\n\nAvailable Commands:")
408 fmt.Println("\n password " + i18n.GetMsgByKeyForCmd("UpdatePassword"))
409 fmt.Println(" port " + i18n.GetMsgByKeyForCmd("UpdatePort"))
410 fmt.Println(" username " + i18n.GetMsgByKeyForCmd("UpdateUser"))
411 fmt.Println("\nFlags:\n -h, --help help for update")
412 fmt.Println("\nUse \"1panel update [command] --help\" for more information about a command.")
413}

Callers 2

initFunction · 0.85
update.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected