github.com/taubyte/tau-cli@v0.1.13-0.20240326000942-487f0d57edfc/singletons/templates/build.go (about)

     1  package templates
     2  
     3  import (
     4  	gosimplegit "github.com/taubyte/go-simple-git"
     5  )
     6  
     7  func Get() *templates {
     8  	getOrCreateTemplates()
     9  
    10  	return _templates
    11  }
    12  
    13  func Repository() *gosimplegit.Repository {
    14  	return Get().repository
    15  }
    16  
    17  type templateYaml struct {
    18  	// parameters must be exported for the yaml parser
    19  	Name        string
    20  	Description string
    21  	Icon        string
    22  	URL         string
    23  }