()
| 11 | ) |
| 12 | |
| 13 | func init() { |
| 14 | resetCmd.SetHelpFunc(func(c *cobra.Command, s []string) { |
| 15 | i18n.UseI18nForCmd(language) |
| 16 | loadResetHelper() |
| 17 | }) |
| 18 | |
| 19 | RootCmd.AddCommand(resetCmd) |
| 20 | resetCmd.AddCommand(resetMFACmd) |
| 21 | resetMFACmd.Flags().StringVar(&resetMFAUserNameFlag, "username", "", "username") |
| 22 | resetCmd.AddCommand(resetSSLCmd) |
| 23 | resetCmd.AddCommand(resetEntranceCmd) |
| 24 | resetCmd.AddCommand(resetBindIpsCmd) |
| 25 | resetCmd.AddCommand(resetDomainCmd) |
| 26 | resetCmd.AddCommand(resetPasskeyCmd) |
| 27 | } |
| 28 | |
| 29 | var resetMFAUserNameFlag string |
| 30 |
nothing calls this directly
no test coverage detected