func (i *Item) execute() {
	if i.Todo.Execute != "" {
		if run == nil {
			r, err := runner.NewRunner(i.cfg.Taskfile())
			if err != nil {
				fmt.Println(err.Error())
				return
			} else {
				run = r
			}
		}
		run.Run(i.Todo.Execute, allvalues)
		return
	}
	if i.Todo.Goto != "" {
		for _, form := range i.cfg.Panels {
			if form.Title == i.Todo.Goto {
				form.render()
				break
			}
		}
		return
	}
}
// run task or navigate beetween forms
run task or navigate beetween forms
// run task or navigate beetween forms
func (i *Item) execute() {
	if i.Todo.Execute != "" {
		if run == nil {
			r, err := runner.NewRunner(i.cfg.Taskfile())
			if err != nil {
				fmt.Println(err.Error())
				return
			} else {
				run = r
			}
		}
		run.Run(i.Todo.Execute, allvalues)
		return
	}
	if i.Todo.Goto != "" {
		for _, form := range i.cfg.Panels {
			if form.Title == i.Todo.Goto {
				form.render()
				break
			}
		}
		return
	}
}
func ( i * Item ) execute ( ) { if i . Todo . Execute != " " { if run == nil { r , err := runner . NewRunner ( i . cfg . Taskfile ( ) ) if err != nil { fmt . Println ( err . Error ( ) ) return } else { run = r } } run . Run ( i . Todo . Execute , allvalues ) return } if i . Todo . Goto != " " { for _ , form := range i . cfg . Panels { if form . Title == i . Todo . Goto { form . render ( ) break } } return } }
run task or navigate beetween forms
run task or navigate beetween forms