func (t *ToolMgr) InstallByDir(dir string) error {
	cmd := exec.Command("asdf", "install")
	cmd.Dir = dir
	outBytes, err := cmd.Output()
	if err != nil {
		t.log.Error(err, "Failed to run 'asdf install'")
	}
	o := string(outBytes)
	t.log.Info(o)
	return err
}
// InstallByDir installed all the necessary tools defined in directory tool versions files
InstallByDir installed all the necessary tools defined in directory tool versions files
// InstallByDir installed all the necessary tools defined in directory tool versions files
func (t *ToolMgr) InstallByDir(dir string) error {
	cmd := exec.Command("asdf", "install")
	cmd.Dir = dir
	outBytes, err := cmd.Output()
	if err != nil {
		t.log.Error(err, "Failed to run 'asdf install'")
	}
	o := string(outBytes)
	t.log.Info(o)
	return err
}
func ( t * ToolMgr ) InstallByDir ( dir string ) error { cmd := exec . Command ( " " , " " ) cmd . Dir = dir outBytes , err := cmd . Output ( ) if err != nil { t . log . Error ( err , " " ) } o := string ( outBytes ) t . log . Info ( o ) return err }
InstallByDir installed all the necessary tools defined in directory tool versions files
InstallByDir installed all the necessary tools defined in directory tool versions files