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

Function loadResetHelper

core/cmd/server/cmd/reset.go:172–183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170}
171
172func loadResetHelper() {
173 fmt.Println(i18n.GetMsgByKeyForCmd("ResetCommands"))
174 fmt.Println("\nUsage:\n 1panel reset [command]\n\nAvailable Commands:")
175 fmt.Println("\n domain " + i18n.GetMsgByKeyForCmd("ResetDomain"))
176 fmt.Println(" entrance " + i18n.GetMsgByKeyForCmd("ResetEntrance"))
177 fmt.Println(" https " + i18n.GetMsgByKeyForCmd("ResetHttps"))
178 fmt.Println(" ips " + i18n.GetMsgByKeyForCmd("ResetIPs"))
179 fmt.Println(" mfa " + i18n.GetMsgByKeyForCmd("ResetMFA"))
180 fmt.Println(" passkey " + i18n.GetMsgByKeyForCmd("ResetPasskey"))
181 fmt.Println("\nFlags:\n -h, --help help for reset")
182 fmt.Println("\nUse \"1panel reset [command] --help\" for more information about a command.")
183}

Callers 2

initFunction · 0.85
reset.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected