// reloadPlans reads all plans again und update the suggestions of the prompt.
//
// If reading the plans returns an error the user can choose to retry it or exit the programm. If the user chooses to retry this method is called recursively.
reloadPlans reads all plans again und update the suggestions of the prompt.

If reading the plans returns an error the user can choose to retry it or exit the programm. If the user chooses to retry this method is called recursively.
// reloadPlans reads all plans again und update the suggestions of the prompt . // // If reading the plans returns an error the user can choose to retry it or exit the programm . If the user chooses to retry this method is called recursively .
func reload() {
	err := InitializePlans()
	if err != nil {
		response := true
		prompt := &survey.Confirm{
			Default: true,
			Message: "Retry?",
		}
		survey.AskOne(prompt, &response)
		if response {
			reload()
		} else {
			os.Exit(0)
		}
	}
}
func reload ( ) { err := InitializePlans ( ) if err != nil { response := true prompt := & survey . Confirm { Default : true , Message : " " , } survey . AskOne ( prompt , & response ) if response { reload ( ) } else { os . Exit ( 0 ) } } }
reloadPlans reads all plans again und update the suggestions of the prompt.
reloadPlans reads all plans again und update the suggestions of the prompt .